commit:     4604d4177e62215e30fdb8b079fca6625dd330da
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  5 06:28:53 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 06:29:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4604d417

dev-ruby/faraday-follow_redirects: add 0.4.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/faraday-follow_redirects/Manifest         |  1 +
 .../faraday-follow_redirects-0.4.0.ebuild          | 33 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-ruby/faraday-follow_redirects/Manifest 
b/dev-ruby/faraday-follow_redirects/Manifest
index 3802e9907d08..9d1031621569 100644
--- a/dev-ruby/faraday-follow_redirects/Manifest
+++ b/dev-ruby/faraday-follow_redirects/Manifest
@@ -1 +1,2 @@
 DIST faraday-follow_redirects-0.3.0.tar.gz 9884 BLAKE2B 
463cfb9e797f21355fea5318f0a647936194b671828e55c6ad6dff1c3e853b15ed0facac28e2f59c0cccf8db5d9f11f3bd66c1c877d9a9538d5deea832c4d3d2
 SHA512 
357b9618f203749f806b7882b39dfd1b90a403c9a76734f4d3ae59ef2a70430254e616be66fb5a0ec74e770e2ee9df6e0f805b00f70a6f99de12ff70fa4d2bda
+DIST faraday-follow_redirects-0.4.0.tar.gz 11594 BLAKE2B 
7bd82df147fc380a600db3444eac5e350865503ba2851d152c921c7cde5c4352183427e5cba6643f6053e1090bb7692dbac23f5be85a8761d4927dfe90865aaa
 SHA512 
561c173b7b9a3112b55239fa0ca2d764b85fe9b6647954bfa26e2b683419261f270cd3bb44e571fc25454c3aa559b04e25a1d8288a70837d364438cd02d14580

diff --git 
a/dev-ruby/faraday-follow_redirects/faraday-follow_redirects-0.4.0.ebuild 
b/dev-ruby/faraday-follow_redirects/faraday-follow_redirects-0.4.0.ebuild
new file mode 100644
index 000000000000..4ff36811aa00
--- /dev/null
+++ b/dev-ruby/faraday-follow_redirects/faraday-follow_redirects-0.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Perform multipart-post requests using Faraday"
+HOMEPAGE="https://github.com/tisba/faraday-follow-redirects";
+SRC_URI="https://github.com/tisba/faraday-follow-redirects/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+RUBY_S="faraday-follow-redirects-${PV}"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+ruby_add_rdepend "|| ( dev-ruby/faraday:2 dev-ruby/faraday:1 )"
+
+ruby_add_bdepend "test? ( dev-ruby/webmock )"
+
+all_ruby_prepare() {
+       sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}

Reply via email to