diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-05-03 20:55:43 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-05-03 20:56:09 +0200 |
commit | 08dfc0680707556d075e38695bcc383a5099acd7 (patch) | |
tree | c00b9256bff2317c377373c299a5b64414870662 /dev-ruby/capybara | |
parent | dev-ruby/concurrent-ruby: add 1.0.2 (diff) | |
download | gentoo-08dfc0680707556d075e38695bcc383a5099acd7.tar.gz gentoo-08dfc0680707556d075e38695bcc383a5099acd7.tar.bz2 gentoo-08dfc0680707556d075e38695bcc383a5099acd7.zip |
dev-ruby/capybara: add 2.7.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/capybara')
-rw-r--r-- | dev-ruby/capybara/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/capybara/capybara-2.7.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index a60f68c533db..6326a53c82cf 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.6.2.gem 220160 SHA256 dc03b0065090b6f7a41fc242d15f06ea5bc97337620fa8fbd2a541ce8b3ac752 SHA512 a50de9bf3e09270a8ad4739326ecb938901e098caa7610cb5daa3df7d79753dcbe77beca60237d3a0536e0e6518af517dc6d96e9fea37d19ceb89a6f6905969d WHIRLPOOL 509b8963f5ea7808f4ebf1c24a34bcfa8b27374f900d63a2c07a44367e48e2208e30477f92e058d2b8724ce063c8f03b76046303a98d9325ce03d5405400b40f DIST capybara-2.7.0.gem 227328 SHA256 645f6c2edddd6d90cab56cb471f262a222db566f38c7dc1e08477f2b00f6d8ec SHA512 522970c329d3e48265ce65329d8c0b11133364b69beb141d943f4336eb5b87d0f8327c4a5e976fa71f80c3ff84796ce9750eb05f73a18073672fe3f667344828 WHIRLPOOL 33ce95e2d4e9dbe118916291f7a4cb491f8dfc8178a68d6b7fbbd0c4f688f7af86342ce592d45fd7616ad8eb2e01a97d23f41bdb145ff986ba2bac26471856af +DIST capybara-2.7.1.gem 227328 SHA256 2c010cefb36e701bc576223c877ed173b316d06e5d50512eb242cde487bed513 SHA512 cb9249957bf24ce73c2465d6f1cd01fbc32c211b355ed47ce345e376fca705203da362ee2697e9f1dc72bb807df9c0728441635ee6f4681d1270a475cc606cc8 WHIRLPOOL c9b52c150c722b983b11dd466bbad79f1632a63fbd664f395d23d30636334b09f281d2d89329824ae37f7015699266f577c577b5c280005fc079dab72c649dfa diff --git a/dev-ruby/capybara/capybara-2.7.1.ebuild b/dev-ruby/capybara/capybara-2.7.1.ebuild new file mode 100644 index 000000000000..29d850aca7ec --- /dev/null +++ b/dev-ruby/capybara/capybara-2.7.1.ebuild @@ -0,0 +1,46 @@ +# 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="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:3 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 )" + +ruby_add_rdepend " + dev-ruby/addressable + >=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} + virtualmake -Ilib -S rspec-3 spec || die "Tests failed." +} |