diff options
Diffstat (limited to 'dev-ruby/bundler-audit')
-rw-r--r-- | dev-ruby/bundler-audit/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest index 821e2815f04f..cb10c2fd3d8c 100644 --- a/dev-ruby/bundler-audit/Manifest +++ b/dev-ruby/bundler-audit/Manifest @@ -1,3 +1,5 @@ DIST bundler-audit-0.9.1.gem 49152 BLAKE2B a4942a84e8b39b6087960a2c611d5473e41076587a020aadae982c9096f91b0681f312bdbc00d73db1ba034d65e05c970532246deebd4119911ed6abfc6655d6 SHA512 86060dd95669e358d7267799b48a179469fa8aec6d97ce3d3316c974be7aa4652958ad72e5302770e3dd372026bc1054438877f1741a82a63ac6fb0fc14628f0 +DIST bundler-audit-0.9.2.gem 49664 BLAKE2B f03ded734e1a71db8536a267f61a7ca37ad68b87b4970a0fab9c0ef811c0e6a872aac6861818184f3a3eb6170c4ef583a823fae919575a72bc79af3e7b26163a SHA512 d4b1b82ca5557b159904e2c41b21cb3d9f3e65688986277dd446e27b61201ad0bb50d53f036e3b4d9438fb04e0d005befab108bd8f63b48cd59473bac03e511a EBUILD bundler-audit-0.9.1.ebuild 955 BLAKE2B 956bae9d847757e52dfdad978f2dc3950c69029ab70cd4bf0a8badfeae4825742de2418479c242e361212c50ebf23ad900ee4d2b1b208093104b120a584b94a2 SHA512 110996ba21935ddaff3d41236bfe18664f835d5bb7ecb3e44dd6e05ae30b4937cbb70cf38e373b5e8414a3c689d2e9bf56996d59dc049076da438de088ebcd5c +EBUILD bundler-audit-0.9.2.ebuild 955 BLAKE2B 956bae9d847757e52dfdad978f2dc3950c69029ab70cd4bf0a8badfeae4825742de2418479c242e361212c50ebf23ad900ee4d2b1b208093104b120a584b94a2 SHA512 110996ba21935ddaff3d41236bfe18664f835d5bb7ecb3e44dd6e05ae30b4937cbb70cf38e373b5e8414a3c689d2e9bf56996d59dc049076da438de088ebcd5c MISC metadata.xml 338 BLAKE2B ace789d7488589dc1b89c611be2203930260f5062fb29b72c06feef97f3bce137450c2c3196653fcb5dc6d0e52ff0ab21e8d0989324d5a79be181fd1d8e6ad82 SHA512 0b42bf0312a05f3b85da7d9e02d47432ade81bf81047c760679df050d23e6b41f5a4424372d2298a054e62f3cb4f1712712411b99c351b16112d607ff1803740 diff --git a/dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild new file mode 100644 index 000000000000..cdce4cce4ea2 --- /dev/null +++ b/dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild @@ -0,0 +1,38 @@ +# 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_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Provides patch-level verification for Bundled apps" +HOMEPAGE="https://github.com/rubysec/bundler-audit" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +#tests are trying to download files +RESTRICT=test + +ruby_add_rdepend " + dev-ruby/thor:1 + dev-ruby/bundler:2 +" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid specs that require network access via 'bundle install' + rm spec/{integration,scanner}_spec.rb || die + + # Avoid specs that only work when the source is a git repository + sed -i -e '/describe "path"/,/^ end/ s:^:#:' \ + -e '/describe "update!"/,/^ end/ s:^:#:' \ + spec/database_spec.rb || die +} |