Message ID | 20190217192314.5666-10-mail@cbaines.net |
---|---|
State | Accepted |
Headers | show |
Series | Add more Ruby gems, some Rails related | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
Christopher Baines <mail@cbaines.net> writes: > * gnu/packages/ruby.scm (ruby-warden): New variable. […] > + (synopsis "Rack middleware providing authentication") > + (description > + "Rack middleware that provides authentication for rack applications.") Please use a full sentence here. Otherwise LGTM!
Ricardo Wurmus <rekado@elephly.net> writes: > Christopher Baines <mail@cbaines.net> writes: > >> * gnu/packages/ruby.scm (ruby-warden): New variable. > […] >> + (synopsis "Rack middleware providing authentication") >> + (description >> + "Rack middleware that provides authentication for rack applications.") > > Please use a full sentence here. I've changed this to "Warden is a Rack-based middleware that provides a mechanism for authentication in Ruby web applications." now.
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 78415ecc9e..a67da64ce5 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5739,6 +5739,29 @@ support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and (home-page "https://github.com/knu/ruby-unf") (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 + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-rack" ,ruby-rack))) + (synopsis "Rack middleware providing authentication") + (description + "Rack middleware that provides authentication for rack applications.") + (home-page "https://github.com/wardencommunity/warden") + (license license:expat))) + (define-public ruby-webmock-2 (package (name "ruby-webmock")