summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-10-06 11:37:44 +0200
committerHans de Graaff <graaff@gentoo.org>2023-10-06 11:37:53 +0200
commit7b689b83635b716d17e70bac6178c067b1d394b0 (patch)
treea12522f2de9da8c224fd704becd5804ee993895f /dev-ruby
parentapp-emacs/with-editor: Stabilize 3.3.2 ALLARCHES, #915235 (diff)
downloadgentoo-7b689b83635b716d17e70bac6178c067b1d394b0.tar.gz
gentoo-7b689b83635b716d17e70bac6178c067b1d394b0.tar.bz2
gentoo-7b689b83635b716d17e70bac6178c067b1d394b0.zip
dev-ruby/rack-session: add 2.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rack-session/Manifest1
-rw-r--r--dev-ruby/rack-session/rack-session-2.0.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/rack-session/Manifest b/dev-ruby/rack-session/Manifest
index 91a73607ec8f..0b6be764241e 100644
--- a/dev-ruby/rack-session/Manifest
+++ b/dev-ruby/rack-session/Manifest
@@ -1 +1,2 @@
DIST rack-session-1.0.1.tar.gz 3120 BLAKE2B a36fefd25da9bbab26a58419782baf7606171fcdf9d033b3abb52ee225f5bd3f8b52d18c11947cceae8f00f278c832412b3babb8c2d7088f2a6554dcb0293689 SHA512 fa8362689cd49d55e24c82699eca9a45dd408b5e8978f6aee11f3f107e8d0a1f36ad319f4dd92e4fe5fd83e985382a43c41a353e9366d03b41f28e826d65483f
+DIST rack-session-2.0.0.tar.gz 23964 BLAKE2B 457210c3588c31d2d0d9251e6b12fe1f606545c4593c9be50a42110f99f7d15840553cac7e35653f2ef86d88f881a0a91537948bfca5b34e3d507cef8134c52b SHA512 8975a85845fa4dbdf22c10793fb2bb1a69aed3242c70c45b1d436448243e65ad77ecbfb17c8f2ef6f780b81ef480f8a46c5623e36dacc95401cd59a1510748f8
diff --git a/dev-ruby/rack-session/rack-session-2.0.0.ebuild b/dev-ruby/rack-session/rack-session-2.0.0.ebuild
new file mode 100644
index 000000000000..c05efde0d682
--- /dev/null
+++ b/dev-ruby/rack-session/rack-session-2.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="rack-session.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A session implementation for Rack"
+HOMEPAGE="https://github.com/rack/rack-session"
+SRC_URI="https://github.com/rack/rack-session/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/rack-3.0.0"
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitest:5
+ dev-ruby/minitest-global_expectations
+)"
+
+all_ruby_prepare() {
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}