sidekiq 6.0.0 → 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/6.0-Upgrade.md +3 -1
- data/Changes.md +163 -1
- data/Ent-Changes.md +33 -2
- data/Gemfile +2 -2
- data/Gemfile.lock +109 -113
- data/Pro-Changes.md +39 -2
- data/README.md +4 -6
- data/bin/sidekiq +26 -2
- data/bin/sidekiqload +8 -4
- data/bin/sidekiqmon +4 -5
- data/lib/generators/sidekiq/worker_generator.rb +11 -1
- data/lib/sidekiq/api.rb +130 -94
- data/lib/sidekiq/cli.rb +40 -24
- data/lib/sidekiq/client.rb +33 -12
- 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 +26 -26
- data/lib/sidekiq/job_logger.rb +12 -4
- data/lib/sidekiq/job_retry.rb +23 -10
- data/lib/sidekiq/launcher.rb +35 -10
- data/lib/sidekiq/logger.rb +108 -12
- data/lib/sidekiq/manager.rb +4 -4
- data/lib/sidekiq/middleware/chain.rb +12 -3
- data/lib/sidekiq/monitor.rb +3 -18
- data/lib/sidekiq/paginator.rb +7 -2
- data/lib/sidekiq/processor.rb +22 -24
- data/lib/sidekiq/rails.rb +16 -18
- data/lib/sidekiq/redis_connection.rb +21 -13
- data/lib/sidekiq/scheduled.rb +13 -12
- data/lib/sidekiq/sd_notify.rb +149 -0
- data/lib/sidekiq/systemd.rb +24 -0
- data/lib/sidekiq/testing.rb +13 -1
- data/lib/sidekiq/util.rb +0 -2
- data/lib/sidekiq/version.rb +1 -1
- data/lib/sidekiq/web/application.rb +23 -24
- data/lib/sidekiq/web/csrf_protection.rb +158 -0
- data/lib/sidekiq/web/helpers.rb +25 -16
- data/lib/sidekiq/web/router.rb +2 -4
- data/lib/sidekiq/web.rb +16 -8
- data/lib/sidekiq/worker.rb +8 -11
- data/lib/sidekiq.rb +22 -8
- data/sidekiq.gemspec +3 -4
- data/web/assets/javascripts/application.js +25 -27
- data/web/assets/javascripts/dashboard.js +2 -2
- data/web/assets/stylesheets/application-dark.css +143 -0
- data/web/assets/stylesheets/application.css +16 -6
- data/web/locales/de.yml +14 -2
- data/web/locales/en.yml +2 -0
- data/web/locales/fr.yml +2 -2
- data/web/locales/ja.yml +2 -0
- 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/_job_info.erb +2 -1
- data/web/views/busy.erb +6 -3
- data/web/views/dead.erb +2 -2
- data/web/views/layout.erb +1 -0
- data/web/views/morgue.erb +5 -2
- data/web/views/queue.erb +10 -1
- data/web/views/queues.erb +9 -1
- data/web/views/retries.erb +5 -2
- data/web/views/retry.erb +2 -2
- data/web/views/scheduled.erb +5 -2
- metadata +21 -29
- data/.circleci/config.yml +0 -61
- data/.github/issue_template.md +0 -11
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">
|
@@ -38,7 +38,10 @@
|
|
38
38
|
<td>
|
39
39
|
<a href="<%= root_path %>queues/<%= entry.queue %>"><%= entry.queue %></a>
|
40
40
|
</td>
|
41
|
-
<td
|
41
|
+
<td>
|
42
|
+
<%= entry.display_class %>
|
43
|
+
<%= display_tags(entry, "scheduled") %>
|
44
|
+
</td>
|
42
45
|
<td>
|
43
46
|
<div class="args"><%= display_args(entry.display_args) %></div>
|
44
47
|
</td>
|
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:
|
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
|
@@ -42,41 +42,28 @@ dependencies:
|
|
42
42
|
name: rack
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.0
|
47
|
+
version: '2.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 2.0.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
|
-
- - ">="
|
52
|
+
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.0
|
54
|
+
version: '2.0'
|
69
55
|
description: Simple, efficient background processing for Ruby.
|
70
56
|
email:
|
71
57
|
- mperham@gmail.com
|
72
58
|
executables:
|
73
59
|
- sidekiq
|
60
|
+
- sidekiqmon
|
74
61
|
extensions: []
|
75
62
|
extra_rdoc_files: []
|
76
63
|
files:
|
77
|
-
- ".
|
64
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
78
65
|
- ".github/contributing.md"
|
79
|
-
- ".github/
|
66
|
+
- ".github/workflows/ci.yml"
|
80
67
|
- ".gitignore"
|
81
68
|
- ".standard.yml"
|
82
69
|
- 3.0-Upgrade.md
|
@@ -129,6 +116,8 @@ files:
|
|
129
116
|
- lib/sidekiq/rails.rb
|
130
117
|
- lib/sidekiq/redis_connection.rb
|
131
118
|
- lib/sidekiq/scheduled.rb
|
119
|
+
- lib/sidekiq/sd_notify.rb
|
120
|
+
- lib/sidekiq/systemd.rb
|
132
121
|
- lib/sidekiq/testing.rb
|
133
122
|
- lib/sidekiq/testing/inline.rb
|
134
123
|
- lib/sidekiq/util.rb
|
@@ -136,6 +125,7 @@ files:
|
|
136
125
|
- lib/sidekiq/web.rb
|
137
126
|
- lib/sidekiq/web/action.rb
|
138
127
|
- lib/sidekiq/web/application.rb
|
128
|
+
- lib/sidekiq/web/csrf_protection.rb
|
139
129
|
- lib/sidekiq/web/helpers.rb
|
140
130
|
- lib/sidekiq/web/router.rb
|
141
131
|
- lib/sidekiq/worker.rb
|
@@ -145,6 +135,7 @@ files:
|
|
145
135
|
- web/assets/images/status.png
|
146
136
|
- web/assets/javascripts/application.js
|
147
137
|
- web/assets/javascripts/dashboard.js
|
138
|
+
- web/assets/stylesheets/application-dark.css
|
148
139
|
- web/assets/stylesheets/application-rtl.css
|
149
140
|
- web/assets/stylesheets/application.css
|
150
141
|
- web/assets/stylesheets/bootstrap-rtl.min.css
|
@@ -163,6 +154,7 @@ files:
|
|
163
154
|
- web/locales/it.yml
|
164
155
|
- web/locales/ja.yml
|
165
156
|
- web/locales/ko.yml
|
157
|
+
- web/locales/lt.yml
|
166
158
|
- web/locales/nb.yml
|
167
159
|
- web/locales/nl.yml
|
168
160
|
- web/locales/pl.yml
|
@@ -173,6 +165,7 @@ files:
|
|
173
165
|
- web/locales/ta.yml
|
174
166
|
- web/locales/uk.yml
|
175
167
|
- web/locales/ur.yml
|
168
|
+
- web/locales/vi.yml
|
176
169
|
- web/locales/zh-cn.yml
|
177
170
|
- web/locales/zh-tw.yml
|
178
171
|
- web/views/_footer.erb
|
@@ -197,7 +190,7 @@ homepage: http://sidekiq.org
|
|
197
190
|
licenses:
|
198
191
|
- LGPL-3.0
|
199
192
|
metadata: {}
|
200
|
-
post_install_message:
|
193
|
+
post_install_message:
|
201
194
|
rdoc_options: []
|
202
195
|
require_paths:
|
203
196
|
- lib
|
@@ -212,9 +205,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
205
|
- !ruby/object:Gem::Version
|
213
206
|
version: '0'
|
214
207
|
requirements: []
|
215
|
-
|
216
|
-
|
217
|
-
signing_key:
|
208
|
+
rubygems_version: 3.1.2
|
209
|
+
signing_key:
|
218
210
|
specification_version: 4
|
219
211
|
summary: Simple, efficient background processing for Ruby
|
220
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
|