summaryrefslogtreecommitdiff
path: root/dev-ruby/faraday-retry
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-24 00:11:52 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-24 00:11:52 +0100
commit67e5603b2844a6657dd0438fa26626b013e5567f (patch)
treee7319631fdf1c41ddbe888e89a717d1ba42af992 /dev-ruby/faraday-retry
parentbff543bb632933380da922cbfc07c67157d72d42 (diff)
gentoo auto-resync : 24:06:2024 - 00:11:52
Diffstat (limited to 'dev-ruby/faraday-retry')
-rw-r--r--dev-ruby/faraday-retry/Manifest2
-rw-r--r--dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/faraday-retry/Manifest b/dev-ruby/faraday-retry/Manifest
index 84afc60feed2..9d5bc3f84f40 100644
--- a/dev-ruby/faraday-retry/Manifest
+++ b/dev-ruby/faraday-retry/Manifest
@@ -1,5 +1,7 @@
DIST faraday-retry-1.0.3.tar.gz 10732 BLAKE2B 4ab94c84242b1009221e7c44273a3dc3e07ce3303b776a42ac04c6adec5439ff83ad583e2b3670638d08aa5117ee897669dc4e8e3d13e3a84672cf9001580889 SHA512 d3d50c6ccca97b3c7f076a45f0be92c9d601a005328d09397d8ac56492688296cfc2e61327389e10d4989df957bc76be7c270b6cbae3b9b2b8023fc9da265698
DIST faraday-retry-2.2.0.tar.gz 12498 BLAKE2B a6cd459b745b219ee004cda59e4b1d9199676968ff4e6ef1ba8676badb1c10614a09a30467356032be9054d276055047a78a23b41d65ba84444680151eec688a SHA512 d7dd1bb5e7dd9b0cb94c5565bfd3a1c6c3f67277e15c0fb85a3fbd422a9939be22037089c918a607ae1cb71c18069ea766ab0fc18c9ed2b24fac820d25a6f85a
+DIST faraday-retry-2.2.1.tar.gz 12769 BLAKE2B df42e17b6aca3ff7fceb5491737d240de0417fa1ee2e339c67de0c270ae23cafd20864cb671d59d4aa8583e053398badde2dc0de7e9d44dd6217edf31be3e6f0 SHA512 56e0c42f8014641534dee7afdc679a8f2bd3c62b62b588ebaa1b684378d4b0049a358b8afcebc892a1044fbac88987e0e859c42e5e67c301406d4119d285e814
EBUILD faraday-retry-1.0.3.ebuild 1022 BLAKE2B 1a8a2f20c5102a7cd1a4365a56f4a5da9391e9d9e82d8331ef1a4b4747a6efd6c45f930bcea564d8f6d6aa8e1a25de2d22540b98aa2d9f119f487bb26a5baee6 SHA512 a97822aa2e95e5be544f0c2f5a9ca780c28de3d2e115e2412fcfd2abddf0dd8c76becbbdd4cbfca093541eb047d23123f091dc3f78429f65baf6f9b5aa0300f2
EBUILD faraday-retry-2.2.0.ebuild 1016 BLAKE2B c6c42de9cc52017a498db9164f5f8b61a803a1d083c50b404b88afa7de48abdfb77fd6dcafee99975b1c06bc3297ff42405e7b64e049562472ebbab7f1448665 SHA512 4c8d77f6283a2f376378ce1b2f773564077efec0f7eed36d95abd5663f7e2812155d4a97535eeef880c9768563fdacbd04ae29bf0160efba988aea42590ab8aa
+EBUILD faraday-retry-2.2.1.ebuild 1008 BLAKE2B 19b2bb2d4eb96364baece967458bf049014fe37f3ab504a208e8fa0a4710ef189b1927962dbfb2e36ef8f0fe8fb1db836677d4cf9bc5729b89f61086e74a1ad8 SHA512 89721dd50c162785aff8a8a5056758c0b8a9adf1c1608a6858cb296db37e876115443686bd525ae24b14a8be6e5cd16d82a4527344e9cb9b58d93a9a99541306
MISC metadata.xml 351 BLAKE2B 02c568077982dfa7688fff59059ef5b472aebce02ffef77c6a582d3b485fa1998f8add5e391bc7ec2d5cbd08e10d5cb6b2964e3c12dd0d92ae86c852d67b308d SHA512 59f03a20b5f13386f63728ca84c0964e4759e08629f6ce2541cdec189c92bfb8fa3fda3473551a9332c9166f72f5a813f7b8628244b9b2349eec62e2ad2d876f
diff --git a/dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild b/dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild
new file mode 100644
index 000000000000..33166ca23bd8
--- /dev/null
+++ b/dev-ruby/faraday-retry/faraday-retry-2.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Faraday adapter for Net::HTTP"
+HOMEPAGE="https://github.com/lostisland/faraday-retry"
+SRC_URI="https://github.com/lostisland/faraday-retry/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+
+ruby_add_rdepend "dev-ruby/faraday:2"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '2igem "faraday", "~> 2.0"' spec/spec_helper.rb || die
+
+ # Avoid unpackaged, test-only, faraday-multipart for now.
+ sed -i -e '/multipart/ s:^:#:' spec/spec_helper.rb || die
+ sed -e '/should rewind files on retry/askip "faraday-multipart not packaged"' \
+ -i spec/faraday/retry/middleware_spec.rb || die
+}