sidekiq-dry 1.1.1 → 1.1.2

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: c64ab9affeebd68fc36380d88605da8f76b7ac92885ae5cbc9173f5120fc7cd8
4
- data.tar.gz: 40fd08a75380dd98d8f98d712397d1f39f37887b33a07bc21479436fa439d504
3
+ metadata.gz: 1368aa44269d2b891ccbf999a983eab2d27d084e61c6b23d8343867b0406d529
4
+ data.tar.gz: f0a21160b81aecc49e60c3b9d9aa365ff8f388dadc91e43fc5cf165040ea89c1
5
5
  SHA512:
6
- metadata.gz: 7d3533a66422beb638e784a45bee9dfffdbd6e1b12e4cc37b9cafbdcf5895a5b86c11e616e4283190f2a640cd27849f7838b17d7921e4b6bd2ae33fef6d37828
7
- data.tar.gz: be4483f697430720a376f1b1c50dd71efea48072c8be82000828463d6e17d36fc978b146b8cad37303a08e6c3b82c096cb17157f48280a7478c243face90077c
6
+ metadata.gz: 8fb76fc5ba8f6b1d9752713c1ead28ad16ce2488e320e296ea80f685a40d65c4d9057c071d17185f88802a1d61f5fe0b9a1befd024941684245fd1f987593403
7
+ data.tar.gz: 2fccbb4b42dd430a0949ee9c38ec1bc21033f28e15c306a217c90a63a5e20a173dd3e1116b118aa303aa162a24ddcbbe2f7a54561767421578603eec7170c49a
data/CHANGELOG CHANGED
@@ -4,7 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## Unreleased
6
6
 
7
- ## [1.1.1] - 2020-02-24
7
+ ## [1.1.2] - 2021-12-11
8
+
9
+ ### Changed
10
+
11
+ * Bumped sidekiq dependency for CVE-2021-30151
12
+
13
+ ## [1.1.1] - 2021-02-24
8
14
 
9
15
  ### Changed
10
16
 
data/Gemfile.lock CHANGED
@@ -1,60 +1,57 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-dry (1.1.0)
4
+ sidekiq-dry (1.1.2)
5
5
  activesupport
6
6
  dry-struct (~> 1.0)
7
- sidekiq (~> 6.0)
7
+ sidekiq (>= 6.2.1)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.1.1)
12
+ activesupport (6.1.4.1)
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
17
  zeitwerk (~> 2.3)
18
18
  coderay (1.1.3)
19
- concurrent-ruby (1.1.7)
20
- connection_pool (2.2.3)
19
+ concurrent-ruby (1.1.9)
20
+ connection_pool (2.2.5)
21
21
  diff-lcs (1.4.4)
22
- dry-configurable (0.12.0)
22
+ dry-configurable (0.13.0)
23
23
  concurrent-ruby (~> 1.0)
24
- dry-core (~> 0.5, >= 0.5.0)
25
- dry-container (0.7.2)
24
+ dry-core (~> 0.6)
25
+ dry-container (0.9.0)
26
26
  concurrent-ruby (~> 1.0)
27
- dry-configurable (~> 0.1, >= 0.1.3)
28
- dry-core (0.5.0)
27
+ dry-configurable (~> 0.13, >= 0.13.0)
28
+ dry-core (0.7.1)
29
29
  concurrent-ruby (~> 1.0)
30
- dry-equalizer (0.3.0)
31
- dry-inflector (0.2.0)
32
- dry-logic (1.1.0)
30
+ dry-inflector (0.2.1)
31
+ dry-logic (1.2.0)
33
32
  concurrent-ruby (~> 1.0)
34
33
  dry-core (~> 0.5, >= 0.5)
35
- dry-struct (1.3.0)
36
- dry-core (~> 0.4, >= 0.4.4)
37
- dry-equalizer (~> 0.3)
38
- dry-types (~> 1.3)
34
+ dry-struct (1.4.0)
35
+ dry-core (~> 0.5, >= 0.5)
36
+ dry-types (~> 1.5)
39
37
  ice_nine (~> 0.11)
40
- dry-types (1.4.0)
38
+ dry-types (1.5.1)
41
39
  concurrent-ruby (~> 1.0)
42
40
  dry-container (~> 0.3)
43
- dry-core (~> 0.4, >= 0.4.4)
44
- dry-equalizer (~> 0.3)
41
+ dry-core (~> 0.5, >= 0.5)
45
42
  dry-inflector (~> 0.1, >= 0.1.2)
46
43
  dry-logic (~> 1.0, >= 1.0.2)
47
- i18n (1.8.7)
44
+ i18n (1.8.11)
48
45
  concurrent-ruby (~> 1.0)
49
46
  ice_nine (0.11.2)
50
47
  method_source (1.0.0)
51
- minitest (5.14.3)
48
+ minitest (5.14.4)
52
49
  pry (0.13.1)
53
50
  coderay (~> 1.1)
54
51
  method_source (~> 1.0)
55
52
  rack (2.2.3)
56
53
  rake (12.3.3)
57
- redis (4.2.5)
54
+ redis (4.5.1)
58
55
  rspec (3.10.0)
59
56
  rspec-core (~> 3.10.0)
60
57
  rspec-expectations (~> 3.10.0)
@@ -68,13 +65,13 @@ GEM
68
65
  diff-lcs (>= 1.2.0, < 2.0)
69
66
  rspec-support (~> 3.10.0)
70
67
  rspec-support (3.10.1)
71
- sidekiq (6.1.2)
68
+ sidekiq (6.3.1)
72
69
  connection_pool (>= 2.2.2)
73
70
  rack (~> 2.0)
74
71
  redis (>= 4.2.0)
75
72
  tzinfo (2.0.4)
76
73
  concurrent-ruby (~> 1.0)
77
- zeitwerk (2.4.2)
74
+ zeitwerk (2.5.1)
78
75
 
79
76
  PLATFORMS
80
77
  ruby
data/README.md CHANGED
@@ -81,11 +81,16 @@ Configure Sidekiq to use the middlewares provided by this gem:
81
81
  # File: config/initializers/sidekiq.rb
82
82
  Sidekiq.configure_client do |config|
83
83
  config.client_middleware do |chain|
84
- chain.add Sidekiq::Dry::Client::SerializationMiddleware
84
+ chain.prepend Sidekiq::Dry::Client::SerializationMiddleware
85
85
  end
86
86
  end
87
87
 
88
88
  Sidekiq.configure_server do |config|
89
+ # Ensure jobs enqueued by other jobs serialize their structs
90
+ config.client_middleware do |chain|
91
+ chain.prepend Sidekiq::Dry::Client::SerializationMiddleware
92
+ end
93
+
89
94
  config.server_middleware do |chain|
90
95
  chain.add Sidekiq::Dry::Server::DeserializationMiddleware
91
96
  end
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Dry
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
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.0'
28
+ spec.add_dependency 'sidekiq', '>= 6.2.1'
29
29
  spec.add_dependency 'dry-struct', '~> 1.0'
30
30
  spec.add_dependency 'activesupport'
31
31
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-dry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
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-02-24 00:00:00.000000000 Z
11
+ date: 2021-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: 6.2.1
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.0'
26
+ version: 6.2.1
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.4
145
+ rubygems_version: 3.1.6
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Dry::Struct arguments for Sidekiq jobs