aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2020-09-15 09:31:20 +0200
committerHans de Graaff <hans@degraaff.org>2020-09-15 09:32:41 +0200
commitf2ef4ddb187b222fdccfbe5bed04e1a58f96c4ea (patch)
tree241d7ad4ec77085e21d97f4123f522955228349f /dev-ruby
parentdev-ruby/gems: add ruby25 (diff)
downloadruby-overlay-f2ef4ddb187b222fdccfbe5bed04e1a58f96c4ea.tar.gz
ruby-overlay-f2ef4ddb187b222fdccfbe5bed04e1a58f96c4ea.tar.bz2
ruby-overlay-f2ef4ddb187b222fdccfbe5bed04e1a58f96c4ea.zip
dev-ruby/gems: add 1.2.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/gems/Manifest1
-rw-r--r--dev-ruby/gems/gems-1.2.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/gems/Manifest b/dev-ruby/gems/Manifest
index 6174542..cb86f90 100644
--- a/dev-ruby/gems/Manifest
+++ b/dev-ruby/gems/Manifest
@@ -1 +1,2 @@
DIST gems-1.0.0.tar.gz 79006 SHA256 14e5d545854e22d0c9b33976b6e026a3b3c6e28714e196a70b7f3805bc9479d6 SHA512 0afff49b98dd528fee17276cc67d28909bd9647b016be27ff7c93c68898c83a66422fd0bbc9e5adb1a12af4bb7b658e061d05004fe90ee6741c5cf193791f632 WHIRLPOOL d97efe98457685bd4ec85593b7f28d1c552296c4f4772d4bd7539a649cb153efe5b86143479b2064efabe472e5f2a9068d35db0e0f3ac88549ed0a1827a40309
+DIST gems-1.2.0.tar.gz 79803 SHA256 5573cc10129f1c4226c2755f1e40c54c451c7d0cd3b0e51ca6a8e5b9464bcbe0 SHA512 b57e9deadfa2508974b24840b01ec012a323f177df69086fab080d462ae65b2d7101bb6101781505f11f36e4d390164849e34bb3e824af3053ae599acfad7996 WHIRLPOOL d54311cc2cd761629b3300dec639feb479848638b4e257a382f03966e850fd37add465e2bc485c58e750d85306f730960424a8407de7f48b89354c0d2377e974
diff --git a/dev-ruby/gems/gems-1.2.0.ebuild b/dev-ruby/gems/gems-1.2.0.ebuild
new file mode 100644
index 0000000..4637468
--- /dev/null
+++ b/dev-ruby/gems/gems-1.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="gems.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Wrapper for the RubyGems.org API"
+HOMEPAGE="https://github.com/rubygems/gems"
+SRC_URI="https://github.com/rubygems/gems/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/webmock )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
+}