diff options
author | Hans de Graaff <hans@degraaff.org> | 2023-08-15 21:35:59 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2023-08-15 21:35:59 +0200 |
commit | afb3baa15717b7eb06b41372d2b5f047d9763d9b (patch) | |
tree | fad69b679d47daeef26da67f2984ab72044b5a1a /app-forensics | |
parent | dev-ruby/dry-core: add 1.0.1 (diff) | |
download | graaff-afb3baa15717b7eb06b41372d2b5f047d9763d9b.tar.gz graaff-afb3baa15717b7eb06b41372d2b5f047d9763d9b.tar.bz2 graaff-afb3baa15717b7eb06b41372d2b5f047d9763d9b.zip |
app-forensics/brakeman: enable ruby32
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/brakeman/brakeman-5.4.1.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app-forensics/brakeman/brakeman-5.4.1.ebuild b/app-forensics/brakeman/brakeman-5.4.1.ebuild index 042211ff..0c22c13d 100644 --- a/app-forensics/brakeman/brakeman-5.4.1.ebuild +++ b/app-forensics/brakeman/brakeman-5.4.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_DOCDIR="docs" RUBY_FAKEGEM_EXTRADOC="CHANGES.md FEATURES OPTIONS.md README.md" @@ -41,6 +41,7 @@ all_ruby_prepare() { sed -e '/ruby_parser-legacy/ s:^:#:' \ -e '/minitest-ci/ s:^:#:' \ -e '/simplecov/ s:^:#:' \ + -e '/slim/ s/4.1/5.2/' \ -i gem_common.rb || die sed -i -e '/rake/ s/,.*$// ; /codeclimate/ s:^:#: ; /json/ s:^:#:' Gemfile || die @@ -48,6 +49,9 @@ all_ruby_prepare() { # Avoid support for obsolete ruby versions sed -i -e '/ruby_parser\/legacy/ s:^:#:' lib/brakeman/scanner.rb || die rm -f test/tests/{markdown_output,rails2}.rb || die + + # Avoid obsolete test about rails 6.0. + sed -i -e '/test_CVE_2020_8166_rails6/askip "rails 6.0 is deprecated now"' test/tests/cves.rb || die } each_ruby_test() { @@ -55,7 +59,7 @@ each_ruby_test() { *ruby30) each_fakegem_test ;; - *ruby31) + *ruby31|*ruby32) ewarn "Skipping tests due to missing safe_yaml dependency." ;; esac |