summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-27 13:25:02 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-27 13:25:02 +0000
commit59e0676968c31c71156643a318a150f1fcd52571 (patch)
treec7ade648de75c70ceb6b21c55d2de4b00c499cb7 /dev-ruby/bundler
parentdev-python/diff-match-patch: Initial ebuild. (diff)
downloadgentoo-2-59e0676968c31c71156643a318a150f1fcd52571.tar.gz
gentoo-2-59e0676968c31c71156643a318a150f1fcd52571.tar.bz2
gentoo-2-59e0676968c31c71156643a318a150f1fcd52571.zip
Add ruby19.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/bundler')
-rw-r--r--dev-ruby/bundler/ChangeLog5
-rw-r--r--dev-ruby/bundler/bundler-1.0.21.ebuild16
2 files changed, 17 insertions, 4 deletions
diff --git a/dev-ruby/bundler/ChangeLog b/dev-ruby/bundler/ChangeLog
index f3f318dc6e98..b5cc0353654a 100644
--- a/dev-ruby/bundler/ChangeLog
+++ b/dev-ruby/bundler/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/bundler
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v 1.31 2011/10/20 17:38:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v 1.32 2011/12/27 13:25:02 graaff Exp $
+
+ 27 Dec 2011; Hans de Graaff <graaff@gentoo.org> bundler-1.0.21.ebuild:
+ Add ruby19.
20 Oct 2011; Hans de Graaff <graaff@gentoo.org> bundler-1.0.18.ebuild,
bundler-1.0.21.ebuild:
diff --git a/dev-ruby/bundler/bundler-1.0.21.ebuild b/dev-ruby/bundler/bundler-1.0.21.ebuild
index 63c7aa1e8a16..5ed345948053 100644
--- a/dev-ruby/bundler/bundler-1.0.21.ebuild
+++ b/dev-ruby/bundler/bundler-1.0.21.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.0.21.ebuild,v 1.2 2011/10/20 17:38:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.0.21.ebuild,v 1.3 2011/12/27 13:25:02 graaff Exp $
EAPI=2
-# ruby19 → uncountable number of test failures
# jruby → needs to be tested because jruby-1.5.1 fails in multiple
# ways unrelated to this package.
-USE_RUBY="ruby18 ree18"
+USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_TEST="spec"
@@ -44,3 +43,14 @@ all_ruby_prepare() {
# regression.
sed -i -e '49,54d' spec/install/deploy_spec.rb || die
}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby19)
+ # Account for different wording in ruby 1.9.3.
+ sed -i -e 's/no such file to load/cannot load such file/' spec/runtime/require_spec.rb spec/install/gems/groups_spec.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}