bard 0.48.0 → 0.49.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bb22c1837b63f605c0417e3ce283546623b2a8dfd1b8728f95bda0466f65fa0
4
- data.tar.gz: fb674ce15fdf02f6113caa5d553bae0633b5b9873b7fb39a0378716b17a34bb5
3
+ metadata.gz: 5cb419fc2b00c18d30f063e319aed724202e92a5fa90be7aedeaebbc9ffc7442
4
+ data.tar.gz: 7ed9b8e370081de8066f91c0ebc0096f1fd5ee68870f3c5e6653370f6457524e
5
5
  SHA512:
6
- metadata.gz: 877e9bf78d365846fb83dcd5d77b14a2b1bec637a29f95c55b4dd6c121cbb8bdb2e1656907afef3ef798599c8c03e4b68003092a9893c6cda9a0a24aa322734b
7
- data.tar.gz: 97a5adca93a34605c47c61d18c9f283e058c9f3342f38df2b59f288d734d7b03e69909f64f1058f0034dea265facc05f21afcc6328e00acc2fde0e99095f24aa
6
+ metadata.gz: 4363c68ed6e10896ada82d79dbe990af712465fd9ac7434194e16af61a235a315d3e9f9be8a03726f307f1449228104da894f1e1a77ba073fcce2a40d29f72a9
7
+ data.tar.gz: f8a3736d63072637a27a790765ef7fbbecd4ee61cdec14aa03af390f76105cd965a118ce2f9bbad80f19c752d2b5e9373d2c62416014edd617b34e0ed5158e56
@@ -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/config.rb CHANGED
@@ -12,10 +12,17 @@ class Bard::CLI < Thor
12
12
  "./",
13
13
  false,
14
14
  ),
15
+ theia: Server.new(
16
+ project_name,
17
+ :theia,
18
+ "gubito@gubs.pagekite.me",
19
+ "Sites/#{project_name}",
20
+ false,
21
+ ),
15
22
  gubs: Server.new(
16
23
  project_name,
17
24
  :gubs,
18
- "gubito@gubs.pagekite.me",
25
+ "botandrose@cloud.hackett.world:22022",
19
26
  "Sites/#{project_name}",
20
27
  false,
21
28
  ),
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.48.0"
2
+ VERSION = "0.49.0"
3
3
  end
4
4
 
data/lib/bard.rb CHANGED
@@ -149,8 +149,8 @@ class Bard::CLI < Thor
149
149
  desc "ssh [TO=production]", "logs into the specified server via SSH"
150
150
  def ssh to=:production
151
151
  command = "exec $SHELL -l"
152
- if to == "gubs" && !options["home"]
153
- server = @config.servers[:gubs]
152
+ if to == "theia" && !options["home"]
153
+ server = @config.servers[:theia]
154
154
  command = %(bash -lic "exec ./vagrant \\"cd #{server.path} && #{command}\\"")
155
155
  exec ssh_command(to, command, home: true)
156
156
  else
@@ -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.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel