Comments (8)
https://github.com/floraison/fugit/actions/runs/8087806417/job/22100554384#step:3:30 argh
from fugit.
https://github.com/floraison/fugit/actions/runs/8087932820/job/22100915876 no 2.2.6, but no luck with 2.2.10 :-(
from fugit.
@aunghtain Hello and thanks for the detailed report!
I have trouble finding a Ruby 2.2.x or 2.2.6 to test directly, neither on GitHub Actions, neither for my development station (some kind of compile error). Could you please test this include Enumerable
version on your Ruby 2.2.6 and tell me if that fixes it?
When we are successful, I will release a fugit 1.10.1.
from fugit.
It still gives me the same error.
/usr/share/rvm/gems/ruby-2.2.6/bundler/gems/fugit-4c12b6120f20/lib/fugit.rb:16:in `require': /usr/share/rvm/gems/ruby-2.2.6/bundler/gems/fugit-4c12b6120f20/lib/fugit/cron.rb:323: syntax error, unexpected tIDENTIFIER, expecting '<' or ';' or '\n' (SyntaxError)
class CronIterator include Enumerable
^
But if I move the include to a new line, it works fine.
class CronIterator
include Enumerable
Also, this works.
class CronIterator
include ::Enumerable
from fugit.
Well done! I will change and release 1.10.1. Thanks a lot!
from fugit.
1.10.1 released https://rubygems.org/gems/fugit/versions/1.10.1
Please tell me if it works for you.
Thanks!
from fugit.
1.10.1 works! Thank you so much @jmettraux
from fugit.
@aunghtain You're welcome! Well done!
from fugit.
Related Issues (20)
- multi-headed Fugit::Cron instance
- Specify which sidekiq-cron version is available HOT 2
- Specify which sidekiq-cron version is available HOT 5
- Regression with parsing in 1.9+ HOT 5
- Behaviour change between 1.4.4 and 1.4.5 HOT 8
- be liberal with extra commas
- Implement the & cron modifier HOT 1
- Issue parsing 0/1 compared to * or */1 HOT 4
- Introduce OpenBSD cron ~ notation HOT 1
- Fugit.parse incorrectly parsing am/pm HOT 5
- time computation with monthly duration like "P-2M" is incorrect
- Un-representable inputs should raise an error HOT 4
- Incorrect next_time for cron that is supposed to run every 3 hours for America/New_York HOT 3
- If given 6 fields, the first one is interpreted as seconds HOT 2
- Examples in Readme don't work: undefined method 'next' for Fugit::Cron HOT 1
- cron #previous_time loop breaker issue HOT 6
- cron #previous_time loop breaker issue HOT 3
- #next_time breaks on DST end HOT 4
- Cron inconsistent behaviour with union vs intersection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fugit.