summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-18 07:36:44 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-18 07:36:44 +0100
commitbb16947f3aea80f51468b8daf511ff982ecbd42a (patch)
tree88a29bbbd328562b442d705aa0698a50898f82cb
parentdev-ruby/webmock: add ruby22 (diff)
downloadgentoo-bb16947f3aea80f51468b8daf511ff982ecbd42a.tar.gz
gentoo-bb16947f3aea80f51468b8daf511ff982ecbd42a.tar.bz2
gentoo-bb16947f3aea80f51468b8daf511ff982ecbd42a.zip
dev-ruby/rack-attack: add 4.4.1
Package-Manager: portage-2.2.26
-rw-r--r--dev-ruby/rack-attack/Manifest1
-rw-r--r--dev-ruby/rack-attack/rack-attack-4.4.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index 9f6a916e71a..c912b7f807e 100644
--- a/dev-ruby/rack-attack/Manifest
+++ b/dev-ruby/rack-attack/Manifest
@@ -1,2 +1,3 @@
DIST rack-attack-4.3.1.gem 16384 SHA256 9a2ea5df8c9b4a715ecd6497e7553c7e50fdb1452abe724bd8ae359115621146 SHA512 6f89b7f8afb8adab09b0df984df2ad4dbd043ad73dbb7adad11a87f9f4041194bb4f63399fd5c5d15bec1ee47a682247a9f01217ada8eeda1fb09235dd00ffaa WHIRLPOOL e9f45190635229975bb02abe2f6996d6de82f7486339c3bc26ac65dfa6a6f1da5e58a1f6f92b835388ddc218ff2971dec3a223e6c6be4e06c7eb034d06e1e1d2
DIST rack-attack-4.4.0.gem 16896 SHA256 8e20760712a51a51f9919ffd24f8c638d2e1bbe13340b61fbc0c984a4cb40d6e SHA512 2c9d0a90c99481990d2cc777dfa4875b23fab16f542645a610619f870cccca8373ffe205ff0785732045216f3b97bfbc983dedd76941a12c0e36baf0050477a3 WHIRLPOOL 6e9d131ad525f83d2d2eb699d148dfd276199fa491f86c9bca9fa399c1f6cd53390558c24f137298651d29c71483d56567f24c9d3f529e0b60d37ca0bd18fa1b
+DIST rack-attack-4.4.1.gem 16896 SHA256 81367dad64d7e7ce560b9427b0334eae674accd2cdb6d982f02875702e32fdb3 SHA512 1373cd47fdc06a1d4bfc751f3c8ca7c7394117090d190f5b58c4d7b91ac91babfc7bfed7690961ad6534ccb0ce8918f721d3e1b33902d12e686978c1c459e572 WHIRLPOOL 3ac1f89ead19272f6078cefd1df50f8a144b6c3b7a7dd9848709dae6a39e4563d367975bf26c46b7cfe5066542c17efde622653d60db0a75dc14ab7e9fbba0a7
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 00000000000..232152e9171
--- /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
+}