summaryrefslogtreecommitdiff
path: root/dev-ruby/hashie
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
commitf516638b7fe9592837389826a6152a7e1b251c54 (patch)
tree8bfecb640b7b6403d7a3d662d923eed630033da7 /dev-ruby/hashie
parent1a61119f9f7b057830e2ce0563f913ec86f282ad (diff)
gentoo resync : 30.05.2020
Diffstat (limited to 'dev-ruby/hashie')
-rw-r--r--dev-ruby/hashie/Manifest1
-rw-r--r--dev-ruby/hashie/hashie-4.1.0-r1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest
index ee6aa5cd4911..790b9cf03cbc 100644
--- a/dev-ruby/hashie/Manifest
+++ b/dev-ruby/hashie/Manifest
@@ -5,5 +5,6 @@ DIST hashie-4.1.0.tar.gz 86972 BLAKE2B 33979037db67f8a7f20ae85e3db6e8b5415b9b265
EBUILD hashie-2.1.2-r1.ebuild 736 BLAKE2B d54f1f1d5cf059d17af6bbd20c229cb8cf28cc2cd2a62a4ee6e42200f76c16393e0b1f2927fec47c485a5e144211dd8ed9ee790c73dee30fa93ab865b79bb084 SHA512 650393587f133232d8bc304fd1783d19c8eb6f9baab5e5efb3b3619b957f69dab9b46c90d8c7622519a2b3ba3e06c4496c2074079dedad14a768a36789acc1fb
EBUILD hashie-3.6.0.ebuild 1286 BLAKE2B a7c43fbdad7d52bf2ab56e1f4eccac9c894eb3da2b932ec6e3f6af0c75ed9338e473c05a242acb32a32fd607057ea7aaf99b2b8f696cb795e3224bdca231aeb4 SHA512 96c3c718ebf37a8b99178e052936ad6c78fd7f3fb7581c35f6653ae36d8d8be0f122da3ea509e2f17289827909203fc52376d26a80297b397d07b432a4e72bd5
EBUILD hashie-4.0.0.ebuild 1411 BLAKE2B c6b1723aaae76f7265e3e18ae5ebc3e5e00be1ce8e2378c881092d415aa64a6f75c6cde0daa3c3051210b5f1813014e99310ecfc77ac9f47237705817820340b SHA512 e12e0593a6ea70686708687323966a8f536bea783c7262c6696af67ce12e1e242a9e7825c44e23921f8995a3c1cfd53a92cefb3fcf470353c2ef66617d0b3860
+EBUILD hashie-4.1.0-r1.ebuild 1422 BLAKE2B 01cdfd2a931ba534fd537f89b87ee8f5a1b2a468da9ef5830c00194e2085f51b23b2bd4b75b296ac91c2066d819e1824a13cb45c1a4634cea4deb2a5152b2422 SHA512 67a15340eabe572e981aa50b49b864abb243c150dae09327c58018316ccfb346cec75a37602c7ba21e92e56b8e71f8c4f46e340bb5a2eff237965924001ad309
EBUILD hashie-4.1.0.ebuild 1427 BLAKE2B a24c92707fcca20b13cd200dc262ad5898fb220d85a7104400849b47408978ef7335dfe0eb87d593ef30b7866930c0f4f9987b7946812b515ec05c90c4eeaa2d SHA512 773bb1d904af1ef1b1df27d59871c006320587f34639ffc606f15c705c0e537dcf7731a4edfbdfb5090e1e07ad4819440f9aad5f0b1b79743ecd565d400d22e7
MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09
diff --git a/dev-ruby/hashie/hashie-4.1.0-r1.ebuild b/dev-ruby/hashie/hashie-4.1.0-r1.ebuild
new file mode 100644
index 000000000000..9f66fbf88a1c
--- /dev/null
+++ b/dev-ruby/hashie/hashie-4.1.0-r1.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 ruby27"
+
+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 ~sparc ~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
+}