sidekiq-undertaker 1.0.0.rc04 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +9 -2
  3. data/.github/dependabot.yml +8 -0
  4. data/.github/workflows/ruby-build.yml +51 -0
  5. data/.gitignore +1 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +4 -0
  8. data/.rubocop_codeclimate.yml +5 -0
  9. data/.rubocop_todo.yml +5 -5
  10. data/.travis.yml +22 -17
  11. data/README.md +3 -2
  12. data/Rakefile +2 -0
  13. data/lib/sidekiq/undertaker/dead_job.rb +1 -1
  14. data/lib/sidekiq/undertaker/version.rb +1 -1
  15. data/lib/sidekiq/undertaker/web_extension/api_helpers.rb +5 -1
  16. data/lib/sidekiq/undertaker/web_extension.rb +2 -0
  17. data/lib/sidekiq/undertaker.rb +1 -1
  18. data/renovate.json +5 -0
  19. data/sidekiq-undertaker.gemspec +14 -10
  20. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_filter_page_is_called/behaves_like_a_page/{the_displayed_page_is_correct.approved.txt → the_displayed_page_is_correct_for_sidekiqv6.approved.txt} +2 -0
  21. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_called/behaves_like_a_page/{the_displayed_page_is_correct.approved.txt → the_displayed_page_is_correct_for_sidekiqv6.approved.txt} +2 -0
  22. data/spec/fixtures/approvals/sidekiq_undertaker_webextension/show_filter/when_job_classbucket_page_is_polled/behaves_like_a_page/{the_displayed_page_is_correct.approved.txt → the_displayed_page_is_correct_for_sidekiqv6.approved.txt} +2 -0
  23. 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.approved.txt → the_displayed_page_is_correct_for_sidekiqv6.approved.txt} +9 -4
  24. 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.approved.txt → the_displayed_page_is_correct_for_sidekiqv6.approved.txt} +9 -4
  25. 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 +1305 -0
  26. data/spec/sidekiq/undertaker/dead_jobs_spec.rb +1 -1
  27. data/spec/sidekiq/undertaker/job_distributor_spec.rb +6 -6
  28. data/spec/sidekiq/undertaker/job_filter_spec.rb +4 -3
  29. data/spec/sidekiq/undertaker/web_extension_spec.rb +30 -4
  30. data/spec/spec_helper.rb +4 -5
  31. data/web/views/morgue.erb +3 -5
  32. metadata +52 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19668b3b7cac37a6489e64c28c4441913e1a4d567ff18b642858e9f094ca7018
4
- data.tar.gz: daa2af12b24943bdef8c8ee7df79845b47c29945ac02a074612d35d881c4d272
3
+ metadata.gz: b83cd4a266136182c00e82e85f9173d9c8b53722302ea8bc6b440706b31b12f2
4
+ data.tar.gz: 478bb085a406e62c4f9b6eb2b4cd8e465b39dafaffa1a827c17669ffca488c83
5
5
  SHA512:
6
- metadata.gz: 99a6184209df79ca19a258d4b5059d00041e175d7aed55268bfe176d7718aeebc745561da19c450921d7a9126612f40995ce495062395f8d6689481c0db8691b
7
- data.tar.gz: 7d674e82d42f3d6706bbca013b5072cc2abcd403d0f80504964546bb2748006f0cf0dbf9b28b146ad10b95a724567162e2c5e9a00f314ebd8f80cc2454176ae1
6
+ metadata.gz: fe769f3ef5497ae2848dcd3bd858495152b813a72970cd6b311b1655c7d65e025e64cd2e88a808f4f23cced4ee2d4cc19cc7daf598df119a4127d5cbd276de16
7
+ data.tar.gz: bad9876a8e994490b9461f443cd93b02da7363dc9c2b1b7a6ea936741c3d4865b99b58e7328a34cdae8d66224d52bedb02affeefbe9737ba23f1825d3bc8dc46
data/.codeclimate.yml CHANGED
@@ -1,6 +1,13 @@
1
1
  version: "2"
2
+ prepare:
3
+ fetch:
4
+ - url: "https://raw.githubusercontent.com/runtastic/rt_rubocop_defaults/master/config/default.yml"
5
+ path: .rt_rubocop_defaults.yml
2
6
  plugins:
3
7
  git-legal:
4
8
  enabled: true
5
- # rubocop:
6
- # enabled: true
9
+ rubocop:
10
+ enabled: true
11
+ channel: rubocop-1-8-1
12
+ config:
13
+ file: .rubocop_codeclimate.yml
@@ -0,0 +1,8 @@
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
@@ -0,0 +1,51 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby-Build
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+
21
+ services:
22
+ redis:
23
+ image: redis
24
+ ports:
25
+ - 6379:6379
26
+
27
+ strategy:
28
+ fail-fast: false
29
+ matrix:
30
+ # SEE: https://github.com/ruby/setup-ruby#supported-versions
31
+ ruby-version:
32
+ - 'ruby'
33
+ - '3.1'
34
+ - '2.7'
35
+ - 'jruby'
36
+ - 'jruby-9.3.2.0'
37
+ - 'jruby-9.2.20.0'
38
+ - 'truffleruby'
39
+ - 'truffleruby+graalvm'
40
+
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+ - name: Set up Ruby
44
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
45
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
46
+ uses: ruby/setup-ruby@v1
47
+ with:
48
+ ruby-version: ${{ matrix.ruby-version }}
49
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
50
+ - name: Run tests
51
+ run: bundle exec rspec spec
data/.gitignore CHANGED
@@ -9,6 +9,7 @@ _yardoc
9
9
  *.gem
10
10
  *.rbc
11
11
  *.received.*
12
+ *.rt_rubocop_defaults.yml
12
13
  coverage
13
14
  doc/
14
15
  Gemfile.lock
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ -r ./spec/spec_helper.rb
data/.rubocop.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  require:
2
+ - rubocop-rake
2
3
  - rubocop-rspec
3
4
  - rt_rubocop_defaults
4
5
 
5
6
  inherit_from: .rubocop_todo.yml
7
+
8
+ AllCops:
9
+ TargetRubyVersion: 2.5
@@ -0,0 +1,5 @@
1
+ require:
2
+ - rubocop-rspec
3
+ inherit_from:
4
+ - .rt_rubocop_defaults.yml
5
+ - .rubocop_todo.yml
data/.rubocop_todo.yml CHANGED
@@ -1,20 +1,20 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-12-06 21:33:12 +0100 using RuboCop version 0.77.0.
3
+ # on 2021-01-26 20:10:48 UTC using RuboCop version 1.8.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 2
10
- # Configuration parameters: Severity.
10
+ # Configuration parameters: IgnoredMethods, CountRepeatedAttributes, Severity.
11
11
  Metrics/AbcSize:
12
12
  Max: 22
13
13
 
14
- # Offense count: 3
15
- # Configuration parameters: CountComments, ExcludedMethods, Severity.
14
+ # Offense count: 2
15
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods, Severity.
16
16
  Metrics/MethodLength:
17
- Max: 19
17
+ Max: 14
18
18
 
19
19
  # Offense count: 5
20
20
  # Configuration parameters: .
data/.travis.yml CHANGED
@@ -1,41 +1,46 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.4.9
5
- - 2.5.7
6
- - 2.6.5
7
- - jruby-9.1.17.0
8
- - jruby-9.2.9.0
9
- # - truffleruby # https://github.com/oracle/truffleruby/issues/1398
4
+ - 3.0.1
5
+ - 2.7.3
6
+ - 2.6.7
7
+ - 2.5.8
8
+ - jruby # latest
9
+ - jruby-9.2.17.0
10
+ #
11
+ # 1. https://github.com/oracle/truffleruby/issues/1398
12
+ # 2. Nokogiri build fails
13
+ # - truffleruby # latest
14
+ # - truffleruby-21.0.0
10
15
  jdk:
11
16
  - oraclejdk11
12
17
  env:
13
18
  global:
14
19
  - CC_TEST_REPORTER_ID=7b2f0f3c9e20e50573e293fe3743a322a74e54087f95abc98d0f1dd1f3dd0a97
15
20
  matrix:
16
- - "JRUBY_OPTS='--dev --debug'"
21
+ - "JRUBY_OPTS='--debug'"
17
22
  - "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
18
23
 
19
24
  matrix:
20
25
  exclude:
21
- - rvm: 2.4.9
26
+ - rvm: 3.0.1
22
27
  env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
23
- - rvm: 2.5.7
28
+ - rvm: 2.7.3
24
29
  env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
25
- - rvm: 2.6.5
30
+ - rvm: 2.6.7
31
+ env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
32
+ - rvm: 2.5.8
33
+ env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
34
+ - rvm: truffleruby-21.0.0
35
+ env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
36
+ - rvm: truffleruby
26
37
  env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
27
38
  allow_failures:
28
39
  - rvm: truffleruby
29
- - env: "JRUBY_OPTS='-Xcompile.invokedynamic=true --debug'"
30
-
40
+ - rvm: truffleruby-21.0.0
31
41
  services:
32
42
  - redis-server
33
43
 
34
- before_install:
35
- - gem update --system
36
- - gem install bundler -v "~> 1.0"
37
- - gem install bundler -v "~> 2.0"
38
-
39
44
  before_script:
40
45
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
41
46
  - chmod +x ./cc-test-reporter
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![Build Status](https://travis-ci.org/ThomasKoppensteiner/sidekiq-undertaker.svg?branch=master)](https://travis-ci.org/ThomasKoppensteiner/sidekiq-undertaker)
5
5
  [![Code Climate](https://codeclimate.com/github/ThomasKoppensteiner/sidekiq-undertaker.svg)](https://codeclimate.com/github/ThomasKoppensteiner/sidekiq-undertaker)
6
6
  [![Test Coverage](https://api.codeclimate.com/v1/badges/d442eb0a323d8911661f/test_coverage)](https://codeclimate.com/github/ThomasKoppensteiner/sidekiq-undertaker/test_coverage)
7
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop-hq/rubocop)
7
8
 
8
9
  ## About
9
10
 
@@ -32,7 +33,7 @@ Or install it yourself as:
32
33
  $ gem install sidekiq-undertaker
33
34
  ````
34
35
 
35
- #### Install the Rubocop Pre-Commit Hook
36
+ #### Development: Install the Rubocop Pre-Commit Hook
36
37
 
37
38
  ````sh
38
39
  $ rake rubocop:install
@@ -80,7 +81,7 @@ this fork was renamed to `sidekiq-undertaker`.
80
81
 
81
82
  The [Sidekiq-Cleaner](https://github.com/HackingHabits/sidekiq-cleaner) gem was originally created by [Madan Thangavelu](https://github.com/HackingHabits).
82
83
  [Tout](https://github.com/Tout/sidekiq-cleaner) and [TheWudu](https://github.com/TheWudu/sidekiq-cleaner) also contributed to it.
83
- For the complete list of network members have a look at the [fork overview](https://github.com/ThomasKoppensteiner/sidekiq-under/network/members).
84
+ For the complete list of network members have a look at the [fork overview](https://github.com/ThomasKoppensteiner/sidekiq-undertaker/network/members).
84
85
 
85
86
  ## Alternative Projects
86
87
 
data/Rakefile CHANGED
@@ -28,6 +28,8 @@ begin
28
28
  RSpec::Core::RakeTask.new(:spec)
29
29
 
30
30
  task default: :spec
31
+
32
+ desc "run specs"
31
33
  task test: :spec
32
34
  rescue LoadError
33
35
  puts "RSpec not available!"
@@ -50,7 +50,7 @@ module Sidekiq
50
50
 
51
51
  attr_writer :job_class, :time_elapsed_since_failure, :error_class, :bucket_name, :job
52
52
 
53
- def job_eql?(other_job) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity
53
+ def job_eql?(other_job) # rubocop:disable Metrics/AbcSize
54
54
  job.jid == other_job.jid &&
55
55
  job.item == other_job.item &&
56
56
  job.args == other_job.args &&
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Undertaker
5
- VERSION = "1.0.0.rc04"
5
+ VERSION = "1.1.0"
6
6
  end
7
7
  end
@@ -35,7 +35,7 @@ module Sidekiq
35
35
  # Display dead jobs as list
36
36
  @dead_jobs = @dead_jobs.map(&:job)
37
37
 
38
- @undertaker_path = "undertaker/#{@req_job_class}/#{@req_error_class}/#{@req_bucket_name}"
38
+ @undertaker_path = "undertaker/morgue/#{@req_job_class}/#{@req_error_class}/#{@req_bucket_name}"
39
39
 
40
40
  # Pagination
41
41
  @total_dead = @dead_jobs.size
@@ -43,6 +43,10 @@ module Sidekiq
43
43
  @count = 50 # per page
44
44
  @dead_jobs = @dead_jobs[((@current_page - 1) * @count), @count]
45
45
 
46
+ # HINT: For making the pagination from sidekiq work, @total_size needs to be set
47
+ # https://github.com/mperham/sidekiq/blob/master/web/views/_paging.erb#L1
48
+ @total_size = @total_dead
49
+
46
50
  # Remove unrelated arguments to allow _paginate url to be clean
47
51
  # Hack to continue to reuse sidekiq's _pagination template
48
52
  params.delete("job_class")
@@ -5,6 +5,7 @@ require "sidekiq/undertaker/web_extension/api_helpers"
5
5
  module Sidekiq
6
6
  module Undertaker
7
7
  module WebExtension
8
+ # rubocop:disable Metrics/MethodLength
8
9
  def self.registered(app)
9
10
  app.helpers APIHelpers
10
11
 
@@ -32,6 +33,7 @@ module Sidekiq
32
33
  post_undertaker_job_class_error_class_buckent_name_retry
33
34
  end
34
35
  end
36
+ # rubocop:enable Metrics/MethodLength
35
37
  end
36
38
  end
37
39
  end
@@ -5,7 +5,7 @@ require "sidekiq/undertaker/web_extension"
5
5
 
6
6
  begin
7
7
  require "sidekiq/web"
8
- rescue LoadError # rubocop:disable Lint/SuppressedException
8
+ rescue LoadError
9
9
  # client-only usage
10
10
  end
11
11
 
data/renovate.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ]
5
+ }
@@ -19,21 +19,24 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.homepage = "https://github.com/ThomasKoppensteiner/sidekiq-undertaker"
21
21
  spec.metadata = {
22
- "homepage_uri" => "https://github.com/ThomasKoppensteiner/sidekiq-undertaker",
23
- "source_code_uri" => "https://github.com/ThomasKoppensteiner/sidekiq-undertaker",
24
- "bug_tracker_uri" => "https://github.com/ThomasKoppensteiner/sidekiq-undertaker/issues",
25
- "build_status_uri" => "https://travis-ci.org/ThomasKoppensteiner/sidekiq-undertaker"
22
+ "homepage_uri" => "https://github.com/ThomasKoppensteiner/sidekiq-undertaker",
23
+ "source_code_uri" => "https://github.com/ThomasKoppensteiner/sidekiq-undertaker",
24
+ "bug_tracker_uri" => "https://github.com/ThomasKoppensteiner/sidekiq-undertaker/issues",
25
+ "build_status_uri" => "https://travis-ci.org/ThomasKoppensteiner/sidekiq-undertaker",
26
+ "rubygems_mfa_required" => "true"
26
27
  }
27
28
 
29
+ spec.required_ruby_version = ">= 2.5.0"
30
+
28
31
  spec.files = `git ls-files -z`.split("\x0")
29
32
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
30
33
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
31
34
  spec.require_paths = ["lib", "lib/sidekiq/undertaker"]
32
35
 
33
36
  spec.add_development_dependency "bundler", ">= 1.17", "<3"
34
- spec.add_development_dependency "rake", "~> 12.3"
37
+ spec.add_development_dependency "rake", "~> 13.0"
35
38
 
36
- spec.add_development_dependency "approvals", "~> 0.0", ">= 0.0.24"
39
+ spec.add_development_dependency "approvals", "~> 0.0.25"
37
40
  spec.add_development_dependency "mock_redis", "~> 0.19"
38
41
  spec.add_development_dependency "pry", "~> 0.12"
39
42
  spec.add_development_dependency "rack-test", "~> 1.1"
@@ -42,13 +45,14 @@ Gem::Specification.new do |spec|
42
45
  spec.add_development_dependency "rspec-core", "~> 3.8"
43
46
  spec.add_development_dependency "rspec-mocks", "~> 3.8"
44
47
  spec.add_development_dependency "rspec-sidekiq", "~> 3.0"
45
- spec.add_development_dependency "rt_rubocop_defaults", "~> 1.2"
46
- spec.add_development_dependency "rubocop", "~> 0.77"
47
- spec.add_development_dependency "rubocop-rspec", "~> 1.30"
48
+ spec.add_development_dependency "rt_rubocop_defaults", "~> 2.3"
49
+ spec.add_development_dependency "rubocop", "~> 1.8"
50
+ spec.add_development_dependency "rubocop-rake", "~> 0.5"
51
+ spec.add_development_dependency "rubocop-rspec", "~> 2.0"
48
52
  spec.add_development_dependency "rubocop_runner", "~> 2.1"
49
53
  spec.add_development_dependency "simplecov", "~> 0.14"
50
54
  spec.add_development_dependency "sinatra", "~> 2.0"
51
55
  spec.add_development_dependency "timecop", "~> 0.9"
52
56
 
53
- spec.add_runtime_dependency "sidekiq", ">= 5.2", "< 7"
57
+ spec.add_runtime_dependency "sidekiq", ">= 6.2.2", "< 6.3"
54
58
  end
@@ -9,8 +9,10 @@
9
9
 
10
10
 
11
11
  <link href="/sidekiq/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
12
+ <link href="/sidekiq/stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
12
13
 
13
14
 
15
+ <link rel="apple-touch-icon" href="/sidekiq/images/apple-touch-icon.png">
14
16
  <link rel="shortcut icon" type="image/ico" href="/sidekiq/images/favicon.ico" />
15
17
  <script type="text/javascript" src="/sidekiq/javascripts/application.js"></script>
16
18
  <meta name="google" content="notranslate" />
@@ -9,8 +9,10 @@
9
9
 
10
10
 
11
11
  <link href="/sidekiq/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
12
+ <link href="/sidekiq/stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
12
13
 
13
14
 
15
+ <link rel="apple-touch-icon" href="/sidekiq/images/apple-touch-icon.png">
14
16
  <link rel="shortcut icon" type="image/ico" href="/sidekiq/images/favicon.ico" />
15
17
  <script type="text/javascript" src="/sidekiq/javascripts/application.js"></script>
16
18
  <meta name="google" content="notranslate" />
@@ -9,8 +9,10 @@
9
9
 
10
10
 
11
11
  <link href="/sidekiq/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
12
+ <link href="/sidekiq/stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
12
13
 
13
14
 
15
+ <link rel="apple-touch-icon" href="/sidekiq/images/apple-touch-icon.png">
14
16
  <link rel="shortcut icon" type="image/ico" href="/sidekiq/images/favicon.ico" />
15
17
  <script type="text/javascript" src="/sidekiq/javascripts/application.js"></script>
16
18
  <meta name="google" content="notranslate" />
@@ -9,8 +9,10 @@
9
9
 
10
10
 
11
11
  <link href="/sidekiq/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
12
+ <link href="/sidekiq/stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
12
13
 
13
14
 
15
+ <link rel="apple-touch-icon" href="/sidekiq/images/apple-touch-icon.png">
14
16
  <link rel="shortcut icon" type="image/ico" href="/sidekiq/images/favicon.ico" />
15
17
  <script type="text/javascript" src="/sidekiq/javascripts/application.js"></script>
16
18
  <meta name="google" content="notranslate" />
@@ -164,13 +166,16 @@
164
166
  </h3>
165
167
  </div>
166
168
  <div class="col-sm-12">
167
-
169
+ <div class="col-sm-4">
170
+
171
+
172
+ </div>
168
173
  </div>
169
174
  </header>
170
175
 
171
176
 
172
177
  <form action="/sidekiq/undertaker/morgue" method="post">
173
- <input type='hidden' name='authenticity_token' value=''/>
178
+ <input type='hidden' name='authenticity_token' value='stubbed-csrf-token'/>
174
179
  <table class="table table-striped table-bordered table-white">
175
180
  <thead>
176
181
  <tr>
@@ -277,12 +282,12 @@
277
282
  </form>
278
283
 
279
284
  <form action="/sidekiq/undertaker/morgue/all/all/total_dead/delete" method="post">
280
- <input type='hidden' name='authenticity_token' value=''/>
285
+ <input type='hidden' name='authenticity_token' value='stubbed-csrf-token'/>
281
286
  <input class="btn btn-danger btn-xs pull-right" type="submit" name="delete" value="Bury All" data-confirm="Are you sure?" />
282
287
  </form>
283
288
 
284
289
  <form action="/sidekiq/undertaker/morgue/all/all/total_dead/retry" method="post">
285
- <input type='hidden' name='authenticity_token' value=''/>
290
+ <input type='hidden' name='authenticity_token' value='stubbed-csrf-token'/>
286
291
  <input class="btn btn-danger btn-xs pull-right" type="submit" name="retry" value="Revive All" data-confirm="Are you sure?" />
287
292
  </form>
288
293
 
@@ -9,8 +9,10 @@
9
9
 
10
10
 
11
11
  <link href="/sidekiq/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
12
+ <link href="/sidekiq/stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
12
13
 
13
14
 
15
+ <link rel="apple-touch-icon" href="/sidekiq/images/apple-touch-icon.png">
14
16
  <link rel="shortcut icon" type="image/ico" href="/sidekiq/images/favicon.ico" />
15
17
  <script type="text/javascript" src="/sidekiq/javascripts/application.js"></script>
16
18
  <meta name="google" content="notranslate" />
@@ -164,13 +166,16 @@
164
166
  </h3>
165
167
  </div>
166
168
  <div class="col-sm-12">
167
-
169
+ <div class="col-sm-4">
170
+
171
+
172
+ </div>
168
173
  </div>
169
174
  </header>
170
175
 
171
176
 
172
177
  <form action="/sidekiq/undertaker/morgue" method="post">
173
- <input type='hidden' name='authenticity_token' value=''/>
178
+ <input type='hidden' name='authenticity_token' value='stubbed-csrf-token'/>
174
179
  <table class="table table-striped table-bordered table-white">
175
180
  <thead>
176
181
  <tr>
@@ -235,12 +240,12 @@
235
240
  </form>
236
241
 
237
242
  <form action="/sidekiq/undertaker/morgue/HardWorker/RuntimeError/1_hour/delete" method="post">
238
- <input type='hidden' name='authenticity_token' value=''/>
243
+ <input type='hidden' name='authenticity_token' value='stubbed-csrf-token'/>
239
244
  <input class="btn btn-danger btn-xs pull-right" type="submit" name="delete" value="Bury All" data-confirm="Are you sure?" />
240
245
  </form>
241
246
 
242
247
  <form action="/sidekiq/undertaker/morgue/HardWorker/RuntimeError/1_hour/retry" method="post">
243
- <input type='hidden' name='authenticity_token' value=''/>
248
+ <input type='hidden' name='authenticity_token' value='stubbed-csrf-token'/>
244
249
  <input class="btn btn-danger btn-xs pull-right" type="submit" name="retry" value="Revive All" data-confirm="Are you sure?" />
245
250
  </form>
246
251