summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-07-04 06:47:34 +0200
committerHans de Graaff <graaff@gentoo.org>2016-07-04 06:47:34 +0200
commitf6b34430374f52f0ed3425195219a4a28daf0bb3 (patch)
tree291b7bc1e8cd531a005c7a5459a0d4331272e60a
parentdev-ruby/seed-fu: add 2.3.6 (diff)
downloadgentoo-f6b34430374f52f0ed3425195219a4a28daf0bb3.tar.gz
gentoo-f6b34430374f52f0ed3425195219a4a28daf0bb3.tar.bz2
gentoo-f6b34430374f52f0ed3425195219a4a28daf0bb3.zip
dev-ruby/simplecov: add 0.12.0
Package-Manager: portage-2.2.28
-rw-r--r--dev-ruby/simplecov/Manifest1
-rw-r--r--dev-ruby/simplecov/simplecov-0.12.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest
index 2923961b0bb2..3ca9b1150888 100644
--- a/dev-ruby/simplecov/Manifest
+++ b/dev-ruby/simplecov/Manifest
@@ -1 +1,2 @@
DIST simplecov-0.11.2.gem 54784 SHA256 82e330864f84955d6c443e7d233474e91731b2850ba35b21997a8aad798712dc SHA512 c93ea47a6e3c9b62fd83adf1e480da66fc82ce50106b1749a9d94b7e90ef2aaf34c14c67b1ac12268765695da62895b12f060051a05c26dac41ed7df7575e3f3 WHIRLPOOL 34b891f608fcf3c2d021a96952be0f19c45b643ee8b5d58dfb102f8211a1fbd07e6a8a54a296a8ef0ae39f22bfcf797aad9ea979e1a9d0654335c272cec33be2
+DIST simplecov-0.12.0.gem 54784 SHA256 7de16175818d86c71b75deb81f141eaf1ce231244a90135815f50b6c5df6d039 SHA512 759a7aae2552deb5f1e213c7547f688a34d56e7baa9ce914b25ae8e43515b09e90d15ce9de5b651bc70a439beed4041f0c8c7c3dc0113dedfb7bcb80dacf9edd WHIRLPOOL 08a3186c543ffbb274ee96690f4bfd5f18f4c2b4bd4ee4eca71369ab027c557adbea7c5124ce72b7ceedee851149595a7e0b4549deff55df91ac14049046a5cd
diff --git a/dev-ruby/simplecov/simplecov-0.12.0.ebuild b/dev-ruby/simplecov/simplecov-0.12.0.ebuild
new file mode 100644
index 000000000000..33cfef060368
--- /dev/null
+++ b/dev-ruby/simplecov/simplecov-0.12.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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 <dev-ruby/json-3
+ 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
+ dev-util/cucumber
+ dev-util/aruba
+ dev-ruby/capybara
+)"
+
+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
+}