hu 1.3.1 → 1.3.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hu/deploy.rb +2 -1
  3. data/lib/hu/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5a1c8a9f5ea62b9552f303f7554f6e658fac29e
4
- data.tar.gz: 5809a1b956e007195826841df1bc0d19dd27ba75
3
+ metadata.gz: b1d391f6842f57db884984ce1877497d2780b9f7
4
+ data.tar.gz: 84d5212c7eccb8e1e0ec71ef04630924ddf0d577
5
5
  SHA512:
6
- metadata.gz: c9f74ab65f8dc8d7b783fa343d001826d9661b951567f18d9a802a18df9f7b380d314b8b90c665031564f1990dbe717dc127e340f3d37c1705152043a929817a
7
- data.tar.gz: 405869cbb9743772d586f2a5d95e34f13fe4066572bfa701c895316283f038a31a538d935ce38a8aa984881aeff8e0f2f28724f84ae86f0711811ff3443ffbed
6
+ metadata.gz: 61daa4d0a2e766b71788253411852f471683e9a5923dcd9993f76c07c3a29ebc26fb9f08ebb351ad5c93078892fcc2fe0ed171ebe1a2c9c87e5101ac436d41e8
7
+ data.tar.gz: 30efbda8614edc409a99d3fca2bbde9bdceff217e9e0cca6b49d2fb48de89b39c25d4ed921275a93141ebebaf252ba6d4e3ad314717f38ed9f668967895a45f1
@@ -304,7 +304,8 @@ module Hu
304
304
  # heroku uses wrong timezone offset in the slug api... /facepalm
305
305
  #table_row[3] = ChronicDuration.output(Time.now.utc - Time.parse(slug_info['updated_at']), :units => 1)
306
306
 
307
- table_row[3] = ChronicDuration.output(Time.now.utc - Time.parse(release_info['updated_at']), :units => 1)
307
+ delta = Time.now.utc - Time.parse(release_info['updated_at'])
308
+ table_row[3] = delta < 60 ? 'less than a minute' : ChronicDuration.output(delta, :units => 1)
308
309
  table_row[3] += " ago"
309
310
  #table_row[3] += "\n\e[30;1m" + slug_info['updated_at']
310
311
 
@@ -1,3 +1,3 @@
1
1
  module Hu
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - moe