summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-05-11 19:30:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-05-11 19:30:06 +0000
commited3ce9a2f44781207d5f1bfa4b70c3d3614bcf99 (patch)
treee1c9c87fbb0a6c581f02d2e3394f06071ccee9de /dev-ruby
parentRemove old. (diff)
downloadgentoo-2-ed3ce9a2f44781207d5f1bfa4b70c3d3614bcf99.tar.gz
gentoo-2-ed3ce9a2f44781207d5f1bfa4b70c3d3614bcf99.tar.bz2
gentoo-2-ed3ce9a2f44781207d5f1bfa4b70c3d3614bcf99.zip
Add support for Rails 3.2, Ruby 1.9.
(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/best_in_place/ChangeLog6
-rw-r--r--dev-ruby/best_in_place/best_in_place-1.0.6.ebuild10
2 files changed, 10 insertions, 6 deletions
diff --git a/dev-ruby/best_in_place/ChangeLog b/dev-ruby/best_in_place/ChangeLog
index bf36dc42ceae..b536b05469f0 100644
--- a/dev-ruby/best_in_place/ChangeLog
+++ b/dev-ruby/best_in_place/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/best_in_place
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v 1.4 2012/01/24 10:38:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v 1.5 2012/05/11 19:30:06 flameeyes Exp $
+
+ 11 May 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ best_in_place-1.0.6.ebuild:
+ Add support for Rails 3.2, Ruby 1.9.
*best_in_place-1.0.6 (24 Jan 2012)
diff --git a/dev-ruby/best_in_place/best_in_place-1.0.6.ebuild b/dev-ruby/best_in_place/best_in_place-1.0.6.ebuild
index 42df3614cdb3..0556d12ab906 100644
--- a/dev-ruby/best_in_place/best_in_place-1.0.6.ebuild
+++ b/dev-ruby/best_in_place/best_in_place-1.0.6.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/best_in_place-1.0.6.ebuild,v 1.1 2012/01/24 10:38:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/best_in_place-1.0.6.ebuild,v 1.2 2012/05/11 19:30:06 flameeyes Exp $
EAPI=4
-USE_RUBY="ruby18 ree18"
+USE_RUBY="ruby18 ree18 ruby19"
RUBY_FAKEGEM_TASK_TEST="spec"
@@ -28,7 +28,7 @@ KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend "
- dev-ruby/rails:3.1
+ || ( dev-ruby/rails:3.2 dev-ruby/rails:3.1 )
dev-ruby/jquery-rails
"
@@ -49,10 +49,10 @@ all_ruby_prepare() {
-e '/rspec-rails/s:,.*::' \
${RUBY_FAKEGEM_GEMSPEC} || die
- # let test_app work with Rails 3.1 (since we lack 3.2 for now).
+ # let test_app work with Rails 3.1
sed -i \
-e '/gem .rails/s:3.2:~> 3.1:' \
- -e '/gem .\(coffee\|sass\)/s:3\.2\..:3.1.0:' \
+ -e '/gem .\(coffee\|sass\)/s:3\.2\..:3.1:' \
test_app/Gemfile || die
}