aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/string_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36185 from jonathanhefner/optimize-string-first-and-lastRafael França2019-07-281-12/+20
|\
| * Improve String#first and #last performanceJonathan Hefner2019-05-051-12/+20
* | Remove tough to grasp -1 + 1 = 0 from String#toKasper Timm Hansen2019-07-261-0/+2
|/
* Frozen truncate (#36109)Jordan Thomas2019-04-261-0/+5
* Fix bug with parametrize when `locale` is passedSharang Dashputre2019-03-121-0/+6
* Merge pull request #33058 from gmcgibbon/string_first_last_negative_deprecationRafael França2018-10-021-0/+18
|\
| * Add deprecation warning when String#first and String#last receive negative in...Gannon McGibbon2018-09-281-0/+18
* | Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
|/
* Handle more unsafe String methods (#33990)Janosch Müller2018-09-271-0/+48
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-9/+9
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-2/+2
* String#truncate_bytes: limit to N bytes without breaking multibyte charsJeremy Daer2018-02-181-0/+62
* `String#strip_heredoc` preserves frozennessJeremy Daer2018-02-171-0/+4
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-31/+31
* Fixed typo in test for activesupport parameterizePierre Hedkvist2017-11-011-1/+1
* Update String#camelize to provide feedback when wrong option is passedRicardo Díaz2017-08-021-0/+7
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Make ActiveSupport frozen string literal friendly.Pat Allan2017-06-201-9/+10
|/
* Merge pull request #28480 from mubashirhanif/add_keep_id_suffix_option_to_hum...Rafael Mendonça França2017-03-281-0/+12
|\
| * Added options hash to titleize method and keep_id_suffix option to humanizeMubashir Hanif2017-03-211-0/+12
* | Add more missing requiresAndrew White2017-02-221-0/+1
* | Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-121-1/+1
* | assert_equal takes expectation firstAkira Matsuda2016-12-261-9/+9
* | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
|/
* Remove deprecated separator argument from parameterizeAndrew White2016-11-141-16/+0
* modernizes hash syntax in activesupportXavier Noria2016-08-061-15/+15
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-62/+62
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-11/+11
* Fix tests when preserving timezonesAndrew White2016-05-051-4/+11
* Fix to_yaml test when run individuallyAndrew White2016-05-051-0/+1
* Match `String#to_time`'s behaviour to rubySiim Liiser2016-04-041-0/+1
* Fix method String#upcase_firstbogdanvlviv2016-03-311-0/+8
* Add upcase_first methodGlauco Custódio2016-02-251-0/+4
* Parameterize with options to preserve case of stringSwaathi K2015-11-071-2/+36
* Handle invalid UTF-8 strings when HTML escapingGrey Baker2015-06-081-2/+8
* Removed mocha stubbing in active_supportRonak Jangir2015-06-071-86/+92
* Merge pull request #19076 from nygrenh/truncate-words-fixRafael Mendonça França2015-02-251-0/+9
|\
| * Fix a backtracking problem in String#truncate_wordsHenrik Nygren2015-02-251-0/+9
|/
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Remove deprecated `ActiveSupport::SafeBuffer#prepend`Rafael Mendonça França2015-01-041-10/+0
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-6/+2
* added example of squish!, remove, test case for multiple occurrence ofRishi Jain2014-11-061-0/+6
* tests, add note about the usage of a specific timezone. Closes #17448.Yves Senn2014-11-051-1/+1
* Fix broken string_ext_test due to change in timezonePrathamesh Sonpatki2014-11-051-1/+1
* Make `String#remove` and `String#remove!` accept multiple argumentsPavel Pravosud2014-10-251-2/+12