canvas_sync 0.19.0.beta5 → 0.19.0.beta6
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e161b36c336053558c4fa4f9b50c28fc31e1933827ffe56a652cdf5e85ae0b
|
4
|
+
data.tar.gz: 59aaa3fee73931362afd3bf383c38662d2badb8ec80fd79dd8cb1af4ff67c230
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 586e812860caf0600edebe16cd79bc54edcae3c6c58f28690917430dfe36cf9e14f99c3f0878d5be502f3d1dd74b04b2c784e2193e571e1b2500024e642d46e0
|
7
|
+
data.tar.gz: 8ee7ea7f0354b63dfa07c0b33daaa28c4b11ee23f512c78cb57c875f2fb21818463f1a9a1e632e6f4c8765176e852401f640f4feba2dd7652e0e919bb8217d33
|
@@ -73,3 +73,9 @@
|
|
73
73
|
<%= erb get_template(:_jobs_table), locals: { jobs: @jobs } %>
|
74
74
|
</div>
|
75
75
|
<% end %>
|
76
|
+
|
77
|
+
<form class="form-horizontal" action="<%= root_path %>batches/<%= @batch.bid %>" method="post">
|
78
|
+
<%= csrf_tag %>
|
79
|
+
<a class="btn btn-default" href="<%= root_path %>batches"><%= t('GoBack') %></a>
|
80
|
+
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSure') %>" />
|
81
|
+
</form>
|
@@ -131,7 +131,8 @@ module CanvasSync::JobBatches::Sidekiq
|
|
131
131
|
|
132
132
|
app.post "/batches/all" do
|
133
133
|
if params['delete']
|
134
|
-
|
134
|
+
index_key = CanvasSync::JobBatches::Batch::INDEX_ALL_BATCHES ? "batches" : "BID-ROOT-bids"
|
135
|
+
drain_zset(index_key) do |batches|
|
135
136
|
batches.each do |bid|
|
136
137
|
CanvasSync::JobBatches::Batch.cleanup_redis(bid)
|
137
138
|
end
|
data/lib/canvas_sync/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.0.
|
4
|
+
version: 0.19.0.beta6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure CustomDev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|