From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-ruby/ruby-oembed/Manifest | 3 ++ dev-ruby/ruby-oembed/metadata.xml | 11 ++++++++ dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild | 38 ++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-ruby/ruby-oembed/Manifest create mode 100644 dev-ruby/ruby-oembed/metadata.xml create mode 100644 dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild (limited to 'dev-ruby/ruby-oembed') diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest new file mode 100644 index 000000000000..b0bbd4db3b57 --- /dev/null +++ b/dev-ruby/ruby-oembed/Manifest @@ -0,0 +1,3 @@ +DIST ruby-oembed-0.12.0.gem 690688 BLAKE2B bda4cb7771c19861bcda4692d3cde80e51c0069ce5ee34986c6fbb0b90853646daf5be0277de819877e9163253da03bd7886acb7a717697bcf802a678fab3b72 SHA512 faaf7828641cf419b699ecbbd7a890304ee645faf13ca480c22afbec035687a730a8d53c7825312a4734dfc6633ec4b4c5790c4db18d584c344602310a7ebed9 +EBUILD ruby-oembed-0.12.0.ebuild 821 BLAKE2B e3ed37c6aeb74e94f063831b0c98caf42209cadf4ef0f30701772f644f4248c292e036afc1b2a7d64740b1794fd3401d85c88d38067cbf237ed81c2a039fc4f9 SHA512 447f1ff748dac3b04b168ac4768c09d2eeb85c9ee2657ed0851b78ada33e49ed75939658ea2bd509737cba8b3d61e923b3fa1ef70013985fa3a40b143be68171 +MISC metadata.xml 345 BLAKE2B 575c6ff6aaa60be02f4afbaa5b6855e9e0a8e24992c7ae7db0f3f23856403c3f223a4e6c861550a96b967585bc0f7aaf937b2a98c6fad69fd6ab69466e98613c SHA512 e0c3ea7c1c5057b74e8b03b5d314050ee21f8a235dafb981888ebec4d8cf866d13723ac1dd6a96a685380f9b30e61c513e1f83328c778a524ecb52f9adee8e03 diff --git a/dev-ruby/ruby-oembed/metadata.xml b/dev-ruby/ruby-oembed/metadata.xml new file mode 100644 index 000000000000..bcc1352629d6 --- /dev/null +++ b/dev-ruby/ruby-oembed/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + judofyr/ruby-oembed + + diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild new file mode 100644 index 000000000000..68343b8d5ee0 --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +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: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 +} -- cgit v1.2.3