diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-09 07:00:32 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-09 07:00:32 +0100 |
commit | cf8e5113290276ad445f2c4fb3ee28d2fd425bbb (patch) | |
tree | 574205d1c4afc93bc896149149fbeaaebf366c8e /dev-ruby/simplecov/simplecov-0.11.2.ebuild | |
parent | dev-ruby/rb-inotify: add 0.9.7 (diff) | |
download | gentoo-cf8e5113290276ad445f2c4fb3ee28d2fd425bbb.tar.gz gentoo-cf8e5113290276ad445f2c4fb3ee28d2fd425bbb.tar.bz2 gentoo-cf8e5113290276ad445f2c4fb3ee28d2fd425bbb.zip |
dev-ruby/simplecov: add 0.11.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/simplecov/simplecov-0.11.2.ebuild')
-rw-r--r-- | dev-ruby/simplecov/simplecov-0.11.2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/simplecov/simplecov-0.11.2.ebuild b/dev-ruby/simplecov/simplecov-0.11.2.ebuild new file mode 100644 index 000000000000..680c2d3ae445 --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.11.2.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 automatic merging of coverage 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/multi_json-1.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 + 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 +} |