summaryrefslogtreecommitdiff
path: root/dev-ruby/rack-attack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /dev-ruby/rack-attack
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'dev-ruby/rack-attack')
-rw-r--r--dev-ruby/rack-attack/Manifest2
-rw-r--r--dev-ruby/rack-attack/rack-attack-6.5.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index 8efdbcef5ce6..b124ad208111 100644
--- a/dev-ruby/rack-attack/Manifest
+++ b/dev-ruby/rack-attack/Manifest
@@ -1,5 +1,7 @@
DIST rack-attack-6.3.1.gem 25088 BLAKE2B 97a6f36ad3571508f68b33090644db8fb21f6eb43f8ae16b0107dd3e0e1b8b728b6eaa43959dfa8b9781672147673b750c215c9ed01366de90175ba063d5d2b5 SHA512 e6c3fbc5a09cc3d15d06b450baf911b84dd412de7b1a9d0f67661da2106d1474ea2f7c2ec6a7cf5bbd9756642be519e618134c5c7888c41f44270afc4f8aff4a
DIST rack-attack-6.4.0.gem 25088 BLAKE2B 97f54f8d411d279731bf85ea5c43b875bdfe8f9eb32991b5c10b65cc6fd747b6b518b47da29bfccff9a037c9295f2c09b7b0c721bd24d42eaf0bda1012fc56b1 SHA512 f7d86521b65ecc92544c0f0d0af01e1de2e95d1087c732bd2e2c6aa944835bb5618bb35ca4bc60c42061627b5e8b5b030701238f42d61cd851d6b21ddb709e36
+DIST rack-attack-6.5.0.gem 25600 BLAKE2B a2b40e3779b51f10d43da7381cf3aa6b83bf3ffcff26cde0cad47838bb7d4f3a255d2e182f3f56118afc29d8a487c574a79f2ec1d331ff51a746c5730888465a SHA512 3a50518972bbd4f9f5a2f4f5cc48958bae1d0636923e0124b34792d6f8ed10d435c9bdff64a31c79639667a996386f573c45214b931a3310d6749316db7ca37e
EBUILD rack-attack-6.3.1.ebuild 1084 BLAKE2B 17031cde8c30de43e22459fa5e09deab1e9bc0e094683a57dea720d2e2e99924c8fcb515e170f4ca55c93d9dcf36555c411cbf270ee64f744043e2081c9f45c6 SHA512 176b03af7f8c41f9c7b13db8ed1e0642d411e65510c1df033169e3698dfcec256d6676ba94f99e8c69bf0b09f316197ba19cd7f7d441f3a1fee8a17fc2dcc62a
EBUILD rack-attack-6.4.0.ebuild 1077 BLAKE2B 367dfde08481b4dd3d724e948c45505c4065cfed4cb3bd790a0320adcd54315ef975bf90088d0e67978a88264ea7abe7e9850f25f4aee7bffb5e9e774d6c802d SHA512 0fbb7492040a75d83ee7486d0b40d5669b8479cf1e648299789801418e76f5eb743038ba339410558ea665b8f7a8f3b519e8c60705eaaf0738e180c6b31050dd
+EBUILD rack-attack-6.5.0.ebuild 1077 BLAKE2B 367dfde08481b4dd3d724e948c45505c4065cfed4cb3bd790a0320adcd54315ef975bf90088d0e67978a88264ea7abe7e9850f25f4aee7bffb5e9e774d6c802d SHA512 0fbb7492040a75d83ee7486d0b40d5669b8479cf1e648299789801418e76f5eb743038ba339410558ea665b8f7a8f3b519e8c60705eaaf0738e180c6b31050dd
MISC metadata.xml 349 BLAKE2B 5e0852caf34767613f144f3a6680223198c6cad55b7ea30d0778d788ce2293a2586bf0edc698dc0a5edc11d4e1d408576ce9d7c1eb3602e7fe7f10e2be33c1ba SHA512 9584ab20de3f1604d81e9be1baa8b4e355e5a43fba3a0cfc43a3d4f5e67df0d089a906b479b99150f76e54d07310d650ae96171d6ddeb8e3f00a446e2a95a795
diff --git a/dev-ruby/rack-attack/rack-attack-6.5.0.ebuild b/dev-ruby/rack-attack/rack-attack-6.5.0.ebuild
new file mode 100644
index 000000000000..e716cede7381
--- /dev/null
+++ b/dev-ruby/rack-attack/rack-attack-6.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+# Skip integration tests since they require additional unpackaged
+# dependencies and running daemons.
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/rack:*"
+ruby_add_bdepend "test? (
+ dev-ruby/actionpack
+ dev-ruby/activesupport
+ dev-ruby/railties
+ 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
+
+ # Avoid specs requiring a live redis service
+ sed -i -e '/should delete rack attack key/askip "requires redis service"' spec/rack_attack_spec.rb || die
+}