seejohnrun/ice_cube — Issue #40: Infinite loop on method occurring_at?
Author: victorhg
Created: 2011-11-16 13:34:16+00:00
State: open

Hello,

Small test to show a loop bug on method occurring_at? (or I am missing something stupid to make it work right)

The yaml code
```yaml
---
:start_date: 2011-11-16 11:31:58.441381000 -02:00
:rrules:
- :rule_type: IceCube::MinutelyRule
:interval: 60
:until: !!null
:count: !!null
:validations:
:day:
- 4
:hour_of_day:
- 14
- 15
- 16
:minute_of_hour:
- 0
:exrules: []
:rdates: []
:exdates: []
:duration: 3600
:end_time: !!null
```

When running:
```ruby
schedule.occurring_at? Time.new(2011,11,17,15,30)
``

It never stops... :S

Any ideas?!

Cheers