diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-26 07:07:36 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-26 07:07:36 +0200 |
commit | 021a1e76d9538fedbda3a37168d4a5bee9ce31cf (patch) | |
tree | 86c9092759c4a0cb7d0f430dfb2d8e73176dd21c /dev-ruby | |
parent | sys-apps/fd: bump to 8.1.1 (diff) | |
download | gentoo-021a1e76d9538fedbda3a37168d4a5bee9ce31cf.tar.gz gentoo-021a1e76d9538fedbda3a37168d4a5bee9ce31cf.tar.bz2 gentoo-021a1e76d9538fedbda3a37168d4a5bee9ce31cf.zip |
dev-ruby/ruby-oembed: add 0.13.1
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-oembed/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest index 131b249c3f0a..69929520b027 100644 --- a/dev-ruby/ruby-oembed/Manifest +++ b/dev-ruby/ruby-oembed/Manifest @@ -1 +1,2 @@ DIST ruby-oembed-0.13.0.gem 4508672 BLAKE2B 154accd1025f9874a3367d8661ce54aa517ecd663faa47a7fa5714acb6846def05c159ca72aff98d77d03edfde84dd825f2be5447eec141268ed4e597c0a9448 SHA512 3998b4ae507320fe6c02b998b58fbf99c926b58d4e44597a81fba95f85b3cf3d9a4565cbd34b1c9d47f9dd01365ce6a1dc46a32fb9368abdd35fe5e69b34bc1e +DIST ruby-oembed-0.13.1.gem 4509184 BLAKE2B 212cdb606a1155349c23c1c06f25fedbcc2436dc22a52c8f405b63e27457881617b41d79db15e92e5caac8094c7a9ea912f1b16d994448f5296d3c6117062f17 SHA512 d87f65f1d76d485488c81d4fa2b2df5580a03104a16e3af5e65e6987f4652b3f5652ebcb0a79eab882ef0e5cc9c7b35537032a849de7b848b609f13ca3b83dd8 diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild new file mode 100644 index 000000000000..32d0aa98300a --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.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="ruby24 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 +} |