[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: Add ruby-sporkmonger-rack-mount.
From: |
Ben Woodcroft |
Subject: |
10/13: gnu: Add ruby-sporkmonger-rack-mount. |
Date: |
Wed, 10 Aug 2016 11:57:35 +0000 (UTC) |
benwoodcroft pushed a commit to branch wip-rails
in repository guix.
commit 58710128aaca3ca9e9401943339aef1260456dad
Author: Ben Woodcroft <address@hidden>
Date: Fri Jan 1 00:12:06 2016 +1000
gnu: Add ruby-sporkmonger-rack-mount.
* gnu/packages/ruby.scm (ruby-sporkmonger-rack-mount): New variable.
---
gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9d07965..1e51b2d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -629,6 +629,37 @@ AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other
formats.")
(home-page "http://asciidoctor.org")
(license license:expat)))
+(define-public ruby-sporkmonger-rack-mount
+ ;; Testing the addressable gem requires a newer commit than that released, so
+ ;; use an up to date version.
+ (let ((revision "1")
+ (commit "076aa2c47d9a4c081f1e9bcb56a826a9e72bd5c3"))
+ (package
+ (name "ruby-sporkmonger-rack-mount")
+ (version (string-append "0.8.3." revision "." commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sporkmonger/rack-mount.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1scx273g3xd93424x9lxc4zyvcp2niknbw5mkz6wkivpf7xsyxdq"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; Tests currently fail so disable them.
+ ;; https://github.com/sporkmonger/rack-mount/pull/1
+ `(#:tests? #f))
+ (propagated-inputs `(("ruby-rack" ,ruby-rack)))
+ (synopsis "Stackable dynamic tree based Rack router")
+ (description
+ "@code{Rack::Mount} supports Rack's @code{X-Cascade} convention to
+continue trying routes if the response returns pass. This allows multiple
+routes to be nested or stacked on top of each other.")
+ (home-page "https://github.com/sporkmonger/rack-mount")
+ (license license:expat))))
+
(define-public ruby-ci-reporter
(package
(name "ruby-ci-reporter")
- branch wip-rails created (now 9a46eda), Ben Woodcroft, 2016/08/10
- 03/13: gnu: ruby-concurrent: Adjust for 'replace-git-ls-files'., Ben Woodcroft, 2016/08/10
- 01/13: guix: ruby-build-system: Build compiled gems reproducibly., Ben Woodcroft, 2016/08/10
- 04/13: gnu: Add ruby-asciimath., Ben Woodcroft, 2016/08/10
- 02/13: guix: ruby-build-system: Add replace-git-ls-files., Ben Woodcroft, 2016/08/10
- 09/13: gnu: Add ruby-creole., Ben Woodcroft, 2016/08/10
- 11/13: gnu: Add ruby-erubis., Ben Woodcroft, 2016/08/10
- 07/13: gnu: Add ruby-rack-protection., Ben Woodcroft, 2016/08/10
- 12/13: gnu: Add ruby-ruby-engine., Ben Woodcroft, 2016/08/10
- 06/13: gnu: Add ruby-rack-test., Ben Woodcroft, 2016/08/10
- 10/13: gnu: Add ruby-sporkmonger-rack-mount.,
Ben Woodcroft <=
- 05/13: gnu: Add ruby-asciidoctor., Ben Woodcroft, 2016/08/10
- 08/13: gnu: Add ruby-contest., Ben Woodcroft, 2016/08/10
- 13/13: gnu: Add ruby-rails, ruby-sinatra and associated packages., Ben Woodcroft, 2016/08/10