resque-job_history 0.0.16 → 0.0.17

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: 7d86950b6a60c676750855dfeeffb782760ff7917450c15cb2b7d3f3346ec17d
4
- data.tar.gz: ad7976566b66d71ff660df3698f3d584d00d48a1bef9f61044ce996331dbf0c8
3
+ metadata.gz: b43c1dc7fc2ffd02571c60c0f50d4e7426bfd182e44dda1bb76175c2178b0606
4
+ data.tar.gz: 84edfdefea39d88c6ef623587d72ed0c97bf51b712d232e193cfe64c07da6766
5
5
  SHA512:
6
- metadata.gz: f0b931b266f54794b252e174f639f9bda5a27bf3db59e5f8af36a86803cf29332e52465b0551fba2c9934eecbc5b0df2a1ca4663478961634767e319a93f026d
7
- data.tar.gz: '08f87c20c98ebedd24572452c33aa4c8268dc7298bfb87d74bb0bb3bd5043140ac6b1851bbdd629ee3108c3373147cfae0c35c4ae47fcfb7de2f890cb7f786e6'
6
+ metadata.gz: a2cf03c484c94b3a3fbe3374bde9e9d159f859a2959962b2a280c0c3d2d1746a30d4eda389f6e75c9001513dbe9d5bcc01240791cc5b023265a8d8863c61b2ba
7
+ data.tar.gz: e5077bab52fadd868706ceaa9fc766a57abc73a241627fb1be0537434b11192caf7e1cb97f14d2192a98063f57736b78d94cfaa9825238ba95741cbb8df44e40
@@ -26,7 +26,7 @@
26
26
  <td>
27
27
  <% if class_info.last_run %>
28
28
  <% if class_info.last_run.finished? %>
29
- <%= distance_of_time_in_words(class_info.last_run.start_time, class_info.last_run.end_time) %>
29
+ <%= distance_of_time_in_words((class_info.last_run.start_time || Time.now), (class_info.last_run.end_time || Time.now)) %>
30
30
  (<%= class_info.last_run.end_time %>)
31
31
  <% else %>
32
32
  Still running...
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-job_history
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque
@@ -285,8 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
285
  - !ruby/object:Gem::Version
286
286
  version: '0'
287
287
  requirements: []
288
- rubyforge_project:
289
- rubygems_version: 2.7.6
288
+ rubygems_version: 3.0.3
290
289
  signing_key:
291
290
  specification_version: 4
292
291
  summary: Keeps a history of run jobs by job.