userlist 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/userlist/push/strategies/sidekiq.rb +9 -1
- data/lib/userlist/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93b343c10d2614536619adc6ab7ecfa1ceb1f2a778e7748425f2fb7df3316a21
|
4
|
+
data.tar.gz: 55ad33ee9a9aef2ee81b0ffb507016bb25a8fc7844205520c7f0a48ec0de9f76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0113f93c4b9a64c559f052900edef4677bd0ec0000e97b68daebb81b50614d7df83076d0e668d1cd8f2a65fa973600b92589db0a622ab45d8f5797cbea1e3bef
|
7
|
+
data.tar.gz: 8dba2559f0660836a11ef6b5b709f76399f1e8b7b2dfdfd4d4caf54ffac2c0cd6f7775bcd7ee801c4dc6bbd10698cd208b4d4b4a672f9636d846265553767f4c
|
@@ -11,7 +11,11 @@ module Userlist
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def call(*args)
|
14
|
-
|
14
|
+
payload = default_options
|
15
|
+
.merge(options)
|
16
|
+
.merge('args' => normalize(args))
|
17
|
+
|
18
|
+
::Sidekiq::Client.push(payload)
|
15
19
|
end
|
16
20
|
|
17
21
|
private
|
@@ -31,6 +35,10 @@ module Userlist
|
|
31
35
|
'queue' => 'default'
|
32
36
|
}
|
33
37
|
end
|
38
|
+
|
39
|
+
def normalize(args)
|
40
|
+
JSON.parse(JSON.generate(args))
|
41
|
+
end
|
34
42
|
end
|
35
43
|
end
|
36
44
|
end
|
data/lib/userlist/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: userlist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benedikt Deicke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|