sidekiq-killswitch 1.0.0.pre2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ce3724e1e338f618383c5457d27d56b2915e6711
4
- data.tar.gz: c2aa676ea6fa4c7e0298dd6b611f9550c8e581ec
2
+ SHA256:
3
+ metadata.gz: 19e742c53121e79d47f431622fb85caaa363db4e588465fcebbef34fd24b4c66
4
+ data.tar.gz: '073755898e20e6190cc4578b1094b42a8880a09e7c7825be55a27ad9ff585165'
5
5
  SHA512:
6
- metadata.gz: f2700cff628ba1a7f24e15ee410ae514011e574839842654aad6a63a563b41d4d7b2641bd0c0536435114e6489e2face8dcadecad5d02b936644b202b90abe55
7
- data.tar.gz: 5484328ca71f6eb37acaea3c08141b603c216bcd790bdc4fd861b9047ab81cab5679001c9a798c3f371531e6e105d0f620d18dd878c8d04b840a02ab6f0e1ceb
6
+ metadata.gz: bb06743e6f30e348cf7187ac93853edde5a26c06764f52b2fd273cf6635456582d093da42632a1129dc218adf078068e6fb504441b059a46de818bdc726bbc5b
7
+ data.tar.gz: 071ba3570e2ded8313c637b39442e92f2c5d781751d49efc294057c2e272b73a2136dc017e810fccb99744c29f5cf18a73a29c485aad7a27cd94eae0c8b19b12
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
- ### 1.0.0.pre1 / 2017-08-14
2
- * Initial release - wip
1
+ ### 1.1.0 / 2024-07-01
2
+ * Add in warning banner to Sidekiq UI so users are linked to docs and informed of the difference of sending jobs to blackhole vs. dead queue
3
+
4
+ ### 1.0.0 / 2018-02-20
5
+ * `1.0.0.pre2` released as `1.0.0`.
3
6
 
4
7
  ### 1.0.0.pre2 / 2017-08-14
5
8
  * Bugfix: job hash serialization before putting to the dead queue
9
+
10
+ ### 1.0.0.pre1 / 2017-08-14
11
+ * Initial release - wip
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,25 @@
1
+ # Contributing
2
+
3
+ We welcome contributions. For small changes, open a pull request. If you'd like to discuss an improvement or fix before writing the code, please open a Github issue.
4
+
5
+ ## Reporting Issues
6
+
7
+ Please report issues in Github issues.
8
+
9
+ # Table of Contents
10
+
11
+ - [Contributing](#contributing)
12
+ - [Reporting Issues](#reporting-issues)
13
+ - [Table of Contents](#table-of-contents)
14
+ - [Technical Details](#technical-details)
15
+ - [Local Development](#local-development)
16
+
17
+
18
+ ## Technical Details
19
+ ### Local Development
20
+ Clone the repo and open in your IDE of choice.
21
+
22
+ ### Releasing a new version
23
+ Tag the branch with the appropriate version number (ex v1.2.0) with `git tag v1.2.0`.
24
+
25
+ Push to the remote repo with `git push origin --tags`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Killswitch
5
- VERSION = '1.0.0.pre2'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
@@ -4,6 +4,16 @@
4
4
 
5
5
  <h3><%= t('blackholed_workers')%></h3>
6
6
 
7
+ <div class="alert alert-danger" role="alert">
8
+ <p>Blackholing workers drops instances of these workers when these instances are pushed to the Sidekiq queue or processed (<a
9
+ href="https://github.com/square/sidekiq-killswitch?tab=readme-ov-file#how-does-it-work" class="alert-link">docs</a>).</p>
10
+
11
+ <p>Only blackhole workers that you don't want to retry later! (e.g. cron jobs or jobs you don't care about) You should be able to reach a state
12
+ of correctness without retrying these workers.</p>
13
+
14
+ <p>Use <%= t('dead_queue_workers') %> if you want to retry these jobs later from the dead queue.</p>
15
+ </div>
16
+
7
17
  <form action="<%= root_path %>kill-switches/blackhole_add" method="post" style="margin-bottom: 4px;">
8
18
  <%= csrf_tag %>
9
19
  <input name="worker_name" />
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-killswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuriy Naidyon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-23 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.49.1
83
- description:
83
+ description:
84
84
  email: yurokle@gmail.com
85
85
  executables: []
86
86
  extensions: []
@@ -89,6 +89,7 @@ files:
89
89
  - ".gitignore"
90
90
  - ".rubocop.yml"
91
91
  - CHANGES.md
92
+ - CONTRIBUTING.md
92
93
  - Gemfile
93
94
  - LICENSE
94
95
  - README.md
@@ -118,7 +119,7 @@ licenses:
118
119
  - Apache-2.0
119
120
  metadata:
120
121
  allowed_push_host: https://rubygems.org
121
- post_install_message:
122
+ post_install_message:
122
123
  rdoc_options: []
123
124
  require_paths:
124
125
  - lib
@@ -129,13 +130,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
130
  version: 2.2.2
130
131
  required_rubygems_version: !ruby/object:Gem::Requirement
131
132
  requirements:
132
- - - ">"
133
+ - - ">="
133
134
  - !ruby/object:Gem::Version
134
- version: 1.3.1
135
+ version: '0'
135
136
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.6.12
138
- signing_key:
137
+ rubygems_version: 3.4.19
138
+ signing_key:
139
139
  specification_version: 4
140
140
  summary: Cross-host Sidekiq worker killswitches
141
141
  test_files: