lib/sucker_punch.rb in sucker_punch-1.5.1 vs lib/sucker_punch.rb in sucker_punch-1.6.0

- old
+ new

@@ -1,6 +1,6 @@ -require 'celluloid' +require 'celluloid/current' require 'sucker_punch/core_ext' require 'sucker_punch/job' require 'sucker_punch/queue' require 'sucker_punch/version' @@ -13,13 +13,9 @@ Celluloid.logger = logger end def self.exception_handler(&block) Celluloid.exception_handler(&block) - end - - def self.clear_queues - SuckerPunch::Queue.clear_all end end require 'sucker_punch/railtie' if defined?(::Rails)