Manfred Stienstra
|
3c9eedec3c
|
Move multibyte test helpers to a separate file and make the conformance tests run again.
|
2008-09-21 17:37:38 +02:00 |
|
Manfred Stienstra
|
85c05b5394
|
Add tests for u_unpack to make sure it raises an EncodingError on invalid UTF-8 strings.
|
2008-09-21 17:30:45 +02:00 |
|
Manfred Stienstra
|
809af7f558
|
Non-string results from forwarded methods should be returned vertabim.
|
2008-09-21 17:29:22 +02:00 |
|
Manfred Stienstra
|
8abef4fd0d
|
All methods which normally return a string now return a proxy instance.
|
2008-09-21 17:25:36 +02:00 |
|
Manfred Stienstra
|
042fd97127
|
Add a test for ActiveSupport::Multibyte::Chars.consumes?.
|
2008-09-21 17:22:26 +02:00 |
|
Manfred Stienstra
|
22f75d539d
|
Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9.
* Unicode methods are now defined directly on Chars instead of a handler
* Updated Unicode database to Unicode 5.1.0
* Improved documentation
|
2008-09-21 17:21:30 +02:00 |
|
Manfred Stienstra
|
babbc1580d
|
Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars values.
- Adds String#acts_like_string?
- Adds Chars#acts_like_string?
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1029 state:committed]
|
2008-09-11 22:51:26 +02:00 |
|
Jeremy Kemper
|
7fe2ad7279
|
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
|
2008-02-02 22:52:32 +00:00 |
|
Jeremy Kemper
|
42622f23b4
|
Fix invalid time test. Closes #10632 [Dirkjan Bussink]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 08:26:37 +00:00 |
|
Jeremy Kemper
|
c95002c284
|
Multibyte: String#chars returns self for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8460 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:21:43 +00:00 |
|
Jeremy Kemper
|
909b2c1acf
|
Multibyte: String#chars uses passthrough handler for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:21:20 +00:00 |
|
Michael Koziarski
|
73f72eeec2
|
Make the utf-handler return the correct value for non-matching regular expressions. Closes #9049 [manfred]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-08-05 00:51:16 +00:00 |
|
Jeremy Kemper
|
428d1f67da
|
Multibyte strings respond_to the String methods they proxy so they can be duck-typed. Closes #6549.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-28 23:33:54 +00:00 |
|
Michael Koziarski
|
e899190826
|
Pull in latest multibyte patch. Closes #6346 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-04 09:03:57 +00:00 |
|
Michael Koziarski
|
f238d495b7
|
Add ActiveSupport::Multibyte. Provides String#chars which lets you deal with strings as a sequence of chars, not of bytes. Closes #6242 [Julian Tarkhanov, Manfred Stienstra & Jan Behrens]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-03 23:45:32 +00:00 |
|