diff options
Diffstat (limited to 'dev-ruby/capybara')
-rw-r--r-- | dev-ruby/capybara/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/capybara/capybara-3.18.0.ebuild | 61 |
2 files changed, 0 insertions, 62 deletions
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index 543b41412dfa..63009228925e 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,5 +1,4 @@ DIST capybara-2.18.0.gem 274432 BLAKE2B 992799362025b81a0d074fb06fdafef4c4385ca18ea85a7095d9e58625df6a59a349b60b462c5c4f403a6af955466bc46d82be6cd91724fc2b12cbe15ed74a4c SHA512 3bb994e022593d485a07296193a16cae7b45e96e87dd10b2bd4807ad2bc990801044c0493360598d1626c3e367e8de87e407f65c2c6f42674d5f1b9c0b5c1933 -DIST capybara-3.18.0.gem 331776 BLAKE2B 05d4368f570bbf74a3540fd7d7594cb95c602507f4ddbde437b702b6a280dce5bbf9d0412a1a6ce7888af3a72667e6e3efa7c83d50a8791670121673426c4de2 SHA512 5e9321eb2367bfb48f090868c944bf9920e6bd298e5663e0a820d63946a9cf320e5e3a9b95569779b7e6cdc361dded5ab12a8fce4a0df430c4768d8ce161d02c DIST capybara-3.23.0.gem 349184 BLAKE2B 233b83fb88f106de8e25a1aa34d1082664824571eca2a79ad3de3b164e639b68173804bf2e871c3fde7fe2af54d64ee6ade90c4149807e04e844cbf5d61f24dc SHA512 53e0c6223e574960e136e7620d7d00a0e1479f9eb0fb70c7150bc60e20ed009d163dc29f7cee84acad43168cca230465490c9ca64b640fdebe9223ec62b6e4db DIST capybara-3.24.0.gem 349696 BLAKE2B 54447fc17169d953c43f31505a9267bebe6d093052cb553efa8eb65bf6e39fbb13fe02cb3b7252c4fe1f0554370266265eb759ad7f4dc5bab9299410e4f07e81 SHA512 32a19471d3f8d13871c40c28671125039b432065ab6ac1b31f38551f9e5c7d52c041ef9a56db853aeddd14d9411dec4e647336f6b78feb45c90a676ccdc606fe DIST capybara-3.25.0.gem 351744 BLAKE2B 12e8f483bca814fa826707895a6fc72a3d54df2e03c1175eb4be8e2f83afeda2466d70eab03c7700665d3f94bc7b3b8f85b2d2d6cf8242cad285d9350428cadc SHA512 1be454984862c314f0571ca68ed3858d241dc5f0709d155b1b7accd7fd81a1ab0bf0a5c6537c871989c9abc758d0e7fa5109c8b04be8b620137e129a5da13a68 diff --git a/dev-ruby/capybara/capybara-3.18.0.ebuild b/dev-ruby/capybara/capybara-3.18.0.ebuild deleted file mode 100644 index 528036025297..000000000000 --- a/dev-ruby/capybara/capybara-3.18.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby24 ruby25 ruby26" - -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 ~x86" -SLOT="3" -IUSE="test" - -DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )" - -ruby_add_bdepend "test? ( - dev-ruby/rspec:3 - >=dev-ruby/launchy-2.4.0 - >=dev-ruby/selenium-webdriver-3.5:3 - dev-ruby/sinatra:2 - www-servers/puma -)" - -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/regexp_parser-1.2:1 - >=dev-ruby/xpath-3.2:3" - -all_ruby_prepare() { - sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' 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 - - # Update spec to catch the right error code. This seems to have - # changed recently accross ruby versions. - sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die -} - -each_ruby_test() { - virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed." -} |