wat_catcher 0.8.4 → 0.8.5
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 +0 -7
- 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: 68ed8355e8e5f84a00cb41983579c909200bdc69
|
4
|
+
data.tar.gz: c062c964248a8dee858c8e736a1769f38f02fc6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92998dc65ed6f6ee058e3a8ba3c8f15e9f78110df6b892e3f47a188f4d976b1e5039e3b8ab2619b4799b0b990aa785aa271b7b001245dc791842d11cfb941231
|
7
|
+
data.tar.gz: 32d8c6337db92ff5928f28c92d2ec634fe84eb40855a5adbd82c51164349f70e7e002ced06f6401beca145258245c403e230dfdd30dab3421dbc8d4dec685bc7
|
@@ -12,13 +12,6 @@ module WatCatcher
|
|
12
12
|
end
|
13
13
|
if worker.respond_to? :wat_user
|
14
14
|
u = worker.wat_user(*msg["args"])
|
15
|
-
elsif worker.method(:perform).parameters.length == 1 && worker.method(:perform).parameters[0].length > 1
|
16
|
-
params = worker.method(:perform).parameters[0]
|
17
|
-
args = []
|
18
|
-
params.slice(1, params.count).each_with_index do |parm, i|
|
19
|
-
args << "#{parm}_#{msg['args'][i]}"
|
20
|
-
end
|
21
|
-
u = { id: args.join("__"), jid: msg["jid"] }
|
22
15
|
else
|
23
16
|
u = { id: "jid_#{msg["jid"]}", jid: msg["jid"] }
|
24
17
|
end
|
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.5
|
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-03-
|
11
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|