summaryrefslogtreecommitdiff
path: root/dev-ruby/httparty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-29 00:32:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-29 00:32:16 +0000
commitad108e7b751d67723534624b94eb0e04250dd1af (patch)
treeb2c2e47b9c23ac5a70d7170b3ba364b32da31944 /dev-ruby/httparty
parentc44ae5c03130467400468d0e9a7f83e723c99f35 (diff)
gentoo auto-resync : 29:03:2025 - 00:32:15
Diffstat (limited to 'dev-ruby/httparty')
-rw-r--r--dev-ruby/httparty/Manifest4
-rw-r--r--dev-ruby/httparty/httparty-0.22.0.ebuild4
-rw-r--r--dev-ruby/httparty/httparty-0.23.0.ebuild65
3 files changed, 70 insertions, 3 deletions
diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest
index ae84855700ba..b2e3f691e1a3 100644
--- a/dev-ruby/httparty/Manifest
+++ b/dev-ruby/httparty/Manifest
@@ -1,5 +1,7 @@
DIST httparty-0.21.0.tar.gz 102735 BLAKE2B 131c4f3a5a403b609391ececaf079de5ed5c57ea4660fc1d1041832d8baa27b8beaf11ac2743aa6059005904d787259afec27597744bb5e35e56c3b035ca4b1b SHA512 afd50de88a6b1e1cac8c90d6e1458c41ef122b4542c3a14274aacb052f9ceafad868d1b2582d45eedd212a8037fac13238ac05c2e661c9ba9196a00ef3a0a634
DIST httparty-0.22.0.tar.gz 102950 BLAKE2B 76dfd04997674b8932a854af72cd0be8f9c20f8835e9bbd3fa54842f2bd7b483105ec1e32e4a6bc9c9e9672c2bdd99952e57dfd6091bb0530d5900634cb94bc0 SHA512 b29b6988fc618b17b9c3d82f7450341591bb849191ee973ee6fd0d433bff79c0d95ab180d4edc24b1d7211e0b4d6fd1115ba41605282dbea6c2cea739f7dbf72
+DIST httparty-0.23.0.tar.gz 104707 BLAKE2B 4ea6cbf5fe3e41ef62bf2c756226e6f6f0348b52e8d9e1aa316c6db73f5d4364f7a74ef7ef93f8c15b9cf7f0e8ded71f7e364a9b63ed4d52466c1cafc322d97d SHA512 548274d4124aab811c09d70f82fbc3b10f9bf7b553f8563c38db21cb3fcbd47140a0a396601f98da8da8ecb8f7ba17e7ff7a23a12afd4c9dfb3a0c9f2259e53c
EBUILD httparty-0.21.0.ebuild 1849 BLAKE2B dba19302aa5e0063c8696c65b82f018b8a9fd4e95522b62a5ab3cc269c2ca75da230fad33009bbd2201bc07757b8205d390ad8c17a76e160df3b2cdc3cb58bf8 SHA512 81fbfe85c554710bb1eecb84f7ad1b2b1554d2b295899009b2c54037e55fddcc939096c584a9370a27c5df52e9798f8a698b1aab0e49d04b1bdf2be37b641eb7
-EBUILD httparty-0.22.0.ebuild 1872 BLAKE2B ee410b901a43d95952b0f5456683360edd6df05f619e3cdbaf739837650dbd600e516aeb7dbffa32e3c1f709d5f8329f550a77af94f1d9acbb950bb465705d9b SHA512 24f86e37456a51d7114b3f919ce239812b279f90285cc634f4fdac08753f5413e823ae7ddd98114e55bbf72c2c1fea04835dcc2f9a1d0d4cdddd390c9d6d1c6d
+EBUILD httparty-0.22.0.ebuild 1871 BLAKE2B 38e68deac18cf318e0ffdbc8dfd7d3df90edb3bac3a1e2394c3de88fe2b41d2a1355007167a292be931765f56c500560166861c6fe4b541dc1c91244e63a6f62 SHA512 d6d0644ef244f32fecf549ffd1582b6a3c5c18ae686202b2285ebe8096244d79b3bd8b5c5fa0dac13ff9c273102183494f4013948bb30c303fe66596371a50f6
+EBUILD httparty-0.23.0.ebuild 1872 BLAKE2B 32b22ea21c7e57baf9148a67ef325637d27e776f7527432754a2c0736f69a69497a6720cefaea29e7650f6b90b0f31fbdaee5266e9c54191dd1dea2e7129ccfb SHA512 aed40c49a9d4b66a86b400bd687dc0bc0fc275e5ebe2dbfebe3d4a68a70a8d3b6ac75663f6eb3f0c22ce46dd69e182230331b8ee63b7dc808fe1d5899c93b724
MISC metadata.xml 329 BLAKE2B 914bc3a6e04bb04798c35b197f1d72bdb7537d5fe11730acac4bac877332343f5b4013567558e5ca58f3f6d95365040573a25f17ee9fcfd0ffa4edd682dc4636 SHA512 b866cc34d42b7e59c41ef0d2fd4c60410acfe0a3435982c3d9f91121297390f8736816b5aa9490c178325d5cf38e5311325e49554b9ce3a4b720ac8858a7f692
diff --git a/dev-ruby/httparty/httparty-0.22.0.ebuild b/dev-ruby/httparty/httparty-0.22.0.ebuild
index d232a62e274d..897159d602d5 100644
--- a/dev-ruby/httparty/httparty-0.22.0.ebuild
+++ b/dev-ruby/httparty/httparty-0.22.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.ta
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="test"
ruby_add_rdepend "
diff --git a/dev-ruby/httparty/httparty-0.23.0.ebuild b/dev-ruby/httparty/httparty-0.23.0.ebuild
new file mode 100644
index 000000000000..a0d1bd4641ed
--- /dev/null
+++ b/dev-ruby/httparty/httparty-0.23.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="httparty.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy"
+HOMEPAGE="https://www.johnnunemaker.com/httparty/"
+SRC_URI="https://github.com/jnunemaker/httparty/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+ dev-ruby/csv
+ >=dev-ruby/mini_mime-1.0.0
+ >=dev-ruby/multi_xml-0.5.2
+"
+
+ruby_add_bdepend 'test? ( dev-ruby/webmock )'
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files \?-\?-\?/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # 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 '/pry/ 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
+
+ # Avoid test that fails due to unicode normalization differences
+ sed -i -e '/handles international domains/askip "unicode differences"' spec/httparty_spec.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}