summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-11 06:40:26 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-11 07:03:49 +0200
commitb12008f4cc905a6e6d1311ae5fe98eb1167a2c22 (patch)
tree02eedef550562144edc13a793f658e0b732b6b27 /dev-ruby/rack-test
parentdev-ruby/mysql2: add 0.4.8 (diff)
downloadgentoo-b12008f4cc905a6e6d1311ae5fe98eb1167a2c22.tar.gz
gentoo-b12008f4cc905a6e6d1311ae5fe98eb1167a2c22.tar.bz2
gentoo-b12008f4cc905a6e6d1311ae5fe98eb1167a2c22.zip
dev-ruby/rack-test: add 0.7.0
Package-Manager: Portage-2.3.6, Repoman-2.3.1
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.6.3.ebuild2
-rw-r--r--dev-ruby/rack-test/rack-test-0.7.0.ebuild34
3 files changed, 36 insertions, 1 deletions
diff --git a/dev-ruby/rack-test/Manifest b/dev-ruby/rack-test/Manifest
index 15b20ddba817..e3dbd322d4d9 100644
--- a/dev-ruby/rack-test/Manifest
+++ b/dev-ruby/rack-test/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/rack-test/rack-test-0.6.3.ebuild b/dev-ruby/rack-test/rack-test-0.6.3.ebuild
index 52a80be0b3fb..5d3686252f4f 100644
--- a/dev-ruby/rack-test/rack-test-0.6.3.ebuild
+++ b/dev-ruby/rack-test/rack-test-0.6.3.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/brynary/rack-test"
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"
+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:*"
diff --git a/dev-ruby/rack-test/rack-test-0.7.0.ebuild b/dev-ruby/rack-test/rack-test-0.7.0.ebuild
new file mode 100644
index 000000000000..ae9160eb992f
--- /dev/null
+++ b/dev-ruby/rack-test/rack-test-0.7.0.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="ruby21 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
+}