summaryrefslogtreecommitdiff
path: root/test/ruby/test_range.rb
AgeCommit message (Expand)Author
2020-10-23numeric.c, range.c: prohibit zero stepKenta Murata
2020-09-25freeze all Range objects.v3_0_0_preview1Koichi Sasada
2020-09-01Reapply "Special case Range#max for integer beginning and Float::Infinity end...Marc-Andre Lafortune
2020-09-01Revert "Fix Range#{max,minmax} for range with integer beginning and non-integ...Jeremy Evans
2020-09-01Revert "Special case Range#max for integer beginning and Float::Infinity end"Jeremy Evans
2020-07-19Special case Range#max for integer beginning and Float::Infinity endJeremy Evans
2020-07-19Fix Range#max for beginless Integer ranges [Bug #17034]Michael Kohl
2020-07-13Fix Range#{max,minmax} for range with integer beginning and non-integer endJeremy Evans
2020-07-04Fix non-numeric exclusive Range#minmax bugSam Bostock
2019-12-25range.c: Range#min with a beginless one now raise an explicit exceptionYusuke Endoh
2019-12-04implement Range#count卜部昌平
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
2019-08-29Aseert exception at negative step for non-endless range tooNobuyoshi Nakada
2019-08-14Make Range#=== operate like cover? instead of include? for string rangesJeremy Evans
2019-08-14Implement Range#minmaxJeremy Evans
2019-05-23range.c (inspect_range): omit beginless "nil"Yusuke Endoh
2019-05-01Add exception support in `Range#first`.manga_osyo
2019-04-08range.c: force hash values fixablenobu
2019-04-04range.c: support to make beginless arithmetic sequencesmrkn
2019-04-03range.c (r_cover_range_p): support beginless rangemame
2019-04-03Introduce beginless range [Feature#14799]mame
2019-01-24numeric.c: Fix negative step with float componentsmrkn
2019-01-08range.c (range_last): disable optimization when each is redefinedmrkn
2019-01-05test/ruby/test_range.rb: add assertionsmrkn
2018-09-28range.c: Add Range#%mrkn
2018-09-05range.c: Range#cover? accepts Range object. [Feature #14473]tarui
2018-08-06enumerator.c: Introduce Enumerator::ArithmeticSequencemrkn
2018-06-25test_range.rb: add tests to improve coveragewatson1978
2018-06-22test/ruby/test_range.rb: add a test for endless range's min with comparisonmame
2018-06-22range.c: Range#last and #max raises a RangeError if it is endlessmame
2018-06-22range.c: Range#size now returns Float::INFINITY if it is endlessmame
2018-06-22range.c: Range#to_a now raises RangeError if it is endlessmame
2018-06-13Revert "range.c: prohibit `(1..nil)`"mame
2018-06-13range.c: prohibit `(1..nil)`mame
2018-05-17range.c: === by cover?nobu
2018-04-28range.c: each on endless rangenobu
2018-04-20range.c: step in bignumnobu
2018-04-20range.c: fix fixnum loop conditionnobu
2018-04-19range.c: Make Range#bsearch support endless rangesmame
2018-04-19Make Range#min, max, include?, cover?, and === to support endless rangemame
2018-04-19Introduce endless range [Feature#12912]mame
2017-12-12Add FrozenError as a subclass of RuntimeErrorshyouhei
2017-10-25range.c: use rb_check_funcallnobu
2017-10-25range.c: check if exclude_end? is definednobu
2017-04-25no longer rescue exceptions of #<=> when initializing a Rangeeregon
2017-04-21Removed mathn.rb from stdlib. It's deprecated from Ruby 2.2.hsbt
2016-11-11range.c: check loadingnobu
2016-11-10range.c: check if range modifiablenobu
2016-09-30test_range.rb: all assertionsnobu
2016-05-21hash method valuesnobu