aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/inflector_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-14/+14
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-14/+14
* Merge pull request #30782 from NickLaMuro/improve_performance_of_inflectionsMatthew Draper2017-11-141-0/+6
|\
| * Deprecate ActiveSupport::Inflector#acronym_regexNick LaMuro2017-10-281-0/+6
* | Fix acronym support in `humanize`Andrew White2017-11-061-0/+13
|/
* [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
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix pluralization of uncountables when given a localeEilis Hamilton2017-05-191-0/+7
* Merge pull request #28480 from mubashirhanif/add_keep_id_suffix_option_to_hum...Rafael Mendonça França2017-03-281-0/+13
|\
| * Added options hash to titleize method and keep_id_suffix option to humanizeMubashir Hanif2017-03-211-0/+13
* | This seems to be working on JRuby 9KAkira Matsuda2017-01-251-10/+0
* | Make the tests for uncountability of ascii and non-ascii words uniformPrathamesh Sonpatki2016-12-311-11/+21
* | Merge pull request #12509 from eitoball/pluralize_for_non_ascii_character_wordsMatthew Draper2016-12-311-0/+8
|\ \ | |/ |/|
| * fix pluralize behavior for words that consist of non-ascii charactersEito Katagiri2015-07-021-0/+9
* | Remove deprecated separator argument from parameterizeAndrew White2016-11-141-18/+0
* | Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-6/+6
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | applies new string literal convention in activesupport/testXavier Noria2016-08-061-26/+26
* | Parameterize with options to preserve case of stringSwaathi K2015-11-071-2/+20
|/
* Fix inflector test by using dup inflections when it needs to be changedRoque Pinel2015-06-151-86/+68
* Replace Enumerable#reverse.each with Enumerable#reverse_eachErik Michaels-Ober2014-10-131-2/+2
* Fix underscore inflector handling of adjacent acronymsJames Le Cuirot2014-10-031-0/+3
* Fix for inflector's incorrect camelCase replacement for acronymsMatthew Draper2014-09-061-0/+1
* Make the apply_inflections method case-sensitiveRobin Dupret2014-06-261-0/+8
* Merge pull request #15316 from akshay-vishnoi/test-casesYves Senn2014-05-261-7/+8
|\
| * Fix test cases for inflector.rbAkshay Vishnoi2014-05-251-7/+8
|/
* Add more test case for #demodulize, Improve documentationAkshay Vishnoi2014-04-111-0/+1
* wrap test that changes inflections in with_dupLihan Li2013-11-281-4/+5
* Add +capitalize+ option to Inflector.humanizeclaudiob2013-11-061-0/+6
* Skip few of the ActiveSupport'sinflector test on JRubyGaurish Sharma2013-08-211-0/+10
* Avoid calling define_method with non-english chars in InflectorTestGaurish Sharma2013-08-031-3/+4
* Don't mutate the original inflections instance in the testsAndrew White2013-07-301-19/+22
* Revert "Merge pull request #10158 from steveklabnik/issue_10125"Rafael Mendonça França2013-04-101-17/+0
* Fix inflector to respect default locale.Nick Cox2013-04-101-0/+17
* fix repeat of test; remove unused variable by use of each_keyVipul A M2013-03-181-1/+1
* Revert "Merge pull request #8156 from fredwu/acronym_fix-master"Steve Klabnik2013-03-161-2/+0
* Fixed a bug where the inflector would replace camelCase strings and disregard...Fred Wu2013-03-171-0/+2
* Cleanup tests for unused variablesVipul A M2013-03-111-2/+0
* Remove assert_nothing_raisedRafael Mendonça França2013-01-031-1/+1
* Fix ActiveSupport tests that depend on run orderFrancesco Rodriguez2012-08-231-2/+2
* Make ActiveSupport::Inflector locale aware and multilingualDavid Celis2012-07-301-1/+30
* Adds missing inflector tests to ensure idempotencyGodfrey Chan2012-06-211-0/+10
* decouples the implementation of the inflector from its test suiteXavier Noria2012-02-241-73/+66
* Merge pull request #4719 from markmcspadden/singularize_words_that_end_in_ssXavier Noria2012-02-101-0/+8
|\
| * Add Inflection test (and fixes) to ensure singularizing a singular actually g...Mark McSpadden2012-01-271-0/+8
* | Add ActiveSupport::Inflector.ordinal and Integer#ordinalTim Gildea2012-02-041-0/+6
|/
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
* defines Module#qualified_const_(defined?|get|set) and String#deconstantizeXavier Noria2011-10-291-0/+12