diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/hashie/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/hashie/hashie-3.4.4.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest index 1f5237e68e06..e4d3b55e2c24 100644 --- a/dev-ruby/hashie/Manifest +++ b/dev-ruby/hashie/Manifest @@ -1,2 +1,3 @@ DIST hashie-2.1.2.gem 34816 SHA256 a9e1e4928bf4f5a5683ea9c7ef29e50fb93f72542f9a9550e205fe33a6568923 SHA512 6f72998710da58a2584939b4e74a114ae54168902020dc16ec5ea0422a91316b84aa6835fffb36a2985634f24ff5b0d01bcdb50134a414a269a4881ebcd728ac WHIRLPOOL 6b67c04ef9dc33a9ffdf25d14440bdd3ce621f1bde9b4eb806de63fa39edc76627f80d10435efc708fc48d24f1450046f33aceb20d76238a0cf8b67ddcf72e78 DIST hashie-3.4.3.gem 58880 SHA256 29213491e9f74158b9a7ec0806b3698039357209a6b24553cfd767f6418365c7 SHA512 1a9f3169308e99559c67e021f0d4174618fd6e4cb6a53b4c7889b609ea32e2d7cde7216de2e3d485f496fa73491702e3af81b6875071b35ecfe5609d925225f7 WHIRLPOOL 09ab898ad08a975c69beb12bf2154c20d9ca00b698610101497705370f17c66f7d389b55b92378c83b02d53f3218351c3ccca119c8df5f80ce199dd7acb08722 +DIST hashie-3.4.4.gem 60928 SHA256 9dd69627730107041421f453eebef585251a50f6ec2720de0bce2443736598e2 SHA512 340740fdab17f623afb8ae1c815b29749fe70e90dda35df23c8f95ac56af346ba6c06ecce92c6f369206882ab8398abde6716a8e53fabc7bc8ba4cf3832b84b8 WHIRLPOOL b8927da12798c85a73324d65a31d135073469a3d5bfabb16d9845896fb28085c4809000bcffc51976156e8d9738dd28c905d8485c1f502f7481c984df7792c3b diff --git a/dev-ruby/hashie/hashie-3.4.4.ebuild b/dev-ruby/hashie/hashie-3.4.4.ebuild new file mode 100644 index 000000000000..e7d1a53dd9ed --- /dev/null +++ b/dev-ruby/hashie/hashie-3.4.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +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="http://intridea.com/posts/hashie-the-hash-toolkit" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~ppc ~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:^:#:' -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 +} |