Skip to content

Commit

Permalink
dev-ruby/nexpose: add 5.3.2
Browse files Browse the repository at this point in the history
Add documentation and tests.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
graaff committed Mar 29, 2017
1 parent 45b4fd3 commit 7ef2cd8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/nexpose/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST nexpose-5.3.1.gem 98816 SHA256 995e0b73ec6e18c92e82286112f0988c8416337e1f6a8fe34d70a943ba636691 SHA512 a082198f3b94ba72d24e1c617d4fe3fff5ec0bda15664b7839c4dce982f5ca619e004695265b8d6a9e0f9a516d54f017c82e7a20c5215be340cb063e0b9f4258 WHIRLPOOL a951ce65257eebf08e8386fe941829cb05aa2d2ba1983ce7917e9e794b15c6e29f8df552adaa9c8dc409a82874c10a64e61d6c174031b76b4502a2cc34f98194
DIST nexpose-5.3.2.tar.gz 111862 SHA256 7fc4d558c1adce9ac6699db54b34929ece276fddb65bfba81edd78c26b37cfa7 SHA512 7a79a796e853cfe0d5e3f61b969903f3ecf033914a8caaccb4ff175774ab2ec187a2b7c106f91d82e65edc35fab98621c1ae831017268fde2e8714c45346f4b6 WHIRLPOOL 9888594edfed90c0c90dd7f0d5974fef1062b831d7b0752a595e33b0a0f851052f40b5540989ed9aab8ee7873cba66955cedad1908b747a78f564c1800a211ff
36 changes: 36 additions & 0 deletions dev-ruby/nexpose/nexpose-5.3.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

USE_RUBY="ruby21 ruby22 ruby23"

RUBY_FAKEGEM_RECIPE_TEST="rspec3"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.markdown"

RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"

inherit ruby-fakegem

DESCRIPTION="API client for Nexpose vulnerability managment product"
HOMEPAGE="https://github.com/rapid7/nexpose-client https://rubygems.org/gems/nexpose"
SRC_URI="https://github.com/rapid7/nexpose-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
RUBY_S="${PN}-client-${PV}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

ruby_add_bdepend "test? (
dev-ruby/vcr:2
dev-ruby/webmock:0
)"

all_ruby_prepare() {
sed -i -e '/\(codeclimate\|simplecov\)/ s:^:#:' \
-e '/SimpleCov/,/^]/ s:^:#:' \
-e '1irequire "nexpose"' spec/spec_helper.rb || die
}

0 comments on commit 7ef2cd8

Please sign in to comment.