aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
Commit message (Expand)AuthorAgeFilesLines
* e4e1b62 broke `to_param` handling:Edouard CHIN2018-07-121-0/+14
* Add tests for duration multiplication and divisionEugene Kenny2018-06-251-0/+12
* Add Enumerable#index_with.Kasper Timm Hansen2018-05-211-0/+15
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-1/+1
* Remove `test_match_p` since Rails 6 requires Ruby 2.4.1 or newerRyuta Kamizono2018-05-071-24/+0
* Fix #29632 - nil #path leads to NoMethodError in LoadError#is_missing?Neil Souza2018-05-041-0/+7
* Replace `assert !` with `assert_not`Daniel Colson2018-04-1911-42/+42
* Move implementation of `before?` and `after?` to `DateAndTime::Calculations`bogdanvlviv2018-03-314-36/+12
* Merge pull request #32185 from nholden/human_readable_date_time_comparisonsRafael França2018-03-264-0/+50
|\
| * Add `before?` and `after?` methods to date and time classesNick Holden2018-03-064-0/+50
* | Use try in tests that try to test try.Kasper Timm Hansen2018-03-211-7/+2
* | URI.unescape handles mixed Unicode/escaped inputAshe Connor2018-03-071-1/+1
|/
* Deprecate "active_support/core_ext/numeric/inquiry"bogdanvlviv2018-03-021-80/+3
* Deprecate `active_support/core_ext/hash/compact`yuuji.yaginuma2018-03-021-34/+4
* Add separate test to ensure that `delegate` with `:private` option returns co...bogdanvlviv2018-02-281-6/+16
* add private: true option for ActiveSupport delegateTomas Valent2018-02-261-0/+57
* 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
* Rails 6 requires Ruby 2.4.1+Jeremy Daer2018-02-174-79/+9
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-162-6/+5
* Add missing requireyuuji.yaginuma2018-02-081-0/+1
* Merge pull request #31923 from jdelStrother/duration-deserializationRafael França2018-02-071-0/+6
|\
| * Fix yaml deserialization of ActiveSupport::DurationJonathan del Strother2018-02-071-0/+6
* | Remove extra whitespaceDaniel Colson2018-01-253-39/+39
* | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-2511-80/+80
* | Change refute to assert_notDaniel Colson2018-01-251-2/+2
* | Use respond_to test helpersDaniel Colson2018-01-257-33/+33
* | Merge pull request #31648 from dixitp012/rubocop_active_support_testRyuta Kamizono2018-01-081-2/+2
|\ \
| * | Fix rubocop space before commaDixit Patel2018-01-081-1/+1
|/ /
* | Merge pull request #31049 from gwincr11/cg-blankRyuta Kamizono2018-01-041-2/+2
|\ \
| * | Add support for multiple encodings in String.blank?Cory Gwin @gwincr112017-11-171-2/+2
* | | Merge pull request #31310 from kinnrot/duration-moduloRyuta Kamizono2018-01-011-0/+2
|\ \ \
| * | | Empty duration inspect fixChen Kinnrot2017-12-131-0/+2
* | | | Handle `FrozenError` if it is availableYasuo Honda2017-12-201-1/+1
* | | | Suppress `warning: BigDecimal.new is deprecated`Yasuo Honda2017-12-153-8/+8
* | | | Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-146-29/+29
* | | | Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-124-13/+13
* | | | Refactor Date/Time next_occurring and prev_occurringT.J. Schuck2017-11-282-22/+20
|/ / /
* | | Handle `TZInfo::AmbiguousTime` errorsAndrew White2017-11-151-0/+12
* | | These strings should already be frozen where ruby accepts the magic-commentAkira Matsuda2017-11-151-2/+2
* | | Bump RuboCop to 0.51.0Koichi ITO2017-11-101-1/+1
* | | Merge pull request #31027 from PHedkvist/inflector_test_typeRafael França2017-11-091-1/+1
|\ \ \
| * | | Fixed typo in test for activesupport parameterizePierre Hedkvist2017-11-011-1/+1
| |/ /
* | | Allow `Range#include?` on TWZ rangesAndrew White2017-11-081-3/+6
* | | Merge pull request #30620 from bogdanvlviv/method_signature_prev-next-day-mon...Andrew White2017-11-064-24/+50
|\ \ \ | |/ / |/| |
| * | Allows pass argument for `Time#prev_year` and `Time#next_year`.bogdanvlviv2017-10-244-12/+16
| * | Allows pass argument for `Time#prev_month` and `Time#next_month`bogdanvlviv2017-10-244-12/+24
| * | Allows pass argument for `Time#prev_day` and `Time#next_day`bogdanvlviv2017-10-241-0/+10
* | | removed unnecessary returnsShuhei Kitagawa2017-10-281-4/+4
|/ /
* | Fix `to_s(:db)` for range comprising of alphabets.Aditya Kapoor2017-10-161-0/+5