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
+10
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 1.0.3
----------- -----------
- "every 1 week" jobs now displaying on Rails 5 as "1 week" not as "7 days" - "every 1 week" jobs now displaying on Rails 5 as "1 week" not as "7 days"
+1 -1
View File
@@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
crono (1.0.3) crono (1.1.0)
activerecord (>= 4.0) activerecord (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
+1
View File
@@ -23,6 +23,7 @@ module Crono
return initial_next unless since return initial_next unless since
@next = @period.since(since) @next = @period.since(since)
end end
@next = @next.beginning_of_week.advance(days: @on) if @on @next = @next.beginning_of_week.advance(days: @on) if @on
@next = @next.change(time_atts) @next = @next.change(time_atts)
return @next if @next.future? return @next if @next.future?
+1 -1
View File
@@ -1,3 +1,3 @@
module Crono module Crono
VERSION = '1.0.3' VERSION = '1.1.0'
end end