diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-03-10 07:59:31 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-03-10 07:59:31 +0100 |
commit | d2af1d34efcaa5288170781cbc90534a31ff8916 (patch) | |
tree | 18ce7e27f6fb48bbf306fd15af90bb81c1a53162 /dev-ruby/hashie | |
parent | dev-ruby/rchardet: initial import of 1.8.0 (diff) | |
download | gentoo-d2af1d34efcaa5288170781cbc90534a31ff8916.tar.gz gentoo-d2af1d34efcaa5288170781cbc90534a31ff8916.tar.bz2 gentoo-d2af1d34efcaa5288170781cbc90534a31ff8916.zip |
dev-ruby/hashie: add 4.1.0
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/hashie')
-rw-r--r-- | dev-ruby/hashie/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/hashie/hashie-4.1.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest index 09dd48ea2d81..067807909dc3 100644 --- a/dev-ruby/hashie/Manifest +++ b/dev-ruby/hashie/Manifest @@ -1,3 +1,4 @@ DIST hashie-2.1.2.gem 34816 BLAKE2B 7406fece6c731f62ab8b73095b6c61d4d79cc3811ba20db68d2d6c54a780e8b37ce92ffa97ddc6c9ae2b802fbdbb04cc0d9c752761c9032739f3548f05696757 SHA512 6f72998710da58a2584939b4e74a114ae54168902020dc16ec5ea0422a91316b84aa6835fffb36a2985634f24ff5b0d01bcdb50134a414a269a4881ebcd728ac DIST hashie-3.6.0.gem 74752 BLAKE2B b689843d30001dd7eaa09d62ab908d60e76128df66055283ccf0770830e5901b4e792c4bebd2cad8bb6d5e97a23016aee0d0114f2fb0f7ace8ebd722b8941020 SHA512 7b5355a2b93267d6b7c63608aeac4bb7d21f32a982e2c59771d5a791f9a0c921d11e1b4a185067447917315ce98f8cc5f2b48a31efec3068fb1f1ec0e4386e15 DIST hashie-4.0.0.tar.gz 82096 BLAKE2B d2fa4f208e4bb08a15c7c14208fef368ea5653e556045378ead94b7002250a798637fede4f8438238111946a4393794828f88d19b7f8c733500d745a361049cf SHA512 b26b80a0b981fa534d17b20a7a2dfad82487950f94bf38d62129aa7af4de7875e1fd9519fae30c13d16a92e041033fe6f80978fd30014a571503650ee73ca549 +DIST hashie-4.1.0.tar.gz 86972 BLAKE2B 33979037db67f8a7f20ae85e3db6e8b5415b9b2659a5961e2c2a97e3197fef1500cedd8557af314baf8395a9790e8a457633ecade944c198c295f7f13847afa5 SHA512 f2a36ee812e39d679390647514ff894d4170b61ece6d37ef42f1203212d80d2dee63b4af162d81ded451a53c058746f26fc16810db4c748cce9ca6635a300a4b diff --git a/dev-ruby/hashie/hashie-4.1.0.ebuild b/dev-ruby/hashie/hashie-4.1.0.ebuild new file mode 100644 index 000000000000..6acc4b408293 --- /dev/null +++ b/dev-ruby/hashie/hashie-4.1.0.ebuild @@ -0,0 +1,44 @@ +# 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.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="hashie.gemspec" + +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/" +SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~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:^:#:' \ + -e '1irequire "pathname"; require "tempfile"; require "json"' -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/{elasticsearch,omniauth*,rails}/integration_spec.rb || die +} |