aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte/chars.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-5/+5
| | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
|
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-5/+5
|
* Fix doc in Multibyte::Chars [ci skip]kenta-s2017-02-171-4/+5
|
* Privatize unneededly protected methods in Active SupportAkira Matsuda2016-12-241-3/+3
|
* Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
| | | | | | Mainly around `nil` [ci skip]
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* modernizes hash syntax in activesupportXavier Noria2016-08-061-1/+1
|
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-11/+11
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* systematic revision of =~ usage in ASXavier Noria2016-07-221-1/+2
| | | | | Where appropriate prefer the more concise Regexp#match?, String#include?, String#start_with?, and String#end_with?
* Update #20737 to address feedbackSean Griffin2015-10-201-2/+5
| | | | | | | Given that this pull request affects a mutable value, we need to test for and document the affects on the receiver in this case. Additionally, this pull request was missing a CHANGELOG entry.
* Fixed slice! behavior: return nil for out-of-bound parametersGourav Tiwari2015-10-201-1/+2
|
* File encoding is defaulted to utf-8 in Ruby >= 2.1Akira Matsuda2015-09-181-1/+0
|
* Merge pull request #20297 from gouravtiwari/patch-9Claudio B.2015-05-261-0/+6
|\ | | | | Added multibyte slice! example to doc [ci skip]
| * Added multibyte slice! example to doc [ci skip]Gourav Tiwari2015-05-261-0/+6
| |
* | Remove redundant 'like' from doc of slice! method [ci skip]Mehmet Emin İNAÇ2015-05-261-1/+1
|/
* Drying up method_missing codeHitendra Singh2013-09-201-2/+1
|
* update AS/log_subscriber and AS/multibyte docs [ci skip]Francesco Rodriguez2012-09-141-24/+36
|
* 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-131-11/+0
|
* Use respond_to_missing? for CharsMarc-Andre Lafortune2012-05-051-2/+2
|
* 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-061-0/+8
|
* Use friendlier method nameNorman Clarke2012-01-051-2/+2
|
* Use friendlier method names for upcasing/downcasingNorman Clarke2012-01-051-3/+3
|
* Use more descriptive method namesNorman Clarke2012-01-051-2/+2
|
* Move include to top of class for clarityNorman Clarke2012-01-051-2/+1
|
* Replace Unicode.u_unpack with String#codepointsNorman Clarke2012-01-051-2/+2
|
* Remove "_codepoints" from compose/decomposeNorman Clarke2012-01-051-2/+2
|
* 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
|
* 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-251-3/+1
|
* 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.
* documentation fix: wrong resultAkira Matsuda2011-07-131-2/+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-301-36/+37
|