1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/core_ext
Owen Stephens ca2a3bcaad Fix bug in Range comparisons when comparing to excluded-end Range
Before:
```ruby
(1..10).cover?(1...11) => false
```

After:
```ruby
(1..10).cover?(1...11) => true
```

See https://git.io/fjTtz for the commit against Ruby core that added
support for Range arguments, with similar handling of this case.
2019-03-28 00:57:05 +00:00
..
array Fix including/excluding flattening 2019-03-06 13:34:04 -03:00
class [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
digest [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
hash Delete uneeded blank file 2019-02-08 12:30:45 -05:00
kernel [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
module Remove deprecated Module#reachable? method 2019-01-17 16:08:34 -05:00
object Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
bigdecimal_test.rb Suppress warning: BigDecimal.new is deprecated 2017-12-15 01:19:57 +00:00
class_test.rb Change refute to assert_not 2018-01-25 23:32:58 -05:00
date_and_time_behavior.rb Move implementation of before? and after? to DateAndTime::Calculations 2018-03-31 18:20:46 +03:00
date_and_time_compatibility_test.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
date_ext_test.rb Move implementation of before? and after? to DateAndTime::Calculations 2018-03-31 18:20:46 +03:00
date_time_ext_test.rb Fix issue where duration where always rounded up to a second: 2018-10-12 13:27:13 -04:00
duration_test.rb Add tests for duration multiplication and division 2018-06-25 13:48:35 +01:00
enumerable_test.rb Fix including/excluding flattening 2019-03-06 13:34:04 -03:00
file_test.rb Ensure correct permission when tmpdir is the same as dirname. 2018-10-02 16:40:39 +02:00
hash_ext_test.rb Fix rubocop violations 2019-02-09 10:50:58 +09:00
integer_ext_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
kernel_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
load_error_test.rb Fixes warning: mismatched indentations at 'rescue' with 'def' at 15. 2018-12-21 12:28:33 +01:00
marshal_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
module_test.rb Add separate test to ensure that delegate with :private option returns correct value 2018-02-28 10:29:12 +02:00
name_error_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
numeric_ext_test.rb Deprecate "active_support/core_ext/numeric/inquiry" 2018-03-02 23:32:10 -08:00
range_ext_test.rb Fix bug in Range comparisons when comparing to excluded-end Range 2019-03-28 00:57:05 +00:00
regexp_ext_test.rb Remove test_match_p since Rails 6 requires Ruby 2.4.1 or newer 2018-05-07 04:19:24 +09:00
secure_random_test.rb Tweak test name 2018-12-30 12:01:55 -05:00
string_ext_test.rb Fix bug with parametrize when locale is passed 2019-03-12 01:48:21 +05:30
time_ext_test.rb Fix Time#advance to work with dates before 1001-03-07 2019-03-18 17:02:34 +00:00
time_with_zone_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
uri_ext_test.rb URI.unescape handles mixed Unicode/escaped input 2018-03-07 12:58:02 +11:00