rhc 1.12.4 → 1.13.6
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.
- data/autocomplete/rhc_bash +161 -9
- data/bin/rhc +2 -2
- data/features/env.feature +0 -0
- data/features/step_definitions/env_steps.rb +1 -0
- data/features/support/platform_support.rb +5 -5
- data/lib/rhc/cartridge_helpers.rb +19 -3
- data/lib/rhc/command_runner.rb +1 -1
- data/lib/rhc/commands/app.rb +32 -17
- data/lib/rhc/commands/base.rb +15 -19
- data/lib/rhc/commands/cartridge.rb +14 -9
- data/lib/rhc/commands/env.rb +146 -0
- data/lib/rhc/commands.rb +19 -7
- data/lib/rhc/exceptions.rb +25 -1
- data/lib/rhc/help_formatter.rb +2 -2
- data/lib/rhc/helpers.rb +29 -2
- data/lib/rhc/output_helpers.rb +19 -2
- data/lib/rhc/rest/application.rb +49 -3
- data/lib/rhc/rest/cartridge.rb +4 -4
- data/lib/rhc/rest/client.rb +41 -6
- data/lib/rhc/rest/environment_variable.rb +15 -0
- data/lib/rhc/rest/mock.rb +52 -20
- data/lib/rhc/rest.rb +24 -23
- data/lib/rhc/usage_templates/help.erb +4 -4
- data/spec/rhc/assets/env_vars.txt +7 -0
- data/spec/rhc/assets/env_vars_2.txt +1 -0
- data/spec/rhc/commands/app_spec.rb +51 -10
- data/spec/rhc/commands/cartridge_spec.rb +61 -9
- data/spec/rhc/commands/env_spec.rb +493 -0
- data/spec/rhc/helpers_spec.rb +25 -5
- data/spec/rhc/rest_spec.rb +4 -3
- metadata +16 -4
metadata
CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 13
|
9
|
+
- 6
|
10
|
+
version: 1.13.6
|
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: 2013-08-
|
18
|
+
date: 2013-08-27 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: net-ssh
|
@@ -257,6 +257,7 @@ files:
|
|
257
257
|
- lib/rhc/commands/server.rb
|
258
258
|
- lib/rhc/commands/app.rb
|
259
259
|
- lib/rhc/commands/logout.rb
|
260
|
+
- lib/rhc/commands/env.rb
|
260
261
|
- lib/rhc/commands/apps.rb
|
261
262
|
- lib/rhc/commands/threaddump.rb
|
262
263
|
- lib/rhc/commands/base.rb
|
@@ -270,6 +271,7 @@ files:
|
|
270
271
|
- lib/rhc/vendor/sshkey.rb
|
271
272
|
- lib/rhc/rest/user.rb
|
272
273
|
- lib/rhc/rest/attributes.rb
|
274
|
+
- lib/rhc/rest/environment_variable.rb
|
273
275
|
- lib/rhc/rest/api.rb
|
274
276
|
- lib/rhc/rest/alias.rb
|
275
277
|
- lib/rhc/rest/domain.rb
|
@@ -304,8 +306,10 @@ files:
|
|
304
306
|
- spec/rhc/auth_spec.rb
|
305
307
|
- spec/rhc/rest_client_spec.rb
|
306
308
|
- spec/rhc/assets/empty.txt
|
309
|
+
- spec/rhc/assets/env_vars_2.txt
|
307
310
|
- spec/rhc/assets/cert_key_rsa
|
308
311
|
- spec/rhc/assets/targz_sample.tar.gz
|
312
|
+
- spec/rhc/assets/env_vars.txt
|
309
313
|
- spec/rhc/assets/targz_corrupted.tar.gz
|
310
314
|
- spec/rhc/assets/cert.crt
|
311
315
|
- spec/rhc/assets/foo.txt
|
@@ -327,6 +331,7 @@ files:
|
|
327
331
|
- spec/rhc/commands/authorization_spec.rb
|
328
332
|
- spec/rhc/commands/account_spec.rb
|
329
333
|
- spec/rhc/commands/cartridge_spec.rb
|
334
|
+
- spec/rhc/commands/env_spec.rb
|
330
335
|
- spec/rhc/commands/snapshot_spec.rb
|
331
336
|
- spec/rhc/commands/git_clone_spec.rb
|
332
337
|
- spec/rhc/commands/apps_spec.rb
|
@@ -345,6 +350,7 @@ files:
|
|
345
350
|
- features/step_definitions/cartridge_steps.rb
|
346
351
|
- features/step_definitions/domain_steps.rb
|
347
352
|
- features/step_definitions/sshkey_steps.rb
|
353
|
+
- features/step_definitions/env_steps.rb
|
348
354
|
- features/cartridge.feature
|
349
355
|
- features/README.md
|
350
356
|
- features/support/before_hooks.rb
|
@@ -361,6 +367,7 @@ files:
|
|
361
367
|
- features/scaled_application.feature
|
362
368
|
- features/verify.feature
|
363
369
|
- features/geared_application.feature
|
370
|
+
- features/env.feature
|
364
371
|
- features/lib/rhc_helper/httpify.rb
|
365
372
|
- features/lib/rhc_helper/api.rb
|
366
373
|
- features/lib/rhc_helper/domain.rb
|
@@ -422,8 +429,10 @@ test_files:
|
|
422
429
|
- spec/rhc/auth_spec.rb
|
423
430
|
- spec/rhc/rest_client_spec.rb
|
424
431
|
- spec/rhc/assets/empty.txt
|
432
|
+
- spec/rhc/assets/env_vars_2.txt
|
425
433
|
- spec/rhc/assets/cert_key_rsa
|
426
434
|
- spec/rhc/assets/targz_sample.tar.gz
|
435
|
+
- spec/rhc/assets/env_vars.txt
|
427
436
|
- spec/rhc/assets/targz_corrupted.tar.gz
|
428
437
|
- spec/rhc/assets/cert.crt
|
429
438
|
- spec/rhc/assets/foo.txt
|
@@ -445,6 +454,7 @@ test_files:
|
|
445
454
|
- spec/rhc/commands/authorization_spec.rb
|
446
455
|
- spec/rhc/commands/account_spec.rb
|
447
456
|
- spec/rhc/commands/cartridge_spec.rb
|
457
|
+
- spec/rhc/commands/env_spec.rb
|
448
458
|
- spec/rhc/commands/snapshot_spec.rb
|
449
459
|
- spec/rhc/commands/git_clone_spec.rb
|
450
460
|
- spec/rhc/commands/apps_spec.rb
|
@@ -463,6 +473,7 @@ test_files:
|
|
463
473
|
- features/step_definitions/cartridge_steps.rb
|
464
474
|
- features/step_definitions/domain_steps.rb
|
465
475
|
- features/step_definitions/sshkey_steps.rb
|
476
|
+
- features/step_definitions/env_steps.rb
|
466
477
|
- features/cartridge.feature
|
467
478
|
- features/README.md
|
468
479
|
- features/support/before_hooks.rb
|
@@ -479,6 +490,7 @@ test_files:
|
|
479
490
|
- features/scaled_application.feature
|
480
491
|
- features/verify.feature
|
481
492
|
- features/geared_application.feature
|
493
|
+
- features/env.feature
|
482
494
|
- features/lib/rhc_helper/httpify.rb
|
483
495
|
- features/lib/rhc_helper/api.rb
|
484
496
|
- features/lib/rhc_helper/domain.rb
|