diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-18 07:36:44 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-18 07:36:44 +0100 |
commit | bb16947f3aea80f51468b8daf511ff982ecbd42a (patch) | |
tree | 88a29bbbd328562b442d705aa0698a50898f82cb /dev-ruby/rack-attack/rack-attack-4.4.1.ebuild | |
parent | dev-ruby/webmock: add ruby22 (diff) | |
download | gentoo-bb16947f3aea80f51468b8daf511ff982ecbd42a.tar.gz gentoo-bb16947f3aea80f51468b8daf511ff982ecbd42a.tar.bz2 gentoo-bb16947f3aea80f51468b8daf511ff982ecbd42a.zip |
dev-ruby/rack-attack: add 4.4.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/rack-attack/rack-attack-4.4.1.ebuild')
-rw-r--r-- | dev-ruby/rack-attack/rack-attack-4.4.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/rack-attack-4.4.1.ebuild b/dev-ruby/rack-attack/rack-attack-4.4.1.ebuild new file mode 100644 index 000000000000..232152e9171a --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-4.4.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_TASK_DOC="" +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="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rack:*" +ruby_add_bdepend "test? ( dev-ruby/activesupport + dev-ruby/rack-test + dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile spec/spec_helper.rb || die +} |