hugoabonizio / schedule.cr

:clock3: Run periodic tasks in Crystal
https://hugoabonizio.github.io/schedule.cr/Schedule.html
MIT License
74 stars 4 forks source link

Support for Crystal 1.0 #19

Open jwoertink opened 3 years ago

jwoertink commented 3 years ago

The version specified in the shard.yml will fallback to crystal (~> 0.35, >= 0.35.1) by default.

https://github.com/hugoabonizio/schedule.cr/blob/64d69b6e7548566259a562d700736d76c165446c/shard.yml#L7

For this to work with Crystal 1.0, it'll need to be changed to crystal: ">= 0.35.1"

phil294 commented 2 years ago

while this makes sense, crystal never complained to me when I used this library in a 1.x project.

jwoertink commented 2 years ago

We couldn't get specs to pass with it on Cable.cr without changing this. We ended up just removing this shard as a dependency.