- Update sequences logic to be, well... More logical (Thanks @kenn again for meaningful discussion!);
- Various code cleanups.
- Fix
Units::Base#measure
to correctly measure negative distances (e.g. from > to, thanks @kenn for pointing it); - Cleanup the same method to work correctly with sub-second precisions and different Time-y types.
- Drop Ruby 2.0 support, finally.
- Fix month advancing/decreasing. Thanks @dikond for pointing to problem!
- Fix approach to timezone info preservation (previously, it was clear bug, emerging from
false believing of how
Time.mktime
works). Thanks, @wojtha, for pointing to the problem. - Add
#each
andEnumerable
toSequence
(no idea why it wasn't done from the very beginning). Again: thanks, @wojtha!
- Add support for
Date
; - Add optional second argument to rounding functions (
floor
,ceil
and so on), for "floor to 3-hour mark"; - Allow this argument, as well as in
advance
/decrease
, to be non-integer; so, you can dohour.advance(tm, 1/2r)
now; - Drop any
core_ext
s completely, even despite it was optional; - Add
Op
chainable operations concept (and dropSpan
, which is inferior to it); - Redesign
Sequence
creation, allow include/exclude end; - Add (experimental) resampling feature.
- First "real" release with current name,
Time
andDateTime
support, proper documentation and stuff.