From 434d713861b70f6c6563d6ee50a8e64f14c970d9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 15 Feb 2018 16:58:00 +0000 Subject: gentoo resync : 15.02.2018 --- dev-ruby/capybara/Manifest | 3 +- dev-ruby/capybara/capybara-2.14.4.ebuild | 47 ------------------------------ dev-ruby/capybara/capybara-2.18.0.ebuild | 50 ++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 48 deletions(-) delete mode 100644 dev-ruby/capybara/capybara-2.14.4.ebuild create mode 100644 dev-ruby/capybara/capybara-2.18.0.ebuild (limited to 'dev-ruby/capybara') diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index d0643bcfa3f3..c95aeb684ffa 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,6 +1,7 @@ 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 EBUILD capybara-2.14.4-r1.ebuild 1506 BLAKE2B f2bac2b3122085a3190e5bfe14af9fc2a57629488ae418e1115b26975b5aa4d80bfffaa492c91457ee3ee5663b0197b2dd792a0755617151c26a445b4b1ce835 SHA512 98a6096c892facbbd9f665fa9cfefdebce53fb7ce328b0a4b97716c58a090089e2dfd9b2454763fc4eebd384871bb964780b8fc9e2a883b31ee169781a1fde20 -EBUILD capybara-2.14.4.ebuild 1352 BLAKE2B 868ff6d1d8e9619b0c750679692e5687bb7d940f498bd7659cc673d07ad4174af58d0a5437fdd75427f6a77816915c1fd49b2430a0e6e9aa810d6b8e7e584bc7 SHA512 e979fef0dc97221dc2d47a85afa6fa817f7f42acf6f6ec168a1cc9f48b58e057bdb208f2c366b2958f26bc9e8a7f55b5b1aac8fa484c42f515d1476958fe2447 EBUILD capybara-2.16.1.ebuild 1498 BLAKE2B d202e916357b80811c9bd15a775759a64dc17ce09e0132b20ecb643a416f44f9335b64e5804059dfa646864702c7e764cff8c5afea70c134d3c9b804554ad7e4 SHA512 577955edb3eff8d228520bd2b041d7591b80e26fbd90bd2bccc59f695950ca6d749069963cbc36da75796e4b9485c9a3189f4e52349d16779e0619fd82d967a5 +EBUILD capybara-2.18.0.ebuild 1515 BLAKE2B 35283033d1284306a623102a8cd5c433fb390ee0b990c2d19e8766932814b794bfee6dcf73628290bc93acd4f3af246e25fa87ebfb77d6bca4c7a05ea0d8f9c0 SHA512 22e620e2b80b115cc304584f85f2eeb8500353d8a65e6617daa58607d2c49fc731542b5f91ce1f4687ff42f45529e19d8052527b3b523110ddc999be8b01843f MISC metadata.xml 343 BLAKE2B 93caed6f938d8f2c10a7106e7377812064351018521cbb63477340af9531c5c67940097580c5f7610cea03b0dde6853c9fcbe9ab8cf5daa2a49018b8888e20fc SHA512 1e526463690f3ff61390ed77cb528352bdd1c089b368c3f6ab587766d81167afe99f752b861233f755e10bf2aa6f09dde98a9dc359d51392f15b55462ba66e77 diff --git a/dev-ruby/capybara/capybara-2.14.4.ebuild b/dev-ruby/capybara/capybara-2.14.4.ebuild deleted file mode 100644 index 4e501520f353..000000000000 --- a/dev-ruby/capybara/capybara-2.14.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby21 ruby22 ruby23" - -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 dev-ruby/sinatra )" - -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' -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 '/register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die -} - -each_ruby_test() { - virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed." -} diff --git a/dev-ruby/capybara/capybara-2.18.0.ebuild b/dev-ruby/capybara/capybara-2.18.0.ebuild new file mode 100644 index 000000000000..ba610c94d2f3 --- /dev/null +++ b/dev-ruby/capybara/capybara-2.18.0.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 ~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 dev-ruby/sinatra )" + +ruby_add_rdepend " + dev-ruby/addressable + >=dev-ruby/mini_mime-0.1.3 + >=dev-ruby/nokogiri-1.3.3 + >=dev-ruby/rack-1.0.0:* + >=dev-ruby/rack-test-0.5.4:* + || ( dev-ruby/xpath:3 dev-ruby/xpath:2 )" + +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 '/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." +} -- cgit v1.2.3