summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-10-13 08:24:27 +0200
committerHans de Graaff <graaff@gentoo.org>2019-10-13 08:24:27 +0200
commit5fc23c9c8b80b85d4c3e07f160f413b31d7cb98a (patch)
treef8df50cbdc28ce7f79f7af9fc9f098a89b81ef7b /dev-ruby/rack-attack
parentdev-ruby/asciidoctor-diagram: cleanup (diff)
downloadgentoo-5fc23c9c8b80b85d4c3e07f160f413b31d7cb98a.tar.gz
gentoo-5fc23c9c8b80b85d4c3e07f160f413b31d7cb98a.tar.bz2
gentoo-5fc23c9c8b80b85d4c3e07f160f413b31d7cb98a.zip
dev-ruby/rack-attack: add 6.2.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack-attack')
-rw-r--r--dev-ruby/rack-attack/Manifest1
-rw-r--r--dev-ruby/rack-attack/rack-attack-6.2.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index a789fa323b57..688051aeaf30 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.0.0.gem 23552 BLAKE2B ffd558e6a8b4b03fb332ef84f74c77f3f6dbfbaa8ce819c9522c02791ae35acc177b07a5f52f1888ccf25feb068e1812d1d61ddb7ebc9ea34da7ae1fe6275c27 SHA512 dca8ab20a3c4e5ac1214b232674fbf164a4c05f7ebb219193608b235583cdea5367d402d32a60d6a92c534a04d328714c673a7c93c50423a038e653561023f87
DIST rack-attack-6.1.0.gem 23552 BLAKE2B 91f1c83659ea906732c6ab39904a5b01710fba3bf82e6c9b5bf88d9c992bd1f5d69c71e6487e85874f9c4527ac0f053bb648d600e8ac17569f0b6331089f0fc0 SHA512 b03050f15f05a27ee9a4f997c9de0c34a548f9fbd8e46d52f071c138f31c4bfc65196873a0bebce3c8d3862809b75295ab0f30c97afb128051cfa9b161d3dbe2
+DIST rack-attack-6.2.0.gem 24576 BLAKE2B 7836dd0c8a56bfa6337cc0bfa8ec2a4224873108d73bf1cb225c07a7720fba239bc7eeb75467c098c890050338f60420874c27529568b93c3bec9ed04926300a SHA512 df5de90d976dbd357780a5ab4a012ea1e528e5b608bad57ab8c59ee39ad36a1cf4490b3ec663d7f8ca6b788118ae7b256feb1cc475f8644c29883080e9c8b9dd
diff --git a/dev-ruby/rack-attack/rack-attack-6.2.0.ebuild b/dev-ruby/rack-attack/rack-attack-6.2.0.ebuild
new file mode 100644
index 000000000000..3c7630016e9d
--- /dev/null
+++ b/dev-ruby/rack-attack/rack-attack-6.2.0.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
+}