Changes:
- Date#to_time renamed to Date#vpim_to_time. Apparently Rails also
patches the core.
- Debian doesn''t like RFCs. I think there is a problem with the DFG,
not the
IETF. The value of a standard is that it can''t be modified (if
anybody could
publish a modified version of an RFC without restriction chaos would ensue).
Still, we lost that argument, and I''ll try and help packagers out.
- View, gives various views of calendars. Experimental.
- Fixed doc comment refs to common Property module.
- Vtodo#duration and #due now work correctly (the missing one will be calculated
from the other).
- Vevent::Maker#add_rrule, #set_rrule are new, using Rrule::Maker.
- There is now (half-of) an Rrule::Maker class to help construct RRULE values.
- Vjournal can be encoded now (it was broken).
- Better code coverage by the tests.
- Recurrence#occurrences now returns an Enumerator instead of an Rrule. Both
have #each, and both yield the same thing, so that isn''t an API
change. However,
Rrule had an each_until, and the Enumerator doesn''t. Use the dountil
argument
to #occurrences to get the same effect. The asymetry of this API caused me
(non-aesthetic) trouble, now Rrule is an internal implementation detail.
Also, this would have had to change eventually, because occurrences need to
be the union of multiple RRULE and RDATE fields.
- Recurrence#rrule, returns an Rrule for the first RRULE field. Can be used
as transition.
- Icalendar#calscale was broken, and is now unit tested, along with #version
and #protocol?.
- Icalendar#{each,events,todos,journals} all yield components, or return an
enumerator.
- Icalendar is enumerable.
- Repo and Repo::Calendar are enumerable.
- #occurrences will call Rrule#each if a block is provided
- Recurrence rules with DTSTART in UTC will now sortof work (thanks to Max
Werner for providing the patch).
- Added convenience methods for setting and getting title and org fiels (thanks
to Jade Meskill for providing the patch).
- Modified Icalendar#create2 so only prodid can be supplied and cal is yielded
so events/etc. can be pushed.
- Support Highrisehq.com''s broken google talk field (see test_vcard.rb
for
examples, thanks to Terry Tong for reporting).