summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-08-23 08:27:01 +0200
committerHans de Graaff <graaff@gentoo.org>2024-08-23 08:27:28 +0200
commit9e76f8b9bb852624fb94b5e2f5addff5e7083cbc (patch)
treeb7a1f35743e94e4beb1965b25cf8569f52553aeb /dev-ruby
parentgnome-extra/cinnamon-control-center: use a "more correct" xdg.eclass phase (diff)
downloadgentoo-9e76f8b9bb852624fb94b5e2f5addff5e7083cbc.tar.gz
gentoo-9e76f8b9bb852624fb94b5e2f5addff5e7083cbc.tar.bz2
gentoo-9e76f8b9bb852624fb94b5e2f5addff5e7083cbc.zip
dev-ruby/bundler-audit: add 0.9.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/bundler-audit/Manifest1
-rw-r--r--dev-ruby/bundler-audit/bundler-audit-0.9.2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest
index 4345b954f07c..45fa9787efec 100644
--- a/dev-ruby/bundler-audit/Manifest
+++ b/dev-ruby/bundler-audit/Manifest
@@ -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
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
+}