summaryrefslogtreecommitdiff
path: root/test/ruby/test_enum.rb
AgeCommit message (Expand)Author
2022-03-23Raise ArgumentError when calling Enumberable#inject without block or argumentsJeremy Evans
2022-01-13thread.c: Convert TAG_BREAK to a normal exception at thread top-levelYusuke Endoh
2021-11-16Make Enumerable#each_cons return object if over sizeJeremy Evans
2021-11-09test/ruby/test_enum.rb: Prevent a warningYusuke Endoh
2021-11-05Delegate keywords from Enumerable#to_a to #eachJeremy Evans
2021-10-25Fix `Enumerable#each_cons` and `Enumerable#each_slice` to return a receiverTSUYUSATO Kitsune
2021-03-27Fix Enumerable#tally with some arguments pattern [Feature #17744]Kenichi Kamiya
2021-03-26Enumerable#tally with the resulting hash [Feature #17744]Nobuyoshi Nakada
2021-03-19Fix Enumerable#inject with high negative fixnums [Bug #17731]Marc-Andre Lafortune
2021-01-02Add Enumerable#compact and Enumerator::Lazy#compactzverok
2020-12-17test/ruby: Check warning messages at a finer granularityNobuyoshi Nakada
2020-12-16test/ruby/test_enum.rb: Avoid "warning: assigned but unused variable"Yusuke Endoh
2020-12-15Optimize `Enumerable#grep{_v}`Marc-Andre Lafortune
2020-07-24Respect visibility in non-array Enumerable#inject [Bug #13592]Nobuyoshi Nakada
2020-06-03Ensure origins for all included, prepended, and refined modulesJeremy Evans
2019-11-19Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867] [Bug #16354]Kazuki Tsujimoto
2019-05-23Adding Enumerable#filter_mapAlfonso Jiménez
2019-02-07enum.c: Enumerable#tallynobu
2018-10-30introduce TransientHeap. [Bug #14858]ko1
2018-10-30revert r65444 and r65446 because of commit missko1
2018-10-30introduce TransientHeap. [Bug #14858]ko1
2018-09-20Enumerable#to_h with block and so onnobu
2018-09-13warn unused blocks with Enumerable#all? any? one? none?nobu
2018-07-22fix sum on infinitynobu
2017-12-10Add case equality arity to Enumerable#all?, any?, none? and one?,marcandre
2017-10-25range.c: check if exclude_end? is definednobu
2017-07-18vm_eval.c: rb_lambda_callnobu
2017-06-21Fix Enumerable#uniq with non single yield argumentsnobu
2017-05-30enum.c: check if reenterednobu
2017-05-24enum.c: respect method visibilitynobu
2017-05-24test_enum.rb: test_inject_array_op_redefinednobu
2017-05-24duplicate methodnobu
2017-04-21Removed mathn.rb from stdlib. It's deprecated from Ruby 2.2.hsbt
2017-04-06Rename RbConfig::Limits as RbConfig::LIMITSnobu
2017-03-02test: use RbConfig::Limitsnobu
2016-12-06array.c, enum.c: change sum algorithmmrkn
2016-10-04* enum.c: Make Enumerable#chunk with no block returnmarcandre
2016-07-20fix typoskazu
2016-07-20enum.c: Enumerable#uniqnobu
2016-05-17Optimize enum_sum for a range from int to intmrkn
2016-05-17Implement Enumerable#summrkn
2016-05-17Use Integer instead of Fixnum and Bignum.akr
2016-05-01envutil.rb defines Integer::{FIXNUM_MIN,FIXNUM_MAX}.akr
2016-04-13* array.c (rb_ary_sum): Array#sum is implemented.akr
2016-03-23* enum.c (ary_inject_op): Use Kahan's compensated summation algorithmmrkn
2016-03-17* enum.c (ary_inject_op): Implement the specialized code for sum ofakr
2016-03-17* array.c (rb_ary_max, rb_ary_min): Array#max and Array#min added.mame
2016-03-17* enum.c (enum_inject): Implement the specialized code for sum ofakr
2016-03-15* enum.c (enum_inject): Consider redefinition of Fixnum#+.akr
2016-02-19test/ruby: suppress parser warningsnobu