summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-05-23 07:12:00 +0200
committerHans de Graaff <graaff@gentoo.org>2016-05-24 06:50:49 +0200
commitbfba4ffe577b664c9fd88fa62cd98271817ace4b (patch)
treeed69cbf1e537d08c8d48b76fa13ea54a296598c5 /dev-ruby/ruby-oembed
parentdev-ruby/hiera: add 3.2.0 (diff)
downloadgentoo-bfba4ffe577b664c9fd88fa62cd98271817ace4b.tar.gz
gentoo-bfba4ffe577b664c9fd88fa62cd98271817ace4b.tar.bz2
gentoo-bfba4ffe577b664c9fd88fa62cd98271817ace4b.zip
dev-ruby/ruby-oembed: add 0.10.1
Package-Manager: portage-2.2.28
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.10.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest
index d8427fce29e6..c9ae8111a144 100644
--- a/dev-ruby/ruby-oembed/Manifest
+++ b/dev-ruby/ruby-oembed/Manifest
@@ -1,2 +1,3 @@
DIST ruby-oembed-0.10.0.gem 677888 SHA256 628e10b2d3aeaac44e56a26cd485d3ccf476531cb44f90685ab79ea292e937da SHA512 b9b423a12058b05dd03df7970a2e9b4af394789821d53f73c4fde3aeffbb5b8ce0331376b4075723e2565b77ece571ec883ece7fec46fef67cf855323fadd729 WHIRLPOOL a498739c98521e086768b85a4ff3dc4c8fb371836c3764243d9fb73926d487b0d4000834a88b53be0fabf18f050c6de0b1f85b64c634bd535cfc770ad36c605e
+DIST ruby-oembed-0.10.1.gem 687616 SHA256 6eab65dc0595edf51a27a715d646250fdd1c857dd4cb50dd25c3e59f2ef90f67 SHA512 3d6a1c95c99b4c16cd0180feed5dae5773955ac9411ccafabe43debbdc68faf9f41ae6a7b2d4d45a7b7faa45dcb74dc6c8cc4b097d666d50b08a90748dc03d15 WHIRLPOOL 3f34c1af4bc1e5801205d91124759d539120600f30a2cea69dd3e543c3706327714407384db19d270d56c3564d68d41dba89cabf6f4008e4a4bfcbf40141a125
DIST ruby-oembed-0.9.0.gem 348672 SHA256 74017460e316fa23ec0d73da7b8124b675eefb18283760fc075c586ecce9c8f6 SHA512 c150ebd6fef9aa9ebbfcc49116c6506c0dadbd52e5e50d44c906b0187ad5bd0e1eb35919dfe874afb1ba6116c91ea0588be2bea453b8e29f41fac9ff380791dc WHIRLPOOL 8a54b4dddc5eb43293f83d3dcca9c4fcc63a8d9506d227169b088d7f8e9909a2335751be0c57cc4c954641ca838effdff966e4262c09c1a01602203dcc2f36a3
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.10.1.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.10.1.ebuild
new file mode 100644
index 000000000000..47bc469dec20
--- /dev/null
+++ b/dev-ruby/ruby-oembed/ruby-oembed-0.10.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 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
+
+ # Avoid development dependencies
+ sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die
+}