summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-02 07:41:43 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-02 07:41:43 +0200
commite37fecc4ad9e5ccf4e263435917cc4ef23e66d42 (patch)
tree4b5e1f11b63424adab1e1b5382591ff6267fdd9c /dev-ruby
parentdev-ruby/elastic-transport: add 8.2.3 (diff)
downloadgentoo-e37fecc4ad9e5ccf4e263435917cc4ef23e66d42.tar.gz
gentoo-e37fecc4ad9e5ccf4e263435917cc4ef23e66d42.tar.bz2
gentoo-e37fecc4ad9e5ccf4e263435917cc4ef23e66d42.zip
dev-ruby/globalid: add 1.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/globalid/Manifest1
-rw-r--r--dev-ruby/globalid/globalid-1.2.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest
index 9a658939a4f7..75a4dfc34093 100644
--- a/dev-ruby/globalid/Manifest
+++ b/dev-ruby/globalid/Manifest
@@ -1 +1,2 @@
DIST globalid-1.1.0.tar.gz 21131 BLAKE2B 74f49046e84421df1ae4640cf1ecc23d6c09d4a7176583a4662fa89b031ec9c142c09d13b90dfd40cb23417aec3285a93366f975600b2b52b11a62f62878b313 SHA512 42d6fbdaa4de42da6677d620420c96989ed358197b36f4f0e4b4304a4c8a0f2df7d91c0de84381fb0fec87c213d3ba00335e95d92ae2bce59fe7ac7863219c1d
+DIST globalid-1.2.0.tar.gz 24082 BLAKE2B b6333d66b2f5684b78e519a46931bc839e38774fc95a7a3732959a26aa90555003679d7be52204d544a290bd373bb8d9c6c9b80a7457d460e9ec2324c6494cbd SHA512 ea25f6e56384733773bf27af5d02cf985328492cac97e518a16f97f94c795503a865c407457c647f6cd34e5b6c577612cad0d5206e6e44ed612499f191f3d8f0
diff --git a/dev-ruby/globalid/globalid-1.2.0.ebuild b/dev-ruby/globalid/globalid-1.2.0.ebuild
new file mode 100644
index 000000000000..1529d99af256
--- /dev/null
+++ b/dev-ruby/globalid/globalid-1.2.0.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="ruby31 ruby32"
+
+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-6.1 >=dev-ruby/railties-6.1 )"
+ruby_add_rdepend ">=dev-ruby/activesupport-6.1:*"
+
+all_ruby_prepare() {
+ rm -f Gemfile.lock || die
+
+# sed -i -e '2irequire "forwardable"' test/helper.rb || die
+}