diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-12-16 09:22:18 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-12-16 09:22:18 +0000 |
commit | 68346d3fabe46d54065fdccf2ca6e7733cf73074 (patch) | |
tree | 8f8ac038daa7bed1c8e714293900b9dc1033845d /dev-ruby/capybara | |
parent | Version bump for gnome-3.6, now uses gstreamer-1.0. Update description and li... (diff) | |
download | gentoo-2-68346d3fabe46d54065fdccf2ca6e7733cf73074.tar.gz gentoo-2-68346d3fabe46d54065fdccf2ca6e7733cf73074.tar.bz2 gentoo-2-68346d3fabe46d54065fdccf2ca6e7733cf73074.zip |
Version bump.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/capybara')
-rw-r--r-- | dev-ruby/capybara/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/capybara/capybara-1.1.4.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-ruby/capybara/ChangeLog b/dev-ruby/capybara/ChangeLog index 819eca9db277..fbf8f0729749 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.12 2012/11/21 07:15:02 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/ChangeLog,v 1.13 2012/12/16 09:22:18 graaff Exp $ + +*capybara-1.1.4 (16 Dec 2012) + + 16 Dec 2012; Hans de Graaff <graaff@gentoo.org> +capybara-1.1.4.ebuild: + Version bump. 21 Nov 2012; Hans de Graaff <graaff@gentoo.org> capybara-1.1.3.ebuild: Pin capybara to specific xpath slot in accordance with gemspec. diff --git a/dev-ruby/capybara/capybara-1.1.4.ebuild b/dev-ruby/capybara/capybara-1.1.4.ebuild new file mode 100644 index 000000000000..87fa1b06c52b --- /dev/null +++ b/dev-ruby/capybara/capybara-1.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/capybara-1.1.4.ebuild,v 1.1 2012/12/16 09:22:18 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +# 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="0" +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-0.1.4:0" + +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." +} |