gnu: ruby-omniauth: Update to 2.1.1.
* gnu/packages/ruby.scm (ruby-omniauth): Update to 2.1.1. [arguments]: New field. [propagated-inputs]: Add ruby-rack-test.
This commit is contained in:
parent
29d008a257
commit
9bb320b9c6
1 changed files with 25 additions and 11 deletions
|
@ -2678,18 +2678,32 @@ with a similar style to the original OAuth spec.")
|
||||||
(define-public ruby-omniauth
|
(define-public ruby-omniauth
|
||||||
(package
|
(package
|
||||||
(name "ruby-omniauth")
|
(name "ruby-omniauth")
|
||||||
(version "2.0.3")
|
(version "2.1.1")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method git-fetch) ;for tests
|
||||||
(method url-fetch)
|
(uri (git-reference
|
||||||
(uri (rubygems-uri "omniauth" version))
|
(url "https://github.com/omniauth/omniauth")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "105mzgvmn2kjaacxw01h4wqv33r7hfn5z8fxlkk3jcjar14j71bh"))))
|
(base32
|
||||||
|
"1mm7a4ll7ymamrbsl63yi6i34qpwmh2nh5a9kj961gja1iz2gyd1"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(propagated-inputs
|
(arguments
|
||||||
(list ruby-hashie ruby-rack ruby-rack-protection))
|
(list #:phases
|
||||||
(native-inputs
|
#~(modify-phases %standard-phases
|
||||||
(list ruby-rspec))
|
(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")
|
||||||
|
(("require 'rack/freeze'") "")))))))
|
||||||
|
(native-inputs (list ruby-rspec))
|
||||||
|
(propagated-inputs (list ruby-hashie ruby-rack ruby-rack-test
|
||||||
|
ruby-rack-protection))
|
||||||
(synopsis "Generalized Rack framework for multiple-provider authentication")
|
(synopsis "Generalized Rack framework for multiple-provider authentication")
|
||||||
(description
|
(description
|
||||||
"This package provides a generalized Rack framework for multiple-provider
|
"This package provides a generalized Rack framework for multiple-provider
|
||||||
|
|
Reference in a new issue