Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/capybara: ChangeLog capybara-2.0.2.ebuild
Date: Tue, 26 Feb 2013 07:14:52
Message-Id: 20130226071447.9F1FD2171D@flycatcher.gentoo.org
1 graaff 13/02/26 07:14:47
2
3 Modified: ChangeLog
4 Added: capybara-2.0.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.14 dev-ruby/capybara/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/capybara/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/capybara/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/capybara/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/capybara/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 16 Dec 2012 09:22:18 -0000 1.13
24 +++ ChangeLog 26 Feb 2013 07:14:47 -0000 1.14
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/capybara
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/ChangeLog,v 1.13 2012/12/16 09:22:18 graaff Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/ChangeLog,v 1.14 2013/02/26 07:14:47 graaff Exp $
31 +
32 +*capybara-2.0.2 (26 Feb 2013)
33 +
34 + 26 Feb 2013; Hans de Graaff <graaff@g.o> +capybara-2.0.2.ebuild:
35 + Version bump.
36
37 *capybara-1.1.4 (16 Dec 2012)
38
39
40
41
42 1.1 dev-ruby/capybara/capybara-2.0.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/capybara/capybara-2.0.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/capybara/capybara-2.0.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: capybara-2.0.2.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/capybara-2.0.2.ebuild,v 1.1 2013/02/26 07:14:47 graaff Exp $
52
53 EAPI=4
54 USE_RUBY="ruby19"
55
56 RUBY_FAKEGEM_EXTRADOC="History.md README.md"
57
58 # Rake tasks are not distributed in the gem.
59 RUBY_FAKEGEM_TASK_DOC=""
60 RUBY_FAKEGEM_TASK_TEST=""
61
62 inherit virtualx ruby-fakegem
63
64 DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications."
65 HOMEPAGE="http://github.com/jnicklas/capybara"
66 LICENSE="MIT"
67
68 KEYWORDS="~amd64"
69 SLOT="2"
70 IUSE="test"
71
72 # Restrict tests until launchy is part of the main tree. With it
73 # installed all tests should pass.
74 RESTRICT="test"
75
76 #ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy www-client/firefox )"
77
78 ruby_add_rdepend "
79 >=dev-ruby/mime-types-1.16
80 >=dev-ruby/nokogiri-1.3.3
81 >=dev-ruby/rack-1.0.0
82 >=dev-ruby/rack-test-0.5.4
83
84 >=dev-ruby/selenium-webdriver-2.0
85 >=dev-ruby/xpath-1.0.0:1"
86
87 all_ruby_prepare() {
88 sed -i -e '/bundler/d' spec/spec_helper.rb || die
89 }
90
91 each_ruby_test() {
92 VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec"
93 virtualmake || die "Tests failed."
94 }