summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-11 06:54:30 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-11 14:11:32 +0100
commitc30a0818b2d90a2f37c98f2126df048bc5f54a51 (patch)
tree1bf10c5258db99e000045a675886ecb63b61be2c /dev-ruby/rack-attack
parentsys-devel/llvm: revise libcxx dependency for maintenance and to be more reali... (diff)
downloadgentoo-c30a0818b2d90a2f37c98f2126df048bc5f54a51.tar.gz
gentoo-c30a0818b2d90a2f37c98f2126df048bc5f54a51.tar.bz2
gentoo-c30a0818b2d90a2f37c98f2126df048bc5f54a51.zip
dev-ruby/rack-attack: add 4.4.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/rack-attack')
-rw-r--r--dev-ruby/rack-attack/Manifest1
-rw-r--r--dev-ruby/rack-attack/rack-attack-4.4.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index e720f382fd53..9f6a916e71aa 100644
--- a/dev-ruby/rack-attack/Manifest
+++ b/dev-ruby/rack-attack/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/rack-attack/rack-attack-4.4.0.ebuild b/dev-ruby/rack-attack/rack-attack-4.4.0.ebuild
new file mode 100644
index 000000000000..232152e9171a
--- /dev/null
+++ b/dev-ruby/rack-attack/rack-attack-4.4.0.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
+}