summaryrefslogtreecommitdiff
path: root/dev-ruby/bundler-audit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/bundler-audit
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/bundler-audit')
-rw-r--r--dev-ruby/bundler-audit/Manifest7
-rw-r--r--dev-ruby/bundler-audit/bundler-audit-0.5.0.ebuild44
-rw-r--r--dev-ruby/bundler-audit/bundler-audit-0.6.0.ebuild44
-rw-r--r--dev-ruby/bundler-audit/metadata.xml11
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-ruby/bundler-audit/Manifest b/dev-ruby/bundler-audit/Manifest
new file mode 100644
index 000000000000..2c20bba01686
--- /dev/null
+++ b/dev-ruby/bundler-audit/Manifest
@@ -0,0 +1,7 @@
+DIST bundler-audit-0.5.0.gem 99328 SHA256 2beb13862bd1ff50f953ac18297da675f5b4516dfef71c8da9473597aa9927bf SHA512 c618912f7d22b1a60dfeeaf8a278abccc3c0ec8d8dd2ea5988a0b04d6992015decf852dd507e7acd3abd19c8a62ac21f099a49aecfe04e3499a76879afb63fb7 WHIRLPOOL 719c04df9ddaf83a9d6083f5fb60a2eb5f6724880029421a508da204c372a2152db7d6bbab47eb8c21c0b633e99d0b42d70f7d568c3bf5ac998b1a988977e2d0
+DIST bundler-audit-0.6.0.gem 108544 SHA256 a2d88bba72c0683b8277f95e3246bbf6c0e1a7f86474cd74d40761a3642708ad SHA512 28213df41bba20b41b7398a2ac8f2086c5d2b80a7b31340a29b6e7c3818337f11e486284b14f000c590aaea6bb541222c4c5b71421e36a0e0a7c02e0feec9d7a WHIRLPOOL fbc7c12fcd2773fefe61711ed747d1e5783874ae4eaf36913af2bbcbfad6c3cc4f665806287adf1de3033f00c3bdebc08d221fddf8c339c3e8b26b08eaa96fae
+EBUILD bundler-audit-0.5.0.ebuild 1325 SHA256 b1225edb5e34c9bd5020e5d34eae7aab22dc23dd1920f44f3b70fd7729724a2a SHA512 5d40e68055ac55975222539d3a4854d212464d0945fa4a6890dd89cf5c9c09df6a30ba503b7393219e7d6e07248c002bd211f401d3b8fa73f22518db4bd803ab WHIRLPOOL b4dc96b2c76ed2de9e7a71423ce586f397d3b8c150cfbcf40650aa43f140e556fc29c5de9e19043f363a69972f4e9087b5f87b4c3c70974f3ec96a1de04298c6
+EBUILD bundler-audit-0.6.0.ebuild 1318 SHA256 948d0241c29bd7a401fb9a33dd86b995239a44e71c5ea1b6452865c20f0640c4 SHA512 680ad72240fa8b452e37e2d6d6e8bae760b435684ad5dd3a0643e689ed550512a4bbb5580a28b9cb99e9a388163bb7f4ee0ea7d33163a091f18e53b7fe8a6159 WHIRLPOOL 456d9699c15b51cef6726fa0adb72aea80f32a0d568df95083a62475798c0a8bd240dad6ab0b4845c59dee8de19aa8080a828fb94e0c08cfd9c6767162d41308
+MISC ChangeLog 3209 SHA256 1bd2c9d917a0fdfba1226630de80d43c9b052b5506e7bbe5921d7cd2245cea62 SHA512 d96427b19404d79e663e4048047a6bf88c3ec0f038a30feab2239836c6972ae6a53358c50655fe56afa56b3ae18bbc27ccd0c49b25a1d09b9814f1c6a40bd34f WHIRLPOOL a0d78ad024693ae5f8b7889328b26f639a5ccf39fcea118be6e041cd2c04e71da781a10c997e92e48bf86a4bbb5c497adf73b628ea189e82791657e8eecae6c7
+MISC ChangeLog-2015 559 SHA256 e1eea2a2385a38cdc053feb7018f90e0ec6b1dc75a7b4dc5ef965f30926bcc05 SHA512 54a22cf1b3478439b156cd111236397ab793f4b9e2aa6092773270060448b490b62c98444b446c7c28b16a0deab4c69e654ca36ffd7138f7f0f8d5672188f0ee WHIRLPOOL 127d0be0c07fc1de5af83803e2f6bbaa49ee3b9626db9ff2d8102436fd98f016fc32217e0eea2208a401c10e630bfab2c405c8456388019bbf596dd1e8433aa1
+MISC metadata.xml 337 SHA256 359a240284c1f55041d3de9fb1e29223f6643714bd97eae6068232ff19992241 SHA512 17b5dd74e3bf812111d8c824d10f537c3e1258b6f5a1065c2d850158945883ba158811979f4ea45e21312a2b1bdeb0ac701f0b54a62ffa27699330ea36103eeb WHIRLPOOL c127ae30a0742d7646c6673fa3ce15f11e1c7c9d42543b52b8ee9125c79187ee225cc99162cab89978a68442d9bec14a286144a43c56989a17c9702edce101ef
diff --git a/dev-ruby/bundler-audit/bundler-audit-0.5.0.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.5.0.ebuild
new file mode 100644
index 000000000000..9d79d27dedf1
--- /dev/null
+++ b/dev-ruby/bundler-audit/bundler-audit-0.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+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 ~x86-fbsd ~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-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
+}
diff --git a/dev-ruby/bundler-audit/bundler-audit-0.6.0.ebuild b/dev-ruby/bundler-audit/bundler-audit-0.6.0.ebuild
new file mode 100644
index 000000000000..03ab87eaa10d
--- /dev/null
+++ b/dev-ruby/bundler-audit/bundler-audit-0.6.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+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 ~x86-fbsd ~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-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
+}
diff --git a/dev-ruby/bundler-audit/metadata.xml b/dev-ruby/bundler-audit/metadata.xml
new file mode 100644
index 000000000000..4f3b349f06cc
--- /dev/null
+++ b/dev-ruby/bundler-audit/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rubysec/bundler-audit</remote-id>
+ </upstream>
+</pkgmetadata>