summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-03-21 07:22:08 +0100
committerHans de Graaff <graaff@gentoo.org>2017-03-21 07:22:08 +0100
commit25c719035381c388b35bc15a5c02fd414bfd5ce2 (patch)
tree23fbb94b8cc681e47248330f461eb8284dc59416 /dev-ruby/simplecov
parentdev-ruby/ox: add 2.4.11 (diff)
downloadgentoo-25c719035381c388b35bc15a5c02fd414bfd5ce2.tar.gz
gentoo-25c719035381c388b35bc15a5c02fd414bfd5ce2.tar.bz2
gentoo-25c719035381c388b35bc15a5c02fd414bfd5ce2.zip
dev-ruby/simplecov: add 0.14.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/simplecov')
-rw-r--r--dev-ruby/simplecov/Manifest1
-rw-r--r--dev-ruby/simplecov/simplecov-0.14.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest
index fb52515b46a9..f2e6d2d02282 100644
--- a/dev-ruby/simplecov/Manifest
+++ b/dev-ruby/simplecov/Manifest
@@ -2,3 +2,4 @@ DIST simplecov-0.11.2.gem 54784 SHA256 82e330864f84955d6c443e7d233474e91731b2850
DIST simplecov-0.12.0.gem 54784 SHA256 7de16175818d86c71b75deb81f141eaf1ce231244a90135815f50b6c5df6d039 SHA512 759a7aae2552deb5f1e213c7547f688a34d56e7baa9ce914b25ae8e43515b09e90d15ce9de5b651bc70a439beed4041f0c8c7c3dc0113dedfb7bcb80dacf9edd WHIRLPOOL 08a3186c543ffbb274ee96690f4bfd5f18f4c2b4bd4ee4eca71369ab027c557adbea7c5124ce72b7ceedee851149595a7e0b4549deff55df91ac14049046a5cd
DIST simplecov-0.13.0.gem 55808 SHA256 c78227427eb6b40499d657f2996ec6841f5135468693e55e3d2c976c706f86e4 SHA512 9cc7f88e1a8b793d69e4fc92610805202d68f1c883cdddc7ae9426d250ebd68d72b61879801897748e26750db04f51d3dd0332fe807dab6ec0b2c982b8693d69 WHIRLPOOL c7a6a3168ce0c5712462b2800c888fd8ff62ba6fc8ae89cd9c0bdab397364be00706de7495767c363a7b660d11e03cef8146377f7291297a7df111cb712b416a
DIST simplecov-0.14.0.gem 58368 SHA256 44343843429dd4e13991b798676242ab9133283978beb60072cd93d085ce0f90 SHA512 ce0c1960f65f15c6271d9ad75553332e3ae256ba4c28d5c4255eaf6ceb5f0222be1bd79b7773373ac30549fa9ee9fb7f471ff69eaa81359c019f96f525856cad WHIRLPOOL 2890cd939c6563637ecb35c58a32db65351626e633a7c176f432c408e65c5915a6c16bbe5265f9e7c75abe378bf3a298332c90c2189e069f0c3686d1d07c570b
+DIST simplecov-0.14.1.gem 58880 SHA256 9c5bda66be01640e1ccbdbb69a1e067db86891f5d9a99b2b138348acadb62ee5 SHA512 7b62fef6df1d3b395b03a5444d65430ae645aca7c13e6694f4377b35a82c0b4503e5d53a94512ff06e634a6d81331a8bce31787dba793517ecd3e502220afbaf WHIRLPOOL e2c4878da79316aa9ad87d95c9afb17ae759883b920a0294c5040259b69d0d8fdf072ad9d374a08f897d2c6f9c279fea1e0126895bc8288bb3911f730dbd8012
diff --git a/dev-ruby/simplecov/simplecov-0.14.1.ebuild b/dev-ruby/simplecov/simplecov-0.14.1.ebuild
new file mode 100644
index 000000000000..ec401c929eae
--- /dev/null
+++ b/dev-ruby/simplecov/simplecov-0.14.1.ebuild
@@ -0,0 +1,41 @@
+# 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_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Code coverage with a configuration library and merging across test suites"
+HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0.8"
+IUSE="doc"
+
+ruby_add_rdepend ">=dev-ruby/json-1.8:0 <dev-ruby/json-3:0
+ dev-ruby/simplecov-html:0.10
+ >=dev-ruby/docile-1.1.0"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ dev-ruby/test-unit:2
+)"
+
+# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem.
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die
+
+ #${RUBY} -S cucumber features || die
+}