14 Commits

Author SHA1 Message Date
d564c31b93 updated project to rspec 2.x 2010-11-24 09:46:31 +00:00
5ece10846a added spec to check for core extention method
aliases
2010-09-28 19:16:36 +03:00
5afb6bc2b9 removed last traces of Time#map method which was
causing issues with Active Record
2010-09-28 19:16:11 +03:00
b8ba272b95 added include_end option to #iterate 2010-08-04 18:26:14 +03:00
3201485eaf Added #of_the / #of range modifier which is used
like #until and #from. Except #of_the makes the
iteration walk through each unit of time passed to
the #each / #map method, from the beginning till
end of unit passed to #of_the.

Example:
Time.now.each_hour.of_the(:month) { |t puts t }
#=> iterates over each over of the whole current month
2010-08-04 17:58:58 +03:00
66f661aef8 created a #map alias for #map_each 2010-08-03 14:07:58 +03:00
c7e46c25d1 Added #until's sister method, #from. 2010-07-29 14:26:31 +03:00
438cdd5b68 Interation methods #each, #map_each and more are
implemented and working. Also restructured files
again.
2010-07-29 04:25:42 +03:00
f60f8e8bdd reordered spec examples 2010-07-27 19:54:47 +03:00
12b14a27de spec updated to test everything 2010-07-27 19:18:30 +03:00
d4baf20040 added specs for Time#ceil 2010-07-27 17:35:04 +03:00
d45766d4e8 initial import of time extensions 2010-07-27 17:19:35 +03:00
2067762985 small changes to project dev files 2010-07-27 17:15:49 +03:00
b42704f9bd Initial commit to time_ext. 2010-07-27 14:14:02 +03:00