Fix conditions for today argument
Add ruby version