circleci-cli 4.0.2 → 4.0.4
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/.github/dependabot.yml +15 -36
- data/.github/workflows/release.yaml +1 -1
- data/.github/workflows/test.yml +7 -2
- data/.rubocop.yml +1 -1
- data/Gemfile +4 -1
- data/Gemfile.lock +71 -79
- data/README.md +4 -1
- data/circleci-cli.gemspec +2 -2
- data/lib/circleci/cli/command/watch_command/build_watcher.rb +3 -6
- data/lib/circleci/cli/printer/step_printer.rb +3 -3
- data/lib/circleci/cli/response/action.rb +5 -5
- data/lib/circleci/cli/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7718ff0c8d821ee30aa71236a808b2f327521555cce05e2a8d46cb08339ae891
|
|
4
|
+
data.tar.gz: ef5bce81e1923bdd06aab92a3d4c49197dbd8096a27c3bf01e32dd57d7157455
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df3199d7358b9952a92ebfef63431ab77fe9ba45b356663d3144b60bbc438695255d5a4c0d02a689cc0fee9bf292328b4126248c9ce8ec45e95ba4295c693a06
|
|
7
|
+
data.tar.gz: 2a9d42aad48ccba5d65db6280ff81b79baa6f4f256761936d6949b0de1f9e1246f214caa0259651cbe786d4f952d2ee4dc160db5bd0a394974031b39a3d617f0
|
data/.github/dependabot.yml
CHANGED
|
@@ -1,38 +1,17 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
|
-
- package-ecosystem: bundler
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- ">= 0.2.14.a, < 0.2.15"
|
|
19
|
-
- dependency-name: rubocop
|
|
20
|
-
versions:
|
|
21
|
-
- 1.12.1
|
|
22
|
-
- dependency-name: listen
|
|
23
|
-
versions:
|
|
24
|
-
- 3.5.0
|
|
25
|
-
- dependency-name: github_changelog_generator
|
|
26
|
-
versions:
|
|
27
|
-
- 1.16.0
|
|
28
|
-
- 1.16.1
|
|
29
|
-
- dependency-name: codecov
|
|
30
|
-
versions:
|
|
31
|
-
- 0.5.0
|
|
32
|
-
- dependency-name: regexp_parser
|
|
33
|
-
versions:
|
|
34
|
-
- 2.1.0
|
|
35
|
-
- 2.1.1
|
|
36
|
-
- dependency-name: activesupport
|
|
37
|
-
versions:
|
|
38
|
-
- 6.1.2
|
|
3
|
+
- package-ecosystem: bundler
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: daily
|
|
7
|
+
time: "12:00"
|
|
8
|
+
timezone: Asia/Tokyo
|
|
9
|
+
open-pull-requests-limit: 20
|
|
10
|
+
allow:
|
|
11
|
+
- dependency-type: direct
|
|
12
|
+
- dependency-type: indirect
|
|
13
|
+
ignore:
|
|
14
|
+
# openssl must match the default gem of the Ruby in .ruby-version,
|
|
15
|
+
# otherwise rubygems/release-gem aborts with Gem::LoadError.
|
|
16
|
+
# Bump it by hand together with .ruby-version.
|
|
17
|
+
- dependency-name: openssl
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
- name: Setup Git
|
|
31
31
|
run: |
|
|
32
32
|
git config --global user.email "unhappychoice@gmail.com"
|
|
33
|
-
git config --global user.name "
|
|
33
|
+
git config --global user.name "Yuji Ueki"
|
|
34
34
|
- name: Install gem-release
|
|
35
35
|
run: gem install gem-release
|
|
36
36
|
- name: Bump version
|
data/.github/workflows/test.yml
CHANGED
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
runs-on: ubuntu-latest
|
|
22
22
|
strategy:
|
|
23
23
|
matrix:
|
|
24
|
-
ruby: ['3.4.4', '3.3.8'
|
|
24
|
+
ruby: ['3.4.4', '3.3.8']
|
|
25
25
|
steps:
|
|
26
26
|
- uses: actions/checkout@master
|
|
27
27
|
- name: Set up Ruby
|
|
@@ -35,5 +35,10 @@ jobs:
|
|
|
35
35
|
- name: Run test
|
|
36
36
|
env:
|
|
37
37
|
COVERAGE: true
|
|
38
|
-
CODECOV_TOKEN: efe02ed0-e754-42a6-bb90-bbf345747bdc
|
|
39
38
|
run: bundle exec rspec
|
|
39
|
+
- name: Upload coverage to Codecov
|
|
40
|
+
if: matrix.ruby == '3.4.4'
|
|
41
|
+
uses: codecov/codecov-action@v5
|
|
42
|
+
with:
|
|
43
|
+
token: efe02ed0-e754-42a6-bb90-bbf345747bdc
|
|
44
|
+
files: coverage/.resultset.json
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
|
@@ -7,11 +7,14 @@ gemspec
|
|
|
7
7
|
gem 'abbrev'
|
|
8
8
|
gem 'base64'
|
|
9
9
|
gem 'bundler'
|
|
10
|
-
gem 'codecov'
|
|
11
10
|
gem 'github_changelog_generator'
|
|
12
11
|
gem 'guard'
|
|
13
12
|
gem 'guard-rspec'
|
|
14
13
|
gem 'guard-rubocop'
|
|
14
|
+
# Keep in sync with the openssl default gem of the Ruby in .ruby-version:
|
|
15
|
+
# rubygems/release-gem activates it via RUBYOPT before Bundler.setup, and a
|
|
16
|
+
# version mismatch aborts the release with Gem::LoadError.
|
|
17
|
+
gem 'openssl', '3.3.0'
|
|
15
18
|
gem 'rake'
|
|
16
19
|
gem 'rspec'
|
|
17
20
|
gem 'rubocop'
|
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
circleci-cli (4.0.
|
|
4
|
+
circleci-cli (4.0.4)
|
|
5
5
|
circleci (>= 2.1.0)
|
|
6
6
|
highline (>= 1.7.8, < 3.2.0)
|
|
7
7
|
launchy (>= 2.4.3, < 3.2.0)
|
|
8
8
|
pusher-client (~> 0.6.2)
|
|
9
9
|
rugged (>= 0.26, < 1.10)
|
|
10
|
-
terminal-notifier (
|
|
10
|
+
terminal-notifier (>= 2.0, < 3.2)
|
|
11
11
|
terminal-table (>= 1.8, < 4.1)
|
|
12
12
|
thor (>= 0.20, < 1.6)
|
|
13
13
|
|
|
@@ -15,86 +15,80 @@ GEM
|
|
|
15
15
|
remote: https://rubygems.org/
|
|
16
16
|
specs:
|
|
17
17
|
abbrev (0.1.2)
|
|
18
|
-
activesupport (
|
|
18
|
+
activesupport (8.1.4)
|
|
19
19
|
base64
|
|
20
|
-
benchmark (>= 0.3)
|
|
21
20
|
bigdecimal
|
|
22
21
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
23
22
|
connection_pool (>= 2.2.5)
|
|
24
23
|
drb
|
|
25
24
|
i18n (>= 1.6, < 2)
|
|
25
|
+
json
|
|
26
26
|
logger (>= 1.4.2)
|
|
27
27
|
minitest (>= 5.1)
|
|
28
28
|
securerandom (>= 0.3)
|
|
29
29
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
30
|
-
|
|
30
|
+
uri (>= 0.13.1)
|
|
31
|
+
addressable (2.9.0)
|
|
31
32
|
public_suffix (>= 2.0.2, < 8.0)
|
|
32
33
|
ast (2.4.3)
|
|
33
|
-
async (2.
|
|
34
|
+
async (2.46.0)
|
|
34
35
|
console (~> 1.29)
|
|
35
36
|
fiber-annotation
|
|
36
|
-
io-event (~> 1.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
protocol-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
traces (~> 0.10)
|
|
49
|
-
async-http-faraday (0.22.0)
|
|
50
|
-
async-http (~> 0.42)
|
|
37
|
+
io-event (~> 1.21)
|
|
38
|
+
async-http (0.105.0)
|
|
39
|
+
async (>= 2.35.1)
|
|
40
|
+
async-pool (~> 0.12)
|
|
41
|
+
io-endpoint (~> 0.18)
|
|
42
|
+
io-stream (~> 0.14)
|
|
43
|
+
protocol-http (~> 0.72)
|
|
44
|
+
protocol-http1 (~> 0.41)
|
|
45
|
+
protocol-http2 (~> 0.28)
|
|
46
|
+
protocol-url (~> 0.2)
|
|
47
|
+
async-http-faraday (0.24.0)
|
|
48
|
+
async-http (~> 0.99)
|
|
51
49
|
faraday
|
|
52
|
-
async-pool (0.
|
|
53
|
-
async (>=
|
|
50
|
+
async-pool (0.12.0)
|
|
51
|
+
async (>= 2.0)
|
|
54
52
|
base64 (0.3.0)
|
|
55
53
|
benchmark (0.5.0)
|
|
56
|
-
bigdecimal (4.
|
|
54
|
+
bigdecimal (4.1.3)
|
|
57
55
|
childprocess (5.1.0)
|
|
58
56
|
logger (~> 1.5)
|
|
59
57
|
circleci (2.1.0)
|
|
60
|
-
codecov (0.2.12)
|
|
61
|
-
json
|
|
62
|
-
simplecov
|
|
63
58
|
coderay (1.1.3)
|
|
64
|
-
concurrent-ruby (1.3.
|
|
65
|
-
connection_pool (
|
|
66
|
-
console (1.
|
|
59
|
+
concurrent-ruby (1.3.8)
|
|
60
|
+
connection_pool (3.0.2)
|
|
61
|
+
console (1.38.0)
|
|
67
62
|
fiber-annotation
|
|
68
63
|
fiber-local (~> 1.1)
|
|
69
64
|
json
|
|
70
65
|
diff-lcs (1.6.2)
|
|
71
|
-
docile (1.4.1)
|
|
72
66
|
drb (2.2.3)
|
|
73
|
-
faraday (2.14.
|
|
67
|
+
faraday (2.14.4)
|
|
74
68
|
faraday-net_http (>= 2.0, < 3.5)
|
|
75
69
|
json
|
|
76
70
|
logger
|
|
77
|
-
faraday-http-cache (
|
|
71
|
+
faraday-http-cache (3.0.0)
|
|
78
72
|
faraday (>= 0.8)
|
|
79
|
-
faraday-net_http (3.4.
|
|
73
|
+
faraday-net_http (3.4.4)
|
|
80
74
|
net-http (~> 0.5)
|
|
81
|
-
ffi (1.17.
|
|
75
|
+
ffi (1.17.4)
|
|
82
76
|
fiber-annotation (0.2.0)
|
|
83
77
|
fiber-local (1.1.0)
|
|
84
78
|
fiber-storage
|
|
85
79
|
fiber-storage (1.0.1)
|
|
86
80
|
formatador (1.2.3)
|
|
87
81
|
reline
|
|
88
|
-
github_changelog_generator (1.
|
|
82
|
+
github_changelog_generator (1.18.0)
|
|
89
83
|
activesupport
|
|
90
84
|
async (>= 1.25.0)
|
|
91
85
|
async-http-faraday
|
|
86
|
+
benchmark
|
|
92
87
|
faraday-http-cache
|
|
93
|
-
multi_json
|
|
94
88
|
octokit (~> 4.6)
|
|
95
89
|
rainbow (>= 2.2.1)
|
|
96
90
|
rake (>= 10.0)
|
|
97
|
-
guard (2.20.
|
|
91
|
+
guard (2.20.2)
|
|
98
92
|
formatador (>= 0.2.4)
|
|
99
93
|
listen (>= 2.7, < 4.0)
|
|
100
94
|
logger (~> 1.6)
|
|
@@ -114,29 +108,31 @@ GEM
|
|
|
114
108
|
rubocop (< 2.0)
|
|
115
109
|
highline (3.1.2)
|
|
116
110
|
reline
|
|
117
|
-
i18n (1.
|
|
111
|
+
i18n (1.15.2)
|
|
118
112
|
concurrent-ruby (~> 1.0)
|
|
119
|
-
io-console (0.
|
|
120
|
-
io-endpoint (0.
|
|
121
|
-
|
|
122
|
-
io-
|
|
123
|
-
|
|
124
|
-
|
|
113
|
+
io-console (0.9.4)
|
|
114
|
+
io-endpoint (0.19.0)
|
|
115
|
+
openssl (>= 3.3.0)
|
|
116
|
+
io-event (1.22.1)
|
|
117
|
+
io-stream (0.14.0)
|
|
118
|
+
openssl (>= 3.3)
|
|
119
|
+
json (3.0.2)
|
|
120
|
+
language_server-protocol (3.17.0.6)
|
|
125
121
|
launchy (3.1.1)
|
|
126
122
|
addressable (~> 2.8)
|
|
127
123
|
childprocess (~> 5.0)
|
|
128
124
|
logger (~> 1.6)
|
|
129
125
|
lint_roller (1.1.0)
|
|
130
|
-
listen (3.10.
|
|
126
|
+
listen (3.10.1)
|
|
131
127
|
logger
|
|
132
128
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
133
129
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
134
130
|
logger (1.7.0)
|
|
135
131
|
lumberjack (1.4.2)
|
|
136
132
|
method_source (1.1.0)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
minitest (6.0.6)
|
|
134
|
+
drb (~> 2.0)
|
|
135
|
+
prism (~> 1.5)
|
|
140
136
|
nenv (0.3.0)
|
|
141
137
|
net-http (0.9.1)
|
|
142
138
|
uri (>= 0.11.1)
|
|
@@ -146,34 +142,36 @@ GEM
|
|
|
146
142
|
octokit (4.25.1)
|
|
147
143
|
faraday (>= 1, < 3)
|
|
148
144
|
sawyer (~> 0.9)
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
openssl (3.3.0)
|
|
146
|
+
parallel (2.3.0)
|
|
147
|
+
parser (3.3.12.0)
|
|
151
148
|
ast (~> 2.4.1)
|
|
152
149
|
racc
|
|
153
150
|
prism (1.9.0)
|
|
154
151
|
protocol-hpack (1.5.1)
|
|
155
|
-
protocol-http (0.
|
|
156
|
-
protocol-http1 (0.
|
|
157
|
-
protocol-http (~> 0.
|
|
158
|
-
protocol-http2 (0.
|
|
152
|
+
protocol-http (0.72.0)
|
|
153
|
+
protocol-http1 (0.41.0)
|
|
154
|
+
protocol-http (~> 0.68)
|
|
155
|
+
protocol-http2 (0.29.1)
|
|
159
156
|
protocol-hpack (~> 1.4)
|
|
160
|
-
protocol-http (~> 0.
|
|
157
|
+
protocol-http (~> 0.62)
|
|
158
|
+
protocol-url (0.19.0)
|
|
161
159
|
pry (0.16.0)
|
|
162
160
|
coderay (~> 1.1)
|
|
163
161
|
method_source (~> 1.0)
|
|
164
162
|
reline (>= 0.6.0)
|
|
165
|
-
public_suffix (
|
|
163
|
+
public_suffix (7.0.5)
|
|
166
164
|
pusher-client (0.6.2)
|
|
167
165
|
json
|
|
168
166
|
websocket (~> 1.0)
|
|
169
167
|
racc (1.8.1)
|
|
170
168
|
rainbow (3.1.1)
|
|
171
|
-
rake (13.
|
|
169
|
+
rake (13.4.2)
|
|
172
170
|
rb-fsevent (0.11.2)
|
|
173
171
|
rb-inotify (0.11.1)
|
|
174
172
|
ffi (~> 1.0)
|
|
175
|
-
regexp_parser (2.
|
|
176
|
-
reline (0.
|
|
173
|
+
regexp_parser (2.13.1)
|
|
174
|
+
reline (0.7.0)
|
|
177
175
|
io-console (~> 0.5)
|
|
178
176
|
rspec (3.13.2)
|
|
179
177
|
rspec-core (~> 3.13.0)
|
|
@@ -184,47 +182,41 @@ GEM
|
|
|
184
182
|
rspec-expectations (3.13.5)
|
|
185
183
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
186
184
|
rspec-support (~> 3.13.0)
|
|
187
|
-
rspec-mocks (3.13.
|
|
185
|
+
rspec-mocks (3.13.8)
|
|
188
186
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
189
187
|
rspec-support (~> 3.13.0)
|
|
190
188
|
rspec-support (3.13.7)
|
|
191
|
-
rubocop (1.
|
|
192
|
-
json (
|
|
189
|
+
rubocop (1.91.0)
|
|
190
|
+
json (>= 2.3)
|
|
193
191
|
language_server-protocol (~> 3.17.0.2)
|
|
194
192
|
lint_roller (~> 1.1.0)
|
|
195
|
-
parallel (
|
|
193
|
+
parallel (>= 1.10)
|
|
196
194
|
parser (>= 3.3.0.2)
|
|
197
195
|
rainbow (>= 2.2.2, < 4.0)
|
|
198
196
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
199
197
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
200
198
|
ruby-progressbar (~> 1.7)
|
|
201
199
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
202
|
-
rubocop-ast (1.
|
|
200
|
+
rubocop-ast (1.50.0)
|
|
203
201
|
parser (>= 3.3.7.2)
|
|
204
202
|
prism (~> 1.7)
|
|
205
203
|
ruby-progressbar (1.13.0)
|
|
206
|
-
rugged (1.9.
|
|
204
|
+
rugged (1.9.6)
|
|
207
205
|
sawyer (0.9.3)
|
|
208
206
|
addressable (>= 2.3.5)
|
|
209
207
|
faraday (>= 0.17.3, < 3)
|
|
210
208
|
securerandom (0.4.1)
|
|
211
209
|
shellany (0.0.1)
|
|
212
|
-
simplecov (
|
|
213
|
-
|
|
214
|
-
simplecov-html (~> 0.11)
|
|
215
|
-
simplecov_json_formatter (~> 0.1)
|
|
216
|
-
simplecov-html (0.13.2)
|
|
217
|
-
simplecov_json_formatter (0.1.4)
|
|
218
|
-
terminal-notifier (2.0.0)
|
|
210
|
+
simplecov (1.3.2)
|
|
211
|
+
terminal-notifier (3.1.0)
|
|
219
212
|
terminal-table (4.0.0)
|
|
220
213
|
unicode-display_width (>= 1.1.1, < 4)
|
|
221
214
|
thor (1.5.0)
|
|
222
|
-
traces (0.15.2)
|
|
223
215
|
tzinfo (2.0.6)
|
|
224
216
|
concurrent-ruby (~> 1.0)
|
|
225
|
-
unicode-display_width (3.
|
|
226
|
-
unicode-emoji (~> 4.
|
|
227
|
-
unicode-emoji (4.
|
|
217
|
+
unicode-display_width (3.3.0)
|
|
218
|
+
unicode-emoji (~> 4.3)
|
|
219
|
+
unicode-emoji (4.3.0)
|
|
228
220
|
uri (1.1.1)
|
|
229
221
|
websocket (1.2.11)
|
|
230
222
|
|
|
@@ -236,15 +228,15 @@ DEPENDENCIES
|
|
|
236
228
|
base64
|
|
237
229
|
bundler
|
|
238
230
|
circleci-cli!
|
|
239
|
-
codecov
|
|
240
231
|
github_changelog_generator
|
|
241
232
|
guard
|
|
242
233
|
guard-rspec
|
|
243
234
|
guard-rubocop
|
|
235
|
+
openssl (= 3.3.0)
|
|
244
236
|
rake
|
|
245
237
|
rspec
|
|
246
238
|
rubocop
|
|
247
239
|
simplecov
|
|
248
240
|
|
|
249
241
|
BUNDLED WITH
|
|
250
|
-
2.
|
|
242
|
+
2.7.2
|
data/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# circleci-cli
|
|
2
2
|
[](#contributors-)
|
|
3
3
|
[](https://badge.fury.io/rb/circleci-cli)
|
|
4
|
-
[](https://codeclimate.com/github/circleci-tools/circleci-cli)
|
|
5
4
|
[](https://codecov.io/gh/circleci-tools/circleci-cli)
|
|
6
5
|
[](https://libraries.io/github/circleci-tools/circleci-cli)
|
|
7
6
|

|
|
@@ -110,3 +109,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
110
109
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
111
110
|
|
|
112
111
|
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
112
|
+
|
|
113
|
+
## Author
|
|
114
|
+
|
|
115
|
+
[@unhappychoice](https://unhappychoice.com)
|
data/circleci-cli.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ def production_dependency(spec)
|
|
|
11
11
|
spec.add_dependency 'launchy', '>= 2.4.3', '< 3.2.0'
|
|
12
12
|
spec.add_dependency 'pusher-client', '~> 0.6.2'
|
|
13
13
|
spec.add_dependency 'rugged', '>= 0.26', '< 1.10'
|
|
14
|
-
spec.add_dependency 'terminal-notifier', '
|
|
14
|
+
spec.add_dependency 'terminal-notifier', '>= 2.0', '< 3.2'
|
|
15
15
|
spec.add_dependency 'terminal-table', '>= 1.8', '< 4.1'
|
|
16
16
|
spec.add_dependency 'thor', '>= 0.20', '< 1.6'
|
|
17
17
|
end
|
|
@@ -25,7 +25,7 @@ end
|
|
|
25
25
|
Gem::Specification.new do |spec|
|
|
26
26
|
spec.name = 'circleci-cli'
|
|
27
27
|
spec.version = CircleCI::CLI::VERSION
|
|
28
|
-
spec.required_ruby_version = '>= 3.
|
|
28
|
+
spec.required_ruby_version = '>= 3.3'
|
|
29
29
|
spec.authors = ['unhappychoice']
|
|
30
30
|
spec.email = ['unhappychoice@gmail.com']
|
|
31
31
|
|
|
@@ -44,7 +44,7 @@ module CircleCI
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# rubocop:disable Metrics/MethodLength
|
|
47
|
+
# rubocop:disable-next Metrics/MethodLength
|
|
48
48
|
def on_new_step(step)
|
|
49
49
|
if @verbose
|
|
50
50
|
print_bordered step.name
|
|
@@ -59,7 +59,6 @@ module CircleCI
|
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
|
-
# rubocop:enable Metrics/MethodLength
|
|
63
62
|
|
|
64
63
|
def on_new_step_status(step)
|
|
65
64
|
return if @verbose
|
|
@@ -73,7 +72,7 @@ module CircleCI
|
|
|
73
72
|
end
|
|
74
73
|
end
|
|
75
74
|
|
|
76
|
-
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
|
75
|
+
# rubocop:disable-next Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
|
77
76
|
def update_build
|
|
78
77
|
build = CircleCI::CLI::Response::Build.get(@build.username, @build.reponame, @build.build_number)
|
|
79
78
|
|
|
@@ -90,9 +89,8 @@ module CircleCI
|
|
|
90
89
|
@read_byte = 0 if @current_step&.name != next_step&.name
|
|
91
90
|
@current_step = next_step
|
|
92
91
|
end
|
|
93
|
-
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
|
94
92
|
|
|
95
|
-
# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
|
93
|
+
# rubocop:disable-next Metrics/AbcSize, Metrics/MethodLength
|
|
96
94
|
def update_actions
|
|
97
95
|
return unless @current_step
|
|
98
96
|
|
|
@@ -112,7 +110,6 @@ module CircleCI
|
|
|
112
110
|
@messages[@current_step.name] << response
|
|
113
111
|
end
|
|
114
112
|
end
|
|
115
|
-
# rubocop:enable Metrics/AbcSize, Metrics/MethodLength
|
|
116
113
|
|
|
117
114
|
def notify_started
|
|
118
115
|
say Printer::BuildPrinter.header_for(
|
|
@@ -15,9 +15,9 @@ module CircleCI
|
|
|
15
15
|
@steps
|
|
16
16
|
.group_by(&:type)
|
|
17
17
|
.each do |key, steps|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
t << :separator
|
|
19
|
+
t << [{ value: Printer.colorize_green(key), alignment: :center, colspan: 2 }]
|
|
20
|
+
steps.each { |s| print_actions(t, s) }
|
|
21
21
|
end
|
|
22
22
|
end.to_s
|
|
23
23
|
else
|
|
@@ -19,11 +19,11 @@ module CircleCI
|
|
|
19
19
|
def log
|
|
20
20
|
HTTPClient.get(@hash['output_url'])
|
|
21
21
|
.map do |r|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
r['message']
|
|
23
|
+
.gsub("\r\n", "\n")
|
|
24
|
+
.gsub("\e[A\r\e[2K", '')
|
|
25
|
+
.scan(/.{1,120}/)
|
|
26
|
+
.join("\n")
|
|
27
27
|
end
|
|
28
28
|
.join("\n")
|
|
29
29
|
end
|
data/lib/circleci/cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: circleci-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- unhappychoice
|
|
@@ -101,16 +101,22 @@ dependencies:
|
|
|
101
101
|
name: terminal-notifier
|
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
|
103
103
|
requirements:
|
|
104
|
-
- - "
|
|
104
|
+
- - ">="
|
|
105
|
+
- !ruby/object:Gem::Version
|
|
106
|
+
version: '2.0'
|
|
107
|
+
- - "<"
|
|
105
108
|
- !ruby/object:Gem::Version
|
|
106
|
-
version: 2
|
|
109
|
+
version: '3.2'
|
|
107
110
|
type: :runtime
|
|
108
111
|
prerelease: false
|
|
109
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
110
113
|
requirements:
|
|
111
|
-
- - "
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '2.0'
|
|
117
|
+
- - "<"
|
|
112
118
|
- !ruby/object:Gem::Version
|
|
113
|
-
version: 2
|
|
119
|
+
version: '3.2'
|
|
114
120
|
- !ruby/object:Gem::Dependency
|
|
115
121
|
name: terminal-table
|
|
116
122
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -220,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
220
226
|
requirements:
|
|
221
227
|
- - ">="
|
|
222
228
|
- !ruby/object:Gem::Version
|
|
223
|
-
version: '3.
|
|
229
|
+
version: '3.3'
|
|
224
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
231
|
requirements:
|
|
226
232
|
- - ">="
|