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