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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e9b2d76480a6185e35ea510b938157c107e10399
4
- data.tar.gz: ee6207ccc16fc5417a44bced5e0b66156d79fad2
2
+ SHA256:
3
+ metadata.gz: 49f284c7a691aa183dbda07f8cd9f3d6e33f9f6e0e79985f17f6ef8c67d5e71d
4
+ data.tar.gz: 45641da1cdb9a8d50c883bf137096a7c2c63f01eaac96ba10e89ec8f0d1ca615
5
5
  SHA512:
6
- metadata.gz: d16c0b1325755777b338f982f13b6fc146ff8759201a017887bffd2371215edbeed097338e2f4514a6c066f27fdd1e4c1edf147b9b9f6b56fcdcd95432b83c4b
7
- data.tar.gz: 7531d900cd291d72f3797681c01a69cc2ddb4875f6688588fc7a3a400ff313b588a649adda807d255e957600c4dd442462aea4a44a8e8b77ef5f3cd817e1d609
6
+ metadata.gz: 60aae9c66697be21e1f2eda5049579d132310b3238c45ea72867fb9a25709d08cad82fae96eba3ddea34f6b46a5a0ab9c2da8d2a8031d1d5b606a4659707eaec
7
+ data.tar.gz: b55549b06221984a1e3f904ebb352978ade7eef9cc1576f35d00f3d0de0652490dd2abb05e833d41d4e43636e8a2a2eda993bec1d8c183a801d0cde242e15001
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "delayed_job_web"
3
- gem.version = "1.4.3"
3
+ gem.version = "1.4.4"
4
4
  gem.author = "Erick Schmitt"
5
5
  gem.email = "ejschmitt@gmail.com"
6
6
  gem.homepage = "https://github.com/ejschmitt/delayed_job_web"
@@ -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.update_attributes(:run_at => Time.now, :failed_at => nil)
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.update_attributes(:run_at => Time.now, :failed_at => nil, :locked_by => nil, :locked_at => nil, :last_error => nil, :attempts => 0)
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(overview enqueued working pending failed stats) .each do |page|
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.3
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: 2018-06-11 00:00:00.000000000 Z
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
- rubyforge_project:
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