aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/enumerable_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add compact_blank shortcut for reject(&:blank?)Dana Sherson2019-06-051-0/+24
* Fix including/excluding flatteningGabriel Sobrinho2019-03-061-0/+1
* Added Array#including, Array#excluding, Enumerable#including, Enumerable#excl...David Heinemeier Hansson2019-03-051-3/+9
* Add Enumerable#index_with.Kasper Timm Hansen2018-05-211-0/+15
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove checks for Enumerator#size methodEugene Kenny2017-04-251-4/+2
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-10/+10
* Add three new rubocop rulesRafael Mendonça França2016-08-161-8/+8
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-8/+8
* Fix initial value effects for sum along to ruby 2.4Kenta Murata2016-04-301-0/+78
* Ruby 2.4: compat with new Array#sumJeremy Daer2016-04-181-3/+21
* Allow Enumerable#pluck to take a splat.Kevin Deisz2015-05-291-0/+9
* Add Enumerable#pluck.Kevin Deisz2015-05-281-0/+5
* Use include? instead of in? for Enumerable#without.Juanito Fatas2015-03-021-1/+0
* Include object inclusion for enumerable test.Juanito Fatas2015-03-021-0/+1
* Add Enumerable#withoutTodd Bealmear2015-03-011-0/+7
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
* Return sized enumerator from Enumerable#index_byMarc-Andre Lafortune2014-02-051-0/+4
* Remove obsolete test (builtin group_by is now used)Marc-Andre Lafortune2014-02-051-20/+0
* Remove obsolete line (was needed for Ruby 1.8.7 support)Marc-Andre Lafortune2014-02-051-1/+0
* Further simplify enumerable group_by testCarlos Antonio da Silva2013-04-041-3/+1
* Replaced inject with mapAnupam Choudhury2013-04-041-2/+2
* Removed unused comma after loop variableAnupam Choudhury2013-04-041-1/+1
* Fix Range#sum optimized versionAlexey Vakhov2012-05-251-0/+5
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
* Revert "Added Enumerable#pluck to wrap the common pattern of collect(&:method...Aaron Patterson2011-12-221-7/+0
* remove Enumerable#each_with_object from core_ext as it is present in ruby 1.9lest2011-12-211-10/+1
* Added Enumerable#pluck to wrap the common pattern of collect(&:method) *DHH*David Heinemeier Hansson2011-12-021-1/+8
* Insure that Enumerable#index_by, group_by, ... return EnumeratorsMarc-Andre Lafortune2011-07-231-1/+12
* Make Enumerable#many? iterate only over what is necessaryMarc-Andre Lafortune2011-07-231-0/+7
* Make Enumerable#many? not rely on #sizeMarc-Andre Lafortune2011-07-231-1/+1
* Test using generic Enumerables instead of arrays.Marc-Andre Lafortune2011-07-231-24/+38
* Make tests more preciseMarc-Andre Lafortune2011-07-231-14/+14
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if !...David Heinemeier Hansson2009-12-141-0/+5
* Enumerable#none? is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-11/+0
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
* Improving test coverage for Range#sum [#2489]José Valim2009-08-091-1/+1
* Remove unnecessary &block from Range#sum and add tests for (num..float).sumPratik Naik2009-08-091-0/+1
* Make enumerable test run stand alonePratik Naik2009-08-091-0/+1
* Optimize Range#sum only for integers [#2489]José Valim2009-08-091-0/+1
* Optimize Range#sum to use arithmetic progression when a block is not given [#...José Valim2009-08-091-0/+2
* Enumerable#sum now works will all enumerables, even if they don't respond to ...Marc-Andre Lafortune2009-08-081-0/+4
* Explicit test dependenciesJeremy Kemper2009-03-281-0/+2
* Enumerable#none? conforms to Ruby 1.8.7 behaviorJeremy Kemper2008-11-191-1/+2
* Added Enumerable#none? to check that none of the elements match the block [#1...Damian Janowski2008-11-191-0/+10