diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-01-26 09:20:59 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-01-26 17:44:59 +0100 |
commit | f76e93e69caeb2b6f862c6c32e45a258dda955df (patch) | |
tree | 58f2e3484ee2826856edc6f1c1b215335ede074b /dev-ruby | |
parent | dev-ruby/ruby2ruby: add ruby26 (diff) | |
download | gentoo-f76e93e69caeb2b6f862c6c32e45a258dda955df.tar.gz gentoo-f76e93e69caeb2b6f862c6c32e45a258dda955df.tar.bz2 gentoo-f76e93e69caeb2b6f862c6c32e45a258dda955df.zip |
dev-ruby/capybara: add 3.13.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/capybara/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/capybara/capybara-3.13.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest index 39c88505e468..e58576ffca8f 100644 --- a/dev-ruby/capybara/Manifest +++ b/dev-ruby/capybara/Manifest @@ -1,6 +1,7 @@ DIST capybara-2.18.0.gem 274432 BLAKE2B 992799362025b81a0d074fb06fdafef4c4385ca18ea85a7095d9e58625df6a59a349b60b462c5c4f403a6af955466bc46d82be6cd91724fc2b12cbe15ed74a4c SHA512 3bb994e022593d485a07296193a16cae7b45e96e87dd10b2bd4807ad2bc990801044c0493360598d1626c3e367e8de87e407f65c2c6f42674d5f1b9c0b5c1933 DIST capybara-3.11.1.gem 310784 BLAKE2B ed2c26d0340b0c0ea0fd008436ce29a38d650bf1a7b31279863c0f84e5bcebbd534f4611e9656743cdb9c61ca9eac4c3b152d21d6b630427829f3a2e53f27057 SHA512 d97c53135d5ea040950f42750f1644c7a1ba96ff86cefbc83934a19173cae1f303f4ed5b56b95b5d7b9dfb83209312de5e129275b03d472e2614371d4234082b DIST capybara-3.12.0.gem 313344 BLAKE2B 7efac262e6bfee18a44b0a399bee0671e98c9d08e999e9c9cba5a325ed2e9da25e873d789a01d9e066a04aeab0ea3a6a35207e7d0ab05f63eca8331d93acbee8 SHA512 a0bc868fb69343c9b037fc7bfbc998662720a212821cb78a02d6dee29d841d1fc4781c6e5e6fe1d4a356ae495ea56dc356ec734b26005215a55ca1eb8a7e2789 +DIST capybara-3.13.2.gem 320512 BLAKE2B f6586c9e38ace599b8214b71e6516c2d7b236777d1cf2beba01d276e624cb1a49b2dc3c7fb74ef13d5bf666aeed2110fc4e7991ef960c7dd9af1430d9b6333db SHA512 e3d2f81934d75b6a54a80b913be411b617074412ccf15897454568dc9c35557a4825b6c7ac67b6f808dd199123c164c83af8bcc9edd61c2a02bc65723668774f DIST capybara-3.2.1.gem 284672 BLAKE2B 9da8f588049fab74c4e734626e42758cdd4baf555cfc64e7456bfab2cb4d5c90ed6bfc8ada7cc0d6323ef1113169aec70fd4254aa50c003408376ea4afe00a06 SHA512 50af1d4c49c200a4c08901d19b16826499abb8d19de8e059160c509afd555edbe620b6fd5d78f8c286feeb15a72e5a4b241cb1f14151b349fd94cdd3648b64b2 DIST capybara-3.8.1.gem 300544 BLAKE2B 05c22b603bb67d3217fa9c4c87bbd79b2249219d9a62d00c511fb7c8272092d381b7598e82cc03c5080b9c5ec20a9d64602ba37d235eea9717e741232c05c24f SHA512 ee4d2b3226e5233a092d163b4323f02ba84ad682682dc9e17a4343380e4480774eac1bba28e12a83000438c7bc1d2698fe1aabe6162ff729a243fb863f06fffb DIST capybara-3.9.0.gem 305664 BLAKE2B ee11e9dede512a49d2b652142976f34a882be2f9e02c0af6b22d4980d1c0e6c1f6f73807fee2062662625ea11e96d533c865cb9f4d25eb4918cabd0b06247bc2 SHA512 da2b9d7809d66b33288a31902ffbbad91da7b306b5035546618b987acfe40bfd99451df4be34e4eac86032e13509ca7baf4a2eef0eb4cff0dd8a265e43cc1a46 diff --git a/dev-ruby/capybara/capybara-3.13.2.ebuild b/dev-ruby/capybara/capybara-3.13.2.ebuild new file mode 100644 index 000000000000..ac78bf082bf7 --- /dev/null +++ b/dev-ruby/capybara/capybara-3.13.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +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="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 +} + +each_ruby_test() { + virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed." +} |