aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/multibyte_conformance.rb
diff options
context:
space:
mode:
authorNorman Clarke <norman@njclarke.com>2010-05-10 10:46:37 -0300
committerJeremy Kemper <jeremy@bitsweat.net>2010-05-21 12:24:54 -0700
commitf3abc8ac36055afed9fcc902c33ee146e066d17a (patch)
tree976019d8d451c2df0adc004d00e750b56fd6f6f6 /activesupport/test/multibyte_conformance.rb
parentad4be3d75d46a04eb7a1d5a60bdfe68356a43e8b (diff)
downloadrails-f3abc8ac36055afed9fcc902c33ee146e066d17a.tar.gz
rails-f3abc8ac36055afed9fcc902c33ee146e066d17a.tar.bz2
rails-f3abc8ac36055afed9fcc902c33ee146e066d17a.zip
Use multibyte proxy class on 1.9, refactor Unicode.
Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport/test/multibyte_conformance.rb')
-rw-r--r--activesupport/test/multibyte_conformance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/multibyte_conformance.rb b/activesupport/test/multibyte_conformance.rb
index caae4791b4..6ec9a839af 100644
--- a/activesupport/test/multibyte_conformance.rb
+++ b/activesupport/test/multibyte_conformance.rb
@@ -28,7 +28,7 @@ end
class MultibyteConformanceTest < Test::Unit::TestCase
include MultibyteTestHelpers
- UNIDATA_URL = "http://www.unicode.org/Public/#{ActiveSupport::Multibyte::UNICODE_VERSION}/ucd"
+ UNIDATA_URL = "http://www.unicode.org/Public/#{ActiveSupport::Multibyte::Unicode::UNICODE_VERSION}/ucd"
UNIDATA_FILE = '/NormalizationTest.txt'
CACHE_DIR = File.join(Dir.tmpdir, 'cache')