From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5756B1382C5 for ; Sun, 24 May 2020 04:14:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58C62E088A; Sun, 24 May 2020 04:14:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D025E088A for ; Sun, 24 May 2020 04:14:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1E8E34F07C for ; Sun, 24 May 2020 04:14:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCAFD25A for ; Sun, 24 May 2020 04:14:06 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1590293597.df3da240395403cfcf6dde8d80fefa35e3d3525d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-attack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rack-attack/Manifest dev-ruby/rack-attack/rack-attack-6.3.1.ebuild X-VCS-Directories: dev-ruby/rack-attack/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: df3da240395403cfcf6dde8d80fefa35e3d3525d X-VCS-Branch: master Date: Sun, 24 May 2020 04:14:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5cae1129-4027-4c41-81a3-7f6ca3fbf94d X-Archives-Hash: f263471d56163b64ed39d4dcc15f9c55 commit: df3da240395403cfcf6dde8d80fefa35e3d3525d Author: Hans de Graaff gentoo org> AuthorDate: Sun May 24 03:20:10 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun May 24 04:13:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df3da240 dev-ruby/rack-attack: add 6.3.1 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rack-attack/Manifest | 1 + dev-ruby/rack-attack/rack-attack-6.3.1.ebuild | 39 +++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest index db1d0a32be3..7d4864dfab0 100644 --- a/dev-ruby/rack-attack/Manifest +++ b/dev-ruby/rack-attack/Manifest @@ -1,2 +1,3 @@ DIST rack-attack-5.4.2.gem 23040 BLAKE2B 7af950339f03139e6a3ac9e8349e6d2af5182a29f643a08a9ea0806349c02965d05e99d95421f14ba827c9c942a6824f710dbaf06adbb0aa07dde03d74e629ed SHA512 a4af12c2c436a3634108494e2a5b9c5751c0fa2e87af6efa326d9c09fdae54b5bd8a8974c48785dfef64565ff9ee0a6704c90acf1277c8e80849ff30f9fbb67b DIST rack-attack-6.2.2.gem 24064 BLAKE2B dd76a1f76b4f20e8bf01ac4bfda9af2daacbe972f7847399bd30b9472c8e0f66dbcc333b19eb2e482f91c38d9557ad76559b6a40b7f842faea43b7f88e24cd77 SHA512 c2e852f0871502d1f70be20e6d3d6a9ffe50e6203950624b7ea4f6f0c4c48239a8dbef417f6b7348146f3f6d5a028bffa133c29da6453eff57438d7993562822 +DIST rack-attack-6.3.1.gem 25088 BLAKE2B 97a6f36ad3571508f68b33090644db8fb21f6eb43f8ae16b0107dd3e0e1b8b728b6eaa43959dfa8b9781672147673b750c215c9ed01366de90175ba063d5d2b5 SHA512 e6c3fbc5a09cc3d15d06b450baf911b84dd412de7b1a9d0f67661da2106d1474ea2f7c2ec6a7cf5bbd9756642be519e618134c5c7888c41f44270afc4f8aff4a diff --git a/dev-ruby/rack-attack/rack-attack-6.3.1.ebuild b/dev-ruby/rack-attack/rack-attack-6.3.1.ebuild new file mode 100644 index 00000000000..f3fe2395fc4 --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-6.3.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 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/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 +}