summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-26 07:27:50 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-26 07:31:47 +0100
commit0c5412e05f683adb0fb8e4063bc42d10e782299b (patch)
tree482f271dc149abfaa8e33c6017750e939571f3c9 /dev-ruby/globalid
parentdev-ruby/test_construct: add ruby30 (diff)
downloadgentoo-0c5412e05f683adb0fb8e4063bc42d10e782299b.tar.gz
gentoo-0c5412e05f683adb0fb8e4063bc42d10e782299b.tar.bz2
gentoo-0c5412e05f683adb0fb8e4063bc42d10e782299b.zip
dev-ruby/globalid: add 1.0.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/globalid')
-rw-r--r--dev-ruby/globalid/Manifest1
-rw-r--r--dev-ruby/globalid/globalid-1.0.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest
index 93430123aaec..e2e7858320e6 100644
--- a/dev-ruby/globalid/Manifest
+++ b/dev-ruby/globalid/Manifest
@@ -2,3 +2,4 @@ DIST globalid-0.4.2.tar.gz 18669 BLAKE2B 7773362a16f5e3d0fec2a45e9bc768b5f22072d
DIST globalid-0.5.1.tar.gz 18978 BLAKE2B bf13df8d8a5ce21f85c5bec3c5d0b690ceea94a51b0fbfe9bcb7dd9fe55d8abf2c5a36589147a72b6a68d1263afa130a2acff7fbe0075599e6a67fc416ac20a9 SHA512 998478876781b70cadb6c6ce0624443033f6e29ce9cb7ce145f5e3f288b7998267c63aa1b43ce0d3f7c5fc378d7e148ee11b9d88b63665fa951efb1cc72ad93e
DIST globalid-0.5.2.tar.gz 19137 BLAKE2B 8e01b965b396aa04149f83b30066ae99a50970fb2de97c99e09c422f4ccd59325bd7697de6a0873d3876cee9e1ead7ff0715233eaa3abf03b10cc1ed7168e4af SHA512 4954b9f558048eb143d4a9d1b041dc438f5852779340e11d93840e540f1c030714da2412e9eb2777d3eaafc887cc94c43ffabdc0060cc809a033e7e6352fb4a6
DIST globalid-0.6.0.tar.gz 20908 BLAKE2B 764d25ffb216ad73098c86aaa0ebbef412e6e97ff36beb0ad780e2613e41ed1404b1c93c27332cb3f85d29c774f243bf77caa44c179433057e92320acb8bf838 SHA512 5adc8035a10942318825c348dde8cc988255962b00d96df0f1aa7eebfa316e2637a7f5c79af559661c02837b0690e5e9c4a8cc3f4ee58ac75a6b180397485e0f
+DIST globalid-1.0.0.tar.gz 20916 BLAKE2B 4e932269cce13d319bb44ee8da878fd94d95a82badf67a8f3aa7f5c2064a401e9aaa743cbd763305de65dea242c4e8316c742a8c24e3f1a06b30a799578372f1 SHA512 228c672aa2934a726677e11a90124767f302910791153b68024aa8b44921f2ed1444903ac592c46240f19c9dae25c170405ac2a21fc269c573b066d4cd34b04d
diff --git a/dev-ruby/globalid/globalid-1.0.0.ebuild b/dev-ruby/globalid/globalid-1.0.0.ebuild
new file mode 100644
index 000000000000..8795d175a2a6
--- /dev/null
+++ b/dev-ruby/globalid/globalid-1.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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 ~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
+}