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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e20da18840923e5ac9df604853c38b2ffe949d3dea840eb6a9ff10889bb12b4
4
- data.tar.gz: eebd30d5ac3e947cdddc60200666e6912e467940e534c6c1e9c80d1995f309b0
3
+ metadata.gz: 93b343c10d2614536619adc6ab7ecfa1ceb1f2a778e7748425f2fb7df3316a21
4
+ data.tar.gz: 55ad33ee9a9aef2ee81b0ffb507016bb25a8fc7844205520c7f0a48ec0de9f76
5
5
  SHA512:
6
- metadata.gz: 3dbc899903623868bb8b595f02cf38949de23260756134a80c94518dbae826ffdd41ea2c3895201e42e96827f4152157c3518ffee00cd9528e675d2adb1788c0
7
- data.tar.gz: 76e7cbd7847f1b5d48468529314198fa813df674bbc40d4d4eaa41f6269b54234bd9be6c850b291ab12250e5b9da8b26082a07b7511d3956c3c96ffde757e996
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
- ::Sidekiq::Client.push(default_options.merge(options).merge('args' => args))
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
@@ -1,3 +1,3 @@
1
1
  module Userlist
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  end
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler