diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-04-03 05:52:43 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-04-03 05:52:43 +0000 |
commit | d24bb3ea0d4d9cb3196cc7344ed1561a8a0510c4 (patch) | |
tree | 0353c0d40ca54b6ae0f08e1b662728f8c9a634aa /dev-ruby/rubigen | |
parent | Version bump by Julian Ospald. (diff) | |
download | gentoo-2-d24bb3ea0d4d9cb3196cc7344ed1561a8a0510c4.tar.gz gentoo-2-d24bb3ea0d4d9cb3196cc7344ed1561a8a0510c4.tar.bz2 gentoo-2-d24bb3ea0d4d9cb3196cc7344ed1561a8a0510c4.zip |
Version bump.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rubigen')
-rw-r--r-- | dev-ruby/rubigen/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rubigen/rubigen-1.5.8.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-ruby/rubigen/ChangeLog b/dev-ruby/rubigen/ChangeLog index c2a56ea7d6a5..8b4b13c5ffd4 100644 --- a/dev-ruby/rubigen/ChangeLog +++ b/dev-ruby/rubigen/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rubigen # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/ChangeLog,v 1.13 2012/04/03 05:43:15 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/ChangeLog,v 1.14 2012/04/03 05:52:43 graaff Exp $ + +*rubigen-1.5.8 (03 Apr 2012) + + 03 Apr 2012; Hans de Graaff <graaff@gentoo.org> +rubigen-1.5.8.ebuild: + Version bump. 03 Apr 2012; Hans de Graaff <graaff@gentoo.org> -rubigen-1.5.6.ebuild: Remove old version. diff --git a/dev-ruby/rubigen/rubigen-1.5.8.ebuild b/dev-ruby/rubigen/rubigen-1.5.8.ebuild new file mode 100644 index 000000000000..c2664d46699a --- /dev/null +++ b/dev-ruby/rubigen/rubigen-1.5.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/rubigen-1.5.8.ebuild,v 1.1 2012/04/03 05:52:43 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc Todo.txt" + +RUBY_FAKEGEM_EXTRAINSTALL="app_generators generators rubygems_generators script test_unit_generators" + +inherit ruby-fakegem + +DESCRIPTION="A framework to allow Ruby applications to generate file/folder stubs." +HOMEPAGE="https://github.com/drnic/rubigen" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +# The presence of a self-dependency is needed as per bug #320781; +# since this is a bad situation, don't close the bug, but try working +# it around. +ruby_add_bdepend "test? ( + >=dev-ruby/mocha-0.9.8 + >=dev-ruby/shoulda-2.10.3 + >=dev-util/cucumber-0.6.2 + =${CATEGORY}/${PF} +)" + +ruby_add_rdepend ">=dev-ruby/activesupport-2.3 <dev-ruby/activesupport-3.2.0" + +all_ruby_prepare() { + # Provide missing file for test_generate_builtin_application.rb + mkdir -p app_generators/ruby_app/templates/configs || die + touch app_generators/ruby_app/templates/configs/empty_log || die + + # Needs to be explicit, most likely due to changes in newer cucumber. + sed -i -e '2 i include Spec::Matchers' features/support/matchers.rb || die +} + +each_ruby_test() { + # Run tests directly to avoid bundler dependency and overhead. + ${RUBY} -S testrb test/test*.rb || die "tests failed" + + # Run all features + ${RUBY} -S cucumber features || die "cucumber features failed" +} |