gnu: Add ruby-warden.

* gnu/packages/ruby.scm (ruby-warden): New variable.
This commit is contained in:
Christopher Baines 2019-02-17 17:13:14 +00:00
parent 29dc48231d
commit e32c99d23e
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 23 additions and 0 deletions

View File

@ -5815,6 +5815,29 @@ support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and
(home-page "https://github.com/knu/ruby-unf") (home-page "https://github.com/knu/ruby-unf")
(license license:bsd-2))) (license license:bsd-2)))
(define-public ruby-warden
(package
(name "ruby-warden")
(version "1.2.8")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "warden" version))
(sha256
(base32
"1fr9n9i9r82xb6i61fdw4xgc7zjv7fsdrr4k0njchy87iw9fl454"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f)) ; No included tests
(propagated-inputs
`(("ruby-rack" ,ruby-rack)))
(synopsis "Rack middleware providing authentication")
(description
"Warden is a Rack-based middleware that provides a mechanism for
authentication in Ruby web applications.")
(home-page "https://github.com/wardencommunity/warden")
(license license:expat)))
(define-public ruby-webmock-2 (define-public ruby-webmock-2
(package (package
(name "ruby-webmock") (name "ruby-webmock")