vmc 0.4.0.beta.93 → 0.4.0.beta.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/vmc-ng/Rakefile +21 -30
  2. data/vmc-ng/lib/vmc.rb +4 -3
  3. data/vmc-ng/lib/vmc/cli.rb +10 -9
  4. data/vmc-ng/lib/vmc/cli/app/app.rb +45 -0
  5. data/vmc-ng/lib/vmc/cli/app/apps.rb +97 -0
  6. data/vmc-ng/lib/vmc/cli/app/base.rb +82 -0
  7. data/vmc-ng/lib/vmc/cli/app/crashes.rb +41 -0
  8. data/vmc-ng/lib/vmc/cli/app/delete.rb +90 -0
  9. data/vmc-ng/lib/vmc/cli/app/deprecated.rb +11 -0
  10. data/vmc-ng/lib/vmc/cli/app/env.rb +86 -0
  11. data/vmc-ng/lib/vmc/cli/app/files.rb +85 -0
  12. data/vmc-ng/lib/vmc/cli/app/health.rb +27 -0
  13. data/vmc-ng/lib/vmc/cli/app/instances.rb +49 -0
  14. data/vmc-ng/lib/vmc/cli/app/logs.rb +80 -0
  15. data/vmc-ng/lib/vmc/cli/app/push.rb +336 -0
  16. data/vmc-ng/lib/vmc/cli/app/rename.rb +31 -0
  17. data/vmc-ng/lib/vmc/cli/app/restart.rb +23 -0
  18. data/vmc-ng/lib/vmc/cli/app/routes.rb +97 -0
  19. data/vmc-ng/lib/vmc/cli/app/scale.rb +67 -0
  20. data/vmc-ng/lib/vmc/cli/app/start.rb +96 -0
  21. data/vmc-ng/lib/vmc/cli/app/stats.rb +68 -0
  22. data/vmc-ng/lib/vmc/cli/app/stop.rb +29 -0
  23. data/vmc-ng/lib/vmc/cli/domain/add_domain.rb +27 -0
  24. data/vmc-ng/lib/vmc/cli/domain/base.rb +12 -0
  25. data/vmc-ng/lib/vmc/cli/domain/create_domain.rb +31 -0
  26. data/vmc-ng/lib/vmc/cli/domain/delete_domain.rb +51 -0
  27. data/vmc-ng/lib/vmc/cli/domain/domains.rb +43 -0
  28. data/vmc-ng/lib/vmc/cli/domain/remove_domain.rb +26 -0
  29. data/vmc-ng/lib/vmc/cli/help.rb +0 -1
  30. data/vmc-ng/lib/vmc/cli/interactive.rb +4 -0
  31. data/vmc-ng/lib/vmc/cli/route/base.rb +12 -0
  32. data/vmc-ng/lib/vmc/cli/route/create_route.rb +42 -0
  33. data/vmc-ng/lib/vmc/cli/route/delete_route.rb +42 -0
  34. data/vmc-ng/lib/vmc/cli/route/routes.rb +26 -0
  35. data/vmc-ng/lib/vmc/detect.rb +2 -2
  36. data/vmc-ng/lib/vmc/spec_helper.rb +1 -0
  37. data/vmc-ng/lib/vmc/version.rb +1 -1
  38. data/vmc-ng/spec/cli/app/push_spec.rb +34 -0
  39. data/vmc-ng/spec/cli/app/rename_spec.rb +108 -0
  40. data/vmc-ng/spec/cli/route/delete_route_spec.rb +160 -0
  41. data/vmc-ng/spec/detect_spec.rb +54 -0
  42. data/vmc-ng/spec/factories/app_factory.rb +9 -0
  43. data/vmc-ng/spec/factories/client_factory.rb +16 -0
  44. data/vmc-ng/spec/factories/domain_factory.rb +9 -0
  45. data/vmc-ng/spec/factories/factory.rb +3 -0
  46. data/vmc-ng/spec/factories/framework_factory.rb +9 -0
  47. data/vmc-ng/spec/factories/route_factory.rb +10 -0
  48. data/vmc-ng/spec/spec_helper.rb +17 -0
  49. data/vmc-ng/spec/support/interact_helpers.rb +23 -0
  50. metadata +135 -62
  51. data/vmc-ng/lib/vmc/cli/app.rb +0 -1333
  52. data/vmc-ng/lib/vmc/cli/domain.rb +0 -164
  53. data/vmc-ng/lib/vmc/cli/route.rb +0 -106
  54. data/vmc-ng/lib/vmc/spec_helpers.rb +0 -431
  55. data/vmc-ng/lib/vmc/spec_helpers/eventlog.rb +0 -277
  56. data/vmc-ng/lib/vmc/spec_helpers/patches.rb +0 -94
  57. data/vmc-ng/spec/Rakefile +0 -13
  58. data/vmc-ng/spec/app/app_spec.rb +0 -19
  59. data/vmc-ng/spec/app/apps_spec.rb +0 -79
  60. data/vmc-ng/spec/app/push_spec.rb +0 -74
  61. data/vmc-ng/spec/assets/hello-sinatra/Gemfile +0 -2
  62. data/vmc-ng/spec/assets/hello-sinatra/main.rb +0 -5
  63. data/vmc-ng/spec/assets/hello-sinatra/manifest.yml +0 -9
  64. data/vmc-ng/spec/helpers.rb +0 -7
  65. data/vmc-ng/spec/start/target_spec.rb +0 -60
@@ -0,0 +1,160 @@
1
+ require 'spec_helper'
2
+ require "vmc/cli/route/delete_route"
3
+
4
+ describe VMC::Route::DeleteRoute do
5
+ let(:global_inputs) { { :color => false, :quiet => true } }
6
+ let(:inputs) { {} }
7
+ let(:given) { {} }
8
+ let(:client) { FactoryGirl.build(:client) }
9
+
10
+ before do
11
+ any_instance_of(VMC::CLI) do |cli|
12
+ stub(cli).client { client }
13
+ stub(cli).precondition { nil }
14
+ end
15
+ end
16
+
17
+ subject { Mothership.new.invoke(:delete_route, inputs, given, global_inputs) }
18
+
19
+ describe 'metadata' do
20
+ let(:command) { Mothership.commands[:delete_route] }
21
+
22
+ describe 'command' do
23
+ subject { command }
24
+ its(:description) { should eq "Delete a route" }
25
+ it { expect(Mothership::Help.group(:routes)).to include(subject) }
26
+ end
27
+
28
+ describe 'inputs' do
29
+ subject { command.inputs }
30
+ it { expect(subject[:route][:description]).to eq "Route to delete" }
31
+ it { expect(subject[:really][:hidden]).to be_true }
32
+ it { expect(subject[:all][:description]).to eq "Delete all routes" }
33
+ end
34
+
35
+ describe 'arguments' do
36
+ subject { command.arguments }
37
+ it 'has the correct argument order' do
38
+ should eq([
39
+ { :type => :optional, :value => nil, :name => :route }
40
+ ])
41
+ end
42
+ end
43
+ end
44
+
45
+ context 'when there are no routes' do
46
+ context 'and a name is given' do
47
+ let(:given) { { :route => "some-route" } }
48
+ it { expect { subject }.to raise_error(VMC::UserError, "No routes.") }
49
+ end
50
+
51
+ context 'and a name is not given' do
52
+ it { expect { subject }.to raise_error(VMC::UserError, "No routes.") }
53
+ end
54
+ end
55
+
56
+ context "when there are routes" do
57
+ let(:client) { FactoryGirl.build(:client, :routes => routes) }
58
+ let(:routes) { FactoryGirl.build_list(:route, 2) }
59
+ let(:deleted_route) { routes.first }
60
+
61
+ context 'when the defaults are used' do
62
+ it 'asks for the route and confirmation' do
63
+ mock_ask('Which route?', anything) { deleted_route }
64
+ mock_ask("Really delete #{deleted_route.name}?", :default => false) { true }
65
+ stub(deleted_route).delete!
66
+ subject
67
+ end
68
+
69
+ it 'does not try to delete all routes' do
70
+ stub_ask("Which route?", anything) { deleted_route }
71
+ stub_ask(/Really delete/, anything) { true }
72
+ mock(deleted_route).delete!
73
+ dont_allow(routes.last).delete!
74
+ subject
75
+ end
76
+ end
77
+
78
+ context 'when the route is inputted' do
79
+ let(:inputs) { { :route => deleted_route } }
80
+
81
+ it 'does not ask which route but still asks for confirmation' do
82
+ dont_allow_ask('Which route?', anything)
83
+ mock_ask("Really delete #{deleted_route.name}?", :default => false) { true }
84
+ stub(deleted_route).delete!
85
+ subject
86
+ end
87
+
88
+ it 'deletes the route' do
89
+ dont_allow_ask("Which route?", anything)
90
+ stub_ask(/Really delete/, anything) { true }
91
+ mock(deleted_route).delete!
92
+ subject
93
+ end
94
+ end
95
+
96
+ context 'when the all flag is provided' do
97
+ let(:inputs) { { :all => true } }
98
+
99
+ it 'deletes the route' do
100
+ stub_ask { true }
101
+ routes.each do |route|
102
+ mock(route).delete!
103
+ end
104
+ subject
105
+ end
106
+
107
+ it 'asks to delete the routes' do
108
+ mock_ask("Really delete ALL ROUTES?", :default => false) { true }
109
+ dont_allow_ask('Which route?', anything)
110
+ routes.each do |route|
111
+ stub(route).delete!
112
+ end
113
+ subject
114
+ end
115
+
116
+ context 'and also with the really flag' do
117
+ let(:inputs) { { :all => true, :really => true } }
118
+
119
+ it 'does not ask' do
120
+ dont_allow_ask("Really delete ALL ROUTES?", :default => false)
121
+ routes.each do |route|
122
+ stub(route).delete!
123
+ end
124
+ subject
125
+ end
126
+ end
127
+ end
128
+
129
+ context 'when the really flag is provided' do
130
+ context 'when no route given' do
131
+ let(:inputs) { { :really => true } }
132
+
133
+ it 'asks for the route, and does not confirm deletion' do
134
+ dont_allow_ask("Really delete ALL ROUTES?", :default => false)
135
+ mock_ask('Which route?', anything) { deleted_route }
136
+ mock(deleted_route).delete!
137
+ subject
138
+ end
139
+ end
140
+
141
+ context 'when a route is given' do
142
+ let(:inputs) { { :route => deleted_route, :really => true } }
143
+
144
+ it 'asks for the route, and does not confirm deletion' do
145
+ dont_allow_ask("Really delete ALL ROUTES?", :default => false)
146
+ dont_allow_ask('Which route?', anything)
147
+ mock(deleted_route).delete!
148
+ subject
149
+ end
150
+
151
+ it 'displays the progress' do
152
+ mock_with_progress("Deleting route #{deleted_route.name}")
153
+ mock(deleted_route).delete!
154
+
155
+ subject
156
+ end
157
+ end
158
+ end
159
+ end
160
+ end
@@ -0,0 +1,54 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Detector do
4
+ let(:client) { FactoryGirl.build(:client, :frameworks => [framework]) }
5
+ let(:detector) { VMC::Detector.new client, nil }
6
+
7
+ describe '#detect_framework' do
8
+ subject { detector.detect_framework }
9
+
10
+ { Clouseau::Django => "django",
11
+ Clouseau::DotNet => "dotNet",
12
+ Clouseau::Grails => "grails",
13
+ Clouseau::Java => "java_web",
14
+ Clouseau::Lift => "lift",
15
+ Clouseau::Node => "node",
16
+ Clouseau::PHP => "php",
17
+ Clouseau::Play => "play",
18
+ Clouseau::Python => "wsgi",
19
+ Clouseau::Rack => "rack",
20
+ Clouseau::Rails => "rails3",
21
+ Clouseau::Sinatra => "sinatra",
22
+ Clouseau::Spring => "spring"
23
+ }.each do |clouseau_detective, cf_name|
24
+ context "when we detected #{clouseau_detective}" do
25
+ let(:framework) { FactoryGirl.build(:framework, :name => cf_name) }
26
+
27
+ it "maps to CF name #{cf_name}" do
28
+ stub(Clouseau).detect(anything) { clouseau_detective }
29
+ should eq framework
30
+ end
31
+ end
32
+ end
33
+ end
34
+
35
+ describe '#detect_runtime' do
36
+
37
+ end
38
+
39
+ describe '#runtimes' do
40
+
41
+ end
42
+
43
+ describe '#suggested_memory' do
44
+
45
+ end
46
+
47
+ describe '#all_runtimes' do
48
+
49
+ end
50
+
51
+ describe '#all_frameworks' do
52
+
53
+ end
54
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :app, :class => CFoundry::V2::App do
3
+ name { FactoryGirl.generate(:random_string) }
4
+
5
+ initialize_with do
6
+ CFoundry::V2::App.new(nil, nil)
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ FactoryGirl.define do
2
+ factory :client, :class => CFoundry::V2::Client do
3
+ ignore do
4
+ routes []
5
+ apps []
6
+ frameworks []
7
+ end
8
+
9
+ after_build do |client, evaluator|
10
+ RR.stub(client).logged_in? { true }
11
+ RR.stub(client).routes { evaluator.routes }
12
+ RR.stub(client).apps { evaluator.apps }
13
+ RR.stub(client).frameworks { evaluator.frameworks }
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :domain, :class => CFoundry::V2::Domain do
3
+ name { FactoryGirl.generate(:random_string) }
4
+
5
+ initialize_with do
6
+ CFoundry::V2::Domain.new(nil, nil)
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ FactoryGirl.define do
2
+ sequence(:random_string) {|n| "random_#{n}_string" }
3
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :framework, :class => CFoundry::V2::Framework do
3
+ name { FactoryGirl.generate(:random_string) }
4
+
5
+ initialize_with do
6
+ CFoundry::V2::Framework.new(nil, nil)
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ FactoryGirl.define do
2
+ factory :route, :class => CFoundry::V2::Route do
3
+ host { FactoryGirl.generate(:random_string) }
4
+ association :domain, :factory => :domain, :strategy => :build
5
+
6
+ initialize_with do
7
+ CFoundry::V2::Route.new(nil, nil)
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,17 @@
1
+ require "rspec"
2
+
3
+ require "cfoundry"
4
+ require "vmc"
5
+ require 'factory_girl'
6
+ require 'webmock/rspec'
7
+
8
+ Dir[File.expand_path('../support/**/*.rb', __FILE__)].each do |file|
9
+ require file
10
+ end
11
+
12
+ FactoryGirl.find_definitions
13
+
14
+ RSpec.configure do |c|
15
+ c.mock_with :rr
16
+ end
17
+
@@ -0,0 +1,23 @@
1
+ def stub_ask(*args, &block)
2
+ any_instance_of VMC::CLI do |interactive|
3
+ stub(interactive).ask(*args, &block)
4
+ end
5
+ end
6
+
7
+ def mock_ask(*args, &block)
8
+ any_instance_of VMC::CLI do |interactive|
9
+ mock(interactive).ask(*args, &block)
10
+ end
11
+ end
12
+
13
+ def dont_allow_ask(*args)
14
+ any_instance_of VMC::CLI do |interactive|
15
+ dont_allow(interactive).ask(*args)
16
+ end
17
+ end
18
+
19
+ def mock_with_progress(message)
20
+ any_instance_of VMC::CLI do |interactive|
21
+ mock(interactive).with_progress(message) { |_, block| block.call }
22
+ end
23
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmc
3
3
  version: !ruby/object:Gem::Version
4
- hash: -2528627954
4
+ hash: 3350084771
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
9
  - 0
10
10
  - beta
11
- - 93
12
- version: 0.4.0.beta.93
11
+ - 94
12
+ version: 0.4.0.beta.94
13
13
  platform: ruby
14
14
  authors:
15
15
  - VMware
@@ -17,8 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-11-20 00:00:00 -08:00
21
- default_executable:
20
+ date: 2012-11-28 00:00:00 Z
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
24
23
  name: json_pure
@@ -282,12 +281,12 @@ dependencies:
282
281
  requirements:
283
282
  - - ~>
284
283
  - !ruby/object:Gem::Version
285
- hash: 29
284
+ hash: 27
286
285
  segments:
287
286
  - 0
288
287
  - 0
289
- - 1
290
- version: 0.0.1
288
+ - 2
289
+ version: 0.0.2
291
290
  type: :runtime
292
291
  version_requirements: *id016
293
292
  - !ruby/object:Gem::Dependency
@@ -403,6 +402,54 @@ dependencies:
403
402
  version: 0.6.4
404
403
  type: :development
405
404
  version_requirements: *id023
405
+ - !ruby/object:Gem::Dependency
406
+ name: webmock
407
+ prerelease: false
408
+ requirement: &id024 !ruby/object:Gem::Requirement
409
+ none: false
410
+ requirements:
411
+ - - ~>
412
+ - !ruby/object:Gem::Version
413
+ hash: 51
414
+ segments:
415
+ - 1
416
+ - 9
417
+ - 0
418
+ version: 1.9.0
419
+ type: :development
420
+ version_requirements: *id024
421
+ - !ruby/object:Gem::Dependency
422
+ name: rr
423
+ prerelease: false
424
+ requirement: &id025 !ruby/object:Gem::Requirement
425
+ none: false
426
+ requirements:
427
+ - - ~>
428
+ - !ruby/object:Gem::Version
429
+ hash: 31
430
+ segments:
431
+ - 1
432
+ - 0
433
+ - 4
434
+ version: 1.0.4
435
+ type: :development
436
+ version_requirements: *id025
437
+ - !ruby/object:Gem::Dependency
438
+ name: factory_girl
439
+ prerelease: false
440
+ requirement: &id026 !ruby/object:Gem::Requirement
441
+ none: false
442
+ requirements:
443
+ - - ~>
444
+ - !ruby/object:Gem::Version
445
+ hash: 31
446
+ segments:
447
+ - 2
448
+ - 6
449
+ - 4
450
+ version: 2.6.4
451
+ type: :development
452
+ version_requirements: *id026
406
453
  description:
407
454
  email: support@vmware.com
408
455
  executables:
@@ -417,78 +464,104 @@ files:
417
464
  - vmc/Rakefile
418
465
  - vmc/config/clients.yml
419
466
  - vmc/config/micro/offline.conf
420
- - vmc/config/micro/refresh_ip.rb
421
467
  - vmc/config/micro/paths.yml
468
+ - vmc/config/micro/refresh_ip.rb
469
+ - vmc/lib/cli/commands/admin.rb
470
+ - vmc/lib/cli/commands/apps.rb
471
+ - vmc/lib/cli/commands/base.rb
472
+ - vmc/lib/cli/commands/manifest.rb
473
+ - vmc/lib/cli/commands/micro.rb
474
+ - vmc/lib/cli/commands/misc.rb
475
+ - vmc/lib/cli/commands/services.rb
476
+ - vmc/lib/cli/commands/user.rb
477
+ - vmc/lib/cli/config.rb
478
+ - vmc/lib/cli/console_helper.rb
479
+ - vmc/lib/cli/core_ext.rb
480
+ - vmc/lib/cli/errors.rb
481
+ - vmc/lib/cli/frameworks.rb
482
+ - vmc/lib/cli/manifest_helper.rb
483
+ - vmc/lib/cli/runner.rb
484
+ - vmc/lib/cli/services_helper.rb
485
+ - vmc/lib/cli/tunnel_helper.rb
486
+ - vmc/lib/cli/usage.rb
487
+ - vmc/lib/cli/version.rb
488
+ - vmc/lib/cli/zip_util.rb
489
+ - vmc/lib/cli.rb
422
490
  - vmc/lib/vmc/client.rb
423
- - vmc/lib/vmc/micro.rb
424
491
  - vmc/lib/vmc/const.rb
425
- - vmc/lib/vmc/micro/switcher/dummy.rb
426
- - vmc/lib/vmc/micro/switcher/windows.rb
427
492
  - vmc/lib/vmc/micro/switcher/base.rb
428
493
  - vmc/lib/vmc/micro/switcher/darwin.rb
494
+ - vmc/lib/vmc/micro/switcher/dummy.rb
429
495
  - vmc/lib/vmc/micro/switcher/linux.rb
496
+ - vmc/lib/vmc/micro/switcher/windows.rb
430
497
  - vmc/lib/vmc/micro/vmrun.rb
498
+ - vmc/lib/vmc/micro.rb
431
499
  - vmc/lib/vmc.rb
432
- - vmc/lib/cli.rb
433
- - vmc/lib/cli/frameworks.rb
434
- - vmc/lib/cli/version.rb
435
- - vmc/lib/cli/manifest_helper.rb
436
- - vmc/lib/cli/errors.rb
437
- - vmc/lib/cli/config.rb
438
- - vmc/lib/cli/console_helper.rb
439
- - vmc/lib/cli/core_ext.rb
440
- - vmc/lib/cli/tunnel_helper.rb
441
- - vmc/lib/cli/commands/micro.rb
442
- - vmc/lib/cli/commands/user.rb
443
- - vmc/lib/cli/commands/admin.rb
444
- - vmc/lib/cli/commands/misc.rb
445
- - vmc/lib/cli/commands/manifest.rb
446
- - vmc/lib/cli/commands/services.rb
447
- - vmc/lib/cli/commands/base.rb
448
- - vmc/lib/cli/commands/apps.rb
449
- - vmc/lib/cli/usage.rb
450
- - vmc/lib/cli/zip_util.rb
451
- - vmc/lib/cli/runner.rb
452
- - vmc/lib/cli/services_helper.rb
453
- - vmc/caldecott_helper/server.rb
454
500
  - vmc/caldecott_helper/Gemfile
455
501
  - vmc/caldecott_helper/Gemfile.lock
502
+ - vmc/caldecott_helper/server.rb
456
503
  - vmc/bin/vmc
457
504
  - vmc-ng/LICENSE
458
505
  - vmc-ng/Rakefile
459
- - vmc-ng/lib/vmc/spec_helpers.rb
460
- - vmc-ng/lib/vmc/version.rb
461
- - vmc-ng/lib/vmc/spec_helpers/eventlog.rb
462
- - vmc-ng/lib/vmc/spec_helpers/patches.rb
463
- - vmc-ng/lib/vmc/detect.rb
464
- - vmc-ng/lib/vmc/errors.rb
465
- - vmc-ng/lib/vmc/spacing.rb
466
- - vmc-ng/lib/vmc/plugin.rb
467
- - vmc-ng/lib/vmc/constants.rb
468
- - vmc-ng/lib/vmc/cli.rb
469
- - vmc-ng/lib/vmc/cli/service.rb
470
- - vmc-ng/lib/vmc/cli/user.rb
506
+ - vmc-ng/lib/vmc/cli/app/app.rb
507
+ - vmc-ng/lib/vmc/cli/app/apps.rb
508
+ - vmc-ng/lib/vmc/cli/app/base.rb
509
+ - vmc-ng/lib/vmc/cli/app/crashes.rb
510
+ - vmc-ng/lib/vmc/cli/app/delete.rb
511
+ - vmc-ng/lib/vmc/cli/app/deprecated.rb
512
+ - vmc-ng/lib/vmc/cli/app/env.rb
513
+ - vmc-ng/lib/vmc/cli/app/files.rb
514
+ - vmc-ng/lib/vmc/cli/app/health.rb
515
+ - vmc-ng/lib/vmc/cli/app/instances.rb
516
+ - vmc-ng/lib/vmc/cli/app/logs.rb
517
+ - vmc-ng/lib/vmc/cli/app/push.rb
518
+ - vmc-ng/lib/vmc/cli/app/rename.rb
519
+ - vmc-ng/lib/vmc/cli/app/restart.rb
520
+ - vmc-ng/lib/vmc/cli/app/routes.rb
521
+ - vmc-ng/lib/vmc/cli/app/scale.rb
522
+ - vmc-ng/lib/vmc/cli/app/start.rb
523
+ - vmc-ng/lib/vmc/cli/app/stats.rb
524
+ - vmc-ng/lib/vmc/cli/app/stop.rb
525
+ - vmc-ng/lib/vmc/cli/domain/add_domain.rb
526
+ - vmc-ng/lib/vmc/cli/domain/base.rb
527
+ - vmc-ng/lib/vmc/cli/domain/create_domain.rb
528
+ - vmc-ng/lib/vmc/cli/domain/delete_domain.rb
529
+ - vmc-ng/lib/vmc/cli/domain/domains.rb
530
+ - vmc-ng/lib/vmc/cli/domain/remove_domain.rb
531
+ - vmc-ng/lib/vmc/cli/help.rb
471
532
  - vmc-ng/lib/vmc/cli/interactive.rb
533
+ - vmc-ng/lib/vmc/cli/organization.rb
534
+ - vmc-ng/lib/vmc/cli/route/base.rb
535
+ - vmc-ng/lib/vmc/cli/route/create_route.rb
536
+ - vmc-ng/lib/vmc/cli/route/delete_route.rb
537
+ - vmc-ng/lib/vmc/cli/route/routes.rb
538
+ - vmc-ng/lib/vmc/cli/service.rb
472
539
  - vmc-ng/lib/vmc/cli/space.rb
473
540
  - vmc-ng/lib/vmc/cli/start.rb
474
- - vmc-ng/lib/vmc/cli/app.rb
475
- - vmc-ng/lib/vmc/cli/help.rb
476
- - vmc-ng/lib/vmc/cli/organization.rb
477
- - vmc-ng/lib/vmc/cli/route.rb
478
- - vmc-ng/lib/vmc/cli/domain.rb
541
+ - vmc-ng/lib/vmc/cli/user.rb
542
+ - vmc-ng/lib/vmc/cli.rb
543
+ - vmc-ng/lib/vmc/constants.rb
544
+ - vmc-ng/lib/vmc/detect.rb
545
+ - vmc-ng/lib/vmc/errors.rb
546
+ - vmc-ng/lib/vmc/plugin.rb
547
+ - vmc-ng/lib/vmc/spacing.rb
548
+ - vmc-ng/lib/vmc/spec_helper.rb
549
+ - vmc-ng/lib/vmc/version.rb
479
550
  - vmc-ng/lib/vmc.rb
480
- - vmc-ng/spec/helpers.rb
481
- - vmc-ng/spec/start/target_spec.rb
482
- - vmc-ng/spec/app/push_spec.rb
483
- - vmc-ng/spec/app/app_spec.rb
484
- - vmc-ng/spec/app/apps_spec.rb
485
- - vmc-ng/spec/assets/hello-sinatra/manifest.yml
486
- - vmc-ng/spec/assets/hello-sinatra/Gemfile
487
- - vmc-ng/spec/assets/hello-sinatra/main.rb
488
- - vmc-ng/spec/Rakefile
551
+ - vmc-ng/spec/cli/app/push_spec.rb
552
+ - vmc-ng/spec/cli/app/rename_spec.rb
553
+ - vmc-ng/spec/cli/route/delete_route_spec.rb
554
+ - vmc-ng/spec/detect_spec.rb
555
+ - vmc-ng/spec/factories/app_factory.rb
556
+ - vmc-ng/spec/factories/client_factory.rb
557
+ - vmc-ng/spec/factories/domain_factory.rb
558
+ - vmc-ng/spec/factories/factory.rb
559
+ - vmc-ng/spec/factories/framework_factory.rb
560
+ - vmc-ng/spec/factories/route_factory.rb
561
+ - vmc-ng/spec/spec_helper.rb
562
+ - vmc-ng/spec/support/interact_helpers.rb
489
563
  - vmc-ng/bin/vmc
490
564
  - bin/vmc
491
- has_rdoc: true
492
565
  homepage: http://vmware.com
493
566
  licenses: []
494
567
 
@@ -520,7 +593,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
520
593
  requirements: []
521
594
 
522
595
  rubyforge_project:
523
- rubygems_version: 1.6.2
596
+ rubygems_version: 1.8.24
524
597
  signing_key:
525
598
  specification_version: 3
526
599
  summary: Client library and CLI that provides access to the VMware Cloud Application Platform.