seejohnrun/ice_cube — Issue #72: INTERVAL not included in to_ical method
Author: masqita
Created: 2012-03-07 14:15:59+00:00
State: open

The Validations::DailyInterval, Validations::MonthlyInterval, … modules don't include the "INTERVAL" property in their build_ical method, simply ignoring it when building the iCalendar compliant rule.

```ruby
IceCube::Rule.daily(3).count(5).to_ical
```

=> "FREQ=DAILY;COUNT=5"

Should be:

=> "FREQ=DAILY;COUNT=5;INTERVAL=3"