sidekiq-cron 2.3.0 → 2.3.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sidekiq/cron/job.rb +3 -3
- data/lib/sidekiq/cron/version.rb +1 -1
- data/lib/sidekiq/cron/views/cron.erb +2 -2
- data/lib/sidekiq/cron/views/cron_show.erb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e088e2cce323ffd21798bdaf3818e6b49bb5dd7ae98e4005899df45603c9529
|
4
|
+
data.tar.gz: b3771467c144d7ac4de9f30f00f15fdff4fba7750ee3b0e74df09a3fd88215ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25cf2dc9507fc3b8a8e65b9a0e14bbc52449be13c4e7083f059b3cd1d07b0bac8006a3db5c77d37a18372cce12241e99c46f8d370c39ed8bcfc3a9791429c013
|
7
|
+
data.tar.gz: 60126836a12d6d1df44f76f2fdf4c473b1ec4e5dc723582e092cb6ac5e47178cffa7bf048b2afa7bf2fcf7f1428dd9ea1f4a8eb5ffe1c9b868a733fed12d0d0a
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## 2.3.1
|
6
|
+
|
7
|
+
- Fix manually launch enqueue job not working from web UI (https://github.com/sidekiq-cron/sidekiq-cron/pull/564)
|
8
|
+
|
5
9
|
## 2.3.0
|
6
10
|
|
7
11
|
- **WARNING** The default value for `available_namespaces` has changed from `nil` to `[default_namespace]`. Please refer to the [migration guide](https://github.com/sidekiq-cron/sidekiq-cron/blob/master/README.md#migrating-to-23) for further details (https://github.com/sidekiq-cron/sidekiq-cron/pull/552)
|
data/lib/sidekiq/cron/job.rb
CHANGED
@@ -17,8 +17,8 @@ module Sidekiq
|
|
17
17
|
# Use serialize/deserialize key of GlobalID.
|
18
18
|
GLOBALID_KEY = "_sc_globalid"
|
19
19
|
|
20
|
-
attr_accessor :name, :namespace, :cron, :description, :klass, :
|
21
|
-
attr_reader :
|
20
|
+
attr_accessor :name, :namespace, :cron, :description, :klass, :message
|
21
|
+
attr_reader :last_enqueue_time, :fetch_missing_args, :source, :args
|
22
22
|
|
23
23
|
def initialize input_args = {}
|
24
24
|
args = Hash[input_args.map{ |k, v| [k.to_s, v] }]
|
@@ -379,7 +379,7 @@ module Sidekiq
|
|
379
379
|
|
380
380
|
def human_cron
|
381
381
|
Cronex::ExpressionDescriptor.new(cron).description
|
382
|
-
rescue
|
382
|
+
rescue
|
383
383
|
cron
|
384
384
|
end
|
385
385
|
|
data/lib/sidekiq/cron/version.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<small>(<%= @current_namespace %>)</small>
|
6
6
|
</h2>
|
7
7
|
<% if @cron_jobs.size > 0 %>
|
8
|
-
<
|
8
|
+
<div class="filter buttons-row">
|
9
9
|
<form action="<%= root_path %>cron/namespaces/<%= @current_namespace %>/all/delete" method="post">
|
10
10
|
<%= csrf_tag %>
|
11
11
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSureDeleteCronJobs') %>" />
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<%= csrf_tag %>
|
23
23
|
<input class="btn btn-primary" type="submit" name="enqueue" value="<%= t('EnqueueAll') %>" data-confirm="<%= t('AreYouSureEnqueueCronJobs') %>" />
|
24
24
|
</form>
|
25
|
-
</
|
25
|
+
</div>
|
26
26
|
<% end %>
|
27
27
|
</header>
|
28
28
|
<!-- Namespaces -->
|
@@ -6,8 +6,8 @@
|
|
6
6
|
<small><%= @job.name %></small>
|
7
7
|
</h2>
|
8
8
|
</div>
|
9
|
-
|
10
|
-
|
9
|
+
<% cron_job_path = "#{root_path}cron/namespaces/#{@current_namespace}/jobs/#{CGI.escape(@job.name).gsub('+', '%20')}" %>
|
10
|
+
<div class="filter buttons-row">
|
11
11
|
<form action="<%= cron_job_path %>/enqueue?redirect=<%= cron_job_path %>" method="post">
|
12
12
|
<%= csrf_tag %>
|
13
13
|
<input class="btn btn-primary" name="enqueue" type="submit" value="<%= t('EnqueueNow') %>" data-confirm="<%= t('AreYouSureEnqueueCronJob', :job => @job.name) %>" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<input class="btn btn-danger" data-confirm="<%= t('AreYouSureDeleteCronJob', :job => @job.name) %>" name="delete" type="submit" value="<%= t('Delete') %>" />
|
28
28
|
</form>
|
29
29
|
<% end %>
|
30
|
-
</
|
30
|
+
</div>
|
31
31
|
</header>
|
32
32
|
<table class="table table-bordered table-striped">
|
33
33
|
<tbody>
|
@@ -90,4 +90,4 @@
|
|
90
90
|
<% else %>
|
91
91
|
<div class='alert alert-success'><%= t 'NoHistoryWereFound' %></div>
|
92
92
|
<% end %>
|
93
|
-
</section>
|
93
|
+
</section>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-cron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondrej Bartas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cronex
|
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
requirements: []
|
232
|
-
rubygems_version: 3.
|
232
|
+
rubygems_version: 3.4.10
|
233
233
|
signing_key:
|
234
234
|
specification_version: 4
|
235
235
|
summary: Scheduler/Cron for Sidekiq jobs
|