summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-04-06 07:26:48 +0200
committerHans de Graaff <graaff@gentoo.org>2020-04-06 11:27:43 +0200
commitc67f33d8ab07545089a35254f9520d26c081ebdd (patch)
tree51f9b5eac0b908920e6d36acc682c60d4276caa6 /dev-ruby/ruby-oembed
parentdev-ruby/gruff: add 0.8.0 (diff)
downloadgentoo-c67f33d8ab07545089a35254f9520d26c081ebdd.tar.gz
gentoo-c67f33d8ab07545089a35254f9520d26c081ebdd.tar.bz2
gentoo-c67f33d8ab07545089a35254f9520d26c081ebdd.zip
dev-ruby/ruby-oembed: add 0.13.0
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-oembed')
-rw-r--r--dev-ruby/ruby-oembed/Manifest1
-rw-r--r--dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest
index fa46f78a61e7..9693396d6d02 100644
--- a/dev-ruby/ruby-oembed/Manifest
+++ b/dev-ruby/ruby-oembed/Manifest
@@ -1 +1,2 @@
DIST ruby-oembed-0.12.0.gem 690688 BLAKE2B bda4cb7771c19861bcda4692d3cde80e51c0069ce5ee34986c6fbb0b90853646daf5be0277de819877e9163253da03bd7886acb7a717697bcf802a678fab3b72 SHA512 faaf7828641cf419b699ecbbd7a890304ee645faf13ca480c22afbec035687a730a8d53c7825312a4734dfc6633ec4b4c5790c4db18d584c344602310a7ebed9
+DIST ruby-oembed-0.13.0.gem 4508672 BLAKE2B 154accd1025f9874a3367d8661ce54aa517ecd663faa47a7fa5714acb6846def05c159ca72aff98d77d03edfde84dd825f2be5447eec141268ed4e597c0a9448 SHA512 3998b4ae507320fe6c02b998b58fbf99c926b58d4e44597a81fba95f85b3cf3d9a4565cbd34b1c9d47f9dd01365ce6a1dc46a32fb9368abdd35fe5e69b34bc1e
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild
new file mode 100644
index 000000000000..32d0aa98300a
--- /dev/null
+++ b/dev-ruby/ruby-oembed/ruby-oembed-0.13.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An oEmbed consumer library written in Ruby."
+HOMEPAGE="https://github.com/judofyr/ruby-oembed"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="test"
+
+ruby_add_bdepend "test?
+ (
+ dev-ruby/json
+ dev-ruby/vcr:5
+ dev-ruby/xml-simple
+ dev-ruby/nokogiri
+ dev-ruby/webmock:3
+ )"
+
+all_ruby_prepare() {
+ # Remove bundler but keep vcr version requirement
+ rm -f Gemfile || die
+ sed -i -e '1igem "vcr", "~> 5.0"' spec/spec_helper.rb || die
+
+ # Avoid development dependencies
+ sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die
+}