Commit Graph

60 Commits

Author SHA1 Message Date
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
9bbd974a75 fixed compatibility with Active Support 3.x 2010-09-28 19:15:39 +03:00
ca929c6ae1 Merge branch 'release-0.2.5' into stable v0.2.5 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
ea6d87e35f Merge branch 'release-0.2.4' into stable v0.2.4 2010-08-11 13:52:07 +03:00
74574beaf0 Version bump to 0.2.4 2010-08-11 13:51:50 +03:00
ba33dfec57 added min and sec aliases to minutes and seconds
methods respectively to Numeric for unit
consitency
2010-08-11 13:51:21 +03:00
c9cd80fd9e Merge branch 'release-0.2.3' into stable v0.2.3 2010-08-05 13:01:03 +03:00
06e167d1ab Version bump to 0.2.3 2010-08-05 13:00:05 +03:00
ac1ad2dba4 big oops, yes, I suck... 2010-08-05 12:56:26 +03:00
ab6e1e8003 Merge branch 'release-0.2.2' into stable 2010-08-05 12:50:14 +03:00
3d2b5d0b9e Version bump to 0.2.2 2010-08-05 12:49:49 +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
77d9d67ed1 merged MethodChain and BackwardsCompatibility
modules into a single TimeExt::Support module
2010-08-04 17:28:22 +03:00
e8d7d9d47b Merge branch 'release-0.2.1' into stable v0.2.1 2010-08-03 14:09:08 +03:00
40b86cafc0 Version bump to 0.2.1 2010-08-03 14:08:36 +03:00
66f661aef8 created a #map alias for #map_each 2010-08-03 14:07:58 +03:00
c1abca091a Merge branches 'master' and 'dev' 2010-08-03 14:04:03 +03:00
e6bd7fc000 restructured classes/modules and files 2010-08-03 14:03:32 +03:00
b3eb247e50 fixed a typo in the readme 2010-07-31 10:09:38 +03:00
1fa6623aa2 Merge branch 'release-0.2.0' v0.2.0 2010-07-29 18:36:37 +03:00
333053387f Version bump to 0.2.0 2010-07-29 18:36:18 +03:00
d2208c4f5f updated readme 2010-07-29 18:34:25 +03:00
629c9f1cf9 updated gitignore 2010-07-29 18:34:16 +03:00
c7e46c25d1 Added #until's sister method, #from. 2010-07-29 14:26:31 +03:00
3e6b637f75 Removed docs from git repo. 2010-07-29 14:25:55 +03:00
20e1957add Define dynamic iteration methods in a faster and
cleaner way.
2010-07-29 14:02:50 +03:00
eb6ee05a3e Reordered iteration methods. 2010-07-29 14:01:12 +03:00
d052a720e4 #until does not need to add itself to the method
chain.
2010-07-29 13:49:17 +03:00
ef5e1fb327 Some method naming/calling consistency. 2010-07-29 13:47:48 +03:00
ce715604a4 Removed #beginning_of method as it's identical to
#round, which has a #beginning_of alias already.
*slaps self in face*
2010-07-29 13:47:14 +03:00
820057f842 Updated docs. 2010-07-29 04:27:37 +03:00
a1c69ea52c Updated .gitignore file. 2010-07-29 04:27:09 +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
d6b65dbc01 restructured files a bit 2010-07-29 03:34:31 +03:00
88ece14760 updated readme 2010-07-27 20:16:55 +03:00
b90c73c9d3 Version bump to 0.1.0 v0.1.0 2010-07-27 20:09:44 +03:00
c575233dc2 added documentation 2010-07-27 20:09:26 +03:00
5363556eb1 updated readme 2010-07-27 20:08:43 +03:00
7b8cc60ae3 added description to Time#round 2010-07-27 20:06:31 +03:00
43ff6db449 updated readme and license files 2010-07-27 20:04:16 +03:00
3e4b6bc8a8 updated readme 2010-07-27 20:03:25 +03:00
11f528c433 updated gemspec 2010-07-27 19:59:17 +03:00
807a58516e better safe than sorry 2010-07-27 19:55:11 +03:00
f60f8e8bdd reordered spec examples 2010-07-27 19:54:47 +03:00
db341c6d46 updated code comments 2010-07-27 19:25:03 +03:00
3aa6a73325 double oops 2010-07-27 19:20:01 +03:00