summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-12-24 07:03:33 +0100
committerHans de Graaff <graaff@gentoo.org>2024-12-24 07:03:33 +0100
commite0946509616847a2a3b963daaf020ff6c8ff5f24 (patch)
tree4d053c2d6206147cbc8a15017516b6d99009c0d8 /dev-ruby/rack-test
parentsci-libs/dcmtk: add 3.6.9 (diff)
downloadgentoo-e0946509616847a2a3b963daaf020ff6c8ff5f24.tar.gz
gentoo-e0946509616847a2a3b963daaf020ff6c8ff5f24.tar.bz2
gentoo-e0946509616847a2a3b963daaf020ff6c8ff5f24.zip
dev-ruby/rack-test: add 2.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack-test')
-rw-r--r--dev-ruby/rack-test/Manifest1
-rw-r--r--dev-ruby/rack-test/rack-test-2.2.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/rack-test/Manifest b/dev-ruby/rack-test/Manifest
index 9b4545c8800a..ea549c52164b 100644
--- a/dev-ruby/rack-test/Manifest
+++ b/dev-ruby/rack-test/Manifest
@@ -1 +1,2 @@
DIST rack-test-2.1.0.tar.gz 30099 BLAKE2B 212f23cf1d65f8840e04bc895d511b1b35e0344e5074e7ef3a15c5184a55285cb495b54489512ba7757cfbbe4ce9886db9f6dd36e092f5653c3c5bc8fb84ea7a SHA512 0d9d1e2b74ff8acca1c97d08c068022345556758c3c0dcf81b87c2f7caa8ca5730af2adc89e5c2bcf8f598f08df056c39f7c348f13a1ce44c4bcf0f84fe2bc11
+DIST rack-test-2.2.0.tar.gz 30323 BLAKE2B d28e402901d902ea1b5791da7a1f1f7887679d82978c96093f771ab8807071d29e293f151476065b275ec6541849c8395a81f6f3b9b00a4dac11727a9aaeab88 SHA512 149dd5a1209c2a5a86c83a2b632d1ac046053cc60fbb0ac10dbf44db71e25cce24d4a3f1f43a22a28d91f259d0e599652529ea892fae6fa01ea2711f1d84de96
diff --git a/dev-ruby/rack-test/rack-test-2.2.0.ebuild b/dev-ruby/rack-test/rack-test-2.2.0.ebuild
new file mode 100644
index 000000000000..022635c0460b
--- /dev/null
+++ b/dev-ruby/rack-test/rack-test-2.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps"
+HOMEPAGE="https://github.com/rack/rack-test"
+SRC_URI="https://github.com/rack/rack-test/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/rack-1.3:*"
+ruby_add_bdepend "
+ test? ( dev-ruby/minitest:5 dev-ruby/minitest-global_expectations )"
+
+all_ruby_prepare() {
+ sed -e 's/git ls-files --/find/' \
+ -e "s:_relative ': './:" \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -w spec/all.rb || die
+}