mirror of
https://github.com/plashchynski/crono.git
synced 2026-07-07 13:25:07 +02:00
Bump 1.1.0
This commit is contained in:
+10
@@ -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
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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,3 +1,3 @@
|
|||||||
module Crono
|
module Crono
|
||||||
VERSION = '1.0.3'
|
VERSION = '1.1.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user