Skip to content

Commit

Permalink
dev-ruby/rack-attack: add 5.2.0
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.36, Repoman-2.3.9
  • Loading branch information
graaff committed May 22, 2018
1 parent e67defc commit 9119488
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/rack-attack/Manifest
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.0.1.gem 17408 BLAKE2B 5aaba2c1b4b2c69a02734d082bc18e670c1c7ad8e2ea40945f3f3afa1f136c11bf74a582763d914ed0ef442e26ccfb35fc7328b0d7deaea74110deec9e91c84e SHA512 e5833d8506990d352073573de3b52deff910201f89f31bf9c4ded53644aadf52ee85b63a239f41e38d37baee4fb4c630f4c00abb1f0ea1fca1be78ca56e0e648
DIST rack-attack-5.2.0.gem 22528 BLAKE2B 474b70dd4a4a949cb295922bdf9d141fd1c8241d9d2179fd43fe38a7d9687c39a712ad7473956302fa8f4f4bcf84cb284475a90e7e264f18f45a1e7228a66659 SHA512 f9d9e07a993e8bd93e7f09110055bb4ba0478019f1d08f44cc9ac497cd0badf1095a512fb5e556dc82ecc8ba3b9ddbe38ae6c8cd3c570bd29237a550788fe0ab
34 changes: 34 additions & 0 deletions dev-ruby/rack-attack/rack-attack-5.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2018 Gentoo Foundation
# 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
}

0 comments on commit 9119488

Please sign in to comment.