sidekiq-undertaker 1.6.0 → 1.8.0.rc01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby-build.yml +8 -6
  3. data/.rubocop.yml +6 -5
  4. data/.rubocop_codeclimate.yml +1 -1
  5. data/.rubocop_todo.yml +20 -8
  6. data/CHANGELOG.md +21 -0
  7. data/Gemfile +19 -2
  8. data/lib/sidekiq/undertaker/dead_job.rb +1 -1
  9. data/lib/sidekiq/undertaker/version.rb +1 -1
  10. data/lib/sidekiq/undertaker/web_extension/api_helpers.rb +44 -33
  11. data/lib/sidekiq/undertaker.rb +5 -3
  12. data/renovate.json +3 -2
  13. data/sidekiq-undertaker.gemspec +3 -24
  14. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +377 -0
  15. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +362 -0
  16. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +362 -0
  17. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +352 -0
  18. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +352 -0
  19. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_all_failures_and_errors/behaves_like_a_page/{the_displayed_page_is_correct_for_sidekiqv7.approved.txt → the_displayed_page_is_correct_for_sidekiqv8.approved.txt} +212 -98
  20. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +407 -0
  21. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/with_pagination/behaves_like_a_page/{the_displayed_page_is_correct_for_sidekiqv7.approved.txt → the_displayed_page_is_correct_for_sidekiqv8.approved.txt} +276 -160
  22. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt +407 -0
  23. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/with_pagination/behaves_like_a_page/{the_displayed_page_is_correct_for_sidekiqv7.approved.txt → the_displayed_page_is_correct_for_sidekiqv8.approved.txt} +276 -160
  24. data/spec/sidekiq/undertaker/dead_jobs_spec.rb +2 -2
  25. data/spec/sidekiq/undertaker/web_extension_spec.rb +12 -13
  26. data/spec/spec_helper.rb +14 -1
  27. data/spec/support/monkey_patch/approvals/writers/text_writer.rb +20 -0
  28. metadata +17 -305
  29. data/.github/dependabot.yml +0 -8
  30. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -256
  31. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -265
  32. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -241
  33. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -250
  34. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -241
  35. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -250
  36. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -231
  37. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -240
  38. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -231
  39. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -240
  40. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_all_failures_and_errors/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -326
  41. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -284
  42. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -293
  43. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -1310
  44. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -284
  45. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt +0 -293
  46. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt +0 -1310
@@ -23,7 +23,7 @@ module Sidekiq
23
23
  error_class: "NoMethodError",
24
24
  error_msg: "undefined method `pause` for H...",
25
25
  bucket_name: "1_hour",
26
- job: job
26
+ job:
27
27
  }
28
28
  end
29
29
 
@@ -38,7 +38,7 @@ module Sidekiq
38
38
  {
39
39
  time_elapsed_since_failure: 9,
40
40
  bucket_name: "1_hour",
41
- job: job
41
+ job:
42
42
  }
43
43
  end
44
44
 
@@ -2,12 +2,6 @@
2
2
 
3
3
  require "spec_helper"
4
4
 
5
- require "sidekiq/api"
6
- require "sidekiq/web"
7
- require "sinatra"
8
- require "rack/test"
9
- require "stringio"
10
-
11
5
  module Sidekiq
12
6
  # rubocop:disable Metrics/ModuleLength
13
7
  module Undertaker
@@ -15,12 +9,17 @@ module Sidekiq
15
9
  include Rack::Test::Methods
16
10
 
17
11
  let(:app) do
18
- Sidekiq::Web.new.tap do |app|
19
- # In order to use the Web UI of Sidekiq `6.2` a session is required
20
- # SEE: https://github.com/mperham/sidekiq/blob/master/Changes.md#620
21
- app.use Rack::Session::Cookie, secret: "A-Test-Web-Session-Secret"
12
+ # In order to use the Web UI of Sidekiq a session is required
13
+ # SEE: https://github.com/mperham/sidekiq/blob/master/Changes.md#620
14
+ secret = "A-Test-Web-Session-Secret--A-Test-Web-Session-Secret--A-Test-Web-Session-Secret"
15
+ Sidekiq::Web.configure do |c|
16
+ c.middlewares.clear
17
+ c.use Rack::Session::Cookie, secrets: secret
22
18
  end
19
+
20
+ Sidekiq::Web.new
23
21
  end
22
+
24
23
  let(:job_refs) { [] }
25
24
 
26
25
  let(:jid1) { "4416aa76eb8cf03f56a49220" }
@@ -51,7 +50,7 @@ module Sidekiq
51
50
  job_refs.push add_dead("jid" => jid3, "error_class" => "NoMethodError")
52
51
  job_refs.push add_dead("jid" => jid4, "class" => "HardWorker1", "error_class" => "NoMethodError")
53
52
 
54
- allow_any_instance_of(Sidekiq::WebAction).to receive(:root_path).and_return("/sidekiq/")
53
+ allow_any_instance_of(Sidekiq::Web::Action).to receive(:root_path).and_return("/sidekiq/")
55
54
 
56
55
  allow_any_instance_of(::Sidekiq::Web::CsrfProtection).to receive(:valid_token?).and_return(true)
57
56
  end
@@ -221,7 +220,7 @@ module Sidekiq
221
220
  it "redirects back to referer after delete" do
222
221
  subject
223
222
  expect(last_response.status).to eq 302
224
- expect(last_response.header["Location"]).to include "/undertaker/morgue/all/all/total_dead"
223
+ expect(last_response.headers["Location"]).to include "/undertaker/morgue/all/all/total_dead"
225
224
  end
226
225
  end
227
226
 
@@ -445,7 +444,7 @@ module Sidekiq
445
444
  "key[]=#{job_refs[0]}&retry=Retry+Now",
446
445
  "HTTP_REFERER" => "/undertaker/morgue/all/all/all/total_dead")
447
446
  expect(last_response.status).to eq 302
448
- expect(last_response.header["Location"]).to include("/undertaker/morgue/all/all/all/total_dead")
447
+ expect(last_response.headers["Location"]).to include("/undertaker/morgue/all/all/all/total_dead")
449
448
  end
450
449
  end
451
450
  end
data/spec/spec_helper.rb CHANGED
@@ -11,9 +11,12 @@ ENV["RACK_ENV"] ||= ENV["ENVIRONMENT"] ||= "test"
11
11
 
12
12
  require "bundler/setup"
13
13
  Bundler.setup
14
+
14
15
  require "approvals/rspec"
15
16
  require "mock_redis"
16
17
  require "pry"
18
+ require "rack/session"
19
+ require "rack/test"
17
20
  require "sidekiq"
18
21
  require "timecop"
19
22
 
@@ -36,6 +39,12 @@ end
36
39
 
37
40
  require "sidekiq/undertaker"
38
41
 
42
+ [
43
+ "spec/support/**/*.rb"
44
+ ].each do |pattern|
45
+ Dir[File.join(pattern)].each { |file| require file.gsub("spec/", "") }
46
+ end
47
+
39
48
  RSpec.configure do |config|
40
49
  config.run_all_when_everything_filtered = true
41
50
  config.filter_run :focus
@@ -50,7 +59,7 @@ RSpec.configure do |config|
50
59
  Kernel.srand config.seed
51
60
 
52
61
  config.before do
53
- ::Sidekiq.redis(&:flushdb)
62
+ Sidekiq.redis(&:flushdb)
54
63
  end
55
64
  end
56
65
 
@@ -77,3 +86,7 @@ def push_job(params)
77
86
  queue_name = params["queue"] || "default"
78
87
  Sidekiq::Queue.new(queue_name).find_job(jid)
79
88
  end
89
+
90
+ Approvals.configure do |c|
91
+ c.approvals_path = "spec/fixtures/approvals/"
92
+ end
@@ -0,0 +1,20 @@
1
+ require "approvals/writer"
2
+
3
+ module Approvals
4
+ module Writers
5
+ class TextWriter
6
+ # HINT: Monkey patch TextWriter to replace nonce value
7
+ alias orig_format format
8
+ def format(data)
9
+ formated_data = orig_format(data)
10
+ replace_nonce(formated_data)
11
+ end
12
+
13
+ private
14
+
15
+ def replace_nonce(data)
16
+ data.gsub(/nonce="(.*)"/, 'nonce="<nonce>"')
17
+ end
18
+ end
19
+ end
20
+ end
metadata CHANGED
@@ -1,287 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-undertaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.8.0.rc01
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Koppensteiner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-02 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '1.17'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '3'
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '1.17'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '3'
33
- - !ruby/object:Gem::Dependency
34
- name: rake
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '13.0'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '13.0'
47
- - !ruby/object:Gem::Dependency
48
- name: approvals
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 0.0.25
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 0.0.25
61
- - !ruby/object:Gem::Dependency
62
- name: mock_redis
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '0.19'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '0.19'
75
- - !ruby/object:Gem::Dependency
76
- name: pry
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '0.12'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '0.12'
89
- - !ruby/object:Gem::Dependency
90
- name: rack-test
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '2.0'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '2.0'
103
- - !ruby/object:Gem::Dependency
104
- name: rb-readline
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '0.5'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '0.5'
117
- - !ruby/object:Gem::Dependency
118
- name: rspec
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.8'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.8'
131
- - !ruby/object:Gem::Dependency
132
- name: rspec-core
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '3.8'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '3.8'
145
- - !ruby/object:Gem::Dependency
146
- name: rspec-mocks
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '3.8'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '3.8'
159
- - !ruby/object:Gem::Dependency
160
- name: rspec-sidekiq
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '3.0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '3.0'
173
- - !ruby/object:Gem::Dependency
174
- name: rt_rubocop_defaults
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: '2.4'
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: '2.4'
187
- - !ruby/object:Gem::Dependency
188
- name: rubocop
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: '1.37'
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '1.37'
201
- - !ruby/object:Gem::Dependency
202
- name: rubocop-rake
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '0.6'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '0.6'
215
- - !ruby/object:Gem::Dependency
216
- name: rubocop-rspec
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - "~>"
220
- - !ruby/object:Gem::Version
221
- version: '2.14'
222
- type: :development
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - "~>"
227
- - !ruby/object:Gem::Version
228
- version: '2.14'
229
- - !ruby/object:Gem::Dependency
230
- name: rubocop_runner
231
- requirement: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - "~>"
234
- - !ruby/object:Gem::Version
235
- version: '2.2'
236
- type: :development
237
- prerelease: false
238
- version_requirements: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - "~>"
241
- - !ruby/object:Gem::Version
242
- version: '2.2'
243
- - !ruby/object:Gem::Dependency
244
- name: simplecov
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '0.21'
250
- type: :development
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - "~>"
255
- - !ruby/object:Gem::Version
256
- version: '0.21'
257
- - !ruby/object:Gem::Dependency
258
- name: sinatra
259
- requirement: !ruby/object:Gem::Requirement
260
- requirements:
261
- - - "~>"
262
- - !ruby/object:Gem::Version
263
- version: '2.0'
264
- type: :development
265
- prerelease: false
266
- version_requirements: !ruby/object:Gem::Requirement
267
- requirements:
268
- - - "~>"
269
- - !ruby/object:Gem::Version
270
- version: '2.0'
271
- - !ruby/object:Gem::Dependency
272
- name: timecop
273
- requirement: !ruby/object:Gem::Requirement
274
- requirements:
275
- - - "~>"
276
- - !ruby/object:Gem::Version
277
- version: '0.9'
278
- type: :development
279
- prerelease: false
280
- version_requirements: !ruby/object:Gem::Requirement
281
- requirements:
282
- - - "~>"
283
- - !ruby/object:Gem::Version
284
- version: '0.9'
285
13
  - !ruby/object:Gem::Dependency
286
14
  name: rubyzip
287
15
  requirement: !ruby/object:Gem::Requirement
@@ -300,20 +28,14 @@ dependencies:
300
28
  name: sidekiq
301
29
  requirement: !ruby/object:Gem::Requirement
302
30
  requirements:
303
- - - ">="
304
- - !ruby/object:Gem::Version
305
- version: '6.4'
306
- - - "<"
31
+ - - "~>"
307
32
  - !ruby/object:Gem::Version
308
33
  version: '8'
309
34
  type: :runtime
310
35
  prerelease: false
311
36
  version_requirements: !ruby/object:Gem::Requirement
312
37
  requirements:
313
- - - ">="
314
- - !ruby/object:Gem::Version
315
- version: '6.4'
316
- - - "<"
38
+ - - "~>"
317
39
  - !ruby/object:Gem::Version
318
40
  version: '8'
319
41
  description: |2
@@ -327,7 +49,6 @@ extensions: []
327
49
  extra_rdoc_files: []
328
50
  files:
329
51
  - ".codeclimate.yml"
330
- - ".github/dependabot.yml"
331
52
  - ".github/workflows/ruby-build.yml"
332
53
  - ".gitignore"
333
54
  - ".rspec"
@@ -354,26 +75,16 @@ files:
354
75
  - lib/sidekiq/undertaker/web_extension/api_helpers.rb
355
76
  - renovate.json
356
77
  - sidekiq-undertaker.gemspec
357
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
358
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
359
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
360
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
361
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
362
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
363
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
364
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
365
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
366
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
367
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_all_failures_and_errors/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
368
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_all_failures_and_errors/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
369
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
370
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
371
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
372
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
373
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
374
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
375
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv6.approved.txt
376
- - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv7.approved.txt
78
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
79
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
80
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
81
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_called/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
82
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classerror_classbucket_page_is_polled/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
83
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_all_failures_and_errors/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
84
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
85
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_job_class_error_and_specific_error_message/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
86
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
87
+ - spec/fixtures/approvals/sidekiq_undertaker_webextension/show_morgue/when_job_classerrorbucket_is_called/with_specific_job_class_and_a_specific_error/with_pagination/behaves_like_a_page/the_displayed_page_is_correct_for_sidekiqv8.approved.txt
377
88
  - spec/sidekiq/undertaker/bucket_spec.rb
378
89
  - spec/sidekiq/undertaker/dead_jobs_spec.rb
379
90
  - spec/sidekiq/undertaker/job_distributor_spec.rb
@@ -381,6 +92,7 @@ files:
381
92
  - spec/sidekiq/undertaker/web_extension_spec.rb
382
93
  - spec/sidekiq/undertaker_spec.rb
383
94
  - spec/spec_helper.rb
95
+ - spec/support/monkey_patch/approvals/writers/text_writer.rb
384
96
  - web/locales/en.yml
385
97
  - web/views/filter.erb
386
98
  - web/views/filter_job_class.erb
@@ -405,14 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
405
117
  requirements:
406
118
  - - ">="
407
119
  - !ruby/object:Gem::Version
408
- version: 2.6.0
120
+ version: 3.2.0
409
121
  required_rubygems_version: !ruby/object:Gem::Requirement
410
122
  requirements:
411
123
  - - ">="
412
124
  - !ruby/object:Gem::Version
413
125
  version: '0'
414
126
  requirements: []
415
- rubygems_version: 3.1.6
127
+ rubygems_version: 3.5.22
416
128
  signing_key:
417
129
  specification_version: 4
418
130
  summary: Sidekiq::Undertaker allows exploring, reviving or burying dead jobs
@@ -1,8 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: bundler
4
- directory: "/"
5
- schedule:
6
- interval: monthly
7
- open-pull-requests-limit: 10
8
- versioning-strategy: increase