1
0
Fork 0
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:
Tobias Svensson 2013-09-18 10:51:45 +01:00
parent dda1f5783a
commit b4fc2bc596
2 changed files with 8 additions and 4 deletions

View file

@ -15,10 +15,6 @@ module Sidetiq
end
end
def start!
warn "Sidetiq::Clock#start! is deprecated. Calling it is no longer required."
end
private
def loop!

View file

@ -3,6 +3,14 @@ module Sidetiq
class Clock
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.
attr_reader :schedules