Bump 1.1.0

This commit is contained in:
Dzmitry Plashchynski
2016-11-30 00:43:52 +02:00
parent 137dfe6d19
commit 1cf37ee30f
4 changed files with 13 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
1.1.0
-----------
- Rails 3 and old Rubies are not supported anymore, sorry rails 3 guys...
- Requires Ruby 2.2.2 or newer
- Fixed crash when no jobs defined in your cronotab
- Some doc updates (thanks to @pachacamac)
- Job will schedule on: today if at: time not passed (thanks to @acolyer)
- Job log truncating (thanks to @reiz)
1.0.3
-----------
- "every 1 week" jobs now displaying on Rails 5 as "1 week" not as "7 days"

View File

@@ -1,7 +1,7 @@
PATH
remote: .
specs:
crono (1.0.3)
crono (1.1.0)
activerecord (>= 4.0)
activesupport (>= 4.0)

View File

@@ -23,6 +23,7 @@ module Crono
return initial_next unless since
@next = @period.since(since)
end
@next = @next.beginning_of_week.advance(days: @on) if @on
@next = @next.change(time_atts)
return @next if @next.future?

View File

@@ -1,3 +1,3 @@
module Crono
VERSION = '1.0.3'
VERSION = '1.1.0'
end