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 94BBE138334 for ; Mon, 22 Apr 2019 05:40:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A7FFE0882; Mon, 22 Apr 2019 05:40:25 +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 6D32CE0882 for ; Mon, 22 Apr 2019 05:40:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3E6F7341F65 for ; Mon, 22 Apr 2019 05:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A67805C3 for ; Mon, 22 Apr 2019 05:40:08 +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: <1555911584.3fc0c76a2d02ea57b5e468c9a69da773bd9774e7.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.0.0.ebuild X-VCS-Directories: dev-ruby/rack-attack/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3fc0c76a2d02ea57b5e468c9a69da773bd9774e7 X-VCS-Branch: master Date: Mon, 22 Apr 2019 05:40:08 +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: a7aee5f4-f312-40f8-a90e-fa58c9a4d784 X-Archives-Hash: c36272e8a96f06396eaee1b6d514b233 commit: 3fc0c76a2d02ea57b5e468c9a69da773bd9774e7 Author: Hans de Graaff gentoo org> AuthorDate: Mon Apr 22 05:37:48 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Apr 22 05:39:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc0c76a dev-ruby/rack-attack: add 6.0.0 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/rack-attack/Manifest | 1 + dev-ruby/rack-attack/rack-attack-6.0.0.ebuild | 37 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/rack-attack/Manifest b/dev-ruby/rack-attack/Manifest index aecaf9bd32a..ac749a2f0d6 100644 --- a/dev-ruby/rack-attack/Manifest +++ b/dev-ruby/rack-attack/Manifest @@ -1,2 +1,3 @@ DIST rack-attack-4.4.1.gem 16896 BLAKE2B 0c7248c3676250a94078c23256d6f33471b619f0f3948bfb8a3d6b00e97e7731ff5d84e94bc4a53eb35f22b5027709ab0d5b04f28716724762683add42a2c669 SHA512 1373cd47fdc06a1d4bfc751f3c8ca7c7394117090d190f5b58c4d7b91ac91babfc7bfed7690961ad6534ccb0ce8918f721d3e1b33902d12e686978c1c459e572 DIST rack-attack-5.4.2.gem 23040 BLAKE2B 7af950339f03139e6a3ac9e8349e6d2af5182a29f643a08a9ea0806349c02965d05e99d95421f14ba827c9c942a6824f710dbaf06adbb0aa07dde03d74e629ed SHA512 a4af12c2c436a3634108494e2a5b9c5751c0fa2e87af6efa326d9c09fdae54b5bd8a8974c48785dfef64565ff9ee0a6704c90acf1277c8e80849ff30f9fbb67b +DIST rack-attack-6.0.0.gem 23552 BLAKE2B ffd558e6a8b4b03fb332ef84f74c77f3f6dbfbaa8ce819c9522c02791ae35acc177b07a5f52f1888ccf25feb068e1812d1d61ddb7ebc9ea34da7ae1fe6275c27 SHA512 dca8ab20a3c4e5ac1214b232674fbf164a4c05f7ebb219193608b235583cdea5367d402d32a60d6a92c534a04d328714c673a7c93c50423a038e653561023f87 diff --git a/dev-ruby/rack-attack/rack-attack-6.0.0.ebuild b/dev-ruby/rack-attack/rack-attack-6.0.0.ebuild new file mode 100644 index 00000000000..9189aae50b5 --- /dev/null +++ b/dev-ruby/rack-attack/rack-attack-6.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25" + +# Skip integration tests since they require additional unpackaged +# dependencies and running daemons. +RUBY_FAKEGEM_TASK_TEST="test:units" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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="6" +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 +}