If a string of 6 fields is fed into Fugit.parse, the first one is interpreted as seconds, which is wrong (at least according to my understanding of cron).
How to reproduce
require 'fugit'
p Fugit.do_parse('1 2 3 4 5 6').next_time
p Fugit.do_parse('1 2 3 4 5 6').class
Issue description
If a string of 6 fields is fed into
Fugit.parse
, the first one is interpreted as seconds, which is wrong (at least according to my understanding of cron).How to reproduce
Current behavior
The above code prints:
Expected behavior
It should raise an exception.
Context