mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
dev-ruby/bundler-audit: add 0.9.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST bundler-audit-0.9.1.gem 49152 BLAKE2B a4942a84e8b39b6087960a2c611d5473e41076587a020aadae982c9096f91b0681f312bdbc00d73db1ba034d65e05c970532246deebd4119911ed6abfc6655d6 SHA512 86060dd95669e358d7267799b48a179469fa8aec6d97ce3d3316c974be7aa4652958ad72e5302770e3dd372026bc1054438877f1741a82a63ac6fb0fc14628f0
|
||||
DIST bundler-audit-0.9.2.gem 49664 BLAKE2B f03ded734e1a71db8536a267f61a7ca37ad68b87b4970a0fab9c0ef811c0e6a872aac6861818184f3a3eb6170c4ef583a823fae919575a72bc79af3e7b26163a SHA512 d4b1b82ca5557b159904e2c41b21cb3d9f3e65688986277dd446e27b61201ad0bb50d53f036e3b4d9438fb04e0d005befab108bd8f63b48cd59473bac03e511a
|
||||
|
||||
38
dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild
Normal file
38
dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user