delayed_job_web 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/delayed_job_web.gemspec +1 -1
- data/lib/delayed_job_web/application/app.rb +3 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 49f284c7a691aa183dbda07f8cd9f3d6e33f9f6e0e79985f17f6ef8c67d5e71d
|
4
|
+
data.tar.gz: 45641da1cdb9a8d50c883bf137096a7c2c63f01eaac96ba10e89ec8f0d1ca615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60aae9c66697be21e1f2eda5049579d132310b3238c45ea72867fb9a25709d08cad82fae96eba3ddea34f6b46a5a0ab9c2da8d2a8031d1d5b606a4659707eaec
|
7
|
+
data.tar.gz: b55549b06221984a1e3f904ebb352978ade7eef9cc1576f35d00f3d0de0652490dd2abb05e833d41d4e43636e8a2a2eda993bec1d8c183a801d0cde242e15001
|
data/delayed_job_web.gemspec
CHANGED
@@ -146,13 +146,13 @@ class DelayedJobWeb < Sinatra::Base
|
|
146
146
|
|
147
147
|
post "/requeue/:id" do
|
148
148
|
job = delayed_job.find(params[:id])
|
149
|
-
job.
|
149
|
+
job.update(run_at: Time.now, failed_at: nil)
|
150
150
|
redirect back
|
151
151
|
end
|
152
152
|
|
153
153
|
post "/reload/:id" do
|
154
154
|
job = delayed_job.find(params[:id])
|
155
|
-
job.
|
155
|
+
job.update(run_at: Time.now, failed_at: nil, locked_by: nil, locked_at: nil, last_error: nil, attempts: 0)
|
156
156
|
redirect back
|
157
157
|
end
|
158
158
|
|
@@ -192,7 +192,7 @@ class DelayedJobWeb < Sinatra::Base
|
|
192
192
|
@partial = false
|
193
193
|
end
|
194
194
|
|
195
|
-
%w
|
195
|
+
%w[overview enqueued working pending failed stats].each do |page|
|
196
196
|
get "/#{page}.poll" do
|
197
197
|
show_for_polling(page)
|
198
198
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_job_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erick Schmitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -166,8 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
|
170
|
-
rubygems_version: 2.6.11
|
169
|
+
rubygems_version: 3.1.4
|
171
170
|
signing_key:
|
172
171
|
specification_version: 4
|
173
172
|
summary: Web interface for delayed_job inspired by resque
|