summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-28 06:05:29 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-28 06:05:29 +0200
commit4fc51c5696f883857dbf38e34f45a90c683e9562 (patch)
treebac5bfdf74be2112d856fd9f84381f04c7b779b1 /dev-ruby
parentdev-ml/ppx_sexp_conv: Stabilize 0.14.2 ppc64, #804786 (diff)
downloadgentoo-4fc51c5696f883857dbf38e34f45a90c683e9562.tar.gz
gentoo-4fc51c5696f883857dbf38e34f45a90c683e9562.tar.bz2
gentoo-4fc51c5696f883857dbf38e34f45a90c683e9562.zip
dev-ruby/globalid: add 0.5.1
Package-Manager: Portage-3.0.20, Repoman-3.0.2 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-0.5.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest
index 7fff81765cfc..1d486716c5e4 100644
--- a/dev-ruby/globalid/Manifest
+++ b/dev-ruby/globalid/Manifest
@@ -1 +1,2 @@
DIST globalid-0.4.2.tar.gz 18669 BLAKE2B 7773362a16f5e3d0fec2a45e9bc768b5f22072d148bc77289c6841f24e4187f88b34bb9134f3ac086390bea5664d4cfa4281d96b0b8a3750e09e461350a0a50a SHA512 2f101601e36fdb6ba912652bbcc78a0561e0233c58d481dacbddd250ed39a1fa68a9b9c1cdadbdc708ac3147f64475fd6b68562d1ebab376fd2a517c93a23e49
+DIST globalid-0.5.1.tar.gz 18978 BLAKE2B bf13df8d8a5ce21f85c5bec3c5d0b690ceea94a51b0fbfe9bcb7dd9fe55d8abf2c5a36589147a72b6a68d1263afa130a2acff7fbe0075599e6a67fc416ac20a9 SHA512 998478876781b70cadb6c6ce0624443033f6e29ce9cb7ce145f5e3f288b7998267c63aa1b43ce0d3f7c5fc378d7e148ee11b9d88b63665fa951efb1cc72ad93e
diff --git a/dev-ruby/globalid/globalid-0.5.1.ebuild b/dev-ruby/globalid/globalid-0.5.1.ebuild
new file mode 100644
index 000000000000..8795d175a2a6
--- /dev/null
+++ b/dev-ruby/globalid/globalid-0.5.1.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
+}