1
0
Fork 0
mirror of https://github.com/deanpcmad/sidekiq-limit_fetch.git synced 2022-11-09 13:54:36 -05:00

Restore compatibility with latest sidekiq

This commit is contained in:
brainopia 2013-05-22 10:31:28 +04:00
parent 908278299a
commit 2349415df3
2 changed files with 5 additions and 2 deletions

View file

@ -1,8 +1,9 @@
require 'sidekiq'
require 'sidekiq/fetch'
require 'forwardable'
class Sidekiq::LimitFetch
require_relative 'limit_fetch/unit_of_work'
autoload :UnitOfWork, 'sidekiq/limit_fetch/unit_of_work'
require_relative 'limit_fetch/singleton'
require_relative 'limit_fetch/queues'
require_relative 'limit_fetch/local/semaphore'

View file

@ -1,4 +1,6 @@
require 'sidekiq/limit_fetch'
require 'celluloid/autostart'
require 'sidekiq/fetch'
RSpec.configure do |config|
config.before :each do