diff options
author | 2013-02-26 07:14:47 +0000 | |
---|---|---|
committer | 2013-02-26 07:14:47 +0000 | |
commit | 32d662ee17058d3e1707ee1c122354d45b91cad2 (patch) | |
tree | 703ce7275904007baa3c95ca82cf76b29fcd4315 /dev-ruby | |
parent | unicode.patch adjusted consequent to upstream's partial update to tox.ini, IU... (diff) | |
download | gentoo-2-32d662ee17058d3e1707ee1c122354d45b91cad2.tar.gz gentoo-2-32d662ee17058d3e1707ee1c122354d45b91cad2.tar.bz2 gentoo-2-32d662ee17058d3e1707ee1c122354d45b91cad2.zip |
Version bump.
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/capybara/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/capybara/capybara-2.0.2.ebuild | 46 |
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-ruby/capybara/ChangeLog b/dev-ruby/capybara/ChangeLog index fbf8f0729749..cff6390ce943 100644 --- a/dev-ruby/capybara/ChangeLog +++ b/dev-ruby/capybara/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/capybara -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/ChangeLog,v 1.13 2012/12/16 09:22:18 graaff Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/ChangeLog,v 1.14 2013/02/26 07:14:47 graaff Exp $ + +*capybara-2.0.2 (26 Feb 2013) + + 26 Feb 2013; Hans de Graaff <graaff@gentoo.org> +capybara-2.0.2.ebuild: + Version bump. *capybara-1.1.4 (16 Dec 2012) diff --git a/dev-ruby/capybara/capybara-2.0.2.ebuild b/dev-ruby/capybara/capybara-2.0.2.ebuild new file mode 100644 index 000000000000..97f343c6be17 --- /dev/null +++ b/dev-ruby/capybara/capybara-2.0.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/capybara-2.0.2.ebuild,v 1.1 2013/02/26 07:14:47 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby19" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +# Rake tasks are not distributed in the gem. +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit virtualx ruby-fakegem + +DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications." +HOMEPAGE="http://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="test" + +# Restrict tests until launchy is part of the main tree. With it +# installed all tests should pass. +RESTRICT="test" + +#ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy www-client/firefox )" + +ruby_add_rdepend " + >=dev-ruby/mime-types-1.16 + >=dev-ruby/nokogiri-1.3.3 + >=dev-ruby/rack-1.0.0 + >=dev-ruby/rack-test-0.5.4 + + >=dev-ruby/selenium-webdriver-2.0 + >=dev-ruby/xpath-1.0.0:1" + +all_ruby_prepare() { + sed -i -e '/bundler/d' spec/spec_helper.rb || die +} + +each_ruby_test() { + VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec" + virtualmake || die "Tests failed." +} |