summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-01 07:29:04 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-01 08:01:59 +0100
commit16bc05edd9149189d86708ae541bca6b1e6289c8 (patch)
tree185f6983aed9a8bc9c9e63ddb5eaa251e5193d2d /dev-ruby/hashie
parentapp-text/dvipng: Remove old. (diff)
downloadgentoo-16bc05edd9149189d86708ae541bca6b1e6289c8.tar.gz
gentoo-16bc05edd9149189d86708ae541bca6b1e6289c8.tar.bz2
gentoo-16bc05edd9149189d86708ae541bca6b1e6289c8.zip
dev-ruby/hashie: add 3.5.1
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/hashie')
-rw-r--r--dev-ruby/hashie/Manifest1
-rw-r--r--dev-ruby/hashie/hashie-3.5.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest
index ce45d9f4c8a5..b9744492a4bc 100644
--- a/dev-ruby/hashie/Manifest
+++ b/dev-ruby/hashie/Manifest
@@ -1,3 +1,4 @@
DIST hashie-2.1.2.gem 34816 SHA256 a9e1e4928bf4f5a5683ea9c7ef29e50fb93f72542f9a9550e205fe33a6568923 SHA512 6f72998710da58a2584939b4e74a114ae54168902020dc16ec5ea0422a91316b84aa6835fffb36a2985634f24ff5b0d01bcdb50134a414a269a4881ebcd728ac WHIRLPOOL 6b67c04ef9dc33a9ffdf25d14440bdd3ce621f1bde9b4eb806de63fa39edc76627f80d10435efc708fc48d24f1450046f33aceb20d76238a0cf8b67ddcf72e78
DIST hashie-3.4.4.gem 60928 SHA256 9dd69627730107041421f453eebef585251a50f6ec2720de0bce2443736598e2 SHA512 340740fdab17f623afb8ae1c815b29749fe70e90dda35df23c8f95ac56af346ba6c06ecce92c6f369206882ab8398abde6716a8e53fabc7bc8ba4cf3832b84b8 WHIRLPOOL b8927da12798c85a73324d65a31d135073469a3d5bfabb16d9845896fb28085c4809000bcffc51976156e8d9738dd28c905d8485c1f502f7481c984df7792c3b
DIST hashie-3.4.6.gem 62464 SHA256 92ad8b7a3d4eaea3b7c858070a2f4d1a6e1e4dd3072c26bce85f439429f8c9db SHA512 68782865411a21a32e8b81f5d1dd29cdd9e934ffe18a7222a9631df00275cb5ba6c6cfd8b87be510a0ec202e9286660c17e4ead6e35697bb15b8c72b30971797 WHIRLPOOL dce0a10fd45f0dad1c8d1efedc35070a58b490b1183353dc1ee4bcbdb0b0b179aef7fd790487dbaa14459a62de42698c9dcf561b698b5fac7148a5323231fa0f
+DIST hashie-3.5.1.gem 66048 SHA256 a68ec7d09a4fb9b34ee04bbbc4ab8b224296cf5404fba154414bc6c565545b61 SHA512 73025d479ec379a7afdea161208f66ae3b7a6c29ac3334fe31ce116edd40476432307950433dde40a86b8ef547313ec3d1ead495ff8425ea957dac3e4287f2f4 WHIRLPOOL 2ab07fc4645aed457b9ea7727b473c5cfecf66996f7e00d6a5f30906af598fa1848b9656b3cdaff5d9c85597d7bb05d3cc4e0355d2c18a05e0edb1aa89d4559a
diff --git a/dev-ruby/hashie/hashie-3.5.1.ebuild b/dev-ruby/hashie/hashie-3.5.1.ebuild
new file mode 100644
index 000000000000..000f762ec5bf
--- /dev/null
+++ b/dev-ruby/hashie/hashie-3.5.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+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 ~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 circular dependency on omniauth
+ rm spec/integration/omniauth/integration_spec.rb || die
+}