queue_classic_admin 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 946cb4d0473ffde53ec5e34c5717d401301c8812
4
- data.tar.gz: 6430df6af903fd1eb951b256aaea3ccd69d655b3
3
+ metadata.gz: f79c0e07c15e15f5d70c2e19da6e410b8fdc982a
4
+ data.tar.gz: 300b1e8754de1ea758d978996a5bf423210d4fb3
5
5
  SHA512:
6
- metadata.gz: 685264c0b5baf370d185c48ffc0925e4f4618a9c1594962ca106d4bd4c73de1e11e262c639159642fbb0dae9747dea055a8d1f4b8983d7f83b40cc26a9d0ce59
7
- data.tar.gz: ccefd1acb224ef9cee68a5329f9313412e92a9ce51a7a086a7d78ca4b0d1387808c5d700603a041a32c818eb5682b50b48204de3ba0fa734311199f9a7482980
6
+ metadata.gz: 0c066445ad7933e4b63babdf96552e6272de0e74066d8ead6727d5340ae1c962ae684bf40f6036d7f45ab74863d9cabfad990088ca3987d0205f72d384a8c3c9
7
+ data.tar.gz: b7d269012dd5c2ba24780df6e104948c0eafa44fa1abd51e19a31a998b2326b5a211b6b74bbcfcdfdcad180bcaca8877250935eaa83a3366af1ef268b7182c3e
@@ -15,6 +15,7 @@
15
15
  <th>Queue</th>
16
16
  <th>ID</th>
17
17
  <th>Enqueued At</th>
18
+ <th>Locked At</th>
18
19
  <th>Method</th>
19
20
  <th>Arguments</th>
20
21
  <% if @klass.columns_hash['not_before'] %>
@@ -43,6 +44,17 @@
43
44
  (<%= queue_classic_job.created_at %>)
44
45
  </small>
45
46
  </td>
47
+ <td>
48
+ <% if queue_classic_job[:locked_at].nil? %>
49
+ &mdash;
50
+ <% else %>
51
+ <%= time_ago_in_words queue_classic_job.locked_at %>
52
+ <br/>
53
+ <small>
54
+ (<%= queue_classic_job.locked_at %>)
55
+ </small>
56
+ <% end %>
57
+ </td>
46
58
  <td><%= queue_classic_job.method %></td>
47
59
  <td><%= queue_classic_job.arguments.inspect%></td>
48
60
  <% if @klass.columns_hash['not_before'] %>
@@ -1,3 +1,3 @@
1
1
  module QueueClassicAdmin
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_classic_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Mathieu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-28 00:00:00.000000000 Z
11
+ date: 2013-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails