sidekiq-dry 1.1.2 → 1.1.3

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: 1368aa44269d2b891ccbf999a983eab2d27d084e61c6b23d8343867b0406d529
4
- data.tar.gz: f0a21160b81aecc49e60c3b9d9aa365ff8f388dadc91e43fc5cf165040ea89c1
3
+ metadata.gz: bc60bcfa1ab4403370139167d884a08477d2b1566bc5715609436a3d9e07d994
4
+ data.tar.gz: 60a5024a0ea5efb348a94909f1ed57e052096ca40c0506d50b25f6ad8a929665
5
5
  SHA512:
6
- metadata.gz: 8fb76fc5ba8f6b1d9752713c1ead28ad16ce2488e320e296ea80f685a40d65c4d9057c071d17185f88802a1d61f5fe0b9a1befd024941684245fd1f987593403
7
- data.tar.gz: 2fccbb4b42dd430a0949ee9c38ec1bc21033f28e15c306a217c90a63a5e20a173dd3e1116b118aa303aa162a24ddcbbe2f7a54561767421578603eec7170c49a
6
+ metadata.gz: 32d206ce1a745012aa1bd63d0fd31e43107a88cf357b5e7aa423939054c4310cbffaa66d286883bf8a36f87a4136038d6f275d80c9215ba8dcd7591cabab514b
7
+ data.tar.gz: ddcec7abf94336fae7d595b07435b40035a558fa1564aa6adf7a4271e2a50baa65ea93914d62b6ad82fa00c20286c35a9bde3a25916ea8f830d684a0fec0d34a
data/CHANGELOG CHANGED
@@ -4,6 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## [1.1.3] - 2022-05-15
8
+
9
+ ### Changed
10
+
11
+ * Bumped sidekiq to 6.4.2
12
+ * Stringified args to ensure JSON-compatiblity to fix - Job arguments
13
+ do not serialize to JSON safely. This would have raised an error in
14
+ Sidekiq 7.0.
15
+
7
16
  ## [1.1.2] - 2021-12-11
8
17
 
9
18
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,25 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-dry (1.1.2)
4
+ sidekiq-dry (1.1.3)
5
5
  activesupport
6
6
  dry-struct (~> 1.0)
7
- sidekiq (>= 6.2.1)
7
+ sidekiq (>= 6.4.2)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.1.4.1)
12
+ activesupport (7.0.3)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
16
16
  tzinfo (~> 2.0)
17
- zeitwerk (~> 2.3)
18
17
  coderay (1.1.3)
19
- concurrent-ruby (1.1.9)
18
+ concurrent-ruby (1.1.10)
20
19
  connection_pool (2.2.5)
21
20
  diff-lcs (1.4.4)
22
- dry-configurable (0.13.0)
21
+ dry-configurable (0.15.0)
23
22
  concurrent-ruby (~> 1.0)
24
23
  dry-core (~> 0.6)
25
24
  dry-container (0.9.0)
@@ -41,17 +40,17 @@ GEM
41
40
  dry-core (~> 0.5, >= 0.5)
42
41
  dry-inflector (~> 0.1, >= 0.1.2)
43
42
  dry-logic (~> 1.0, >= 1.0.2)
44
- i18n (1.8.11)
43
+ i18n (1.10.0)
45
44
  concurrent-ruby (~> 1.0)
46
45
  ice_nine (0.11.2)
47
46
  method_source (1.0.0)
48
- minitest (5.14.4)
47
+ minitest (5.15.0)
49
48
  pry (0.13.1)
50
49
  coderay (~> 1.1)
51
50
  method_source (~> 1.0)
52
51
  rack (2.2.3)
53
52
  rake (12.3.3)
54
- redis (4.5.1)
53
+ redis (4.6.0)
55
54
  rspec (3.10.0)
56
55
  rspec-core (~> 3.10.0)
57
56
  rspec-expectations (~> 3.10.0)
@@ -65,13 +64,12 @@ GEM
65
64
  diff-lcs (>= 1.2.0, < 2.0)
66
65
  rspec-support (~> 3.10.0)
67
66
  rspec-support (3.10.1)
68
- sidekiq (6.3.1)
67
+ sidekiq (6.4.2)
69
68
  connection_pool (>= 2.2.2)
70
69
  rack (~> 2.0)
71
70
  redis (>= 4.2.0)
72
71
  tzinfo (2.0.4)
73
72
  concurrent-ruby (~> 1.0)
74
- zeitwerk (2.5.1)
75
73
 
76
74
  PLATFORMS
77
75
  ruby
@@ -13,7 +13,7 @@ module Sidekiq
13
13
 
14
14
  # Set a `_type` argument to be able to instantiate
15
15
  # the struct when the job is performed
16
- arg.to_h.merge(_type: arg.class)
16
+ arg.to_h.merge(_type: arg.class.to_s).deep_stringify_keys
17
17
  end
18
18
 
19
19
  yield
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Dry
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
data/sidekiq-dry.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.add_dependency 'sidekiq', '>= 6.2.1'
28
+ spec.add_dependency 'sidekiq', '>= 6.4.2'
29
29
  spec.add_dependency 'dry-struct', '~> 1.0'
30
30
  spec.add_dependency 'activesupport'
31
31
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-dry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitris Zorbas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-11 00:00:00.000000000 Z
11
+ date: 2022-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 6.2.1
19
+ version: 6.4.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 6.2.1
26
+ version: 6.4.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dry-struct
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.1.6
145
+ rubygems_version: 3.3.3
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Dry::Struct arguments for Sidekiq jobs