summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-05-08 17:21:37 -0400
committerZero_Chaos <zerochaos@gentoo.org>2017-05-08 23:08:35 -0400
commit52ff1978070f093dbcf3f7e5be8f882ae3305315 (patch)
treeae6dd9ea9d6caa969bebcfb682babe1ab993b945 /dev-ruby/recog
parentdev-ruby/metasploit-concern: bump in prep for metasploit bump (diff)
downloadgentoo-52ff1978070f093dbcf3f7e5be8f882ae3305315.tar.gz
gentoo-52ff1978070f093dbcf3f7e5be8f882ae3305315.tar.bz2
gentoo-52ff1978070f093dbcf3f7e5be8f882ae3305315.zip
dev-ruby/recog: bump to prepare for metasploit bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/recog')
-rw-r--r--dev-ruby/recog/Manifest1
-rw-r--r--dev-ruby/recog/recog-2.0.14-r1.ebuild4
-rw-r--r--dev-ruby/recog/recog-2.1.6.ebuild37
3 files changed, 40 insertions, 2 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index 6b4817a97ec6..693a504526d1 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1 +1,2 @@
DIST recog-2.0.14.gem 193024 SHA256 65d4916bf92aa052dd0624654df46f51ec91270d568b52f18491c0b74bd21abf SHA512 6e1a3872f1daaf86c00c1c535b5019761efa23af83d4ccf5996fa3a1e66a1aa468603e3582f48b88c74dc419b1a659ead683781f3c93f4f315d4aeebbf95f768 WHIRLPOOL 61695b3e8c768c93eaa56819951c65dea435751da6f60b50f291fa54e1e46b22b35b4ef12d202c326f8adefe9a6b55975bb20d5ff88d08e31b469c7b525d5afa
+DIST recog-2.1.6.gem 214016 SHA256 844b8566512e1d623dd0388aec01d3f493531b6653aed5f85f7249406cfed723 SHA512 21e6f3116252e8d6cfa6abe14adb100b2d2637e8f61852c86266467465056f06bf25e4eb17ac874c772963b2b13e31f84bd157bcb058fe0f58d6609b2b2d0c15 WHIRLPOOL 82b12e1795e8fed2df1f9a10b5a17a0551d87d060bef8a523561b0bfea4637464f6e35de517e34d54b83eb9247076348e93685e5107bf0fa9fd821cf07e81296
diff --git a/dev-ruby/recog/recog-2.0.14-r1.ebuild b/dev-ruby/recog/recog-2.0.14-r1.ebuild
index 21125111cbe8..bae0d347d824 100644
--- a/dev-ruby/recog/recog-2.0.14-r1.ebuild
+++ b/dev-ruby/recog/recog-2.0.14-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"
diff --git a/dev-ruby/recog/recog-2.1.6.ebuild b/dev-ruby/recog/recog-2.1.6.ebuild
new file mode 100644
index 000000000000..8252a6ff9f80
--- /dev/null
+++ b/dev-ruby/recog/recog-2.1.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23"
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pattern recognition for hosts, services, and content"
+HOMEPAGE="https://github.com/rapid7/recog"
+
+LICENSE="BSD-2"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/nokogiri
+ !<dev-ruby/recog-2.0.6-r1"
+
+ruby_add_bdepend "test? (
+ dev-ruby/regexp_parser
+ dev-ruby/rspec:3
+ dev-util/aruba
+ dev-util/cucumber
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ruby-ng_cucumber
+}