summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/globalid')
-rw-r--r--dev-ruby/globalid/Manifest1
-rw-r--r--dev-ruby/globalid/globalid-1.0.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest
index 9b82e0a89ff8..7538fb5d7486 100644
--- a/dev-ruby/globalid/Manifest
+++ b/dev-ruby/globalid/Manifest
@@ -1 +1,2 @@
DIST globalid-1.0.0.tar.gz 20916 BLAKE2B 4e932269cce13d319bb44ee8da878fd94d95a82badf67a8f3aa7f5c2064a401e9aaa743cbd763305de65dea242c4e8316c742a8c24e3f1a06b30a799578372f1 SHA512 228c672aa2934a726677e11a90124767f302910791153b68024aa8b44921f2ed1444903ac592c46240f19c9dae25c170405ac2a21fc269c573b066d4cd34b04d
+DIST globalid-1.0.1.tar.gz 20869 BLAKE2B 70613be353b9014c94cc6b4bd9cb83208b2aadc2dd363286121b2ee7454c8e1dd3ceeb2aca403e22e5f9cafcf28057adcaed79274ec85197db6ddd8a14e3632f SHA512 b72800f8b11689b016be82bdf842e1c3c1690ea73a862110061c0f6f7b89a9dad1ac23fa521143202760764284941eb63c1857a3307775d1e9cb18a2d47a46fb
diff --git a/dev-ruby/globalid/globalid-1.0.1.ebuild b/dev-ruby/globalid/globalid-1.0.1.ebuild
new file mode 100644
index 000000000000..0f034d10f931
--- /dev/null
+++ b/dev-ruby/globalid/globalid-1.0.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="globalid.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Reference models by URI"
+HOMEPAGE="https://github.com/rails/globalid"
+SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/activemodel-5.0 >=dev-ruby/railties-5.0 )"
+ruby_add_rdepend ">=dev-ruby/activesupport-5.0:*"
+
+all_ruby_prepare() {
+ rm -f Gemfile.lock || die
+
+ sed -i -e '2irequire "forwardable"' test/helper.rb || die
+}