termcity 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: dc6bd575a30f6f6645b4b570814226738ac30c94
4
- data.tar.gz: 8a17bd4fcbe547978d0fe25cf950ac157f251c8f
3
+ metadata.gz: 6e1c39c41f6dbc54340c207b937d7356de7a1e07
4
+ data.tar.gz: c5c362e06caad468490f03b7da10ed61d457b37d
5
5
  SHA512:
6
- metadata.gz: feb982a06dfe3285d17df91e688758bf17928f2186f325d59ac3e8e394f0336c6e34ce7159c99c485f6f6888fef93f7aba0d5391dcf625552641310a007ff4bb
7
- data.tar.gz: 58a7a64dfb71260546b71d4b6dae2d3b81c5732cd456f963eedf09a6755a32ebef7345a8ad6a31c23a9cf98bb599bd1d133fde1fd1f2c72f8bd93137d1fb5367
6
+ metadata.gz: e1272d632e21ddd22b65e74c1b1a9fca30aeb12dfba7a09d975c62c010ee0f9f5be5df51d077e2fe36a98d9624af6d1eec98c5b8d6f349e5b71be8c1516a7a78
7
+ data.tar.gz: a0abf764f1fb442eedc087aeb497e3bd2713f357320c60296f1ac748cb0a28e26b6194ba4a4f93e8750cec21d6292095afee33bccfd9173660595d6ae7e898f4
@@ -55,10 +55,12 @@ module Termcity
55
55
  elsif summary.counts[:queued] == summary.counts[:total]
56
56
  "This revision may still be in the queue (or may be unkown/old)"
57
57
  else
58
+
59
+ revision = summary.builds.map {|b| b.dig(:raw, "sha")}.compact.first
58
60
  [
59
61
  rows,
60
62
  "",
61
- "Revision: #{summary.builds.first.dig(:raw, "sha")}",
63
+ "Revision: #{revision}",
62
64
  "Overview: #{summary.overview_link}",
63
65
  counts(summary),
64
66
  ].join("\n")
@@ -1,3 +1,3 @@
1
1
  module Termcity
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termcity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom