diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-02-17 15:38:33 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-02-17 16:16:36 +0200 |
commit | a4d61297e2e3e573ff53164c37c792d5c846cd46 (patch) | |
tree | 360b7bfe7be35e9d874688c9197f0f08738f369d /gnu/packages/ruby.scm | |
parent | 8588e6683c72d7c9c5e5a3a0573f4494ba22211c (diff) | |
download | guix-a4d61297e2e3e573ff53164c37c792d5c846cd46.tar guix-a4d61297e2e3e573ff53164c37c792d5c846cd46.tar.gz |
gnu: ruby-webmock: Update to 3.11.2.
* gnu/packages/ruby.scm (ruby-webmock): Update to 3.11.2.
(ruby-webmock-2): Inherit from ruby-webmock.
(ruby-omniauth-oauth2, ruby-solargraph)[native-inputs]: Switch from
ruby-webmock-2 to ruby-webmock.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index bad97e8918..58614a61ac 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2353,7 +2353,7 @@ authentication.") ("ruby-rspec" ,ruby-rspec) ("ruby-simplecov" ,ruby-simplecov) ("ruby-rack-test" ,ruby-rack-test) - ("ruby-webmock" ,ruby-webmock-2))) + ("ruby-webmock" ,ruby-webmock))) (synopsis "Abstract OAuth2 strategy for OmniAuth") (description "This library provides a generic OAuth2 strategy for OmniAuth. It @@ -9063,17 +9063,17 @@ requests.") (home-page "https://github.com/opperator/warden-oauth2") (license license:expat))) -(define-public ruby-webmock-2 +(define-public ruby-webmock (package (name "ruby-webmock") - (version "2.3.2") + (version "3.11.2") (source (origin (method url-fetch) (uri (rubygems-uri "webmock" version)) (sha256 (base32 - "04hkcqsmbfnp8g237pisnc834vpgildklicbjbyikqg0bg1rwcy5")))) + "1hdlbvfw316lkz251qnfk79drmaay7l51kidvicz41nhvw12xz8v")))) (build-system ruby-build-system) (native-inputs `(("bundler" ,bundler) @@ -9089,6 +9089,19 @@ requests. This is useful when testing software.") (home-page "https://github.com/bblimke/webmock") (license license:expat))) +(define-public ruby-webmock-2 + (package + (inherit ruby-webmock) + (name "ruby-webmock") + (version "2.3.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "webmock" version)) + (sha256 + (base32 + "04hkcqsmbfnp8g237pisnc834vpgildklicbjbyikqg0bg1rwcy5")))))) + (define-public ruby-unicode-display-width (package (name "ruby-unicode-display-width") @@ -11950,7 +11963,7 @@ application.") `(("ruby-rspec" ,ruby-rspec) ("ruby-pry" ,ruby-pry) ("ruby-simplecov" ,ruby-simplecov) - ("ruby-webmock" ,ruby-webmock-2))) + ("ruby-webmock" ,ruby-webmock))) ;; FIXME: can't figure out how to run the tests properly: ;; An error occurred while loading spec_helper. |