circleci-cli 4.0.2 → 4.0.3
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 +10 -36
- data/.github/workflows/test.yml +7 -2
- data/.rubocop.yml +1 -1
- data/Gemfile +4 -1
- data/Gemfile.lock +58 -67
- data/README.md +4 -1
- data/circleci-cli.gemspec +1 -1
- 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 +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 859fc0ed20521d04297d38a838250bbf4795c1282f61019af0984061af39f183
|
|
4
|
+
data.tar.gz: ffff78fdfe8e648d5ab582e9240479eeb1e45bc6bdece12feb9020210dcd032d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d80b94d00e7a9d56d6ede21380cc9ae99172887c310a519f70db90c6f2362331074904bf5a496c6ccd3c53dcfe36618939fe959bc4a94559d595bf390dc1fa6
|
|
7
|
+
data.tar.gz: 17fb22d74d527bdff84343a60752c8add81058b62b011a8c3ab0d7953be0719771446916fa3e7b08a41928bbe1016897a39f1a99131b1db6d76a4bab880cee7f
|
data/.github/dependabot.yml
CHANGED
|
@@ -1,38 +1,12 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
|
-
- package-ecosystem: bundler
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- dependency-type: direct
|
|
14
|
-
- dependency-type: indirect
|
|
15
|
-
ignore:
|
|
16
|
-
- dependency-name: codecov
|
|
17
|
-
versions:
|
|
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
|
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,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
circleci-cli (4.0.
|
|
4
|
+
circleci-cli (4.0.3)
|
|
5
5
|
circleci (>= 2.1.0)
|
|
6
6
|
highline (>= 1.7.8, < 3.2.0)
|
|
7
7
|
launchy (>= 2.4.3, < 3.2.0)
|
|
@@ -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.3)
|
|
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.43.0)
|
|
34
35
|
console (~> 1.29)
|
|
35
36
|
fiber-annotation
|
|
36
|
-
io-event (~> 1.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
async (>= 2.10.2)
|
|
41
|
-
async-pool (~> 0.9)
|
|
37
|
+
io-event (~> 1.11)
|
|
38
|
+
async-http (0.97.0)
|
|
39
|
+
async (>= 2.35.1)
|
|
40
|
+
async-pool (~> 0.11)
|
|
42
41
|
io-endpoint (~> 0.14)
|
|
43
42
|
io-stream (~> 0.6)
|
|
44
|
-
|
|
45
|
-
protocol-
|
|
46
|
-
protocol-
|
|
47
|
-
protocol-
|
|
48
|
-
|
|
49
|
-
async-http-faraday (0.22.0)
|
|
43
|
+
protocol-http (~> 0.62)
|
|
44
|
+
protocol-http1 (~> 0.39)
|
|
45
|
+
protocol-http2 (~> 0.26)
|
|
46
|
+
protocol-url (~> 0.2)
|
|
47
|
+
async-http-faraday (0.22.2)
|
|
50
48
|
async-http (~> 0.42)
|
|
51
49
|
faraday
|
|
52
|
-
async-pool (0.
|
|
53
|
-
async (>=
|
|
50
|
+
async-pool (0.11.2)
|
|
51
|
+
async (>= 2.0)
|
|
54
52
|
base64 (0.3.0)
|
|
55
53
|
benchmark (0.5.0)
|
|
56
|
-
bigdecimal (4.
|
|
54
|
+
bigdecimal (4.1.2)
|
|
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.37.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.3)
|
|
74
68
|
faraday-net_http (>= 2.0, < 3.5)
|
|
75
69
|
json
|
|
76
70
|
logger
|
|
77
|
-
faraday-http-cache (2.
|
|
71
|
+
faraday-http-cache (2.7.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,14 +108,15 @@ 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
113
|
io-console (0.8.2)
|
|
120
|
-
io-endpoint (0.
|
|
121
|
-
io-event (1.
|
|
122
|
-
io-stream (0.
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
io-endpoint (0.17.2)
|
|
115
|
+
io-event (1.19.3)
|
|
116
|
+
io-stream (0.13.2)
|
|
117
|
+
openssl (>= 3.3)
|
|
118
|
+
json (2.21.1)
|
|
119
|
+
language_server-protocol (3.17.0.6)
|
|
125
120
|
launchy (3.1.1)
|
|
126
121
|
addressable (~> 2.8)
|
|
127
122
|
childprocess (~> 5.0)
|
|
@@ -134,9 +129,9 @@ GEM
|
|
|
134
129
|
logger (1.7.0)
|
|
135
130
|
lumberjack (1.4.2)
|
|
136
131
|
method_source (1.1.0)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
132
|
+
minitest (6.0.6)
|
|
133
|
+
drb (~> 2.0)
|
|
134
|
+
prism (~> 1.5)
|
|
140
135
|
nenv (0.3.0)
|
|
141
136
|
net-http (0.9.1)
|
|
142
137
|
uri (>= 0.11.1)
|
|
@@ -146,33 +141,35 @@ GEM
|
|
|
146
141
|
octokit (4.25.1)
|
|
147
142
|
faraday (>= 1, < 3)
|
|
148
143
|
sawyer (~> 0.9)
|
|
149
|
-
|
|
150
|
-
|
|
144
|
+
openssl (3.3.0)
|
|
145
|
+
parallel (2.1.0)
|
|
146
|
+
parser (3.3.12.0)
|
|
151
147
|
ast (~> 2.4.1)
|
|
152
148
|
racc
|
|
153
149
|
prism (1.9.0)
|
|
154
150
|
protocol-hpack (1.5.1)
|
|
155
|
-
protocol-http (0.
|
|
156
|
-
protocol-http1 (0.
|
|
157
|
-
protocol-http (~> 0.
|
|
158
|
-
protocol-http2 (0.
|
|
151
|
+
protocol-http (0.63.0)
|
|
152
|
+
protocol-http1 (0.39.0)
|
|
153
|
+
protocol-http (~> 0.62)
|
|
154
|
+
protocol-http2 (0.26.1)
|
|
159
155
|
protocol-hpack (~> 1.4)
|
|
160
|
-
protocol-http (~> 0.
|
|
156
|
+
protocol-http (~> 0.62)
|
|
157
|
+
protocol-url (0.4.0)
|
|
161
158
|
pry (0.16.0)
|
|
162
159
|
coderay (~> 1.1)
|
|
163
160
|
method_source (~> 1.0)
|
|
164
161
|
reline (>= 0.6.0)
|
|
165
|
-
public_suffix (
|
|
162
|
+
public_suffix (7.0.5)
|
|
166
163
|
pusher-client (0.6.2)
|
|
167
164
|
json
|
|
168
165
|
websocket (~> 1.0)
|
|
169
166
|
racc (1.8.1)
|
|
170
167
|
rainbow (3.1.1)
|
|
171
|
-
rake (13.
|
|
168
|
+
rake (13.4.2)
|
|
172
169
|
rb-fsevent (0.11.2)
|
|
173
170
|
rb-inotify (0.11.1)
|
|
174
171
|
ffi (~> 1.0)
|
|
175
|
-
regexp_parser (2.
|
|
172
|
+
regexp_parser (2.12.0)
|
|
176
173
|
reline (0.6.3)
|
|
177
174
|
io-console (~> 0.5)
|
|
178
175
|
rspec (3.13.2)
|
|
@@ -184,42 +181,36 @@ GEM
|
|
|
184
181
|
rspec-expectations (3.13.5)
|
|
185
182
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
186
183
|
rspec-support (~> 3.13.0)
|
|
187
|
-
rspec-mocks (3.13.
|
|
184
|
+
rspec-mocks (3.13.8)
|
|
188
185
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
189
186
|
rspec-support (~> 3.13.0)
|
|
190
187
|
rspec-support (3.13.7)
|
|
191
|
-
rubocop (1.
|
|
188
|
+
rubocop (1.88.2)
|
|
192
189
|
json (~> 2.3)
|
|
193
190
|
language_server-protocol (~> 3.17.0.2)
|
|
194
191
|
lint_roller (~> 1.1.0)
|
|
195
|
-
parallel (
|
|
192
|
+
parallel (>= 1.10)
|
|
196
193
|
parser (>= 3.3.0.2)
|
|
197
194
|
rainbow (>= 2.2.2, < 4.0)
|
|
198
195
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
199
196
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
200
197
|
ruby-progressbar (~> 1.7)
|
|
201
198
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
202
|
-
rubocop-ast (1.
|
|
199
|
+
rubocop-ast (1.50.0)
|
|
203
200
|
parser (>= 3.3.7.2)
|
|
204
201
|
prism (~> 1.7)
|
|
205
202
|
ruby-progressbar (1.13.0)
|
|
206
|
-
rugged (1.9.
|
|
203
|
+
rugged (1.9.6)
|
|
207
204
|
sawyer (0.9.3)
|
|
208
205
|
addressable (>= 2.3.5)
|
|
209
206
|
faraday (>= 0.17.3, < 3)
|
|
210
207
|
securerandom (0.4.1)
|
|
211
208
|
shellany (0.0.1)
|
|
212
|
-
simplecov (0.
|
|
213
|
-
docile (~> 1.1)
|
|
214
|
-
simplecov-html (~> 0.11)
|
|
215
|
-
simplecov_json_formatter (~> 0.1)
|
|
216
|
-
simplecov-html (0.13.2)
|
|
217
|
-
simplecov_json_formatter (0.1.4)
|
|
209
|
+
simplecov (1.0.2)
|
|
218
210
|
terminal-notifier (2.0.0)
|
|
219
211
|
terminal-table (4.0.0)
|
|
220
212
|
unicode-display_width (>= 1.1.1, < 4)
|
|
221
213
|
thor (1.5.0)
|
|
222
|
-
traces (0.15.2)
|
|
223
214
|
tzinfo (2.0.6)
|
|
224
215
|
concurrent-ruby (~> 1.0)
|
|
225
216
|
unicode-display_width (3.2.0)
|
|
@@ -236,15 +227,15 @@ DEPENDENCIES
|
|
|
236
227
|
base64
|
|
237
228
|
bundler
|
|
238
229
|
circleci-cli!
|
|
239
|
-
codecov
|
|
240
230
|
github_changelog_generator
|
|
241
231
|
guard
|
|
242
232
|
guard-rspec
|
|
243
233
|
guard-rubocop
|
|
234
|
+
openssl (= 3.3.0)
|
|
244
235
|
rake
|
|
245
236
|
rspec
|
|
246
237
|
rubocop
|
|
247
238
|
simplecov
|
|
248
239
|
|
|
249
240
|
BUNDLED WITH
|
|
250
|
-
2.
|
|
241
|
+
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
|
@@ -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
|
|
|
@@ -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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- unhappychoice
|
|
@@ -220,7 +220,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
220
220
|
requirements:
|
|
221
221
|
- - ">="
|
|
222
222
|
- !ruby/object:Gem::Version
|
|
223
|
-
version: '3.
|
|
223
|
+
version: '3.3'
|
|
224
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
requirements:
|
|
226
226
|
- - ">="
|