rhc 0.94.8 → 0.95.13
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +27 -1
- data/bin/rhc +15 -23
- data/bin/rhc-app +4 -1
- data/bin/rhc-chk +3 -0
- data/bin/rhc-create-app +3 -0
- data/bin/rhc-create-domain +3 -0
- data/bin/rhc-ctl-app +3 -0
- data/bin/rhc-ctl-domain +3 -0
- data/bin/rhc-domain +5 -2
- data/bin/rhc-domain-info +3 -0
- data/bin/rhc-port-forward +16 -18
- data/bin/rhc-snapshot +3 -0
- data/bin/rhc-sshkey +3 -0
- data/bin/rhc-tail-files +3 -0
- data/bin/rhc-user-info +1 -0
- data/features/README.md +70 -0
- data/features/lib/rhc_helper/app.rb +124 -0
- data/features/lib/rhc_helper/cartridge.rb +72 -0
- data/features/lib/rhc_helper/commandify.rb +154 -0
- data/features/lib/rhc_helper/domain.rb +50 -0
- data/features/lib/rhc_helper/httpify.rb +107 -0
- data/features/lib/rhc_helper/loggable.rb +39 -0
- data/features/lib/rhc_helper/persistable.rb +38 -0
- data/features/lib/rhc_helper/runnable.rb +41 -0
- data/features/lib/rhc_helper.rb +7 -0
- data/features/step_definitions/application_steps.rb +99 -0
- data/features/step_definitions/cartridge_steps.rb +42 -0
- data/features/step_definitions/client_steps.rb +32 -0
- data/features/step_definitions/domain_steps.rb +19 -0
- data/features/support/env.rb +99 -0
- data/features/verify.feature +123 -0
- data/lib/rhc/cli.rb +4 -1
- data/lib/rhc/commands/base.rb +28 -6
- data/lib/rhc/commands/server.rb +4 -1
- data/lib/rhc/commands/setup.rb +24 -0
- data/lib/rhc/commands.rb +10 -5
- data/lib/rhc/config.rb +90 -21
- data/lib/rhc/core_ext.rb +11 -2
- data/lib/rhc/coverage_helper.rb +35 -0
- data/lib/rhc/help_formatter.rb +30 -0
- data/lib/rhc/helpers.rb +41 -5
- data/lib/rhc/ssh_key_helpers.rb +72 -0
- data/lib/rhc/targz.rb +2 -8
- data/lib/rhc/wizard.rb +75 -58
- data/lib/rhc-common.rb +20 -13
- data/lib/rhc-rest.rb +3 -11
- data/spec/coverage_helper.rb +51 -0
- data/spec/rest_spec_helper.rb +86 -0
- data/spec/rhc/cli_spec.rb +19 -3
- data/spec/rhc/commands/server_spec.rb +2 -2
- data/spec/rhc/common_spec.rb +49 -0
- data/spec/rhc/config_spec.rb +328 -0
- data/spec/rhc/helpers_spec.rb +74 -1
- data/spec/rhc/rest_client_spec.rb +402 -0
- data/spec/rhc/rest_spec.rb +454 -0
- data/spec/rhc/targz_spec.rb +13 -0
- data/spec/rhc/wizard_spec.rb +305 -43
- data/spec/spec_helper.rb +30 -25
- metadata +124 -5
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 377
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 95
|
9
|
+
- 13
|
10
|
+
version: 0.95.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Red Hat
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-07-11 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -165,6 +165,77 @@ dependencies:
|
|
165
165
|
version: "0.4"
|
166
166
|
type: :development
|
167
167
|
version_requirements: *id010
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: thor
|
170
|
+
prerelease: false
|
171
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
hash: 3
|
177
|
+
segments:
|
178
|
+
- 0
|
179
|
+
version: "0"
|
180
|
+
type: :development
|
181
|
+
version_requirements: *id011
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: cucumber
|
184
|
+
prerelease: false
|
185
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
hash: 3
|
191
|
+
segments:
|
192
|
+
- 0
|
193
|
+
version: "0"
|
194
|
+
type: :development
|
195
|
+
version_requirements: *id012
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: dnsruby
|
198
|
+
prerelease: false
|
199
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
201
|
+
requirements:
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
hash: 3
|
205
|
+
segments:
|
206
|
+
- 0
|
207
|
+
version: "0"
|
208
|
+
type: :development
|
209
|
+
version_requirements: *id013
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: open4
|
212
|
+
prerelease: false
|
213
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
hash: 3
|
219
|
+
segments:
|
220
|
+
- 0
|
221
|
+
version: "0"
|
222
|
+
type: :development
|
223
|
+
version_requirements: *id014
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: activesupport
|
226
|
+
prerelease: false
|
227
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
228
|
+
none: false
|
229
|
+
requirements:
|
230
|
+
- - ~>
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
hash: 7
|
233
|
+
segments:
|
234
|
+
- 3
|
235
|
+
- 0
|
236
|
+
version: "3.0"
|
237
|
+
type: :development
|
238
|
+
version_requirements: *id015
|
168
239
|
description: The client tools for the OpenShift platform that allow for application management.
|
169
240
|
email: dev@openshift.redhat.com
|
170
241
|
executables:
|
@@ -197,21 +268,25 @@ files:
|
|
197
268
|
- lib/rhc-rest/application.rb
|
198
269
|
- lib/rhc.rb
|
199
270
|
- lib/rhc-rest.rb
|
271
|
+
- lib/rhc/ssh_key_helpers.rb
|
200
272
|
- lib/rhc/client.rb
|
201
273
|
- lib/rhc/cli.rb
|
202
274
|
- lib/rhc/wizard.rb
|
203
275
|
- lib/rhc/targz.rb
|
204
276
|
- lib/rhc/commands.rb
|
205
277
|
- lib/rhc/json.rb
|
278
|
+
- lib/rhc/help_formatter.rb
|
206
279
|
- lib/rhc/core_ext.rb
|
207
280
|
- lib/rhc/vendor/zliby.rb
|
208
281
|
- lib/rhc/vendor/parseconfig.rb
|
209
282
|
- lib/rhc/vendor/sshkey.rb
|
210
283
|
- lib/rhc/vendor/okjson.rb
|
211
284
|
- lib/rhc/commands/base.rb
|
285
|
+
- lib/rhc/commands/setup.rb
|
212
286
|
- lib/rhc/commands/server.rb
|
213
287
|
- lib/rhc/helpers.rb
|
214
288
|
- lib/rhc/config.rb
|
289
|
+
- lib/rhc/coverage_helper.rb
|
215
290
|
- lib/rhc-common.rb
|
216
291
|
- conf/express.conf
|
217
292
|
- LICENSE
|
@@ -227,7 +302,11 @@ files:
|
|
227
302
|
- test/functional/test_credentials.rb
|
228
303
|
- test/test_helper.rb
|
229
304
|
- spec/rhc/helpers_spec.rb
|
305
|
+
- spec/rhc/config_spec.rb
|
306
|
+
- spec/rhc/rest_client_spec.rb
|
230
307
|
- spec/rhc/targz_spec.rb
|
308
|
+
- spec/rhc/common_spec.rb
|
309
|
+
- spec/rhc/rest_spec.rb
|
231
310
|
- spec/rhc/assets/foo.txt
|
232
311
|
- spec/rhc/assets/targz_corrupted.tar.gz
|
233
312
|
- spec/rhc/assets/targz_sample.tar.gz
|
@@ -236,7 +315,25 @@ files:
|
|
236
315
|
- spec/rhc/wizard_spec.rb
|
237
316
|
- spec/rhc/cli_spec.rb
|
238
317
|
- spec/rhc/json_spec.rb
|
318
|
+
- spec/rest_spec_helper.rb
|
239
319
|
- spec/spec_helper.rb
|
320
|
+
- spec/coverage_helper.rb
|
321
|
+
- features/support/env.rb
|
322
|
+
- features/step_definitions/client_steps.rb
|
323
|
+
- features/step_definitions/application_steps.rb
|
324
|
+
- features/step_definitions/cartridge_steps.rb
|
325
|
+
- features/step_definitions/domain_steps.rb
|
326
|
+
- features/verify.feature
|
327
|
+
- features/lib/rhc_helper.rb
|
328
|
+
- features/lib/rhc_helper/httpify.rb
|
329
|
+
- features/lib/rhc_helper/persistable.rb
|
330
|
+
- features/lib/rhc_helper/loggable.rb
|
331
|
+
- features/lib/rhc_helper/domain.rb
|
332
|
+
- features/lib/rhc_helper/commandify.rb
|
333
|
+
- features/lib/rhc_helper/cartridge.rb
|
334
|
+
- features/lib/rhc_helper/app.rb
|
335
|
+
- features/lib/rhc_helper/runnable.rb
|
336
|
+
- features/README.md
|
240
337
|
- bin/rhc-tail-files
|
241
338
|
- bin/rhc-sshkey
|
242
339
|
- bin/rhc-snapshot
|
@@ -295,7 +392,11 @@ test_files:
|
|
295
392
|
- test/functional/test_credentials.rb
|
296
393
|
- test/test_helper.rb
|
297
394
|
- spec/rhc/helpers_spec.rb
|
395
|
+
- spec/rhc/config_spec.rb
|
396
|
+
- spec/rhc/rest_client_spec.rb
|
298
397
|
- spec/rhc/targz_spec.rb
|
398
|
+
- spec/rhc/common_spec.rb
|
399
|
+
- spec/rhc/rest_spec.rb
|
299
400
|
- spec/rhc/assets/foo.txt
|
300
401
|
- spec/rhc/assets/targz_corrupted.tar.gz
|
301
402
|
- spec/rhc/assets/targz_sample.tar.gz
|
@@ -304,4 +405,22 @@ test_files:
|
|
304
405
|
- spec/rhc/wizard_spec.rb
|
305
406
|
- spec/rhc/cli_spec.rb
|
306
407
|
- spec/rhc/json_spec.rb
|
408
|
+
- spec/rest_spec_helper.rb
|
307
409
|
- spec/spec_helper.rb
|
410
|
+
- spec/coverage_helper.rb
|
411
|
+
- features/support/env.rb
|
412
|
+
- features/step_definitions/client_steps.rb
|
413
|
+
- features/step_definitions/application_steps.rb
|
414
|
+
- features/step_definitions/cartridge_steps.rb
|
415
|
+
- features/step_definitions/domain_steps.rb
|
416
|
+
- features/verify.feature
|
417
|
+
- features/lib/rhc_helper.rb
|
418
|
+
- features/lib/rhc_helper/httpify.rb
|
419
|
+
- features/lib/rhc_helper/persistable.rb
|
420
|
+
- features/lib/rhc_helper/loggable.rb
|
421
|
+
- features/lib/rhc_helper/domain.rb
|
422
|
+
- features/lib/rhc_helper/commandify.rb
|
423
|
+
- features/lib/rhc_helper/cartridge.rb
|
424
|
+
- features/lib/rhc_helper/app.rb
|
425
|
+
- features/lib/rhc_helper/runnable.rb
|
426
|
+
- features/README.md
|