diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /dev-ruby/bundler-audit | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
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.7.0.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest index ed32dad3252d..8b26d572aa29 100644 --- a/dev-ruby/bundler-audit/Manifest +++ b/dev-ruby/bundler-audit/Manifest @@ -1,5 +1,7 @@ DIST bundler-audit-0.6.1.gem 108032 BLAKE2B 84a3600e64846ced023af7cd922508f5f81f0bac64b3c9f1c360d0202adabfb3aaa3e8a7d5900a70bcbeec09424274c716bcc63707eb14d0052758f81fc5399e SHA512 b4b1c981070d55f1c7d7353a401f0efb9696544a522052fdae5b6abcf20a3facefc6f118eb0fd53ef859f1db5d84ab7dc5fe056b5d7cf1d458186294af1558b0 +DIST bundler-audit-0.7.0.1.gem 162816 BLAKE2B 2e068531d8edf542ce7bd1d362ac36290c90e87d12a5e861ce269575e7a10f9e8399c256be5f0f9dba145f1c3bdd6e0dfdb78826d4c45f79ae8a280631450564 SHA512 49d0262a03db03eeab95730550c9554453849bb58fcb1d883c85ca021a181b44e7983f21f83d0b14f857d57ea08bfa13b470cd93bcb3695cac31f366a78d8c1a DIST bundler-audit-0.7.0.gem 33280 BLAKE2B eb0eab79f7cf62d6eb886f2d1cb91650bb2e7c39f3a98a035b7bf2168297c67d51a9f5a21fb7882d12679fd626ec71fbdfc1c2fbbb4ec4425313dc772eda1fa0 SHA512 cea9397c180555dbcbf01011fdd499ab178f12e6b6caf4d43be4500624850680ecf23a18a4691881217efb984bd59b18215fd8ccc48f75ccbe20f0263f2ffcc7 EBUILD bundler-audit-0.6.1.ebuild 1312 BLAKE2B 37c7ea3e7c49665cd613bbe895feb1752b941fdec95a91479d200f1cd8d9108e6a3ee02c8ca4956209a45e9ad5c89edc4ca1d4ad3f0241dc60f419a8d24d2ce7 SHA512 97cc1fd9bc2bfec7e9923e66f7f320a3b7f34868c853e2bcb49637411866b76fd2e09e47decbe94800cdba1029aeb5f4aef83319dbff095243e99a09e4011516 +EBUILD bundler-audit-0.7.0.1.ebuild 1306 BLAKE2B 3ff4ea311c195f1e003e3df3b4304ea22c3dfdbe0126b2fe796c81606e56508fae737496687afc08400fec7a427c87421e1d4bd18cdffef5e349a7e77cba0549 SHA512 2103031cde27d80c51cbb25bb26d356d701039a0c0b4f335603f1c9a3523ee747f723e2073794886042b6c285f24e33c1f86f7a83f6954fde049b2a9c2443014 EBUILD bundler-audit-0.7.0.ebuild 1306 BLAKE2B 3ff4ea311c195f1e003e3df3b4304ea22c3dfdbe0126b2fe796c81606e56508fae737496687afc08400fec7a427c87421e1d4bd18cdffef5e349a7e77cba0549 SHA512 2103031cde27d80c51cbb25bb26d356d701039a0c0b4f335603f1c9a3523ee747f723e2073794886042b6c285f24e33c1f86f7a83f6954fde049b2a9c2443014 MISC metadata.xml 337 BLAKE2B 349e729ee8aa87d72509ae0358c0d7e3ecfa8ec4d792b0140a95a13ea175203d0b0efe879c375ed5c908e06dd6e1ce846c8a60cdd79096cc6397db606da3c92a SHA512 17b5dd74e3bf812111d8c824d10f537c3e1258b6f5a1065c2d850158945883ba158811979f4ea45e21312a2b1bdeb0ac701f0b54a62ffa27699330ea36103eeb diff --git a/dev-ruby/bundler-audit/bundler-audit-0.7.0.1.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.7.0.1.ebuild new file mode 100644 index 000000000000..8f28270125c0 --- /dev/null +++ b/dev-ruby/bundler-audit/bundler-audit-0.7.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +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 ~x86-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-0.18:0 + || ( dev-ruby/bundler:2 >=dev-ruby/bundler-1.2:0 ) +" + +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 +} |