bard 0.48.0 → 0.48.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
  SHA256:
3
- metadata.gz: 7bb22c1837b63f605c0417e3ce283546623b2a8dfd1b8728f95bda0466f65fa0
4
- data.tar.gz: fb674ce15fdf02f6113caa5d553bae0633b5b9873b7fb39a0378716b17a34bb5
3
+ metadata.gz: d2eaab88a123ab9ab44846344aa5e8e8599af9fb1e1206c48707f34b6df6c5d5
4
+ data.tar.gz: 9e94cc636d50aeafbdda79e0f7a11962e22f103f0f7ab32f9da5b2fce50e3afa
5
5
  SHA512:
6
- metadata.gz: 877e9bf78d365846fb83dcd5d77b14a2b1bec637a29f95c55b4dd6c121cbb8bdb2e1656907afef3ef798599c8c03e4b68003092a9893c6cda9a0a24aa322734b
7
- data.tar.gz: 97a5adca93a34605c47c61d18c9f283e058c9f3342f38df2b59f288d734d7b03e69909f64f1058f0034dea265facc05f21afcc6328e00acc2fde0e99095f24aa
6
+ metadata.gz: d0eddcdcc47879e43e99edde8e4e1ba0b2f645b6221cf5a17a3cfe3478644cec1209578b16939951da85b7860729735219a0f87f653bcc1b3f9ba956724a4882
7
+ data.tar.gz: cfa32a78dc1c8a4919e6247f69f76aa774709427a673e414364cb20322c4ec7b63c2dd17b054c0e53dcfb45a87b6cd2ba157565e45ada587d54e82ca44fd14c7
@@ -91,7 +91,7 @@ class Bard::CLI < Thor
91
91
  end
92
92
 
93
93
  def success?
94
- json["status"] == "success"
94
+ json["status"] == "completed" && json["conclusion"] == "success"
95
95
  end
96
96
 
97
97
  def job
@@ -101,16 +101,6 @@ class Bard::CLI < Thor
101
101
  def console
102
102
  job.logs
103
103
  end
104
-
105
- # OTHER STATUSES
106
- # completed
107
- # action_required
108
- # cancelled
109
- # failure
110
- # neutral
111
- # skipped
112
- # stale
113
- # timed_out
114
104
  end
115
105
 
116
106
  class Job < Struct.new(:api, :json)
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.48.0"
2
+ VERSION = "0.48.1"
3
3
  end
4
4
 
@@ -13,7 +13,8 @@ describe Bard::CLI::CI::GithubActions::API do
13
13
 
14
14
  describe "#last_successful_run" do
15
15
  xit "has #time_elapsed" do
16
- subject.last_successful_run.time_elapsed
16
+ run = subject.last_successful_run
17
+ run.time_elapsed
17
18
  end
18
19
 
19
20
  xit "has #console" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.48.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel