lib/rekiq.rb in rekiq-0.5.0 vs lib/rekiq.rb in rekiq-0.6.0

- old
+ new

@@ -4,16 +4,16 @@ unless defined?(Sidekiq) raise Rekiq::SidekiqNotLoaded, 'sidekiq must be required before requiring rekiq' end -require 'rekiq/middleware/work_overseer' -require 'rekiq/middleware/utils' -require 'rekiq/worker' - module Rekiq end + +require 'rekiq/worker' +require 'rekiq/middleware/work_overseer' +require 'rekiq/middleware/utils' Sidekiq.configure_server do |config| config.server_middleware do |chain| chain.add Rekiq::Middleware::Utils chain.add Rekiq::Middleware::WorkOverseer \ No newline at end of file