sidekiq 6.0.5 → 6.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sidekiq might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +20 -0
- data/.github/workflows/ci.yml +41 -0
- data/Changes.md +53 -0
- data/Ent-Changes.md +26 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +96 -112
- data/Pro-Changes.md +30 -1
- data/README.md +2 -6
- data/bin/sidekiq +26 -2
- data/lib/sidekiq.rb +10 -8
- data/lib/sidekiq/api.rb +7 -4
- data/lib/sidekiq/cli.rb +15 -10
- data/lib/sidekiq/client.rb +17 -10
- data/lib/sidekiq/extensions/action_mailer.rb +3 -2
- data/lib/sidekiq/extensions/active_record.rb +4 -3
- data/lib/sidekiq/extensions/class_methods.rb +5 -4
- data/lib/sidekiq/fetch.rb +20 -20
- data/lib/sidekiq/job_logger.rb +1 -1
- data/lib/sidekiq/launcher.rb +32 -5
- data/lib/sidekiq/logger.rb +7 -7
- data/lib/sidekiq/manager.rb +4 -4
- data/lib/sidekiq/middleware/chain.rb +1 -1
- data/lib/sidekiq/monitor.rb +2 -2
- data/lib/sidekiq/processor.rb +4 -4
- data/lib/sidekiq/rails.rb +16 -18
- data/lib/sidekiq/redis_connection.rb +18 -13
- data/lib/sidekiq/sd_notify.rb +149 -0
- data/lib/sidekiq/systemd.rb +24 -0
- data/lib/sidekiq/testing.rb +1 -1
- data/lib/sidekiq/version.rb +1 -1
- data/lib/sidekiq/web.rb +16 -8
- data/lib/sidekiq/web/application.rb +4 -6
- data/lib/sidekiq/web/csrf_protection.rb +158 -0
- data/lib/sidekiq/web/helpers.rb +3 -6
- data/lib/sidekiq/web/router.rb +2 -4
- data/lib/sidekiq/worker.rb +4 -7
- data/sidekiq.gemspec +1 -2
- data/web/assets/javascripts/application.js +25 -27
- data/web/assets/stylesheets/application-dark.css +142 -124
- data/web/assets/stylesheets/application.css +7 -6
- data/web/locales/fr.yml +2 -2
- data/web/locales/lt.yml +83 -0
- data/web/locales/pl.yml +4 -4
- data/web/locales/ru.yml +4 -0
- data/web/locales/vi.yml +83 -0
- data/web/views/busy.erb +2 -2
- data/web/views/layout.erb +1 -1
- data/web/views/morgue.erb +1 -1
- data/web/views/queues.erb +1 -1
- data/web/views/retries.erb +1 -1
- data/web/views/scheduled.erb +1 -1
- metadata +15 -24
- data/.circleci/config.yml +0 -61
- data/.github/issue_template.md +0 -11
data/web/views/busy.erb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<div class="table_container">
|
17
|
-
<table class="processes table table-hover table-bordered table-striped
|
17
|
+
<table class="processes table table-hover table-bordered table-striped">
|
18
18
|
<thead>
|
19
19
|
<th><%= t('Name') %></th>
|
20
20
|
<th><%= t('Started') %></th>
|
@@ -68,7 +68,7 @@
|
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="table_container">
|
71
|
-
<table class="workers table table-hover table-bordered table-striped
|
71
|
+
<table class="workers table table-hover table-bordered table-striped">
|
72
72
|
<thead>
|
73
73
|
<th><%= t('Process') %></th>
|
74
74
|
<th><%= t('TID') %></th>
|
data/web/views/layout.erb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
<% end %>
|
12
12
|
|
13
13
|
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
|
14
|
-
<link href="<%= root_path %>stylesheets/application-dark.css" media="screen" rel="stylesheet" type="text/css" />
|
14
|
+
<link href="<%= root_path %>stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
|
15
15
|
<% if rtl? %>
|
16
16
|
<link href="<%= root_path %>stylesheets/application-rtl.css" media="screen" rel="stylesheet" type="text/css" />
|
17
17
|
<% end %>
|
data/web/views/morgue.erb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<form action="<%= root_path %>morgue" method="post">
|
15
15
|
<%= csrf_tag %>
|
16
16
|
<div class="table_container">
|
17
|
-
<table class="table table-striped table-bordered
|
17
|
+
<table class="table table-striped table-bordered">
|
18
18
|
<thead>
|
19
19
|
<tr>
|
20
20
|
<th class="table-checkbox checkbox-column">
|
data/web/views/queues.erb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<h3><%= t('Queues') %></h3>
|
2
2
|
|
3
3
|
<div class="table_container">
|
4
|
-
<table class="queues table table-hover table-bordered table-striped
|
4
|
+
<table class="queues table table-hover table-bordered table-striped">
|
5
5
|
<thead>
|
6
6
|
<th><%= t('Queue') %></th>
|
7
7
|
<th><%= t('Size') %></th>
|
data/web/views/retries.erb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<form action="<%= root_path %>retries" method="post">
|
15
15
|
<%= csrf_tag %>
|
16
16
|
<div class="table_container">
|
17
|
-
<table class="table table-striped table-bordered
|
17
|
+
<table class="table table-striped table-bordered">
|
18
18
|
<thead>
|
19
19
|
<tr>
|
20
20
|
<th class="table-checkbox checkbox-column">
|
data/web/views/scheduled.erb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
<form action="<%= root_path %>scheduled" method="post">
|
16
16
|
<%= csrf_tag %>
|
17
17
|
<div class="table_container">
|
18
|
-
<table class="table table-striped table-bordered
|
18
|
+
<table class="table table-striped table-bordered">
|
19
19
|
<thead>
|
20
20
|
<tr>
|
21
21
|
<th class="checkbox-column">
|
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.
|
4
|
+
version: 6.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Perham
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.2.0
|
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: 4.
|
26
|
+
version: 4.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: connection_pool
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rack-protection
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 2.0.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 2.0.0
|
69
55
|
description: Simple, efficient background processing for Ruby.
|
70
56
|
email:
|
71
57
|
- mperham@gmail.com
|
@@ -75,9 +61,9 @@ executables:
|
|
75
61
|
extensions: []
|
76
62
|
extra_rdoc_files: []
|
77
63
|
files:
|
78
|
-
- ".
|
64
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
79
65
|
- ".github/contributing.md"
|
80
|
-
- ".github/
|
66
|
+
- ".github/workflows/ci.yml"
|
81
67
|
- ".gitignore"
|
82
68
|
- ".standard.yml"
|
83
69
|
- 3.0-Upgrade.md
|
@@ -130,6 +116,8 @@ files:
|
|
130
116
|
- lib/sidekiq/rails.rb
|
131
117
|
- lib/sidekiq/redis_connection.rb
|
132
118
|
- lib/sidekiq/scheduled.rb
|
119
|
+
- lib/sidekiq/sd_notify.rb
|
120
|
+
- lib/sidekiq/systemd.rb
|
133
121
|
- lib/sidekiq/testing.rb
|
134
122
|
- lib/sidekiq/testing/inline.rb
|
135
123
|
- lib/sidekiq/util.rb
|
@@ -137,6 +125,7 @@ files:
|
|
137
125
|
- lib/sidekiq/web.rb
|
138
126
|
- lib/sidekiq/web/action.rb
|
139
127
|
- lib/sidekiq/web/application.rb
|
128
|
+
- lib/sidekiq/web/csrf_protection.rb
|
140
129
|
- lib/sidekiq/web/helpers.rb
|
141
130
|
- lib/sidekiq/web/router.rb
|
142
131
|
- lib/sidekiq/worker.rb
|
@@ -165,6 +154,7 @@ files:
|
|
165
154
|
- web/locales/it.yml
|
166
155
|
- web/locales/ja.yml
|
167
156
|
- web/locales/ko.yml
|
157
|
+
- web/locales/lt.yml
|
168
158
|
- web/locales/nb.yml
|
169
159
|
- web/locales/nl.yml
|
170
160
|
- web/locales/pl.yml
|
@@ -175,6 +165,7 @@ files:
|
|
175
165
|
- web/locales/ta.yml
|
176
166
|
- web/locales/uk.yml
|
177
167
|
- web/locales/ur.yml
|
168
|
+
- web/locales/vi.yml
|
178
169
|
- web/locales/zh-cn.yml
|
179
170
|
- web/locales/zh-tw.yml
|
180
171
|
- web/views/_footer.erb
|
@@ -199,7 +190,7 @@ homepage: http://sidekiq.org
|
|
199
190
|
licenses:
|
200
191
|
- LGPL-3.0
|
201
192
|
metadata: {}
|
202
|
-
post_install_message:
|
193
|
+
post_install_message:
|
203
194
|
rdoc_options: []
|
204
195
|
require_paths:
|
205
196
|
- lib
|
@@ -214,8 +205,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
205
|
- !ruby/object:Gem::Version
|
215
206
|
version: '0'
|
216
207
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
218
|
-
signing_key:
|
208
|
+
rubygems_version: 3.1.2
|
209
|
+
signing_key:
|
219
210
|
specification_version: 4
|
220
211
|
summary: Simple, efficient background processing for Ruby
|
221
212
|
test_files: []
|
data/.circleci/config.yml
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
version: 2
|
2
|
-
references:
|
3
|
-
unit: &unit
|
4
|
-
run:
|
5
|
-
name: Run test suite
|
6
|
-
command: bundle exec rake
|
7
|
-
restore: &restore
|
8
|
-
restore_cache:
|
9
|
-
keys:
|
10
|
-
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
11
|
-
# fallback to using the latest cache if no exact match is found
|
12
|
-
- v1-dependencies-
|
13
|
-
bundle: &bundle
|
14
|
-
run:
|
15
|
-
name: install dependencies
|
16
|
-
command: |
|
17
|
-
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
18
|
-
save: &save
|
19
|
-
save_cache:
|
20
|
-
paths:
|
21
|
-
- ./vendor/bundle
|
22
|
-
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
23
|
-
jobs:
|
24
|
-
"ruby-2.5":
|
25
|
-
docker:
|
26
|
-
- image: circleci/ruby:2.5
|
27
|
-
- image: circleci/redis:4.0
|
28
|
-
steps:
|
29
|
-
- checkout
|
30
|
-
- <<: *restore
|
31
|
-
- <<: *bundle
|
32
|
-
- <<: *save
|
33
|
-
- <<: *unit
|
34
|
-
"ruby-2.6":
|
35
|
-
docker:
|
36
|
-
- image: circleci/ruby:2.6
|
37
|
-
- image: circleci/redis:4.0
|
38
|
-
steps:
|
39
|
-
- checkout
|
40
|
-
- <<: *restore
|
41
|
-
- <<: *bundle
|
42
|
-
- <<: *save
|
43
|
-
- <<: *unit
|
44
|
-
"jruby":
|
45
|
-
docker:
|
46
|
-
- image: circleci/jruby:latest
|
47
|
-
- image: circleci/redis:4.0
|
48
|
-
steps:
|
49
|
-
- checkout
|
50
|
-
- <<: *restore
|
51
|
-
- <<: *bundle
|
52
|
-
- <<: *save
|
53
|
-
- <<: *unit
|
54
|
-
|
55
|
-
workflows:
|
56
|
-
version: 2
|
57
|
-
build:
|
58
|
-
jobs:
|
59
|
-
- "ruby-2.5"
|
60
|
-
- "ruby-2.6"
|
61
|
-
- "jruby"
|
data/.github/issue_template.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
Ruby version:
|
2
|
-
Sidekiq / Pro / Enterprise version(s):
|
3
|
-
|
4
|
-
Please include your initializer and any error message with the full backtrace.
|
5
|
-
|
6
|
-
Are you using an old version?
|
7
|
-
Have you checked the changelogs to see if your issue has been fixed in a later version?
|
8
|
-
|
9
|
-
https://github.com/mperham/sidekiq/blob/master/Changes.md
|
10
|
-
https://github.com/mperham/sidekiq/blob/master/Pro-Changes.md
|
11
|
-
https://github.com/mperham/sidekiq/blob/master/Ent-Changes.md
|