From 4afd3f84d5663b33bc50609561d7371eeff6832b Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 23 Aug 2010 12:40:32 +0300 Subject: [PATCH 1/2] removed Time#map alias to Time#map_each as it was causing issues with ActiveRecord --- lib/time_ext/iterations.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/time_ext/iterations.rb b/lib/time_ext/iterations.rb index 24519bc..6eb4aa2 100644 --- a/lib/time_ext/iterations.rb +++ b/lib/time_ext/iterations.rb @@ -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) From edd828bb3e3bb201ff03f12991a43185a212321d Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 23 Aug 2010 12:41:23 +0300 Subject: [PATCH 2/2] Version bump to 0.2.5 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index abd4105..3a4036f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.4 +0.2.5