mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
Move deprecation warnings into the right place.
This commit is contained in:
parent
dda1f5783a
commit
b4fc2bc596
2 changed files with 8 additions and 4 deletions
|
@ -15,10 +15,6 @@ module Sidetiq
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def start!
|
|
||||||
warn "Sidetiq::Clock#start! is deprecated. Calling it is no longer required."
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def loop!
|
def loop!
|
||||||
|
|
|
@ -3,6 +3,14 @@ module Sidetiq
|
||||||
class Clock
|
class Clock
|
||||||
include Logging
|
include Logging
|
||||||
|
|
||||||
|
def self.start!
|
||||||
|
warn "Sidetiq::Clock#start! is deprecated. Calling it is no longer required."
|
||||||
|
end
|
||||||
|
|
||||||
|
def start!
|
||||||
|
warn "Sidetiq::Clock#start! is deprecated. Calling it is no longer required."
|
||||||
|
end
|
||||||
|
|
||||||
# Internal: Returns a hash of Sidetiq::Schedule instances.
|
# Internal: Returns a hash of Sidetiq::Schedule instances.
|
||||||
attr_reader :schedules
|
attr_reader :schedules
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue