summaryrefslogtreecommitdiff
path: root/dev-ruby/bundler-audit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-ruby/bundler-audit
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-ruby/bundler-audit')
-rw-r--r--dev-ruby/bundler-audit/Manifest2
-rw-r--r--dev-ruby/bundler-audit/bundler-audit-0.9.0.1.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest
index 6af707408a23..db19f2737216 100644
--- a/dev-ruby/bundler-audit/Manifest
+++ b/dev-ruby/bundler-audit/Manifest
@@ -1,3 +1,5 @@
DIST bundler-audit-0.8.0.gem 44032 BLAKE2B 1d6de8bbca13e1e3b881ccbb4029d000c89f7b7c8f342877baa2a0ea3cf9bf87db93e22c9e622d64a4522afeb6258151293b0196b6ae8a5bbe192785e72956c6 SHA512 6a61fd191f31c153df71320e88ea84e6d93ad4d6ccacfc3f356c9486bf8adb8487aa7c5b3357cfbac0f36b8bb4b65c09845cedc0c8d86814910ea60aac7e92d5
+DIST bundler-audit-0.9.0.1.gem 48128 BLAKE2B 33afa1a7df1cecd0a0c3f155dc631fd1ce25aaa587b5dbe9042ef2983742dbb755914d9c598c832e9b9ca10dc2838bea632f3c79c2fa88a24121cc72787cf93f SHA512 248f7e6b8c7446ff0906d9be6c7bb946f901465dbff079d87aec55ff65a6a7b2e76df600d5d5d1704fd03deec7461cbe3c097bdd4f2d93ebd63c7d1dbf13ae43
EBUILD bundler-audit-0.8.0.ebuild 1215 BLAKE2B a3f9027d3a676c5b9a90a0ca94facb83ca9de09316b4e768637fc2b7c30e0d941d2d8370721dc8843cf00fd790a3a1ac9222f45b8c5d8ad7e7264c8c7f530221 SHA512 879a8685169f7aca3ed1ab1d6d72039732f5f2ae2762b661e3d4a1aeb49ab749df108fbb6013e958d022b3ad0ca3e1405d8fa831eb46f80ea49076d22621e26f
+EBUILD bundler-audit-0.9.0.1.ebuild 1215 BLAKE2B 93baa73ac44a5f9e8dd9f8f511bd0bad511abd7c0f9d9922b32b1532bddf8b9a92b1b068a59881ab8f64640dba343ad6bad6abb3f64b4cef1b7ea31db7c2f169 SHA512 02b0b1c403c04cc152a841440235be7e2ec136fb5958c3885d619e893c9d69296b849b924060bb6d5bcd0e8070af7e9a9fdda07d46f523c302b8bb6ff7e3e579
MISC metadata.xml 338 BLAKE2B ace789d7488589dc1b89c611be2203930260f5062fb29b72c06feef97f3bce137450c2c3196653fcb5dc6d0e52ff0ab21e8d0989324d5a79be181fd1d8e6ad82 SHA512 0b42bf0312a05f3b85da7d9e02d47432ade81bf81047c760679df050d23e6b41f5a4424372d2298a054e62f3cb4f1712712411b99c351b16112d607ff1803740
diff --git a/dev-ruby/bundler-audit/bundler-audit-0.9.0.1.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.9.0.1.ebuild
new file mode 100644
index 000000000000..34c66400cad6
--- /dev/null
+++ b/dev-ruby/bundler-audit/bundler-audit-0.9.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+#tests are trying to download AND have some odd failures
+#rspec ./spec/database_spec.rb:113 # Bundler::Audit::Database#size should eq 323
+#rspec ./spec/database_spec.rb:117 # Bundler::Audit::Database#advisories should return a list of all advisories.
+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
+}