[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 208/223] gnu: ruby-omniauth-oauth2: Update to 1.8.0.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 208/223] gnu: ruby-omniauth-oauth2: Update to 1.8.0. |
Date: |
Mon, 20 Mar 2023 13:29:18 -0400 |
* gnu/packages/ruby.scm (ruby-omniauth-oauth2): Update to 1.8.0.
[arguments]: Rename remove-unnecessary-dependencies phase to
relax-requirements, and simplify it.
[native-inputs]: Remove bundler and ruby-simplecov.
---
gnu/packages/ruby.scm | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 52b540a9d9..89ef556880 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2714,32 +2714,28 @@ (define-public ruby-omniauth
(define-public ruby-omniauth-oauth2
(package
(name "ruby-omniauth-oauth2")
- (version "1.7.1")
+ (version "1.8.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "omniauth-oauth2" version))
(sha256
(base32
- "10fr2b58sp7l6nfdvxpbi67374hkrvsf507cvda89jjs0jacy319"))))
+ "0y4y122xm8zgrxn5nnzwg6w39dnjss8pcq2ppbpx9qn7kiayky5j"))))
(build-system ruby-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-unnecessary-dependencies
- (lambda _
- ;; The coveralls gem submits coverage information to an online
- ;; service, and is unnecessary when running the tests
- (substitute* "Gemfile"
- ((".*coveralls\"") ""))
- (substitute* "spec/helper.rb"
- (("require \"coveralls\"") "")
- (("Coveralls::SimpleCov::Formatter") ""))
- #t)))))
- (propagated-inputs
- (list ruby-oauth2 ruby-omniauth))
- (native-inputs
- (list bundler ruby-rspec ruby-simplecov ruby-rack-test ruby-webmock))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "spec/helper.rb"
+ ;; This condition is used to require coveralls and
+ ;; simplecov; override it to avoid these extraneous
+ ;; requirements.
+ (("RUBY_VERSION >= \"1.9\"")
+ "false")))))))
+ (propagated-inputs (list ruby-oauth2 ruby-omniauth))
+ (native-inputs (list ruby-rspec ruby-rack-test ruby-webmock))
(synopsis "Abstract OAuth2 strategy for OmniAuth")
(description
"This library provides a generic OAuth2 strategy for OmniAuth. It
--
2.39.1
- [bug#62196] [PATCH 132/223] gnu: bundler: Update to 2.4.8., (continued)
- [bug#62196] [PATCH 132/223] gnu: bundler: Update to 2.4.8., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 180/223] gnu: ruby-braintree: Update to 4.10.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 197/223] gnu: jekyll: Update to 4.3.2 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 111/223] gnu: ruby-bandwidth-iris: Fix indentation., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 109/223] gnu: Add ruby-fileutils., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 110/223] gnu: ruby-faraday-middleware: Add a deprecation comment and re-indent., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 113/223] gnu: ruby-octokit: Enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 126/223] gnu: Add ruby-bake., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 202/223] gnu: Add ruby-rspec-block-is-expected., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 204/223] gnu: ruby-hashie: Update to 5.0.0 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 208/223] gnu: ruby-omniauth-oauth2: Update to 1.8.0.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 207/223] gnu: ruby-omniauth: Update to 2.1.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 215/223] gnu: Add ruby-ammeter., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 216/223] gnu: ruby-autoprefixer-rails: Update to 10.4.13.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 223/223] gnu: ruby-net-scp: Update to 4.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 214/223] gnu: ruby-rspec-rails: Update to 6.0.1 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 218/223] gnu: ruby-coveralls: Propagate ruby-simplecov and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 210/223] gnu: ruby-single-cov: Update to 1.9.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 212/223] gnu: Add ruby-sassc-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 213/223] gnu: Add ruby-ammeter-bootstrap., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 211/223] gnu: ruby-parallel-tests: Update to 4.2.0., Maxim Cournoyer, 2023/03/20