summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-26 07:39:53 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-26 07:39:53 +0200
commitcfff3c8d96424693ee2d456e0a80153f0fa13dbe (patch)
treed3a1cdbec6386d55284ff51820b3b23023551609 /dev-ruby
parentdev-ruby/docile: add 1.4.1 (diff)
downloadgentoo-cfff3c8d96424693ee2d456e0a80153f0fa13dbe.tar.gz
gentoo-cfff3c8d96424693ee2d456e0a80153f0fa13dbe.tar.bz2
gentoo-cfff3c8d96424693ee2d456e0a80153f0fa13dbe.zip
dev-ruby/faraday-net_http: add 3.1.1
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.1.1.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 8dec1316a359..0429b898e3e6 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.0.2.tar.gz 8897 BLAKE2B bd69eb01e74ab00c3d14efe7cf3c74efaeb17c7a03c61916c040a79ea152c4adddb010b0767dc6eecaed072e905c5d4ec540c26abbb1d390123538c38555ea22 SHA512 e01d22c243f175f88f1a559d9c200047a28fa118225b3ad616ae0ed3e5207b6f6dd0337f8520e1b023deef18e3b1654ad84e43267971d634ba9d8e88b44627fa
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
diff --git a/dev-ruby/faraday-net_http/faraday-net_http-3.1.1.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-3.1.1.ebuild
new file mode 100644
index 000000000000..2780a3d11576
--- /dev/null
+++ b/dev-ruby/faraday-net_http/faraday-net_http-3.1.1.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
+}