summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-04-26 06:10:56 +0000
committerHans de Graaff <graaff@gentoo.org>2014-04-26 06:10:56 +0000
commitd89a22398213db86653adaab7e181507053da8a2 (patch)
tree91814f3675617c792039bd3678e039c3e788b65b /dev-ruby/tzinfo
parentdrop old (diff)
downloadgentoo-2-d89a22398213db86653adaab7e181507053da8a2.tar.gz
gentoo-2-d89a22398213db86653adaab7e181507053da8a2.tar.bz2
gentoo-2-d89a22398213db86653adaab7e181507053da8a2.zip
Add ruby21. Run all tests.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r--dev-ruby/tzinfo/ChangeLog5
-rw-r--r--dev-ruby/tzinfo/tzinfo-1.1.0.ebuild17
2 files changed, 8 insertions, 14 deletions
diff --git a/dev-ruby/tzinfo/ChangeLog b/dev-ruby/tzinfo/ChangeLog
index 101d9a58c5d3..59965deeb3cb 100644
--- a/dev-ruby/tzinfo/ChangeLog
+++ b/dev-ruby/tzinfo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/tzinfo
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.129 2014/04/22 03:20:18 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.130 2014/04/26 06:10:56 graaff Exp $
+
+ 26 Apr 2014; Hans de Graaff <graaff@gentoo.org> tzinfo-1.1.0.ebuild:
+ Add ruby21. Run all tests.
22 Apr 2014; Manuel Rüger <mrueg@gentoo.org> tzinfo-0.3.37-r1.ebuild,
tzinfo-0.3.37.ebuild, tzinfo-0.3.38.ebuild, tzinfo-1.1.0.ebuild:
diff --git a/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild b/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild
index e9c12e98e639..d01ab544baaa 100644
--- a/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild
+++ b/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild,v 1.5 2014/04/22 03:20:18 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild,v 1.6 2014/04/26 06:10:56 graaff Exp $
EAPI=5
-USE_RUBY="ruby19 ruby20"
+USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="doc"
@@ -25,17 +25,8 @@ DEPEND="test? ( sys-libs/timezone-data )"
ruby_add_rdepend ">=dev-ruby/thread_safe-0.1:0"
all_ruby_prepare() {
- # With rubygems 1.3.1 we get the following warning
- # warning: Insecure world writable dir /var/tmp in LOAD_PATH, mode 041777
- # when running the test_get_tainted_not_loaded test.
- sed -i \
- -e '/^ def test_get_tainted_not_loaded/, /^ end/ s:^:#:' \
- -e '/test_get_tainted_not_previously_loaded/,/^ end/ s:^:#:' \
- "${S}"/test/tc_timezone.rb || die "unable to sed out the test"
-
- sed -i \
- -e '/test_load_timezone_info_tainted/,/^ end/ s:^:#:' \
- test/tc_ruby_data_source.rb || die
+ # Set the secure permissions that tests expect.
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
}
each_ruby_test() {