delayed_job_admin 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- delayed_job_admin (1.0.0)
4
+ delayed_job_admin (1.0.1)
5
5
  delayed_job
6
6
  rails
7
7
 
@@ -3,6 +3,7 @@
3
3
  <table id="jobs">
4
4
  <thead>
5
5
  <tr>
6
+ <th>id</th>
6
7
  <th>priority</th>
7
8
  <th>attempts</th>
8
9
  <th>handler</th>
@@ -18,10 +19,11 @@
18
19
  <tbody>
19
20
  <% Delayed::Job.all.reverse.each do |job| %>
20
21
  <tr class="job" id="job-<%= job.id %>">
22
+ <td><%= job.id %></td>
21
23
  <td><%= job.priority %></td>
22
24
  <td><%= job.attempts %></td>
23
- <td><%= truncate(job.handler || 'nil', :length => 50).gsub('---', '') %></td>
24
- <td><%= truncate(job.last_error || 'nil', :length => 50) %></td>
25
+ <td><%= truncate(job.handler || '-', :length => 40).gsub('--- !', '') %></td>
26
+ <td><%= truncate(job.last_error || '-', :length => 40) %></td>
25
27
  <td><%= job.run_at.present? ? job.run_at.to_s(:short) : '-' %></td>
26
28
  <td><%= job.locked_at.present? ? job.locked_at.to_s(:short) : '-' %></td>
27
29
  <td><%= job.failed_at.present? ? job.failed_at.to_s(:short) : '-' %></td>
@@ -1,3 +1,3 @@
1
1
  module DelayedJobAdmin
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_admin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Trevor Turk