3 Commits

Author SHA1 Message Date
ca929c6ae1 Merge branch 'release-0.2.5' into stable 2010-08-23 12:41:45 +03:00
edd828bb3e Version bump to 0.2.5 2010-08-23 12:41:23 +03:00
4afd3f84d5 removed Time#map alias to Time#map_each as it was
causing issues with ActiveRecord
2010-08-23 12:40:58 +03:00
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +1 @@
0.2.4
0.2.5

View File

@@ -75,7 +75,6 @@ module TimeExt
def map_each(unit, options = {}, &block)
iterate(unit, options.merge(:map_result => true), &block)
end
alias :map :map_each
# Executes passed block for each "unit" of time specified, returning an array with the return values from passed block. Additionally the time object passed into the block is set to the beginning of specified "unit".
def map_beginning_of_each(unit, options = {}, &block)