summaryrefslogtreecommitdiff
path: root/dev-ruby/httparty
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/httparty')
-rw-r--r--dev-ruby/httparty/Manifest2
-rw-r--r--dev-ruby/httparty/httparty-0.16.4.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest
index 4c38921fcbb0..437c2dbbf7f4 100644
--- a/dev-ruby/httparty/Manifest
+++ b/dev-ruby/httparty/Manifest
@@ -1,5 +1,7 @@
DIST httparty-0.16.2.gem 89600 BLAKE2B 581b5fcadf59bb50864b2fa6d1aae220ff9881bba53363601c6e70c3291dc2cee351a8f42b1946ad516cdcab5a85b832e4260f04394e54255e0cd76bc6860d5e SHA512 13efbacb9ee0325fbb185279ca9f7ffcc0131189ccf98d9889c6a1b6bcfa04fd7cbc6d1393bffe69a5a813a2f54f70b5926e176305fa70480dd0902968c894d0
DIST httparty-0.16.3.gem 92672 BLAKE2B d32f0da8eb2c5e9f2e094c1c8971c53a8e6eab4b0a7b98014d04b27a644d1c2142cf6c97f4db5cd1274f35c8e80ce332f86cae8ee4adba2d0636aabb7f40bea5 SHA512 26916c635fe4cc01a38132ab5970487aef4529239e922d196f5922187eb466d24ead0e2e15889d721a37f6358b65570ca022b78e166bd49ed08c7150acec816a
+DIST httparty-0.16.4.gem 91136 BLAKE2B 07988ebd768d826753780d1ac0e1cbf26dd592f131af690b8873787dcb00a48553fb5abb8962eb948ed7a877e38faab3103d9be90ee9c9867cc304b7b1a709e0 SHA512 a3465234cdc6118396b385c482a44a0c6aabf37cb81d00186c4f004e63d7c692bf8783c72dad5702d347d2dbf5bd0b54e78fb4852c149851b27d65f886c3525a
EBUILD httparty-0.16.2.ebuild 1425 BLAKE2B ee10a7354a8def05470c713c7eb023bc68c7afd19e8f2af091bb1d76fd2cda47a6bda95f50ee3c21c77ba2613ccc6b33540169af24ff5b81bfc62e93f96e3e7d SHA512 8a7f215586f32a513a2db0a57803d8af58f2883503c5bcbaf1bd76f4246ae5a4b27036c66f75cad60566a74fc23e8224afe5c5323e373b6c79caea24abc96b76
EBUILD httparty-0.16.3.ebuild 1445 BLAKE2B 53c5311f7e0debc47d55be1bd191154d5ebd3de080ea0d6cda91d9eafa7658ec72cc084a70650deb5841ad2c364d3cd39adb46856ff7bbf52109c84b20d20cd7 SHA512 16cbfa61fb6ddcb6e49c53e010e980e5b60beb009e3fcde5c6798fbae5777bae44670c9316d969deac3b27beb2adfa2deb7e20c41c2dd02836ef4440b69f5ee7
+EBUILD httparty-0.16.4.ebuild 1445 BLAKE2B 572781e622e071601bb286eb4d9868a22f5da94b2aee8ae8216c14ab64526c3f1e75e9e1120b6d0955c24cf9bb6a5d723d778963fb297701a5ea57c63ca2716a SHA512 14f2e5676c97c2c22067899eb068a1f6730648a81db068756974c1ee5c1ae147d1450bab1b4259a460f0fe319826282ca637fb374a7e0696f5b4ee4589051228
MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09
diff --git a/dev-ruby/httparty/httparty-0.16.4.ebuild b/dev-ruby/httparty/httparty-0.16.4.ebuild
new file mode 100644
index 000000000000..164c944481e5
--- /dev/null
+++ b/dev-ruby/httparty/httparty-0.16.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy"
+HOMEPAGE="https://jnunemaker.github.com/httparty"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend 'dev-ruby/mime-types:3 >=dev-ruby/multi_xml-0.5.2'
+
+ruby_add_bdepend 'test? ( dev-ruby/webmock )'
+
+all_ruby_prepare() {
+ # Remove bundler
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
+
+ # Avoid test dependency on cucumber. We can't run the features since
+ # they depend on mongrel which is no longer packaged.
+ sed -i -e '/cucumber/I s:^:#:' Rakefile || die
+
+ # Avoid test dependency on simplecov
+ sed -i -e '/simplecov/I s:^:#:' \
+ -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die
+
+ # Avoid test that works standalone but fails in the suite
+ sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb
+
+ # Avoid test that is not fully compatible with newer multi_xml
+ sed -i -e '/should be able parse response type xml automatically/askip "multi_xml"' spec/httparty_spec.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}