Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [f3abc8ac36055afed9fcc902c33ee146e066d17a] by Norman Clarke

Revision f3abc8ac36055afed9fcc902c33ee146e066d17a, committed by Norman Clarke · May 21st, 2010 @ 08:24 PM

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
http://github.com/rails/rails/commit/f3abc8ac36055afed9fcc902c33ee1...

13 changed files

  • A activesupport/lib/active_support/multibyte/unicode.rb
  • R activesupport/lib/active_support/multibyte/unicode_database.rb
  • M activesupport/CHANGELOG
  • M activesupport/bin/generate_tables
  • M activesupport/lib/active_support/core_ext/string/multibyte.rb
  • M activesupport/lib/active_support/inflector/transliterate.rb
  • M activesupport/lib/active_support/multibyte.rb
  • M activesupport/lib/active_support/multibyte/chars.rb
  • M activesupport/lib/active_support/values/unicode_tables.dat
  • M activesupport/test/core_ext/string_ext_test.rb
  • M activesupport/test/multibyte_chars_test.rb
  • M activesupport/test/multibyte_conformance.rb
  • M activesupport/test/multibyte_unicode_database_test.rb