aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorOwen Stephens <owen@owenstephens.co.uk>2019-03-28 00:57:05 +0000
committerOwen Stephens <owen@owenstephens.co.uk>2019-03-28 00:57:05 +0000
commitca2a3bcaad04b522a08b89aafaf0ecb6db7d05ca (patch)
tree004f91e60a6d2d67c158cee6138a827cb8bc671e /activemodel
parent5f043c0094173a26bea1cfc15c6d3bdbe8c9954b (diff)
downloadrails-ca2a3bcaad04b522a08b89aafaf0ecb6db7d05ca.tar.gz
rails-ca2a3bcaad04b522a08b89aafaf0ecb6db7d05ca.tar.bz2
rails-ca2a3bcaad04b522a08b89aafaf0ecb6db7d05ca.zip
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.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions