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: Thu, 14 Apr 2022 05:01:53 +0000 (UTC)	[thread overview]
Message-ID: <1649912460.20fa2aac13ad38fbaad80fbf639d9606489a9f30.graaff@gentoo> (raw)

commit:     20fa2aac13ad38fbaad80fbf639d9606489a9f30
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 14 05:01:00 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 05:01:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20fa2aac

dev-ruby/rack-attack: add 6.6.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

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

diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest
index c902a519e1d1..7869e9c43216 100644
--- a/dev-ruby/rack-attack/Manifest
+++ b/dev-ruby/rack-attack/Manifest
@@ -1,2 +1,3 @@
 DIST rack-attack-6.5.0.gem 25600 BLAKE2B a2b40e3779b51f10d43da7381cf3aa6b83bf3ffcff26cde0cad47838bb7d4f3a255d2e182f3f56118afc29d8a487c574a79f2ec1d331ff51a746c5730888465a SHA512 3a50518972bbd4f9f5a2f4f5cc48958bae1d0636923e0124b34792d6f8ed10d435c9bdff64a31c79639667a996386f573c45214b931a3310d6749316db7ca37e
 DIST rack-attack-6.6.0.gem 26624 BLAKE2B 0e24985666d5af4dc693137e41b6eb6b7f97d7e85eadfdf5ccf814007315567f52a9047795a419c8f717f77cd720e3bb2161152f019f5af1aaa318ebb64b8752 SHA512 286034be8770654c7ef9f1c632932968749b406e01ce4d93ff72d28359cafe7ec22906ed973409507bcf06b42ebe685437fee84be1f6e63212dbb706835bc860
+DIST rack-attack-6.6.1.gem 26624 BLAKE2B 3182da7b9fef4506fbbcf6fe8bcf175701b6999728c3b0ef2491cad426047540bc0e9a992db6f18f4f3947d2659e6db2e692a2a015e107c44106696086ffbb2d SHA512 65973550e1639527c4b00fb2743008b7ad9438faf5b70b490585966cf02f9733b215cff1826663ad6d770bac35dbe665cf901a5c4778de8e7f02e29ae1fb2772

diff --git a/dev-ruby/rack-attack/rack-attack-6.6.1.ebuild b/dev-ruby/rack-attack/rack-attack-6.6.1.ebuild
new file mode 100644
index 000000000000..0c3241cf6d1a
--- /dev/null
+++ b/dev-ruby/rack-attack/rack-attack-6.6.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+# 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:[~2022-04-14  5:01 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  5:01 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-01-30  8:19 Hans de Graaff
2021-02-09  5:47 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=1649912460.20fa2aac13ad38fbaad80fbf639d9606489a9f30.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