diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-11 08:12:22 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-11 08:13:02 +0100 |
commit | 32896c54da8bdf6b666f787e6ad057088451899e (patch) | |
tree | f22e2f946b52448b85b954e934b82582dd6ddc35 /dev-ruby/bundler-audit | |
parent | sys-apps/flatpak: Bump to version 1.10.2 (diff) | |
download | gentoo-32896c54da8bdf6b666f787e6ad057088451899e.tar.gz gentoo-32896c54da8bdf6b666f787e6ad057088451899e.tar.bz2 gentoo-32896c54da8bdf6b666f787e6ad057088451899e.zip |
dev-ruby/bundler-audit: add 0.8.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/bundler-audit')
-rw-r--r-- | dev-ruby/bundler-audit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/bundler-audit/bundler-audit-0.8.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest index 80e5dd610ad1..f9420a5357d9 100644 --- a/dev-ruby/bundler-audit/Manifest +++ b/dev-ruby/bundler-audit/Manifest @@ -1 +1,2 @@ DIST bundler-audit-0.7.0.1.gem 162816 BLAKE2B 2e068531d8edf542ce7bd1d362ac36290c90e87d12a5e861ce269575e7a10f9e8399c256be5f0f9dba145f1c3bdd6e0dfdb78826d4c45f79ae8a280631450564 SHA512 49d0262a03db03eeab95730550c9554453849bb58fcb1d883c85ca021a181b44e7983f21f83d0b14f857d57ea08bfa13b470cd93bcb3695cac31f366a78d8c1a +DIST bundler-audit-0.8.0.gem 44032 BLAKE2B 1d6de8bbca13e1e3b881ccbb4029d000c89f7b7c8f342877baa2a0ea3cf9bf87db93e22c9e622d64a4522afeb6258151293b0196b6ae8a5bbe192785e72956c6 SHA512 6a61fd191f31c153df71320e88ea84e6d93ad4d6ccacfc3f356c9486bf8adb8487aa7c5b3357cfbac0f36b8bb4b65c09845cedc0c8d86814910ea60aac7e92d5 diff --git a/dev-ruby/bundler-audit/bundler-audit-0.8.0.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.8.0.ebuild new file mode 100644 index 000000000000..ce0f999975a0 --- /dev/null +++ b/dev-ruby/bundler-audit/bundler-audit-0.8.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +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 +} |