From: Hans de Graaff Date: Sat, 29 Aug 2015 06:24:34 +0000 (+0200) Subject: dev-ruby/capybara: version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8feb8011c48b65423d7ac61c0ce7886eb8ad02c6;p=gentoo.git dev-ruby/capybara: version bump Package-Manager: portage-2.2.20.1 --- diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index e6ddf3744c52..97e4cb147220 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,3 +1,4 @@ DIST capybara-1.1.4.gem 72192 SHA256 33073d7e4920a3e74c61ec46d1afe655eb0f3361187113c5e146df498e4611ed SHA512 102738031281d0fabd645fa6d941cf0a9ddd56f90d53d7cc1c8a7b03a37b6af8f4cddd178e6fc07d6751a539a5039cf20502eabdd49e8001793601bb312b47a3 WHIRLPOOL 81eff318acfdc0806c9f8d4e212068edd57694d44db1e29bbefaa7a4db162f3a2354374d6ab97ad7c2372ff9e6f6bb864ed483050facad5c298c2223a39c63cc DIST capybara-2.2.1.gem 218112 SHA256 0081ff6eaa33f4b5b0427db7ef0ca0af015a9bf6606126f41016db6feb58cdeb SHA512 e060706ef408f4ba2494fe45020b587914c5e1ab42717450be1818ab16782fc6e5eb49dd559ac00297cf83b267d4cec9c9766c19b0967573c6dd54e976a0fd59 WHIRLPOOL 2d58952539170ab298e80503431750feff40e4287edfefd4c0a564d9cb4abb8b0eb0833b28ebe467063be754d4d22bfddb868d4b605e992fd017a3fc8f432571 DIST capybara-2.4.4.gem 232448 SHA256 8e28357fbdbd8df7d8c56d3d72fa8a5ef3a5a71b8abfbe9c1c77394b62279384 SHA512 344c09e4ba82709a216bbab96ba8c5e5965ddedef63bdaef3e647fb8de024a59d0043cf54420336bc8a4bd3ad186cb7292bcba5fa8fdc808a15ab6e1ee6d2793 WHIRLPOOL 0faf9b9d2b90b6e59ba9fbc080404727d069cad9b802ab0d8b2ba4eda311af203383d72cb701ed9385b42e973c3a1bfc68dab7f01885e7180298e9bbec800b43 +DIST capybara-2.5.0.gem 240640 SHA256 755c32b0ba828b2671ca63605cce4e4c3b494b16e91bf4f99e445975488ebc61 SHA512 30431cc78c16a26f850ef1a1d60af4c9934ce89ffa3ed9c305af903640a66dc78e831614c22ed7725bf23d70e5de6b50b6c1d23cc3e33c815e73a2f1117dc13c WHIRLPOOL cb1dded65c7a789a46df0a86fbaf1f3104a4ece86133b8003c8c6ac18b8d6ed4d86f50310fe7d5a4d523393258c9bbf636c088d00f2a9d8f751390ed08d02bca diff --git a/dev-ruby/capybara/capybara-2.5.0.ebuild b/dev-ruby/capybara/capybara-2.5.0.ebuild new file mode 100644 index 000000000000..301d9033be81 --- /dev/null +++ b/dev-ruby/capybara/capybara-2.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +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="https://github.com/jnicklas/capybara" +LICENSE="MIT" + +KEYWORDS="~amd64 ~x86" +SLOT="2" +IUSE="test" + +DEPEND="${DEPEND} test? ( www-client/firefox )" + +ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 )" + +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/xpath-2.0.0:2" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' spec/spec_helper.rb || die + + # Avoid window-manager specific tests (sizes are specific for fluxbox) + sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die +} + +each_ruby_test() { + VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec" + virtualmake || die "Tests failed." +}