diff options
Diffstat (limited to 'dev-ruby/capybara')
-rw-r--r-- | dev-ruby/capybara/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/capybara/capybara-3.0.2.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index 3db54fb64fcd..e4904c470b4f 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,7 +1,9 @@ DIST capybara-2.14.4.gem 265728 BLAKE2B 7b61fc7424b5e5aeec50e0695ef7719d23b594d3fe233c04443c37a5f06b0f1e7c440135c50225813d9da954c2efa0563488668202e09a4e3877f28708f9624e SHA512 d3ebbd8d96e4d2026327b1c70ff723225ce052fff510a909111b8cc7e02b12fec9e00acddc0bc2565371cc5eb0b590abef43d42a99c3938a929ea25930fdefd1 DIST capybara-2.16.1.gem 273408 BLAKE2B 1d1a68427fcfed9a8153e409e17fc043dd8d926c3ebbab3560ae12454f3010c8b4569348c231e807d993263940b703dc5380a235da438eb5ac2f9d0bd3a66309 SHA512 921e05111278b7bff93fe805a29e7b2e0e78b36510db5dff1189e34c3cdeada52504a8e06534238e578c32e8e0efa8d99a0ffc8516d94e60c06e7fd2c4ecb174 DIST capybara-2.18.0.gem 274432 BLAKE2B 992799362025b81a0d074fb06fdafef4c4385ca18ea85a7095d9e58625df6a59a349b60b462c5c4f403a6af955466bc46d82be6cd91724fc2b12cbe15ed74a4c SHA512 3bb994e022593d485a07296193a16cae7b45e96e87dd10b2bd4807ad2bc990801044c0493360598d1626c3e367e8de87e407f65c2c6f42674d5f1b9c0b5c1933 +DIST capybara-3.0.2.gem 275456 BLAKE2B bcf2049193062b7d16e811807faf629379bc5a94bba771d442e9680e727d765703ad4c6cf8abd9d0bb22d1971f07d897f0fc8a572182302528961fcfe8b186fb SHA512 5f2611238a58184dcd57a5ca2fff786d4ecfdbb51815c3f6afdcabbb85087baf87fc601d1506a6b880d42af32e06a62e7757b1abf455325718258d3072616a49 EBUILD capybara-2.14.4-r1.ebuild 1512 BLAKE2B 41759ee7879a50f7b270ad9fdfbb459b51c12b2ac6b5eff8613c9bc73c2f71f02a617056a70cb933fef7f0f4e9dd1f8f7313755a4660256343234e100496ee31 SHA512 4a6543d94133e2b0225e2bd4e031625aa58395b9293d67a6cfd9119e089b0b58c9010ee9442d8fe5afd3b99861745608c05e9f028bc0c0767cb09d44528b74b0 EBUILD capybara-2.16.1.ebuild 1504 BLAKE2B 22cf066a75150f50d23c3761474076dcb9ca07381148aee813b0b3ff36d102a2bf316f3ecd1872306960eabbee179a4af1e136f2b98ae775eeae6d57b76400cf SHA512 c2fab8431816750ce63411a95333916c90fc50003df9cb2d47ba2a8964eb168edaad8bfb487db65daf0472fa598ea0e07e57f2a6b9cf266dba4d3450833b5799 EBUILD capybara-2.18.0.ebuild 1521 BLAKE2B b2f2b42361100abf4384fc7dfd84d8588dd1ba261fbf14131eb8e8992c0896c7c3bafccfe3dca94c721a1b3cdfdfcab846e14cc85b893d532034e4962058abda SHA512 5d05806094a5ec44d86e5d4fac07b29e16280f2e0da6fd06436fa08dbd966eb18b5771c82981fdd34332e67f145654fad64532fa8d734dbe6498a3e705d6cc92 +EBUILD capybara-3.0.2.ebuild 1514 BLAKE2B 3a79eaa4545b934de0d9fa8396e0d18c858ffb590b2a531e2d2b93864bebe43ecd0c449919e4ac96f5b754bc8e083a7adf7b805ac7be04f8fba5c0e8902a9d4e SHA512 bde7046cc60a57c245493938e937edb919c203aa13ff026c9d00b5eccac6a27a933f9f25a2c0fb6e956581091f7d958814296c0a415ee4fa9b6c7557e0571bae MISC metadata.xml 343 BLAKE2B 93caed6f938d8f2c10a7106e7377812064351018521cbb63477340af9531c5c67940097580c5f7610cea03b0dde6853c9fcbe9ab8cf5daa2a49018b8888e20fc SHA512 1e526463690f3ff61390ed77cb528352bdd1c089b368c3f6ab587766d81167afe99f752b861233f755e10bf2aa6f09dde98a9dc359d51392f15b55462ba66e77 diff --git a/dev-ruby/capybara/capybara-3.0.2.ebuild b/dev-ruby/capybara/capybara-3.0.2.ebuild new file mode 100644 index 000000000000..dd698f232a22 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +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 ~arm64 ~hppa ~x86" +SLOT="3" +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 dev-ruby/sinatra )" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.8:0 + >=dev-ruby/rack-1.6.0:* + >=dev-ruby/rack-test-0.6.3:* + || ( dev-ruby/xpath:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' 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 + + # Avoid spec that requires unpackaged geckodriver + sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die + + # Avoid test dependency on puma server for now + sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed." +} |