public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/capybara/
Date: Sun, 13 May 2018 04:46:49 +0000 (UTC)	[thread overview]
Message-ID: <1526186349.520c6670167069fd68ad2c8ea51169e55fa451cd.graaff@gentoo> (raw)

commit:     520c6670167069fd68ad2c8ea51169e55fa451cd
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun May 13 04:39:09 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun May 13 04:39:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520c6670

dev-ruby/capybara: add 3.1.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/capybara/Manifest              |  1 +
 dev-ruby/capybara/capybara-3.1.0.ebuild | 50 +++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest
index 2e8424fd5cc..c96a582e18f 100644
--- a/dev-ruby/capybara/Manifest
+++ b/dev-ruby/capybara/Manifest
@@ -3,3 +3,4 @@ DIST capybara-2.16.1.gem 273408 BLAKE2B 1d1a68427fcfed9a8153e409e17fc043dd8d926c
 DIST capybara-2.18.0.gem 274432 BLAKE2B 992799362025b81a0d074fb06fdafef4c4385ca18ea85a7095d9e58625df6a59a349b60b462c5c4f403a6af955466bc46d82be6cd91724fc2b12cbe15ed74a4c SHA512 3bb994e022593d485a07296193a16cae7b45e96e87dd10b2bd4807ad2bc990801044c0493360598d1626c3e367e8de87e407f65c2c6f42674d5f1b9c0b5c1933
 DIST capybara-3.0.2.gem 275456 BLAKE2B bcf2049193062b7d16e811807faf629379bc5a94bba771d442e9680e727d765703ad4c6cf8abd9d0bb22d1971f07d897f0fc8a572182302528961fcfe8b186fb SHA512 5f2611238a58184dcd57a5ca2fff786d4ecfdbb51815c3f6afdcabbb85087baf87fc601d1506a6b880d42af32e06a62e7757b1abf455325718258d3072616a49
 DIST capybara-3.0.3.gem 276480 BLAKE2B a1aa8e8ccc3846c87bdc989f456fdd0c09f41b2939cfe322faa6ae478bacdd1d6b4b13dba55fc74edd50fcfe28eb59eb8a2add8e3fc5ba948bcf8365c0ffbb96 SHA512 7af6c04304f3308322ec374d226b6cd874ba2068be5451da482a6bd2861e404b580e4c74604f0873cd91a52f1d95117efdf850cf19eb9c6265715cff5d503c47
+DIST capybara-3.1.0.gem 282112 BLAKE2B 71b275c548e3327dcbad779d48563b6784cbfcc0e5c3ba5fa478488ef90276bab1aeeaecd229255047cd23e01be6923c68c1f753b9d76d3428cc0ce75ff3ede3 SHA512 64c7a22eb8d566b245084e7b95d79dec2c72162e003418c0367a46e1072ad83569e97702f61f9a87f996160a62df3a653543d33878c6d3a46ebc2c286fcfbfd7

diff --git a/dev-ruby/capybara/capybara-3.1.0.ebuild b/dev-ruby/capybara/capybara-3.1.0.ebuild
new file mode 100644
index 00000000000..d9c1c90896e
--- /dev/null
+++ b/dev-ruby/capybara/capybara-3.1.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="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 ~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."
+}


             reply	other threads:[~2018-05-13  4:46 UTC|newest]

Thread overview: 173+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-13  4:46 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 14:22 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/capybara/ Hans de Graaff
2024-07-13  5:36 Hans de Graaff
2024-02-29  7:14 Hans de Graaff
2024-01-28  9:49 Hans de Graaff
2023-08-20  7:00 Hans de Graaff
2023-07-24 22:50 Sam James
2023-07-12  7:46 Hans de Graaff
2023-06-16  4:50 Hans de Graaff
2023-06-10  4:20 Sam James
2023-04-07 11:25 Sam James
2023-04-07  5:53 Hans de Graaff
2023-04-07  5:53 Hans de Graaff
2023-03-28 16:38 Sam James
2023-03-24  3:58 Sam James
2023-01-10  6:40 Hans de Graaff
2023-01-10  6:40 Hans de Graaff
2022-11-04  7:48 Hans de Graaff
2022-10-01  7:55 Hans de Graaff
2022-07-03  5:55 Hans de Graaff
2022-07-03  5:55 Hans de Graaff
2022-05-11  5:29 Hans de Graaff
2022-05-08  6:40 Hans de Graaff
2022-05-07  6:33 Hans de Graaff
2022-04-02  8:57 Hans de Graaff
2022-03-20 10:04 Hans de Graaff
2021-10-26  4:21 Hans de Graaff
2021-09-18  7:59 Hans de Graaff
2021-09-18  7:59 Hans de Graaff
2021-08-24  5:59 Hans de Graaff
2021-05-04  5:29 Hans de Graaff
2021-01-30  7:04 Hans de Graaff
2021-01-28  5:57 Hans de Graaff
2021-01-26 15:52 Hans de Graaff
2021-01-26 15:52 Hans de Graaff
2020-12-20 19:14 Sam James
2020-12-20 19:03 Sam James
2020-11-27  5:36 Hans de Graaff
2020-09-05  8:01 Hans de Graaff
2020-07-22  9:02 Hans de Graaff
2020-07-22  9:02 Hans de Graaff
2020-06-22  4:20 Hans de Graaff
2020-06-22  4:20 Hans de Graaff
2020-05-17  5:10 Hans de Graaff
2020-05-11 20:34 Sergei Trofimovich
2020-05-11 20:34 Sergei Trofimovich
2020-05-02  5:18 Hans de Graaff
2020-04-25 12:16 Hans de Graaff
2020-04-06  9:28 Hans de Graaff
2020-03-30  6:07 Hans de Graaff
2020-03-14  7:48 Hans de Graaff
2020-03-12 13:47 Hans de Graaff
2020-01-27  6:40 Hans de Graaff
2020-01-27  6:40 Hans de Graaff
2019-12-25  6:56 Hans de Graaff
2019-11-16  9:57 Hans de Graaff
2019-11-16  9:57 Hans de Graaff
2019-09-03  4:21 Hans de Graaff
2019-09-03  4:21 Hans de Graaff
2019-09-03  4:21 Hans de Graaff
2019-08-04  5:56 Hans de Graaff
2019-07-29  8:11 Hans de Graaff
2019-07-23  0:42 Aaron Bauman
2019-07-22 21:06 Hans de Graaff
2019-07-22 21:06 Hans de Graaff
2019-07-22 16:56 Aaron Bauman
2019-07-16  6:56 Hans de Graaff
2019-07-10 20:44 Sergei Trofimovich
2019-07-08 11:50 Hans de Graaff
2019-07-08 11:50 Hans de Graaff
2019-06-28  4:53 Hans de Graaff
2019-06-28  4:53 Hans de Graaff
2019-06-28  4:53 Hans de Graaff
2019-06-14  4:39 Hans de Graaff
2019-06-11  5:40 Hans de Graaff
2019-05-30  6:02 Hans de Graaff
2019-05-30  6:02 Hans de Graaff
2019-05-30  6:02 Hans de Graaff
2019-05-30  6:02 Hans de Graaff
2019-05-25  5:38 Hans de Graaff
2019-05-25  5:38 Hans de Graaff
2019-05-25  5:38 Hans de Graaff
2019-05-24  7:06 Hans de Graaff
2019-05-18  4:57 Hans de Graaff
2019-05-13  5:31 Hans de Graaff
2019-05-11  5:31 Hans de Graaff
2019-04-30  5:49 Hans de Graaff
2019-04-29 18:34 Hans de Graaff
2019-04-27  6:13 Hans de Graaff
2019-04-27  6:06 Hans de Graaff
2019-04-18  6:07 Hans de Graaff
2019-03-24  8:35 Hans de Graaff
2019-02-26  7:00 Hans de Graaff
2019-02-26  7:00 Hans de Graaff
2019-01-26 16:45 Hans de Graaff
2019-01-24  6:33 Hans de Graaff
2018-12-03 16:23 Hans de Graaff
2018-11-17 23:18 Thomas Deutschmann
2018-11-17 21:48 Thomas Deutschmann
2018-11-17  6:59 Hans de Graaff
2018-10-19  5:35 Hans de Graaff
2018-09-24  4:52 Hans de Graaff
2018-09-24  4:52 Hans de Graaff
2018-09-22  5:47 Hans de Graaff
2018-09-13  5:46 Hans de Graaff
2018-09-13  5:46 Hans de Graaff
2018-09-06  5:32 Hans de Graaff
2018-09-03  5:07 Hans de Graaff
2018-09-03  5:07 Hans de Graaff
2018-08-15  4:51 Hans de Graaff
2018-08-06  5:31 Hans de Graaff
2018-07-29  8:00 Hans de Graaff
2018-07-29  8:00 Hans de Graaff
2018-07-28 13:25 Thomas Deutschmann
2018-07-28 13:25 Thomas Deutschmann
2018-07-25  6:13 Hans de Graaff
2018-07-21  4:05 Hans de Graaff
2018-06-26  4:38 Hans de Graaff
2018-06-26  4:38 Hans de Graaff
2018-06-05 19:22 Hans de Graaff
2018-06-02  6:01 Hans de Graaff
2018-05-26  4:48 Hans de Graaff
2018-05-19  7:51 Hans de Graaff
2018-05-13  4:46 Hans de Graaff
2018-05-13  4:46 Hans de Graaff
2018-05-07  4:41 Hans de Graaff
2018-04-24  4:57 Hans de Graaff
2018-02-14  7:03 Hans de Graaff
2018-02-14  7:03 Hans de Graaff
2018-01-19  7:13 Hans de Graaff
2018-01-14  8:15 Hans de Graaff
2018-01-03  7:05 Hans de Graaff
2017-12-24  8:49 Markus Meier
2017-11-21  5:42 Hans de Graaff
2017-11-14  6:54 Hans de Graaff
2017-10-22  7:15 Hans de Graaff
2017-10-08  6:48 Hans de Graaff
2017-10-08  6:48 Hans de Graaff
2017-10-04  5:24 Hans de Graaff
2017-10-03  5:35 Hans de Graaff
2017-08-06  5:22 Hans de Graaff
2017-08-05  6:14 Hans de Graaff
2017-07-24 17:51 Markus Meier
2017-07-12 12:13 Alexis Ballier
2017-07-08  7:29 Hans de Graaff
2017-06-28  6:09 Hans de Graaff
2017-06-28  6:09 Hans de Graaff
2017-06-16  5:47 Hans de Graaff
2017-06-10  5:48 Hans de Graaff
2017-06-10  5:48 Hans de Graaff
2017-06-08  5:00 Hans de Graaff
2017-05-02  4:49 Hans de Graaff
2017-04-17  9:36 Hans de Graaff
2017-03-21  6:18 Hans de Graaff
2017-03-20  6:11 Hans de Graaff
2017-02-18  6:38 Hans de Graaff
2017-01-29  8:49 Hans de Graaff
2016-10-14 14:33 Hans de Graaff
2016-10-14 14:33 Hans de Graaff
2016-10-02  6:58 Hans de Graaff
2016-09-24  7:11 Hans de Graaff
2016-08-27  6:29 Hans de Graaff
2016-08-17  5:23 Hans de Graaff
2016-05-03 18:56 Hans de Graaff
2016-04-09  8:38 Hans de Graaff
2016-04-09  8:38 Hans de Graaff
2016-04-03 21:40 Manuel Rüger
2016-02-03  7:02 Hans de Graaff
2016-01-20  6:56 Hans de Graaff
2016-01-20  6:56 Hans de Graaff
2015-08-29  6:25 Hans de Graaff
2015-08-26  5:59 Hans de Graaff
2015-08-26  5:59 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526186349.520c6670167069fd68ad2c8ea51169e55fa451cd.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox