aptible-cli 0.21.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +50 -0
- data/Gemfile +0 -4
- data/Gemfile.lock +17 -22
- data/README.md +81 -76
- data/aptible-cli.gemspec +12 -9
- data/lib/aptible/cli/resource_formatter.rb +29 -0
- data/lib/aptible/cli/subcommands/endpoints.rb +30 -0
- data/lib/aptible/cli/subcommands/services.rb +171 -0
- data/lib/aptible/cli/version.rb +1 -1
- data/spec/aptible/cli/subcommands/endpoints_spec.rb +38 -0
- data/spec/aptible/cli/subcommands/services_spec.rb +143 -26
- data/spec/fabricators/service_sizing_policy_fabricator.rb +22 -0
- metadata +86 -42
- data/.travis.yml +0 -20
metadata
CHANGED
@@ -1,57 +1,63 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aptible-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '6.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '4.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '6.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: aptible-api
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.5
|
39
|
+
version: 1.6.5
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.5
|
46
|
+
version: 1.6.5
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: aptible-auth
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.2.
|
53
|
+
version: 1.2.5
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.2.
|
60
|
+
version: 1.2.5
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: aptible-billing
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,35 +73,49 @@ dependencies:
|
|
67
73
|
- !ruby/object:Gem::Version
|
68
74
|
version: '1.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
76
|
+
name: aptible-resource
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
81
|
+
version: '1.1'
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
88
|
+
version: '1.1'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
90
|
+
name: aws-sdk
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- - "
|
93
|
+
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
95
|
+
version: '2.0'
|
90
96
|
type: :runtime
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
|
-
- - "
|
100
|
+
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
102
|
+
version: '2.0'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
104
|
+
name: bigdecimal
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.3.5
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.3.5
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: cbor
|
99
119
|
requirement: !ruby/object:Gem::Requirement
|
100
120
|
requirements:
|
101
121
|
- - ">="
|
@@ -123,67 +143,89 @@ dependencies:
|
|
123
143
|
- !ruby/object:Gem::Version
|
124
144
|
version: 0.10.6
|
125
145
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
146
|
+
name: concurrent-ruby
|
127
147
|
requirement: !ruby/object:Gem::Requirement
|
128
148
|
requirements:
|
129
|
-
- - "
|
149
|
+
- - "<"
|
130
150
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
151
|
+
version: 1.1.10
|
132
152
|
type: :runtime
|
133
153
|
prerelease: false
|
134
154
|
version_requirements: !ruby/object:Gem::Requirement
|
135
155
|
requirements:
|
136
|
-
- - "
|
156
|
+
- - "<"
|
137
157
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
158
|
+
version: 1.1.10
|
139
159
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
160
|
+
name: jwt
|
141
161
|
requirement: !ruby/object:Gem::Requirement
|
142
162
|
requirements:
|
143
163
|
- - "~>"
|
144
164
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
165
|
+
version: 2.3.0
|
146
166
|
type: :runtime
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
149
169
|
requirements:
|
150
170
|
- - "~>"
|
151
171
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
172
|
+
version: 2.3.0
|
153
173
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
174
|
+
name: git
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "<"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '1.10'
|
180
|
+
type: :runtime
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "<"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '1.10'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rack
|
155
189
|
requirement: !ruby/object:Gem::Requirement
|
156
190
|
requirements:
|
157
191
|
- - "~>"
|
158
192
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
193
|
+
version: '1.0'
|
160
194
|
type: :runtime
|
161
195
|
prerelease: false
|
162
196
|
version_requirements: !ruby/object:Gem::Requirement
|
163
197
|
requirements:
|
164
198
|
- - "~>"
|
165
199
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.
|
200
|
+
version: '1.0'
|
167
201
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
202
|
+
name: term-ansicolor
|
169
203
|
requirement: !ruby/object:Gem::Requirement
|
170
204
|
requirements:
|
171
|
-
- - "
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '4.0'
|
174
|
-
- - "<"
|
205
|
+
- - "~>"
|
175
206
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
207
|
+
version: 1.8.0
|
177
208
|
type: :runtime
|
178
209
|
prerelease: false
|
179
210
|
version_requirements: !ruby/object:Gem::Requirement
|
180
211
|
requirements:
|
181
|
-
- - "
|
212
|
+
- - "~>"
|
182
213
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
184
|
-
|
214
|
+
version: 1.8.0
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: thor
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
185
220
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
221
|
+
version: 0.20.0
|
222
|
+
type: :runtime
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - "~>"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 0.20.0
|
187
229
|
- !ruby/object:Gem::Dependency
|
188
230
|
name: bundler
|
189
231
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,9 +334,9 @@ extra_rdoc_files: []
|
|
292
334
|
files:
|
293
335
|
- ".dockerignore"
|
294
336
|
- ".github/CODEOWNERS"
|
337
|
+
- ".github/workflows/test.yml"
|
295
338
|
- ".gitignore"
|
296
339
|
- ".rspec"
|
297
|
-
- ".travis.yml"
|
298
340
|
- Dockerfile
|
299
341
|
- Gemfile
|
300
342
|
- Gemfile.lock
|
@@ -413,6 +455,7 @@ files:
|
|
413
455
|
- spec/fabricators/metric_drain_fabricator.rb
|
414
456
|
- spec/fabricators/operation_fabricator.rb
|
415
457
|
- spec/fabricators/service_fabricator.rb
|
458
|
+
- spec/fabricators/service_sizing_policy_fabricator.rb
|
416
459
|
- spec/fabricators/stack_fabricator.rb
|
417
460
|
- spec/fabricators/vhost_fabricator.rb
|
418
461
|
- spec/mock/git
|
@@ -499,6 +542,7 @@ test_files:
|
|
499
542
|
- spec/fabricators/metric_drain_fabricator.rb
|
500
543
|
- spec/fabricators/operation_fabricator.rb
|
501
544
|
- spec/fabricators/service_fabricator.rb
|
545
|
+
- spec/fabricators/service_sizing_policy_fabricator.rb
|
502
546
|
- spec/fabricators/stack_fabricator.rb
|
503
547
|
- spec/fabricators/vhost_fabricator.rb
|
504
548
|
- spec/mock/git
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
dist: xenial
|
2
|
-
sudo: false
|
3
|
-
|
4
|
-
rvm:
|
5
|
-
- "2.1"
|
6
|
-
- "2.2"
|
7
|
-
- "2.3"
|
8
|
-
- "2.4"
|
9
|
-
- "2.5"
|
10
|
-
- "2.6"
|
11
|
-
- "2.7"
|
12
|
-
|
13
|
-
before_install:
|
14
|
-
- gem install bundler -v '< 2'
|
15
|
-
script:
|
16
|
-
- bundle exec rake
|
17
|
-
- bundle exec script/sync-readme-usage
|
18
|
-
- git diff --exit-code
|
19
|
-
env:
|
20
|
-
- BUNDLER_VERSION=1.17.3
|