lib/distribute_reads.rb in distribute_reads-0.1.0 vs lib/distribute_reads.rb in distribute_reads-0.1.1
- old
+ new
@@ -21,5 +21,10 @@
end
end
Makara::Proxy.send :prepend, DistributeReads::AppropriatePool
Object.send :include, DistributeReads::GlobalMethods
+
+ActiveSupport.on_load(:active_job) do
+ require "distribute_reads/job_methods"
+ extend DistributeReads::JobMethods
+end