lib/recommendable.rb in recommendable-1.1.3 vs lib/recommendable.rb in recommendable-1.1.4
- old
+ new
@@ -4,9 +4,11 @@
require 'recommendable/acts_as_recommendable'
require 'recommendable/exceptions'
require 'recommendable/railtie' if defined?(Rails)
require 'recommendable/version'
require 'hooks'
+require 'sidekiq/middleware/client/unique_jobs' if defined?(Sidekiq)
+require 'sidekiq/middleware/server/unique_jobs' if defined?(Sidekiq)
module Recommendable
mattr_accessor :redis, :user_class
mattr_writer :recommendable_classes