wat_catcher 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wat_catcher/sidekiq_middleware.rb +1 -1
- data/lib/wat_catcher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d697bcebf80ed93713883925d35d0d3910888d9
|
4
|
+
data.tar.gz: 1c55a4fc22fe9b0ea7693c388ff25e513038c57a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e739b4b98a3c80a97971a0a5461e780453ec3947fbf20ab02661cf2407ffc07d978208e977a5ae99a07a5195a794b11b7aad71cf7bbb4815a9366cc487e83fc
|
7
|
+
data.tar.gz: 50c5f04ff8680dcbb4021e229d1e36598f9578ba726bb26919db9103b16cef1e7fbf67d22a72bdc033707cf2992007a6c706c6deac57f8fbdaa307619eacf88b
|
@@ -10,7 +10,7 @@ module WatCatcher
|
|
10
10
|
if worker.class == Sidekiq::Extensions::DelayedClass
|
11
11
|
(worker,method_name,args) = YAML.load(msg["args"][0])
|
12
12
|
end
|
13
|
-
if worker.respond_to? :wat_user
|
13
|
+
if worker.respond_to?(:wat_user) && worker.method(:wat_user).arity == msg["args"].length
|
14
14
|
u = worker.wat_user(*msg["args"])
|
15
15
|
else
|
16
16
|
u = { id: "jid_#{msg["jid"]}", jid: msg["jid"] }
|
data/lib/wat_catcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wat_catcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Constantine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|