Closed jjb closed 1 year ago
Could fugit be changed to simply strip the string before parsing?
OK, I will do it then.
Hello @jjb please tell me if those changes are OK and/or if you have further suggestions/feedback. Once it's all good, I'll release fugit 1.6.0.
Thanks for reporting this inconsistency!
Wow, nice! Sorry for not responding earlier, I need to adjust my github notifications apparently.
Thanks!
You're welcome!
Issue description
it looks like a leading space makes the parser crash. works:
"45 5 * * sun"
breaks:" 45 5 * * sun"
. could fugit be changed to simply strip the string before parsing?How to reproduce
Error and error backtrace (if any)
Expected behaviour
cron string to parse without error
Context
ruby-clock (0.8.0.rc3) rufus-scheduler (3.8.0) fugit (1.5.2) et-orbi (1.2.5) raabro (1.4.0)