public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-attack/
Date: Tue,  9 Feb 2021 05:47:28 +0000 (UTC)	[thread overview]
Message-ID: <1612849644.11d5fea41e6ed05a97cc291e1eeee7b87460b54b.graaff@gentoo> (raw)

commit:     11d5fea41e6ed05a97cc291e1eeee7b87460b54b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  9 05:47:24 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Feb  9 05:47:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11d5fea4

dev-ruby/rack-attack: add 6.5.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rack-attack/Manifest                 |  1 +
 dev-ruby/rack-attack/rack-attack-6.5.0.ebuild | 40 +++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index 00bc7af43bd..ea9ca11090a 100644
--- a/dev-ruby/rack-attack/Manifest
+++ b/dev-ruby/rack-attack/Manifest
@@ -1,2 +1,3 @@
 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

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 00000000000..e716cede738
--- /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
+}


             reply	other threads:[~2021-02-09  5:47 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09  5:47 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-03  9:12 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-attack/ Hans de Graaff
2024-03-19  6:27 Hans de Graaff
2023-08-27  6:11 Hans de Graaff
2023-07-11  4:37 Hans de Graaff
2023-07-11  4:37 Hans de Graaff
2022-12-11  8:11 Hans de Graaff
2022-12-11  8:11 Hans de Graaff
2022-06-26  6:20 Hans de Graaff
2022-04-14  5:01 Hans de Graaff
2022-04-14  5:01 Hans de Graaff
2022-01-30  8:19 Hans de Graaff
2021-01-25  5:54 Hans de Graaff
2020-09-11  5:14 Hans de Graaff
2020-09-05  8:01 Hans de Graaff
2020-05-24  7:09 Hans de Graaff
2020-05-24  4:14 Hans de Graaff
2020-04-30  5:26 Hans de Graaff
2019-12-20  7:21 Hans de Graaff
2019-11-09  6:28 Hans de Graaff
2019-11-02  5:40 Hans de Graaff
2019-10-13  6:38 Hans de Graaff
2019-07-13  5:40 Hans de Graaff
2019-05-22 17:20 Hans de Graaff
2019-05-18  5:36 Hans de Graaff
2019-04-22  5:40 Hans de Graaff
2019-04-22  5:40 Hans de Graaff
2019-03-30  6:46 Hans de Graaff
2019-01-27 19:13 Hans de Graaff
2018-11-01  6:04 Hans de Graaff
2018-10-18  4:39 Hans de Graaff
2018-07-06  4:15 Hans de Graaff
2018-06-27  5:23 Hans de Graaff
2018-06-20  4:49 Hans de Graaff
2018-05-22  5:20 Hans de Graaff
2017-08-25  6:09 Hans de Graaff
2017-07-20  6:25 Hans de Graaff
2016-04-17  8:06 Hans de Graaff
2016-02-18  6:47 Hans de Graaff
2016-02-11 13:11 Hans de Graaff
2016-01-10  9:48 Hans de Graaff
2015-12-19  7:55 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612849644.11d5fea41e6ed05a97cc291e1eeee7b87460b54b.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox