multiple_man_sidekiq 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 245c66bbc45390425da32278f789c4adadd58309
|
4
|
+
data.tar.gz: 47cdcd08abb96821a083287b739a4c519e9d7cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09e8dc51fab6566463c2fb4a51af9d2e6789e6ae789af414ca86e342588c05377895f2dd3743e91ebc75d34ed7afe3384004863f50e4f153a284135f31dae3cc
|
7
|
+
data.tar.gz: d4297742687b60dcfb6108231a6e6a0b1006aa41707dfe4d39499ad323049bec9e29478a7979d61d2df5f71fc9bd1df68e3893f0e1a9168f7daddf36a331808c
|
@@ -2,15 +2,16 @@ require 'active_support/core_ext'
|
|
2
2
|
|
3
3
|
module MultipleMan
|
4
4
|
module AsyncPublisher
|
5
|
-
|
6
|
-
def
|
5
|
+
|
6
|
+
def AsyncPublisher.included(base)
|
7
|
+
base.include(MultipleMan::Publisher)
|
7
8
|
base.extend(ClassMethods)
|
8
9
|
end
|
9
10
|
|
10
11
|
module ClassMethods
|
11
12
|
|
12
13
|
def publish(options = {})
|
13
|
-
self.multiple_man_publisher = AsyncModelPublisher.
|
14
|
+
self.multiple_man_publisher = AsyncModelPublisher.new(options)
|
14
15
|
end
|
15
16
|
end
|
16
17
|
end
|