diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-02 22:52:32 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-02 22:52:32 +0000 |
commit | 7fe2ad72790eeffcca382907ff63346981eb0f41 (patch) | |
tree | bbe30eb40f6a59514e8521b3b511c96940859e12 /activesupport | |
parent | c5d89bc9344f8a4cfbfe0d42b1b2d6378820bf85 (diff) | |
download | rails-7fe2ad72790eeffcca382907ff63346981eb0f41.tar.gz rails-7fe2ad72790eeffcca382907ff63346981eb0f41.tar.bz2 rails-7fe2ad72790eeffcca382907ff63346981eb0f41.zip |
Ruby 1.9 compat: declare utf-8 file encoding
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/string_ext_test.rb | 1 | ||||
-rw-r--r-- | activesupport/test/json/encoding_test.rb | 1 | ||||
-rw-r--r-- | activesupport/test/multibyte_chars_test.rb | 1 | ||||
-rw-r--r-- | activesupport/test/multibyte_handler_test.rb | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb index 96c8ed849e..e1525d6170 100644 --- a/activesupport/test/core_ext/string_ext_test.rb +++ b/activesupport/test/core_ext/string_ext_test.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 require 'date' require 'abstract_unit' require 'inflector_test_cases' diff --git a/activesupport/test/json/encoding_test.rb b/activesupport/test/json/encoding_test.rb index 6382a444ba..1cbd472a99 100644 --- a/activesupport/test/json/encoding_test.rb +++ b/activesupport/test/json/encoding_test.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 require 'abstract_unit' class TestJSONEncoding < Test::Unit::TestCase diff --git a/activesupport/test/multibyte_chars_test.rb b/activesupport/test/multibyte_chars_test.rb index 4e4a3e2d90..63cfadb7ec 100644 --- a/activesupport/test/multibyte_chars_test.rb +++ b/activesupport/test/multibyte_chars_test.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 require 'abstract_unit' if RUBY_VERSION < '1.9' diff --git a/activesupport/test/multibyte_handler_test.rb b/activesupport/test/multibyte_handler_test.rb index a52392b8bd..5575ecc32d 100644 --- a/activesupport/test/multibyte_handler_test.rb +++ b/activesupport/test/multibyte_handler_test.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 require 'abstract_unit' if RUBY_VERSION < '1.9' |