summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-08-22 07:27:55 +0200
committerHans de Graaff <graaff@gentoo.org>2024-08-22 07:30:33 +0200
commit2f0d62f90349c7ce4f7f0d72b538ccaf55df2016 (patch)
tree0beef8da3d8b90b19d1728ad7bc531db8a70c029 /dev-ruby
parentdev-ruby/fast_gettext: add 3.1.0 (diff)
downloadgentoo-2f0d62f90349c7ce4f7f0d72b538ccaf55df2016.tar.gz
gentoo-2f0d62f90349c7ce4f7f0d72b538ccaf55df2016.tar.bz2
gentoo-2f0d62f90349c7ce4f7f0d72b538ccaf55df2016.zip
dev-ruby/faraday-net_http: add 3.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faraday-net_http/Manifest1
-rw-r--r--dev-ruby/faraday-net_http/faraday-net_http-3.2.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/faraday-net_http/Manifest b/dev-ruby/faraday-net_http/Manifest
index ffaa3c209a61..f036d4f2f216 100644
--- a/dev-ruby/faraday-net_http/Manifest
+++ b/dev-ruby/faraday-net_http/Manifest
@@ -2,3 +2,4 @@ DIST faraday-net_http-1.0.1.tar.gz 8436 BLAKE2B 16feb3c79af7db3b69373826a2fc55a8
DIST faraday-net_http-2.1.0.tar.gz 9061 BLAKE2B 00e461718f4a92ff424e28074aa62d79c4ebfc9ca3a22036eef28c57fe90199b6fb49f5f9a02ff89cfc701b07c5fbb798446f1cc7ebf860dfeab9208e61b92d8 SHA512 797aa930d33a372fccb6fc497fe504f15b63a2fd87aa2301b84098a23de321fe60b6af43f35d9ed670705e90284096a21e9e83c80abe800c81240dec937a27d8
DIST faraday-net_http-3.1.0.tar.gz 8975 BLAKE2B 254f0f3eac4361866b4e8a0b2461fa4e2fb76cfbcd145e122fdbfd65a4565ffd176375fd962dbb1ec899c3be993526d3232e166105840f43af1027220d9cd245 SHA512 dfab2515f7d567d34fd11c4a5ceff2ad41399a6ff262dc4bc52349d4229cdd8d9563c31d4dee1acfcb185a5bcf647e574758965cb6324c024244c9e48a42568f
DIST faraday-net_http-3.1.1.tar.gz 9012 BLAKE2B e37f08ca50185c5809ed2ad0fb9430ca0ee0ac1aaf0a87c846238bab96de15a4870a1efd2a666be4b63740b19ec19c8b82e42ce0b665c8087c9b338f669138ff SHA512 707ccbc19c3d8795c1952421573c6816f5ebe247e0728d7849aac24609619416c80c6cf10aff19f40a57c7f53170463df67bd0163e47f18bd072cad6e79f9e5e
+DIST faraday-net_http-3.2.0.tar.gz 9232 BLAKE2B 07ada54d9430d5255d7683d6eec0b86967657d9eceff631a343a49a943ed2fad4168a48f0faf1ddef7d680ec1d11f34c2a560272bd9701c8e0be89dfb43ce082 SHA512 27966aaa0da55d398869fede0196de9859750227189564480f6129684a76fe617a477142559a717d5431c568aeea8357474f89ae8226f2398f3a4372001e8554
diff --git a/dev-ruby/faraday-net_http/faraday-net_http-3.2.0.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-3.2.0.ebuild
new file mode 100644
index 000000000000..2780a3d11576
--- /dev/null
+++ b/dev-ruby/faraday-net_http/faraday-net_http-3.2.0.ebuild
@@ -0,0 +1,32 @@
+# 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-net_http"
+SRC_URI="https://github.com/lostisland/faraday-net_http/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+# net-http is a default gem
+
+ruby_add_bdepend "test? ( >=dev-ruby/faraday-2.5 )"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}