summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-23 21:46:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-23 21:46:19 +0000
commit2d568a500e44e236c46cae6e9550bdb013390a9b (patch)
treee7df285dbc94a502a276b02018be81ea3f8e545a /dev-ruby/i18n/files
parentDepend on a newer version of Ruby-Inline for correct REE18 support; prebuild ... (diff)
downloadgentoo-2-2d568a500e44e236c46cae6e9550bdb013390a9b.tar.gz
gentoo-2-2d568a500e44e236c46cae6e9550bdb013390a9b.tar.bz2
gentoo-2-2d568a500e44e236c46cae6e9550bdb013390a9b.zip
Update i18n to 0.3.7, add (realistic) REE18 and JRuby support.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/i18n/files')
-rw-r--r--dev-ruby/i18n/files/i18n-0.3.7-gentoo.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/i18n/files/i18n-0.3.7-gentoo.patch b/dev-ruby/i18n/files/i18n-0.3.7-gentoo.patch
new file mode 100644
index 000000000000..17fd05bf7430
--- /dev/null
+++ b/dev-ruby/i18n/files/i18n-0.3.7-gentoo.patch
@@ -0,0 +1,32 @@
+diff --git a/test/backend/interpolation_compiler_test.rb b/test/backend/interpolation_compiler_test.rb
+index 5051299..5852b9c 100644
+--- a/test/backend/interpolation_compiler_test.rb
++++ b/test/backend/interpolation_compiler_test.rb
+@@ -104,5 +104,5 @@ class I18nBackendInterpolationCompilerTest < Test::Unit::TestCase
+ end
+
+ # I kinda don't think this really is a correct behavior
+- undef :'test interpolation: given no values it does not alter the string'
+-end
+\ No newline at end of file
++ undef_method 'test interpolation: given no values it does not alter the string'
++end
+diff --git a/test/test_setup_requirements.rb b/test/test_setup_requirements.rb
+index d5a2cbe..a057042 100644
+--- a/test/test_setup_requirements.rb
++++ b/test/test_setup_requirements.rb
+@@ -34,6 +34,7 @@ end
+
+ def setup_active_record
+ begin
++ require 'sqlite3'
+ require 'active_record'
+ ActiveRecord::Base.connection
+ true
+@@ -63,4 +64,4 @@ def connect_active_record
+ t.boolean :is_proc, :default => false
+ end
+ end
+-end
+\ No newline at end of file
++end