aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/enumerable_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add each_with_object from 1.9 for a more convenient alternative to inject.Adam Keys2008-09-031-0/+5
* Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved]David Heinemeier Hansson2008-06-201-2/+7
* Change Enumberal#several? to Enumberal#many?David Heinemeier Hansson2008-06-131-3/+3
* Added Enumberable#several? to encapsulate collection.size > 1 [DHH]David Heinemeier Hansson2008-06-121-0/+6
* Add OrderedHash#to_hash. Closes #11266 [josh]Michael Koziarski2008-03-031-0/+1
* Enumerable#group_by uses ActiveSupport::OrderedHashJeremy Kemper2008-01-231-1/+1
* Fix up Enumerable#group_byJeremy Kemper2008-01-091-2/+6
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
* Ruby 1.9 compat. References #1689 [Pratik Naik]Jeremy Kemper2007-12-101-1/+1
* Change test for ruby 1.9 crashJeremy Kemper2007-09-271-6/+4
* Some 1.9 forward compatibilityJeremy Kemper2007-09-141-4/+6
* Optional identity for Enumerable#sum defaults to zero. Closes #5657.Jeremy Kemper2006-07-091-1/+7
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-081-4/+2
* Enumerable#sum without blocks. Closes #5505. Don't assume 0 identity for sum.Jeremy Kemper2006-06-251-3/+23
* Add Enumerable#index_byNicholas Seckar2006-06-241-0/+10
* Added Enumerable#sum for calculating a sum from the elements [DHH]David Heinemeier Hansson2006-06-241-1/+8
* Remove Enumerable#first_match in favor of using break(result_for_each)Nicholas Seckar2006-05-211-10/+0
* Add Enumerable#group_by and Array#in_groups_ofMarcel Molina2006-03-011-1/+16
* Added Enumerable#first_matchNicholas Seckar2005-10-141-0/+15