Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/best_in_place: best_in_place-1.1.2.ebuild ChangeLog
Date: Tue, 29 May 2012 15:48:00
Message-Id: 20120529154751.381542004B@flycatcher.gentoo.org
1 flameeyes 12/05/29 15:47:51
2
3 Modified: ChangeLog
4 Added: best_in_place-1.1.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 dev-ruby/best_in_place/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 14 May 2012 18:14:00 -0000 1.6
24 +++ ChangeLog 29 May 2012 15:47:51 -0000 1.7
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/best_in_place
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v 1.6 2012/05/14 18:14:00 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v 1.7 2012/05/29 15:47:51 flameeyes Exp $
30 +
31 +*best_in_place-1.1.2 (29 May 2012)
32 +
33 + 29 May 2012; Diego E. Pettenò <flameeyes@g.o>
34 + +best_in_place-1.1.2.ebuild:
35 + Version bump.
36
37 *best_in_place-1.1.0 (14 May 2012)
38
39
40
41
42 1.1 dev-ruby/best_in_place/best_in_place-1.1.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/best_in_place-1.1.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/best_in_place-1.1.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: best_in_place-1.1.2.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/best_in_place-1.1.2.ebuild,v 1.1 2012/05/29 15:47:51 flameeyes Exp $
52
53 EAPI=4
54 USE_RUBY="ruby18 ree18 ruby19"
55
56 RUBY_FAKEGEM_TASK_TEST="spec"
57
58 RUBY_FAKEGEM_TASK_DOC=""
59 RUBY_FAKEGEM_EXTRADOC="README.md"
60
61 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
62
63 # if ever needed
64 #GITHUB_USER="bernat"
65 #GITHUB_PROJECT="${PN}"
66 #RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
67
68 inherit virtualx ruby-fakegem
69
70 DESCRIPTION="In-place editor helper for Rails 3o"
71 HOMEPAGE="http://github.com/bernat/best_in_place"
72
73 LICENSE="MIT"
74 SLOT="3"
75 KEYWORDS="~amd64"
76 IUSE=""
77
78 ruby_add_rdepend ">=dev-ruby/rails-3.1
79 dev-ruby/jquery-rails"
80
81 ruby_add_bdepend "
82 test? (
83 dev-ruby/rspec-rails
84 >=dev-ruby/nokogiri-1.5.0
85 >=dev-ruby/capybara-1.0.1
86 dev-ruby/rails:3.2
87 >=dev-ruby/sqlite3-ruby-1.3.4-r1
88 dev-ruby/kramdown
89 )"
90
91 DEPEND+=" test? ( www-client/firefox )"
92
93 all_ruby_prepare() {
94 epatch "${FILESDIR}"/${PN}-1.1.0-kramdown.patch
95
96 sed -i \
97 -e '/git ls-files/d' \
98 -e '/rspec-rails/s:,.*::' \
99 ${RUBY_FAKEGEM_GEMSPEC} || die
100
101 sed -i \
102 -e '/gem .rails/s:3.2: ~> 3.2.0:' \
103 -e '/group :assets/,/^end/ d' \
104 test_app/Gemfile || die
105 }
106
107 each_ruby_test() {
108 RAILS_ENV=test ${RUBY} -C test_app -S rake db:migrate || die "test_app migration failed"
109 VIRTUALX_COMMAND="${RUBY}" virtualmake -S rake spec || die "Specs failed"
110 }