diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-04-22 07:37:48 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-04-22 07:39:44 +0200 |
commit | 3fc0c76a2d02ea57b5e468c9a69da773bd9774e7 (patch) | |
tree | 945e3735e9d71d21552e24c57c38d26a773c5e46 | |
parent | dev-ruby/rack-attack: don't install useless binstubs (diff) | |
download | gentoo-3fc0c76a2d02ea57b5e468c9a69da773bd9774e7.tar.gz gentoo-3fc0c76a2d02ea57b5e468c9a69da773bd9774e7.tar.bz2 gentoo-3fc0c76a2d02ea57b5e468c9a69da773bd9774e7.zip |
dev-ruby/rack-attack: add 6.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
-rw-r--r-- | dev-ruby/rack-attack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rack-attack/rack-attack-6.0.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest index aecaf9bd32a9..ac749a2f0d61 100644 --- a/dev-ruby/rack-attack/Manifest +++ b/dev-ruby/rack-attack/Manifest @@ -1,2 +1,3 @@ DIST rack-attack-4.4.1.gem 16896 BLAKE2B 0c7248c3676250a94078c23256d6f33471b619f0f3948bfb8a3d6b00e97e7731ff5d84e94bc4a53eb35f22b5027709ab0d5b04f28716724762683add42a2c669 SHA512 1373cd47fdc06a1d4bfc751f3c8ca7c7394117090d190f5b58c4d7b91ac91babfc7bfed7690961ad6534ccb0ce8918f721d3e1b33902d12e686978c1c459e572 DIST rack-attack-5.4.2.gem 23040 BLAKE2B 7af950339f03139e6a3ac9e8349e6d2af5182a29f643a08a9ea0806349c02965d05e99d95421f14ba827c9c942a6824f710dbaf06adbb0aa07dde03d74e629ed SHA512 a4af12c2c436a3634108494e2a5b9c5751c0fa2e87af6efa326d9c09fdae54b5bd8a8974c48785dfef64565ff9ee0a6704c90acf1277c8e80849ff30f9fbb67b +DIST rack-attack-6.0.0.gem 23552 BLAKE2B ffd558e6a8b4b03fb332ef84f74c77f3f6dbfbaa8ce819c9522c02791ae35acc177b07a5f52f1888ccf25feb068e1812d1d61ddb7ebc9ea34da7ae1fe6275c27 SHA512 dca8ab20a3c4e5ac1214b232674fbf164a4c05f7ebb219193608b235583cdea5367d402d32a60d6a92c534a04d328714c673a7c93c50423a038e653561023f87 diff --git a/dev-ruby/rack-attack/rack-attack-6.0.0.ebuild b/dev-ruby/rack-attack/rack-attack-6.0.0.ebuild new file mode 100644 index 000000000000..9189aae50b5c --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-6.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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 +} |