summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-20 08:02:18 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-20 08:02:18 +0100
commit260a7b5822b84d269f7717efe048d9deac40b8bd (patch)
treee67b83e038a54b43bb73decc3322d4f61610b4e0 /dev-ruby/rack-test
parentdev-ruby/parslet: add 1.8.1 (diff)
downloadgentoo-260a7b5822b84d269f7717efe048d9deac40b8bd.tar.gz
gentoo-260a7b5822b84d269f7717efe048d9deac40b8bd.tar.bz2
gentoo-260a7b5822b84d269f7717efe048d9deac40b8bd.zip
dev-ruby/rack-test: add 0.7.1
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/rack-test')
-rw-r--r--dev-ruby/rack-test/Manifest1
-rw-r--r--dev-ruby/rack-test/rack-test-0.7.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/rack-test/Manifest b/dev-ruby/rack-test/Manifest
index e3dbd322d4d9..54137264226d 100644
--- a/dev-ruby/rack-test/Manifest
+++ b/dev-ruby/rack-test/Manifest
@@ -1,2 +1,3 @@
DIST rack-test-0.6.3.gem 23552 SHA256 ff60b122e2940e32e94a2e4a61bceb8d9c99a97c1817ecc47e535522b02cdd40 SHA512 a5ad0f20130eedc153515127d2483cb1322c230ab772307943ec6eb295706f3aab26c8599cba69323b3cdc5692b284ba0609d8db957ade7085a95d94ccdf8b41 WHIRLPOOL 033543478a05cd4703a1600f84e7ca74bb7813f3a3bf38afd29784285130b18c5bb0d2fb1fea9aff57bc7f458856969ffc27f8b72dddea20fa79fef9d8ef6189
DIST rack-test-0.7.0.tar.gz 22768 SHA256 be717ce03016d14a4582ba054c511d371bcddb54d3ef53e70f04f89c204e3a78 SHA512 1cbfa905237dccf7e385eeda1d4bef6089a1eafcbedcc92e1b7cfe5978e00764fcb4ffd9ed9c08025d450667286ab58190ff940e977ac12cc2d5a6bdccb35477 WHIRLPOOL fcc4587da08958e9e0aa1d47ca9197bea74a7055b1325c851585bdf56b0480061738e634b70aca14a931678353d79874993cd7af13dcc819777589769dcd4ed8
+DIST rack-test-0.7.1.tar.gz 24492 SHA256 7f0b49bcd7d88305f80fb775a4a55d2acbe71d0a8c529261ab7722062b3212c0 SHA512 2b202d1f485fa2aa927d2c599e0b3bde08f5d93b6e8a36ccee5b5e064acfd0979154de8db8639bfb78f3ab038b006305379389889239dbee13020b72f060a8db WHIRLPOOL ae830686128a199725a9e8877cc6fa9dc35eb66accfeff8295983a41ab3d88fc374df12a903843f48442e28fc390f017b8dcd3bbc52620c489a17cf538c5fa91
diff --git a/dev-ruby/rack-test/rack-test-0.7.1.ebuild b/dev-ruby/rack-test/rack-test-0.7.1.ebuild
new file mode 100644
index 000000000000..3e638f2b29e7
--- /dev/null
+++ b/dev-ruby/rack-test/rack-test-0.7.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps"
+HOMEPAGE="https://github.com/rack-test/rack-test"
+SRC_URI="https://github.com/rack-test/rack-test/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/rack-1.0:* <dev-ruby/rack-3:*"
+ruby_add_bdepend "
+ test? ( >=dev-ruby/sinatra-1.2.6 =dev-ruby/rack-1* )"
+
+all_ruby_prepare() {
+ rm Gemfile* || die
+ sed -i -e '/bundler/d' -e '/[Cc]ode[Cc]limate/d' \
+ -e '1igem "rack", "~>1.0"' spec/spec_helper.rb || die
+}