From: Hans de Graaff Date: Wed, 20 Dec 2017 06:32:12 +0000 (+0100) Subject: dev-ruby/hashie: add 3.5.7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0792bbcf6a4623a0fdcd4ae84048713849da1fe4;p=gentoo.git dev-ruby/hashie: add 3.5.7 Package-Manager: Portage-2.3.13, Repoman-2.3.3 --- diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest index 3b0f51bac42b..4b1d2a8d96dd 100644 --- a/dev-ruby/hashie/Manifest +++ b/dev-ruby/hashie/Manifest @@ -3,3 +3,4 @@ DIST hashie-3.4.6.gem 62464 BLAKE2B 4e9913141cf49573badbd492a6902f1323fa8caa092e DIST hashie-3.5.1.gem 66048 BLAKE2B d3fdae5bb5e24ba16bd3a277b182a7382a4b0a3fd4fc91ca10b8a6bc1d945829f9f16777daf0d3376692f05897246c9ee933e148a03e3c294e1eee46f89439fb SHA512 73025d479ec379a7afdea161208f66ae3b7a6c29ac3334fe31ce116edd40476432307950433dde40a86b8ef547313ec3d1ead495ff8425ea957dac3e4287f2f4 DIST hashie-3.5.5.gem 71680 BLAKE2B e956e0dafb2a020075486d7ca1129937963754b90b29034353e7cf1eda7bcdab45253fd6e91344b97905e25fb26661fc696a12fc8ec11dd504b05db3ecb1caaa SHA512 60853f1a0ef274a6cd5b13b6a4085c11d867a0e5a83ebf1f1b210b7635db5789cda515710e2b794e67933f71a579a41b75923e6aff872389b205caf04c4ecc3d DIST hashie-3.5.6.gem 71680 BLAKE2B 51029f134abbc2b1894ca06e74d355f11cd507d720278b8aee7bad0ec49cd883868f48d2f3569bd62b4a5bd9b649a986a6afbd997fb06dfef03b2b8483c83746 SHA512 86d9ff56ced3a9458d48119f928be565d2022ee97424d864166e908e2cca7b2155ffc5d35af14cb33741aedc88435e2c5f7d3cad3e98e0ce4e48469673615572 +DIST hashie-3.5.7.gem 71680 BLAKE2B 8f03e190cf299f3597e0fe1b991fd07e00af0ecff757ef56648f97e8a3091a1445441d4e00f59c9b93d5db0d21636d9e5352175e49692f7b28a5612c87da9163 SHA512 c7ae610de5fe9b19a724068c26c184b44f951b29b56e3c5240074a372ad24d0ea70e39541812cbd82d5516d9e00e86a33d935b90e086b7db305b9b34b8f44f23 diff --git a/dev-ruby/hashie/hashie-3.5.7.ebuild b/dev-ruby/hashie/hashie-3.5.7.ebuild new file mode 100644 index 000000000000..4beef2d3980f --- /dev/null +++ b/dev-ruby/hashie/hashie-3.5.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activesupport )" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '/pry/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"' -i spec/spec_helper.rb || die + + # Avoid dependency on rspec-pending_for and its dependencies + sed -i -e '/pending_for/ s:^:#:' \ + spec/spec_helper.rb \ + spec/hashie/mash_spec.rb \ + spec/hashie/extensions/strict_key_access_spec.rb || die + + # Avoid integration specs to avoid complicated dependencies + rm spec/integration/{omniauth*,rails}/integration_spec.rb || die +}