summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-11 08:22:48 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-11 09:11:01 +0100
commitff437128b010d72df2cc95f84e828e6acbbe0099 (patch)
tree1111bb2fbe738cfc1b4dd2b267cc14f7b34ce66b /dev-ruby/puppet_forge
parentdev-ruby/rack-attack: enable ruby31 and disable ruby26 (diff)
downloadgentoo-ff437128b010d72df2cc95f84e828e6acbbe0099.tar.gz
gentoo-ff437128b010d72df2cc95f84e828e6acbbe0099.tar.bz2
gentoo-ff437128b010d72df2cc95f84e828e6acbbe0099.zip
dev-ruby/puppet_forge: enable ruby30 and disable ruby26
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/puppet_forge')
-rw-r--r--dev-ruby/puppet_forge/puppet_forge-3.2.0.ebuild4
1 files changed, 3 insertions, 1 deletions
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
}