summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-14 07:43:02 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-14 07:43:02 +0100
commitb0cfbfade4deff634e924be4e0fb986d54e04624 (patch)
tree96875746ff5c9a84db3c10614b7819a9d874baf9 /dev-ruby/ruby-oembed
parentmedia-libs/libzen: remove old (diff)
downloadgentoo-b0cfbfade4deff634e924be4e0fb986d54e04624.tar.gz
gentoo-b0cfbfade4deff634e924be4e0fb986d54e04624.tar.bz2
gentoo-b0cfbfade4deff634e924be4e0fb986d54e04624.zip
dev-ruby/ruby-oembed: add 0.9.0
Package-Manager: portage-2.2.24
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.9.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest
index d498fec99f3e..b83d014bf6d0 100644
--- a/dev-ruby/ruby-oembed/Manifest
+++ b/dev-ruby/ruby-oembed/Manifest
@@ -1 +1,2 @@
DIST ruby-oembed-0.8.14.gem 275456 SHA256 08367b29bd64fe21b388542902ab14736a5afeb06bc85b016d325b987981a336 SHA512 ff4bff8a1788283869b27d0e36f6e44daad6926de8ee033d2cba5bb0360207830bc61ab63977c3de66c17f4f60700adbecb3da8257056b940ef2f4232e5592a9 WHIRLPOOL c349cb8032c28a13f6ee98d9ff7319eb12bcfea120be08da313b60b88462db58bb375d8c806c426410514043a3f31457736e6a081f53c8ab377aa849dd690295
+DIST ruby-oembed-0.9.0.gem 348672 SHA256 74017460e316fa23ec0d73da7b8124b675eefb18283760fc075c586ecce9c8f6 SHA512 c150ebd6fef9aa9ebbfcc49116c6506c0dadbd52e5e50d44c906b0187ad5bd0e1eb35919dfe874afb1ba6116c91ea0588be2bea453b8e29f41fac9ff380791dc WHIRLPOOL 8a54b4dddc5eb43293f83d3dcca9c4fcc63a8d9506d227169b088d7f8e9909a2335751be0c57cc4c954641ca838effdff966e4262c09c1a01602203dcc2f36a3
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.9.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.9.0.ebuild
new file mode 100644
index 000000000000..1aa3ee2c4aa7
--- /dev/null
+++ b/dev-ruby/ruby-oembed/ruby-oembed-0.9.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+
+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:1
+ dev-ruby/xml-simple
+ dev-ruby/nokogiri
+ dev-ruby/fakeweb
+ )"
+
+all_ruby_prepare() {
+ # Remove bundler but keep vcr version requirement
+ rm -f Gemfile || die
+ sed -i -e '1igem "vcr", "~> 1.0"' spec/spec_helper.rb || die
+
+ # Fix broken spec (fix taken from upstream commit)
+ sed -i -e '127,135 s/should_receive/to receive/' spec/providers_spec.rb || die
+}