summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-20 08:16:03 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-20 08:16:03 +0100
commit057b4f7bf04c8522374c79e20161e2140285d9f8 (patch)
tree82d4ed942cfeb4d614d623aeba297b1318791e47 /dev-ruby
parentdev-ruby/racc: add 1.4.16 (diff)
downloadgentoo-057b4f7bf04c8522374c79e20161e2140285d9f8.tar.gz
gentoo-057b4f7bf04c8522374c79e20161e2140285d9f8.tar.bz2
gentoo-057b4f7bf04c8522374c79e20161e2140285d9f8.zip
dev-ruby/rack-attack: add 6.2.2
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rack-attack/Manifest1
-rw-r--r--dev-ruby/rack-attack/rack-attack-6.2.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index 9137e1a436d7..20109be1585e 100644
--- a/dev-ruby/rack-attack/Manifest
+++ b/dev-ruby/rack-attack/Manifest
@@ -1,3 +1,4 @@
DIST rack-attack-5.4.2.gem 23040 BLAKE2B 7af950339f03139e6a3ac9e8349e6d2af5182a29f643a08a9ea0806349c02965d05e99d95421f14ba827c9c942a6824f710dbaf06adbb0aa07dde03d74e629ed SHA512 a4af12c2c436a3634108494e2a5b9c5751c0fa2e87af6efa326d9c09fdae54b5bd8a8974c48785dfef64565ff9ee0a6704c90acf1277c8e80849ff30f9fbb67b
DIST rack-attack-6.2.0.gem 24576 BLAKE2B 7836dd0c8a56bfa6337cc0bfa8ec2a4224873108d73bf1cb225c07a7720fba239bc7eeb75467c098c890050338f60420874c27529568b93c3bec9ed04926300a SHA512 df5de90d976dbd357780a5ab4a012ea1e528e5b608bad57ab8c59ee39ad36a1cf4490b3ec663d7f8ca6b788118ae7b256feb1cc475f8644c29883080e9c8b9dd
DIST rack-attack-6.2.1.gem 24576 BLAKE2B 4a40486a457b5568045b4311a8eb1f4c54f2e04f68c92a643f4e6523ad32aed6253ce4faa830f0fe36d21ae89137908aab90cb07fe1f1f7307d4ac486de00263 SHA512 aefc9f2b56f5345e45f90b2a90619922fbc4459e95db5b324a58ce05d15b749f5fe93033fb5b7a8e312c10cd076a3e47033ff34a71712ec2923158cecfbcd0c7
+DIST rack-attack-6.2.2.gem 24064 BLAKE2B dd76a1f76b4f20e8bf01ac4bfda9af2daacbe972f7847399bd30b9472c8e0f66dbcc333b19eb2e482f91c38d9557ad76559b6a40b7f842faea43b7f88e24cd77 SHA512 c2e852f0871502d1f70be20e6d3d6a9ffe50e6203950624b7ea4f6f0c4c48239a8dbef417f6b7348146f3f6d5a028bffa133c29da6453eff57438d7993562822
diff --git a/dev-ruby/rack-attack/rack-attack-6.2.2.ebuild b/dev-ruby/rack-attack/rack-attack-6.2.2.ebuild
new file mode 100644
index 000000000000..3c7630016e9d
--- /dev/null
+++ b/dev-ruby/rack-attack/rack-attack-6.2.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+# Skip integration tests since they require additional unpackaged
+# dependencies and running daemons.
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A DSL for blocking & throttling abusive clients"
+HOMEPAGE="https://github.com/kickstarter/rack-attack"
+
+LICENSE="MIT"
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/rack:*"
+ruby_add_bdepend "test? (
+ dev-ruby/actionpack
+ dev-ruby/activesupport
+ dev-ruby/rack-test
+ dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(bundler\|byebug\)/ s:^:#:' Rakefile spec/spec_helper.rb || die
+ sed -i -e '3igem "actionpack"' spec/spec_helper.rb || die
+ sed -i -e '/rubocop/I s:^:#:' Rakefile || die
+}