forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hans de Graaff <[email protected]> Package-Manager: Portage-2.3.62, Repoman-2.3.11
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |