aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest Unicode data.Norman Clarke2013-02-101-1/+1
| | | | Release notes at: http://www.unicode.org/versions/Unicode6.2.0/
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-2/+2
| | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]]
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-2/+2
|
* update AS/log_subscriber and AS/multibyte docs [ci skip]Francesco Rodriguez2012-09-142-45/+67
|
* Avoid unnecessary catching of Exception instead of StandardError.Dylan Smith2012-06-171-1/+1
|
* fix warning in Ruby2.0.0takkanm2012-06-111-1/+1
| | | | | | | ``` rails/activesupport/lib/active_support/multibyte/chars.rb:136: warning: character class has duplicated range: /\b('?[\S])/ ```
* make AS::Multibyte::Chars work w/o multibyte core extSergey Nartimov2012-05-281-1/+1
| | | | | | Use ActiveSupport::Multibyte::Chars.new instead of String#mb_chars. It allows to use ActiveSupport::Multibyte::Chars without requiring String multibyte core extension.
* removing unnecessary 'examples' noise from activesupportFrancesco Rodriguez2012-05-132-14/+0
|
* Use respond_to_missing? for CharsMarc-Andre Lafortune2012-05-051-2/+2
|
* Update Unicode database to recently-released 6.1.Norman Clarke2012-02-031-1/+1
| | | | http://www.geek.com/articles/geek-pick/unicode-6-1-released-complete-with-emoji-characters-and-a-pile-of-poo-2012022/
* Build fix when running isolated testArun Agrawal2012-02-011-0/+1
|
* Added as_json method for multibyte stringsDmitriy Vorotilin2012-02-011-0/+4
|
* Improve doc consistencyNorman Clarke2012-01-061-3/+3
|
* Implement Chars#swapcase.Norman Clarke2012-01-062-0/+16
|
* Use friendlier method nameNorman Clarke2012-01-051-2/+2
|
* Use friendlier method names for upcasing/downcasingNorman Clarke2012-01-052-12/+20
|
* Use more descriptive method namesNorman Clarke2012-01-052-8/+8
|
* Move include to top of class for clarityNorman Clarke2012-01-051-2/+1
|
* Replace Unicode.u_unpack with String#codepointsNorman Clarke2012-01-053-26/+5
|
* Remove multibyte utilsNorman Clarke2012-01-051-27/+0
| | | | This is neither a public API, nor used internally, so let's remove it.
* Remove "_codepoints" from compose/decomposeNorman Clarke2012-01-052-9/+9
|
* Remove unused code.Norman Clarke2012-01-051-25/+0
|
* Document method definitionNorman Clarke2012-01-051-0/+2
|
* Just use Ruby's String#[]=Norman Clarke2012-01-051-41/+0
|
* Assume Encoding supportNorman Clarke2012-01-051-5/+1
|
* Update to Unicode 6.0Norman Clarke2012-01-051-1/+1
|
* Remove useless parensNorman Clarke2012-01-051-1/+1
|
* Just delegate a few methods directly to @wrapped_stringNorman Clarke2012-01-051-20/+3
|
* Merge branch 'refactor-multibyte-chars' of https://github.com/lest/rails ↵Norman Clarke2012-01-051-11/+5
|\ | | | | | | | | | | | | into multibyte Conflicts: activesupport/lib/active_support/multibyte/chars.rb
| * refactor AS::Multibyte::CharsSergey Nartimov2012-01-051-39/+5
| |
* | Make return value from bang methods match Ruby docsNorman Clarke2012-01-051-2/+2
| | | | | | | | | | The docs for the String class indicate that methods like `rstrip!` and others should return nil when they do not have an effect on the string.
* | Override #slice! to ensure proper return value.Norman Clarke2012-01-051-0/+4
| | | | | | | | | | The default pass-through to `method_missing` makes `#slice!` return `self` rather than the string that was sliced off.
* | Remove overidden slice and slice! methods.Norman Clarke2012-01-051-29/+1
|/
* remove checks for encodings availabilitySergey Nartimov2011-12-252-47/+12
|
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-201-155/+6
| | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome.
* adds a couple of missing magic comments [fixes #1374]Xavier Noria2011-07-231-0/+1
|
* documentation fix: wrong resultAkira Matsuda2011-07-131-2/+1
|
* Active Support typos.R.T. Lechow2011-03-051-1/+1
|
* save a few method callsAaron Patterson2010-10-221-2/+3
|
* removing wtfalseAaron Patterson2010-10-221-1/+1
|
* removing unused codeAaron Patterson2010-08-221-1/+1
|
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-302-40/+41
|
* Removes unused varsSantiago Pastorino2010-07-241-6/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Improve bang method defs, make slice! operate in-place. [#5028 state:resolved]Norman Clarke2010-07-081-19/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Improve the idiom used in multibyte chars a bit.José Valim2010-06-301-3/+3
|
* Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵Alex Muntean2010-06-301-1/+2
| | | | | | offset is negative [#4717 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Update Unicode database to 5.2.0. [#5011 state:resolved]Norman Clarke2010-06-301-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix AS::MB::Chars#+ to not alter self [#4646 state:resolved]James MacAulay2010-06-301-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Move some methods into 1.8.x-only proxy. [#4978 state:resolved]Norman Clarke2010-06-261-40/+39
| | | | | | | | These methods had been overridden because they had bugs on 1.9.1. Since Rails now supports only 1.9.2, and these methods now work properly on that version, there's no longer any need to override them. Signed-off-by: José Valim <jose.valim@gmail.com>
* Adds titleize/titlecase to AS::Multibyte::CharsNorman Clarke2010-06-201-0/+10
| | | | | | [#2794 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>