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.
- checksums.yaml +4 -4
- data/lib/hu/deploy.rb +2 -1
- data/lib/hu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1d391f6842f57db884984ce1877497d2780b9f7
|
4
|
+
data.tar.gz: 84d5212c7eccb8e1e0ec71ef04630924ddf0d577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61daa4d0a2e766b71788253411852f471683e9a5923dcd9993f76c07c3a29ebc26fb9f08ebb351ad5c93078892fcc2fe0ed171ebe1a2c9c87e5101ac436d41e8
|
7
|
+
data.tar.gz: 30efbda8614edc409a99d3fca2bbde9bdceff217e9e0cca6b49d2fb48de89b39c25d4ed921275a93141ebebaf252ba6d4e3ad314717f38ed9f668967895a45f1
|
data/lib/hu/deploy.rb
CHANGED
@@ -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
|
-
|
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
|
|
data/lib/hu/version.rb
CHANGED