vmc 0.4.7 → 0.5.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/lib/vmc.rb +1 -2
  2. data/lib/vmc/cli.rb +33 -31
  3. data/lib/vmc/cli/app/app.rb +2 -2
  4. data/lib/vmc/cli/app/apps.rb +4 -5
  5. data/lib/vmc/cli/app/crashes.rb +2 -3
  6. data/lib/vmc/cli/app/delete.rb +28 -25
  7. data/lib/vmc/cli/app/env.rb +11 -19
  8. data/lib/vmc/cli/app/files.rb +11 -15
  9. data/lib/vmc/cli/app/health.rb +2 -3
  10. data/lib/vmc/cli/app/instances.rb +3 -3
  11. data/lib/vmc/cli/app/logs.rb +7 -10
  12. data/lib/vmc/cli/app/push.rb +17 -89
  13. data/lib/vmc/cli/app/push/create.rb +2 -0
  14. data/lib/vmc/cli/app/rename.rb +17 -13
  15. data/lib/vmc/cli/app/restart.rb +4 -7
  16. data/lib/vmc/cli/app/routes.rb +14 -11
  17. data/lib/vmc/cli/app/scale.rb +17 -15
  18. data/lib/vmc/cli/app/start.rb +4 -7
  19. data/lib/vmc/cli/app/stats.rb +2 -3
  20. data/lib/vmc/cli/app/stop.rb +3 -5
  21. data/lib/vmc/cli/domain/add_domain.rb +3 -5
  22. data/lib/vmc/cli/domain/create_domain.rb +5 -8
  23. data/lib/vmc/cli/domain/delete_domain.rb +23 -18
  24. data/lib/vmc/cli/domain/domains.rb +4 -7
  25. data/lib/vmc/cli/domain/remove_domain.rb +12 -10
  26. data/lib/vmc/cli/organization/org.rb +6 -7
  27. data/lib/vmc/cli/organization/orgs.rb +19 -19
  28. data/lib/vmc/cli/organization/rename.rb +18 -14
  29. data/lib/vmc/cli/route/create_route.rb +20 -13
  30. data/lib/vmc/cli/route/{delete_route.rb → delete.rb} +22 -17
  31. data/lib/vmc/cli/service/bind.rb +2 -2
  32. data/lib/vmc/cli/service/create.rb +57 -53
  33. data/lib/vmc/cli/service/delete.rb +33 -31
  34. data/lib/vmc/cli/service/rename.rb +17 -14
  35. data/lib/vmc/cli/service/service.rb +5 -8
  36. data/lib/vmc/cli/service/services.rb +14 -18
  37. data/lib/vmc/cli/service/unbind.rb +4 -4
  38. data/lib/vmc/cli/space/create.rb +16 -17
  39. data/lib/vmc/cli/space/delete.rb +34 -31
  40. data/lib/vmc/cli/space/rename.rb +20 -17
  41. data/lib/vmc/cli/space/space.rb +11 -14
  42. data/lib/vmc/cli/space/spaces.rb +14 -16
  43. data/lib/vmc/cli/space/take.rb +1 -3
  44. data/lib/vmc/cli/start/base.rb +2 -0
  45. data/lib/vmc/cli/start/colors.rb +0 -1
  46. data/lib/vmc/cli/start/info.rb +8 -10
  47. data/lib/vmc/cli/start/login.rb +11 -40
  48. data/lib/vmc/cli/start/logout.rb +0 -1
  49. data/lib/vmc/cli/start/register.rb +18 -12
  50. data/lib/vmc/cli/start/target.rb +7 -36
  51. data/lib/vmc/cli/start/target_interactions.rb +3 -1
  52. data/lib/vmc/cli/start/targets.rb +0 -1
  53. data/lib/vmc/cli/user/create.rb +4 -2
  54. data/lib/vmc/version.rb +1 -1
  55. data/spec/factories/organization_factory.rb +5 -0
  56. data/spec/factories/space_factory.rb +15 -0
  57. data/spec/spec_helper.rb +16 -0
  58. data/spec/vmc/cli/app/push/create_spec.rb +2 -1
  59. data/spec/vmc/cli/app/push_spec.rb +1 -1
  60. data/spec/vmc/cli/organization/orgs_spec.rb +119 -0
  61. data/spec/vmc/cli/route/delete_route_spec.rb +3 -3
  62. data/spec/vmc/cli/service/bind_spec.rb +34 -0
  63. data/spec/vmc/cli/service/delete_spec.rb +32 -0
  64. data/spec/vmc/cli/service/service_spec.rb +32 -0
  65. data/spec/vmc/cli/service/unbind_spec.rb +34 -0
  66. data/spec/vmc/cli/space/spaces_spec.rb +120 -0
  67. data/spec/vmc/cli/start/info_spec.rb +38 -0
  68. data/spec/vmc/cli/start/login_spec.rb +40 -0
  69. metadata +127 -113
  70. data/lib/vmc/cli/organization/create_org.rb +0 -28
  71. data/lib/vmc/cli/organization/delete_org.rb +0 -65
  72. data/lib/vmc/cli/service/binding.rb +0 -66
  73. data/lib/vmc/cli/user.rb +0 -118
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Service::Bind do
4
+ describe 'metadata' do
5
+ let(:command) { Mothership.commands[:bind_service] }
6
+
7
+ describe 'command' do
8
+ subject { command }
9
+ its(:description) { should eq "Bind a service to an application" }
10
+ it { expect(Mothership::Help.group(:services, :manage)).to include(subject) }
11
+ end
12
+
13
+ describe 'inputs' do
14
+ subject { command.inputs }
15
+
16
+ it "is not missing any descriptions" do
17
+ subject.each do |_, attrs|
18
+ expect(attrs[:description]).to be
19
+ expect(attrs[:description].strip).to_not be_empty
20
+ end
21
+ end
22
+ end
23
+
24
+ describe 'arguments' do
25
+ subject { command.arguments }
26
+ it 'has the correct argument order' do
27
+ should eq([
28
+ { :type => :optional, :value => nil, :name => :service },
29
+ { :type => :optional, :value => nil, :name => :app }
30
+ ])
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Service::Delete do
4
+ describe 'metadata' do
5
+ let(:command) { Mothership.commands[:delete_service] }
6
+
7
+ describe 'command' do
8
+ subject { command }
9
+ its(:description) { should eq "Delete a service" }
10
+ it { expect(Mothership::Help.group(:services, :manage)).to include(subject) }
11
+ end
12
+
13
+ describe 'inputs' do
14
+ subject { command.inputs }
15
+
16
+ it "is not missing any descriptions" do
17
+ subject.each do |_, attrs|
18
+ next if attrs[:hidden]
19
+ expect(attrs[:description]).to be
20
+ expect(attrs[:description].strip).to_not be_empty
21
+ end
22
+ end
23
+ end
24
+
25
+ describe 'arguments' do
26
+ subject { command.arguments }
27
+ it 'has the correct argument order' do
28
+ should eq([{:type => :optional, :value => nil, :name => :service }])
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Service::Service do
4
+ describe 'metadata' do
5
+ let(:command) { Mothership.commands[:service] }
6
+
7
+ describe 'command' do
8
+ subject { command }
9
+ its(:description) { should eq "Show service information" }
10
+ it { expect(Mothership::Help.group(:services)).to include(subject) }
11
+ end
12
+
13
+ describe 'inputs' do
14
+ subject { command.inputs }
15
+
16
+ it "is not missing any descriptions" do
17
+ subject.each do |_, attrs|
18
+ expect(attrs[:description]).to be
19
+ expect(attrs[:description].strip).to_not be_empty
20
+ end
21
+ end
22
+ end
23
+
24
+ describe 'arguments' do
25
+ subject { command.arguments }
26
+ it 'has the correct argument order' do
27
+ should eq([{:type => :required, :value=>nil, :name=>:service}])
28
+ end
29
+ end
30
+ end
31
+ end
32
+
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Service::Unbind do
4
+ describe 'metadata' do
5
+ let(:command) { Mothership.commands[:unbind_service] }
6
+
7
+ describe 'command' do
8
+ subject { command }
9
+ its(:description) { should eq "Unbind a service from an application" }
10
+ it { expect(Mothership::Help.group(:services, :manage)).to include(subject) }
11
+ end
12
+
13
+ describe 'inputs' do
14
+ subject { command.inputs }
15
+
16
+ it "is not missing any descriptions" do
17
+ subject.each do |input, attrs|
18
+ expect(attrs[:description]).to be
19
+ expect(attrs[:description].strip).to_not be_empty
20
+ end
21
+ end
22
+ end
23
+
24
+ describe 'arguments' do
25
+ subject { command.arguments }
26
+ it 'has the correct argument order' do
27
+ should eq([
28
+ { :type => :optional, :value => nil, :name => :service },
29
+ { :type => :optional, :value => nil, :name => :app }
30
+ ])
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,120 @@
1
+ require 'spec_helper'
2
+ require 'stringio'
3
+
4
+ describe VMC::Space::Spaces do
5
+ let(:global) { { :color => false } }
6
+ let(:inputs) { {} }
7
+ let(:given) { {} }
8
+ let(:output) { StringIO.new }
9
+ let!(:space_1) { FactoryGirl.build(:space, :name => "bb_second", :apps => FactoryGirl.build_list(:app, 2), :service_instances => [FactoryGirl.build(:service_instance)]) }
10
+ let!(:space_2) { FactoryGirl.build(:space, :name => "aa_first", :apps => [FactoryGirl.build(:app)], :service_instances => FactoryGirl.build_list(:service_instance, 3), :domains => [FactoryGirl.build(:domain)]) }
11
+ let!(:space_3) { FactoryGirl.build(:space, :name => "cc_last", :apps => FactoryGirl.build_list(:app, 2), :service_instances => FactoryGirl.build_list(:service_instance, 2), :domains => FactoryGirl.build_list(:domain, 2)) }
12
+ let(:spaces) { [space_1, space_2, space_3]}
13
+ let(:organization) { FactoryGirl.build(:organization, :spaces => spaces) }
14
+ let(:client) { FactoryGirl.build(:client, :spaces => spaces, :current_organization => organization) }
15
+
16
+ before do
17
+ any_instance_of(VMC::CLI) do |cli|
18
+ stub(cli).client { client }
19
+ stub(cli).precondition { nil }
20
+ end
21
+ end
22
+
23
+ subject do
24
+ reassign_stdout_to output do
25
+ Mothership.new.invoke(:spaces, inputs, given, global)
26
+ end
27
+ end
28
+
29
+ describe 'metadata' do
30
+ let(:command) { Mothership.commands[:spaces] }
31
+
32
+ describe 'command' do
33
+ subject { command }
34
+ its(:description) { should eq "List spaces in an organization" }
35
+ it { expect(Mothership::Help.group(:spaces)).to include(subject) }
36
+ end
37
+
38
+ describe 'inputs' do
39
+ subject { command.inputs }
40
+
41
+ it "is not missing any descriptions" do
42
+ subject.each do |_, attrs|
43
+ expect(attrs[:description]).to be
44
+ expect(attrs[:description].strip).to_not be_empty
45
+ end
46
+ end
47
+ end
48
+
49
+ describe 'arguments' do
50
+ subject { command.arguments }
51
+ it 'has the correct argument order' do
52
+ should eq([{ :type => :optional, :value => nil, :name => :organization }])
53
+ end
54
+ end
55
+ end
56
+
57
+ it 'should have the correct first two lines' do
58
+ subject
59
+
60
+ output.rewind
61
+ expect(output.readline).to match /Getting spaces.*OK/
62
+ expect(output.readline).to eq "\n"
63
+ end
64
+
65
+ context 'when there are no spaces' do
66
+ let(:spaces) { [] }
67
+
68
+ context 'and the full flag is given' do
69
+ let(:inputs) { {:full => true} }
70
+
71
+ it 'displays yaml-style output with all space details' do
72
+ any_instance_of VMC::Space::Spaces do |spaces|
73
+ dont_allow(spaces).invoke
74
+ end
75
+ subject
76
+ end
77
+ end
78
+
79
+ context 'and the full flag is not given (default is false)' do
80
+ it 'should show only the progress' do
81
+ subject
82
+
83
+ output.rewind
84
+ expect(output.readline).to match /Getting spaces.*OK/
85
+ expect(output).to be_eof
86
+ end
87
+ end
88
+ end
89
+
90
+ context 'when there are spaces' do
91
+ context 'and the full flag is given' do
92
+ let(:inputs) { {:full => true} }
93
+
94
+ it 'displays yaml-style output with all space details' do
95
+ any_instance_of VMC::Space::Spaces do |spaces|
96
+ mock(spaces).invoke(:space, :space => space_2, :full => true).ordered
97
+ mock(spaces).invoke(:space, :space => space_1, :full => true).ordered
98
+ mock(spaces).invoke(:space, :space => space_3, :full => true).ordered
99
+ end
100
+ subject
101
+ end
102
+ end
103
+
104
+ context 'and the full flag is not given (default is false)' do
105
+ it 'displays tabular output with names, spaces and domains' do
106
+ subject
107
+
108
+ output.rewind
109
+ output.readline
110
+ output.readline
111
+
112
+ expect(output.readline).to match /name\s+apps\s+services/
113
+ spaces.sort_by(&:name).each do |space|
114
+ expect(output.readline).to match /#{space.name}\s+#{name_list(space.apps)}\s+#{name_list(space.service_instances)}/
115
+ end
116
+ expect(output).to be_eof
117
+ end
118
+ end
119
+ end
120
+ end
@@ -0,0 +1,38 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Start::Info do
4
+ describe 'metadata' do
5
+ let(:command) { Mothership.commands[:info] }
6
+
7
+ describe 'command' do
8
+ subject { command }
9
+ its(:description) { should eq "Display information on the current target, user, etc." }
10
+ it { expect(Mothership::Help.group(:start)).to include(subject) }
11
+ end
12
+
13
+ describe 'inputs' do
14
+ subject { command.inputs }
15
+
16
+ it "is not missing any descriptions" do
17
+ subject.each do |_, attrs|
18
+ expect(attrs[:description]).to be
19
+ expect(attrs[:description].strip).to_not be_empty
20
+ end
21
+ end
22
+ end
23
+
24
+ describe 'flags' do
25
+ subject { command.flags }
26
+
27
+ its(["-f"]) { should eq :frameworks }
28
+ its(["-r"]) { should eq :runtimes }
29
+ its(["-s"]) { should eq :services }
30
+ its(["-a"]) { should eq :all }
31
+ end
32
+
33
+ describe 'arguments' do
34
+ subject { command.arguments }
35
+ it { should be_empty }
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,40 @@
1
+ require 'spec_helper'
2
+
3
+ describe VMC::Start::Login do
4
+ describe 'metadata' do
5
+ let(:command) { Mothership.commands[:login] }
6
+
7
+ describe 'command' do
8
+ subject { command }
9
+ its(:description) { should eq "Authenticate with the target" }
10
+ it { expect(Mothership::Help.group(:start)).to include(subject) }
11
+ end
12
+
13
+ describe 'inputs' do
14
+ subject { command.inputs }
15
+
16
+ it "is not missing any descriptions" do
17
+ subject.each do |_, attrs|
18
+ expect(attrs[:description]).to be
19
+ expect(attrs[:description].strip).to_not be_empty
20
+ end
21
+ end
22
+ end
23
+
24
+ describe 'flags' do
25
+ subject { command.flags }
26
+
27
+ its(["-o"]) { should eq :organization }
28
+ its(["--org"]) { should eq :organization }
29
+ its(["--email"]) { should eq :username }
30
+ its(["-s"]) { should eq :space }
31
+ end
32
+
33
+ describe 'arguments' do
34
+ subject { command.arguments }
35
+ it 'have the correct commands' do
36
+ should eq [{:type=>:optional, :value=>:email, :name=>:username}]
37
+ end
38
+ end
39
+ end
40
+ end
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease:
4
+ hash: 2835543005
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
- - 4
9
- - 7
10
- version: 0.4.7
8
+ - 5
9
+ - 0
10
+ - beta
11
+ - 1
12
+ version: 0.5.0.beta.1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Alex Suraci
@@ -15,8 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2012-12-11 00:00:00 -08:00
19
- default_executable:
20
+ date: 2012-12-12 00:00:00 Z
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: json_pure
@@ -90,12 +91,12 @@ dependencies:
90
91
  requirements:
91
92
  - - ~>
92
93
  - !ruby/object:Gem::Version
93
- hash: 25
94
+ hash: 15
94
95
  segments:
95
96
  - 0
96
- - 3
97
- - 5
98
- version: 0.3.5
97
+ - 4
98
+ - 0
99
+ version: 0.4.0
99
100
  type: :runtime
100
101
  version_requirements: *id005
101
102
  - !ruby/object:Gem::Dependency
@@ -255,114 +256,117 @@ extra_rdoc_files: []
255
256
  files:
256
257
  - LICENSE
257
258
  - Rakefile
258
- - lib/vmc/version.rb
259
- - lib/vmc/detect.rb
260
- - lib/vmc/errors.rb
261
- - lib/vmc/spacing.rb
262
- - lib/vmc/spec_helper.rb
263
- - lib/vmc/plugin.rb
264
- - lib/vmc/constants.rb
265
- - lib/vmc/cli.rb
266
- - lib/vmc/cli/organization/create.rb
267
- - lib/vmc/cli/organization/rename.rb
268
- - lib/vmc/cli/organization/delete_org.rb
269
- - lib/vmc/cli/organization/orgs.rb
270
- - lib/vmc/cli/organization/base.rb
271
- - lib/vmc/cli/organization/delete.rb
272
- - lib/vmc/cli/organization/org.rb
273
- - lib/vmc/cli/organization/create_org.rb
274
- - lib/vmc/cli/start/target_interactions.rb
275
- - lib/vmc/cli/start/targets.rb
276
- - lib/vmc/cli/start/register.rb
277
- - lib/vmc/cli/start/colors.rb
278
- - lib/vmc/cli/start/target.rb
279
- - lib/vmc/cli/start/logout.rb
280
- - lib/vmc/cli/start/base.rb
281
- - lib/vmc/cli/start/info.rb
282
- - lib/vmc/cli/start/login.rb
283
- - lib/vmc/cli/user.rb
284
- - lib/vmc/cli/route/create_route.rb
285
- - lib/vmc/cli/route/routes.rb
286
- - lib/vmc/cli/route/base.rb
287
- - lib/vmc/cli/route/delete_route.rb
288
- - lib/vmc/cli/app/scale.rb
289
- - lib/vmc/cli/app/health.rb
259
+ - lib/vmc/cli/app/app.rb
260
+ - lib/vmc/cli/app/apps.rb
261
+ - lib/vmc/cli/app/base.rb
262
+ - lib/vmc/cli/app/crashes.rb
263
+ - lib/vmc/cli/app/delete.rb
264
+ - lib/vmc/cli/app/deprecated.rb
265
+ - lib/vmc/cli/app/env.rb
290
266
  - lib/vmc/cli/app/files.rb
267
+ - lib/vmc/cli/app/health.rb
268
+ - lib/vmc/cli/app/instances.rb
269
+ - lib/vmc/cli/app/logs.rb
291
270
  - lib/vmc/cli/app/push/create.rb
292
271
  - lib/vmc/cli/app/push/interactions.rb
293
272
  - lib/vmc/cli/app/push/sync.rb
273
+ - lib/vmc/cli/app/push.rb
294
274
  - lib/vmc/cli/app/rename.rb
275
+ - lib/vmc/cli/app/restart.rb
295
276
  - lib/vmc/cli/app/routes.rb
296
- - lib/vmc/cli/app/deprecated.rb
297
- - lib/vmc/cli/app/logs.rb
298
- - lib/vmc/cli/app/instances.rb
277
+ - lib/vmc/cli/app/scale.rb
299
278
  - lib/vmc/cli/app/start.rb
300
- - lib/vmc/cli/app/app.rb
301
- - lib/vmc/cli/app/stop.rb
302
- - lib/vmc/cli/app/env.rb
303
- - lib/vmc/cli/app/base.rb
304
279
  - lib/vmc/cli/app/stats.rb
305
- - lib/vmc/cli/app/apps.rb
306
- - lib/vmc/cli/app/restart.rb
307
- - lib/vmc/cli/app/delete.rb
308
- - lib/vmc/cli/app/push.rb
309
- - lib/vmc/cli/app/crashes.rb
310
- - lib/vmc/cli/interactive.rb
280
+ - lib/vmc/cli/app/stop.rb
281
+ - lib/vmc/cli/domain/add_domain.rb
282
+ - lib/vmc/cli/domain/base.rb
311
283
  - lib/vmc/cli/domain/create_domain.rb
312
- - lib/vmc/cli/domain/domains.rb
313
284
  - lib/vmc/cli/domain/delete_domain.rb
314
- - lib/vmc/cli/domain/base.rb
285
+ - lib/vmc/cli/domain/domains.rb
315
286
  - lib/vmc/cli/domain/remove_domain.rb
316
- - lib/vmc/cli/domain/add_domain.rb
317
- - lib/vmc/cli/space/spaces.rb
318
- - lib/vmc/cli/space/create.rb
319
- - lib/vmc/cli/space/rename.rb
320
- - lib/vmc/cli/space/space.rb
321
- - lib/vmc/cli/space/take.rb
322
- - lib/vmc/cli/space/base.rb
323
- - lib/vmc/cli/space/delete.rb
324
- - lib/vmc/cli/service/service.rb
325
- - lib/vmc/cli/service/binding.rb
287
+ - lib/vmc/cli/help.rb
288
+ - lib/vmc/cli/interactive.rb
289
+ - lib/vmc/cli/organization/base.rb
290
+ - lib/vmc/cli/organization/create.rb
291
+ - lib/vmc/cli/organization/delete.rb
292
+ - lib/vmc/cli/organization/org.rb
293
+ - lib/vmc/cli/organization/orgs.rb
294
+ - lib/vmc/cli/organization/rename.rb
295
+ - lib/vmc/cli/route/base.rb
296
+ - lib/vmc/cli/route/create_route.rb
297
+ - lib/vmc/cli/route/delete.rb
298
+ - lib/vmc/cli/route/routes.rb
299
+ - lib/vmc/cli/service/base.rb
326
300
  - lib/vmc/cli/service/bind.rb
327
301
  - lib/vmc/cli/service/create.rb
302
+ - lib/vmc/cli/service/delete.rb
328
303
  - lib/vmc/cli/service/rename.rb
304
+ - lib/vmc/cli/service/service.rb
329
305
  - lib/vmc/cli/service/services.rb
330
306
  - lib/vmc/cli/service/unbind.rb
331
- - lib/vmc/cli/service/base.rb
332
- - lib/vmc/cli/service/delete.rb
333
- - lib/vmc/cli/user/passwd.rb
334
- - lib/vmc/cli/user/create.rb
307
+ - lib/vmc/cli/space/base.rb
308
+ - lib/vmc/cli/space/create.rb
309
+ - lib/vmc/cli/space/delete.rb
310
+ - lib/vmc/cli/space/rename.rb
311
+ - lib/vmc/cli/space/space.rb
312
+ - lib/vmc/cli/space/spaces.rb
313
+ - lib/vmc/cli/space/take.rb
314
+ - lib/vmc/cli/start/base.rb
315
+ - lib/vmc/cli/start/colors.rb
316
+ - lib/vmc/cli/start/info.rb
317
+ - lib/vmc/cli/start/login.rb
318
+ - lib/vmc/cli/start/logout.rb
319
+ - lib/vmc/cli/start/register.rb
320
+ - lib/vmc/cli/start/target.rb
321
+ - lib/vmc/cli/start/target_interactions.rb
322
+ - lib/vmc/cli/start/targets.rb
335
323
  - lib/vmc/cli/user/base.rb
324
+ - lib/vmc/cli/user/create.rb
336
325
  - lib/vmc/cli/user/delete.rb
326
+ - lib/vmc/cli/user/passwd.rb
337
327
  - lib/vmc/cli/user/users.rb
338
- - lib/vmc/cli/help.rb
328
+ - lib/vmc/cli.rb
329
+ - lib/vmc/constants.rb
330
+ - lib/vmc/detect.rb
331
+ - lib/vmc/errors.rb
332
+ - lib/vmc/plugin.rb
333
+ - lib/vmc/spacing.rb
334
+ - lib/vmc/spec_helper.rb
335
+ - lib/vmc/version.rb
339
336
  - lib/vmc.rb
340
- - spec/support/interact_helpers.rb
341
- - spec/factories/service_instance_factory.rb
342
- - spec/factories/service_binding_factory.rb
343
- - spec/factories/service_factory.rb
344
- - spec/factories/route_factory.rb
337
+ - spec/assets/hello-sinatra/Gemfile.lock
338
+ - spec/factories/app_factory.rb
339
+ - spec/factories/client_factory.rb
340
+ - spec/factories/domain_factory.rb
345
341
  - spec/factories/factory.rb
346
- - spec/factories/runtime_factory.rb
347
- - spec/factories/space_factory.rb
348
- - spec/factories/organization_factory.rb
349
342
  - spec/factories/framework_factory.rb
350
- - spec/factories/domain_factory.rb
351
- - spec/factories/client_factory.rb
352
- - spec/factories/app_factory.rb
343
+ - spec/factories/organization_factory.rb
344
+ - spec/factories/route_factory.rb
345
+ - spec/factories/runtime_factory.rb
346
+ - spec/factories/service_binding_factory.rb
347
+ - spec/factories/service_factory.rb
348
+ - spec/factories/service_instance_factory.rb
353
349
  - spec/factories/service_plan_factory.rb
350
+ - spec/factories/space_factory.rb
354
351
  - spec/spec_helper.rb
355
- - spec/vmc/detect_spec.rb
356
- - spec/vmc/cli/organization/rename_spec.rb
357
- - spec/vmc/cli/route/delete_route_spec.rb
358
- - spec/vmc/cli/app/push_spec.rb
352
+ - spec/support/interact_helpers.rb
359
353
  - spec/vmc/cli/app/push/create_spec.rb
354
+ - spec/vmc/cli/app/push_spec.rb
360
355
  - spec/vmc/cli/app/rename_spec.rb
361
- - spec/vmc/cli/space/rename_spec.rb
356
+ - spec/vmc/cli/organization/orgs_spec.rb
357
+ - spec/vmc/cli/organization/rename_spec.rb
358
+ - spec/vmc/cli/route/delete_route_spec.rb
359
+ - spec/vmc/cli/service/bind_spec.rb
360
+ - spec/vmc/cli/service/delete_spec.rb
362
361
  - spec/vmc/cli/service/rename_spec.rb
363
- - spec/assets/hello-sinatra/Gemfile.lock
362
+ - spec/vmc/cli/service/service_spec.rb
363
+ - spec/vmc/cli/service/unbind_spec.rb
364
+ - spec/vmc/cli/space/rename_spec.rb
365
+ - spec/vmc/cli/space/spaces_spec.rb
366
+ - spec/vmc/cli/start/info_spec.rb
367
+ - spec/vmc/cli/start/login_spec.rb
368
+ - spec/vmc/detect_spec.rb
364
369
  - bin/vmc
365
- has_rdoc: true
366
370
  homepage: http://cloudfoundry.com/
367
371
  licenses: []
368
372
 
@@ -383,41 +387,51 @@ required_ruby_version: !ruby/object:Gem::Requirement
383
387
  required_rubygems_version: !ruby/object:Gem::Requirement
384
388
  none: false
385
389
  requirements:
386
- - - ">="
390
+ - - ">"
387
391
  - !ruby/object:Gem::Version
388
- hash: 3
392
+ hash: 25
389
393
  segments:
390
- - 0
391
- version: "0"
394
+ - 1
395
+ - 3
396
+ - 1
397
+ version: 1.3.1
392
398
  requirements: []
393
399
 
394
400
  rubyforge_project: vmc
395
- rubygems_version: 1.6.2
401
+ rubygems_version: 1.8.24
396
402
  signing_key:
397
403
  specification_version: 3
398
404
  summary: Friendly command-line interface for Cloud Foundry.
399
405
  test_files:
400
- - spec/support/interact_helpers.rb
401
- - spec/factories/service_instance_factory.rb
402
- - spec/factories/service_binding_factory.rb
403
- - spec/factories/service_factory.rb
404
- - spec/factories/route_factory.rb
406
+ - spec/assets/hello-sinatra/Gemfile.lock
407
+ - spec/factories/app_factory.rb
408
+ - spec/factories/client_factory.rb
409
+ - spec/factories/domain_factory.rb
405
410
  - spec/factories/factory.rb
406
- - spec/factories/runtime_factory.rb
407
- - spec/factories/space_factory.rb
408
- - spec/factories/organization_factory.rb
409
411
  - spec/factories/framework_factory.rb
410
- - spec/factories/domain_factory.rb
411
- - spec/factories/client_factory.rb
412
- - spec/factories/app_factory.rb
412
+ - spec/factories/organization_factory.rb
413
+ - spec/factories/route_factory.rb
414
+ - spec/factories/runtime_factory.rb
415
+ - spec/factories/service_binding_factory.rb
416
+ - spec/factories/service_factory.rb
417
+ - spec/factories/service_instance_factory.rb
413
418
  - spec/factories/service_plan_factory.rb
419
+ - spec/factories/space_factory.rb
414
420
  - spec/spec_helper.rb
415
- - spec/vmc/detect_spec.rb
416
- - spec/vmc/cli/organization/rename_spec.rb
417
- - spec/vmc/cli/route/delete_route_spec.rb
418
- - spec/vmc/cli/app/push_spec.rb
421
+ - spec/support/interact_helpers.rb
419
422
  - spec/vmc/cli/app/push/create_spec.rb
423
+ - spec/vmc/cli/app/push_spec.rb
420
424
  - spec/vmc/cli/app/rename_spec.rb
421
- - spec/vmc/cli/space/rename_spec.rb
425
+ - spec/vmc/cli/organization/orgs_spec.rb
426
+ - spec/vmc/cli/organization/rename_spec.rb
427
+ - spec/vmc/cli/route/delete_route_spec.rb
428
+ - spec/vmc/cli/service/bind_spec.rb
429
+ - spec/vmc/cli/service/delete_spec.rb
422
430
  - spec/vmc/cli/service/rename_spec.rb
423
- - spec/assets/hello-sinatra/Gemfile.lock
431
+ - spec/vmc/cli/service/service_spec.rb
432
+ - spec/vmc/cli/service/unbind_spec.rb
433
+ - spec/vmc/cli/space/rename_spec.rb
434
+ - spec/vmc/cli/space/spaces_spec.rb
435
+ - spec/vmc/cli/start/info_spec.rb
436
+ - spec/vmc/cli/start/login_spec.rb
437
+ - spec/vmc/detect_spec.rb