summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-01-03 08:36:26 +0100
committerHans de Graaff <graaff@gentoo.org>2021-01-03 09:05:24 +0100
commit85830901b3d18ba0cd876ae7986f597aedf9653f (patch)
treeb843c98459119cc6d7c1e2e2356516df09edec01 /dev-ruby
parentdev-ruby/rspec-mocks: add 3.10.1 (diff)
downloadgentoo-85830901b3d18ba0cd876ae7986f597aedf9653f.tar.gz
gentoo-85830901b3d18ba0cd876ae7986f597aedf9653f.tar.bz2
gentoo-85830901b3d18ba0cd876ae7986f597aedf9653f.zip
dev-ruby/ruby-oembed: add 0.15.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-oembed/Manifest1
-rw-r--r--dev-ruby/ruby-oembed/ruby-oembed-0.15.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest
index ff91d42241b5..78250f3df0ef 100644
--- a/dev-ruby/ruby-oembed/Manifest
+++ b/dev-ruby/ruby-oembed/Manifest
@@ -1,3 +1,4 @@
DIST ruby-oembed-0.13.1.gem 4509184 BLAKE2B 212cdb606a1155349c23c1c06f25fedbcc2436dc22a52c8f405b63e27457881617b41d79db15e92e5caac8094c7a9ea912f1b16d994448f5296d3c6117062f17 SHA512 d87f65f1d76d485488c81d4fa2b2df5580a03104a16e3af5e65e6987f4652b3f5652ebcb0a79eab882ef0e5cc9c7b35537032a849de7b848b609f13ca3b83dd8
DIST ruby-oembed-0.14.0.gem 4510208 BLAKE2B c27df5f0cb48e64b754ecbf526dbb82efff66401ca28a9a45243c5e78397a114203a1a997545055fe2ef45c49bfcdc2005540af9b35b97b8f278e8a173211218 SHA512 101a9f8a35bfa5cd5fb7ecab1f8ee8b616286d6d880506c936ec20fb1749bc6c4ed7c61ebd9ea2247017567ca7e885dc9d83b38f3c55ed9e97a1b7cbe7e53d29
DIST ruby-oembed-0.14.1.gem 4511232 BLAKE2B 7cb0bdd437c774dd87f4b4ca5234239a52b53cd1720eac6dc8cea75b792fdb55e4cb51c17e96498a4f62ce6b7cc078b7d92085b1ac59223bf8328209b6a071c4 SHA512 8cb9d74ece3879e8c1889df276f99173a35876f2e45b0786e698588ee3f4cc6a63195e0e42501fb3ccc9cee75dd3aeb4558a396a03cf9c4e215a2cf7baebaf2f
+DIST ruby-oembed-0.15.0.gem 4528640 BLAKE2B 3bfb6f6b7b23d82b89adad5b329072d050a5ff5dbf475f7443734c6a0cb70ad8c5a5d8cdc391e81a8a150d448454e3cfa8302a23c55a39cab8898c5d0fc53fa9 SHA512 9a97f292298ec0b030435ec4d63456b9eb6547de9cbe7b56cecc390cd8a5c374aca4aff2da4de3189cb0a75c6e1b0884c1fdf9c69d729d5a5436ed6e94d3fd2d
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.15.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.15.0.ebuild
new file mode 100644
index 000000000000..5372f0a42526
--- /dev/null
+++ b/dev-ruby/ruby-oembed/ruby-oembed-0.15.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="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
+}