summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-oembed
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-oembed')
-rw-r--r--dev-ruby/ruby-oembed/Manifest2
-rw-r--r--dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest
index a526c0d6d369..2ef48c19e3a8 100644
--- a/dev-ruby/ruby-oembed/Manifest
+++ b/dev-ruby/ruby-oembed/Manifest
@@ -1,3 +1,5 @@
DIST ruby-oembed-0.13.1.gem 4509184 BLAKE2B 212cdb606a1155349c23c1c06f25fedbcc2436dc22a52c8f405b63e27457881617b41d79db15e92e5caac8094c7a9ea912f1b16d994448f5296d3c6117062f17 SHA512 d87f65f1d76d485488c81d4fa2b2df5580a03104a16e3af5e65e6987f4652b3f5652ebcb0a79eab882ef0e5cc9c7b35537032a849de7b848b609f13ca3b83dd8
+DIST ruby-oembed-0.14.0.gem 4510208 BLAKE2B c27df5f0cb48e64b754ecbf526dbb82efff66401ca28a9a45243c5e78397a114203a1a997545055fe2ef45c49bfcdc2005540af9b35b97b8f278e8a173211218 SHA512 101a9f8a35bfa5cd5fb7ecab1f8ee8b616286d6d880506c936ec20fb1749bc6c4ed7c61ebd9ea2247017567ca7e885dc9d83b38f3c55ed9e97a1b7cbe7e53d29
EBUILD ruby-oembed-0.13.1.ebuild 795 BLAKE2B 35cf25fb62924a8f66d2296490e51499c7066e73d2b802b142712876822d91a9f4995c40828718429891a7bf25738690559081ec6dd03b1dc862589857228955 SHA512 d9f831c5f7030f153a9263d7cbdc75acc26f90b24a1b108b168a315e2c392536d506f20c7e3a1c3f526f656f236028fb88b755b479d5272fdc7f56f63e0e5847
+EBUILD ruby-oembed-0.14.0.ebuild 788 BLAKE2B 8f8cbd67da65b1e0dd1bf5a9f9c23a9880aab28d20ec1aa8336329b869a66d4460eecf960ccb983de08bb71c304eec93971228d37058c645c20c767246494aca SHA512 96c0f8e2d7e39e85e5287abf80807f20b3d6830fb076b2778c1d4e87bd712d060ef4b3a433ab44a2f57980df2a4f1a4e634d227c1622e1e756ec7f7c64d032b8
MISC metadata.xml 345 BLAKE2B 575c6ff6aaa60be02f4afbaa5b6855e9e0a8e24992c7ae7db0f3f23856403c3f223a4e6c861550a96b967585bc0f7aaf937b2a98c6fad69fd6ab69466e98613c SHA512 e0c3ea7c1c5057b74e8b03b5d314050ee21f8a235dafb981888ebec4d8cf866d13723ac1dd6a96a685380f9b30e61c513e1f83328c778a524ecb52f9adee8e03
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild
new file mode 100644
index 000000000000..39b5682b5588
--- /dev/null
+++ b/dev-ruby/ruby-oembed/ruby-oembed-0.14.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="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
+}