sidekiq 6.5.9 → 6.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changes.md +11 -0
- data/lib/sidekiq/rails.rb +10 -11
- data/lib/sidekiq/version.rb +1 -1
- data/web/assets/javascripts/application.js +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21fe2977e3b230f1d63a6027ee9da7611fbd146e4b46e8f54ed917baa1040877
|
4
|
+
data.tar.gz: def0549c9e32ded7b4acd0014cd032a733ee31a37a39a30a55cfbb5029f3706a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b96a0340efeb1cda20fcb36e6191b67615551955e37bb3e4cfa0409becde7a22489dfd7225e9457f1de0d9c31bc2e458dbafe183e950f437b3d9d1bcb0e3cf5
|
7
|
+
data.tar.gz: cfb8a58210809775b8764766bfafeffd2a4dc9a725aeb7c39f18bfe5a4de20f9647577b274d1646ccc023050ab58d195975014d97f0d3b327239da165da0b870
|
data/Changes.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
[Sidekiq Changes](https://github.com/mperham/sidekiq/blob/main/Changes.md) | [Sidekiq Pro Changes](https://github.com/mperham/sidekiq/blob/main/Pro-Changes.md) | [Sidekiq Enterprise Changes](https://github.com/mperham/sidekiq/blob/main/Ent-Changes.md)
|
4
4
|
|
5
|
+
6.5.11
|
6
|
+
----------
|
7
|
+
|
8
|
+
- Fix for Rails 7.1 [#6067]
|
9
|
+
|
10
|
+
6.5.10
|
11
|
+
----------
|
12
|
+
|
13
|
+
- Web UI DoS vector [#6045] CVE-2023-26141
|
14
|
+
- Fix broadcast logger with Rails 7.1 [#6054]
|
15
|
+
|
5
16
|
6.5.9
|
6
17
|
----------
|
7
18
|
|
data/lib/sidekiq/rails.rb
CHANGED
@@ -37,17 +37,6 @@ module Sidekiq
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
initializer "sidekiq.rails_logger" do
|
41
|
-
Sidekiq.configure_server do |config|
|
42
|
-
# This is the integration code necessary so that if a job uses `Rails.logger.info "Hello"`,
|
43
|
-
# it will appear in the Sidekiq console with all of the job context. See #5021 and
|
44
|
-
# https://github.com/rails/rails/blob/b5f2b550f69a99336482739000c58e4e04e033aa/railties/lib/rails/commands/server/server_command.rb#L82-L84
|
45
|
-
unless ::Rails.logger == config.logger || ::ActiveSupport::Logger.logger_outputs_to?(::Rails.logger, $stdout)
|
46
|
-
::Rails.logger.extend(::ActiveSupport::Logger.broadcast(config.logger))
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
40
|
config.before_configuration do
|
52
41
|
dep = ActiveSupport::Deprecation.new("7.0", "Sidekiq")
|
53
42
|
dep.deprecate_methods(Sidekiq.singleton_class,
|
@@ -62,6 +51,16 @@ module Sidekiq
|
|
62
51
|
config.after_initialize do
|
63
52
|
Sidekiq.configure_server do |config|
|
64
53
|
config[:reloader] = Sidekiq::Rails::Reloader.new
|
54
|
+
|
55
|
+
# This is the integration code necessary so that if a job uses `Rails.logger.info "Hello"`,
|
56
|
+
# it will appear in the Sidekiq console with all of the job context.
|
57
|
+
unless ::Rails.logger == config.logger || ::ActiveSupport::Logger.logger_outputs_to?(::Rails.logger, $stdout)
|
58
|
+
if ::Rails::VERSION::STRING < "7.1"
|
59
|
+
::Rails.logger.extend(::ActiveSupport::Logger.broadcast(config.logger))
|
60
|
+
else
|
61
|
+
::Rails.logger = ::ActiveSupport::BroadcastLogger.new(::Rails.logger, config.logger)
|
62
|
+
end
|
63
|
+
end
|
65
64
|
end
|
66
65
|
end
|
67
66
|
end
|
data/lib/sidekiq/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.5.
|
4
|
+
version: 6.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Perham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05
|
11
|
+
date: 2023-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
218
|
- !ruby/object:Gem::Version
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
|
-
rubygems_version: 3.4.
|
221
|
+
rubygems_version: 3.4.20
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Simple, efficient background processing for Ruby
|