diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-11-01 07:03:12 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-11-01 07:03:12 +0100 |
commit | 5638dd1c2a1d782716c065e3d677207ad9ec272c (patch) | |
tree | ebbc2cae891e2d399c8a2b2cd5cc7c4ee3ca9d49 /dev-ruby/rack-attack | |
parent | app-emacs/with-editor: add 2.8.0 (diff) | |
download | gentoo-5638dd1c2a1d782716c065e3d677207ad9ec272c.tar.gz gentoo-5638dd1c2a1d782716c065e3d677207ad9ec272c.tar.bz2 gentoo-5638dd1c2a1d782716c065e3d677207ad9ec272c.zip |
dev-ruby/rack-attack: add 5.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/rack-attack')
-rw-r--r-- | dev-ruby/rack-attack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rack-attack/rack-attack-5.4.2.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest index 69e81d5c2138..8d8ec6d03df5 100644 --- a/dev-ruby/rack-attack/Manifest +++ b/dev-ruby/rack-attack/Manifest @@ -1,3 +1,4 @@ DIST rack-attack-4.4.1.gem 16896 BLAKE2B 0c7248c3676250a94078c23256d6f33471b619f0f3948bfb8a3d6b00e97e7731ff5d84e94bc4a53eb35f22b5027709ab0d5b04f28716724762683add42a2c669 SHA512 1373cd47fdc06a1d4bfc751f3c8ca7c7394117090d190f5b58c4d7b91ac91babfc7bfed7690961ad6534ccb0ce8918f721d3e1b33902d12e686978c1c459e572 DIST rack-attack-5.3.2.gem 23040 BLAKE2B 169f14030860b2727a494cbf4770beb6c9f74cfd1fdb9a70fb95e537eeccb08f158d9de74d81061fde39413f66b805d9ace0a586f7232ef5eee9b75b8ab73e77 SHA512 de79fdf59786ee00077ab97566ee75e38d823d4ea1854ba877fa2fdb92ae659c0c1bb6aa6b47754b6e28f1a7dbd6061e57171b0b1626dff95c17178bf4891390 DIST rack-attack-5.4.0.gem 23040 BLAKE2B 25432eaf1ac92f3c86be7fae803768a9f8c32a61af5af493c00343c44bb0d13ea3b725c5f3016533dc0d685351917441a3d932097fbeec1f681accc9c9bd38f0 SHA512 87ab81165c655dccef0e33234ded9fd1894788c391620ed565b732a4b16d1fea539a4cfef81a0ba4a3a2edd356bbd9963976b3de7d1257c31da863f3e725962a +DIST rack-attack-5.4.2.gem 23040 BLAKE2B 7af950339f03139e6a3ac9e8349e6d2af5182a29f643a08a9ea0806349c02965d05e99d95421f14ba827c9c942a6824f710dbaf06adbb0aa07dde03d74e629ed SHA512 a4af12c2c436a3634108494e2a5b9c5751c0fa2e87af6efa326d9c09fdae54b5bd8a8974c48785dfef64565ff9ee0a6704c90acf1277c8e80849ff30f9fbb67b diff --git a/dev-ruby/rack-attack/rack-attack-5.4.2.ebuild b/dev-ruby/rack-attack/rack-attack-5.4.2.ebuild new file mode 100644 index 000000000000..ac0a6bf48ae3 --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-5.4.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 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" + +inherit ruby-fakegem + +DESCRIPTION="A DSL for blocking & throttling abusive clients" +HOMEPAGE="https://github.com/kickstarter/rack-attack" + +LICENSE="MIT" +SLOT="5" +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 +} |