commit:     ff437128b010d72df2cc95f84e828e6acbbe0099
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 07:22:48 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 08:11:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff437128

dev-ruby/puppet_forge: enable ruby30 and disable ruby26

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

 dev-ruby/puppet_forge/puppet_forge-3.2.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/puppet_forge/puppet_forge-3.2.0.ebuild 
b/dev-ruby/puppet_forge/puppet_forge-3.2.0.ebuild
index 49cf95ef979f..04b7fa2918fd 100644
--- a/dev-ruby/puppet_forge/puppet_forge-3.2.0.ebuild
+++ b/dev-ruby/puppet_forge/puppet_forge-3.2.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby27 ruby30"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
@@ -32,4 +32,6 @@ all_ruby_prepare() {
        rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die
 
        sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+
+       sed -i -e '1igem "faraday", "<2"' spec/spec_helper.rb || die
 }

Reply via email to