[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add ruby-rack-protection.
From: |
Ben Woodcroft |
Subject: |
07/13: gnu: Add ruby-rack-protection. |
Date: |
Wed, 10 Aug 2016 11:57:35 +0000 (UTC) |
benwoodcroft pushed a commit to branch wip-rails
in repository guix.
commit 01c38dc8bcf86ecc37b049639c26f6c838f20985
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 23:29:09 2015 +1000
gnu: Add ruby-rack-protection.
* gnu/packages/ruby.scm (ruby-rack-protection): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3b7ee74..05ba10a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3045,6 +3045,34 @@ testing libraries to build on.")
(home-page "http://github.com/brynary/rack-test")
(license license:expat)))
+(define-public ruby-rack-protection
+ (package
+ (name "ruby-rack-protection")
+ (version "1.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rack-protection" version))
+ (sha256
+ (base32
+ "0cvb21zz7p9wy23wdav63z5qzfn4nialik22yqp6gihkgfqqrh5r"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-rack" ,ruby-rack)))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec-2)
+ ("ruby-rack-test" ,ruby-rack-test)))
+ (synopsis "Rack middleware that protects against typical web attacks")
+ (description "This library is rack middleware that can be used to protect
+against typical web attacks. It can protect all Rack apps, including Rails.
+For instance, it protects against cross site request forgery, cross site
+scripting, clickjacking, directory traversal, session hijacking and IP
+spoofing.")
+ (home-page
+ "http://github.com/rkh/rack-protection")
+ (license license:expat)))
+
(define-public ruby-docile
(package
(name "ruby-docile")
- 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 <=
- 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, 2016/08/10
- 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