cf 4.0.1.rc2 → 4.1.0rc1
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.
- checksums.yaml +7 -0
 - data/Rakefile +1 -0
 - data/lib/cf.rb +1 -0
 - data/lib/cf/cli.rb +36 -9
 - data/lib/cf/cli/app/base.rb +2 -0
 - data/lib/cf/cli/domain/base.rb +1 -0
 - data/lib/cf/cli/login_requirements.rb +13 -0
 - data/lib/cf/cli/populators/base.rb +2 -0
 - data/lib/cf/cli/route/base.rb +1 -0
 - data/lib/cf/cli/route/map.rb +0 -2
 - data/lib/cf/cli/service/base.rb +1 -0
 - data/lib/cf/cli/start/base.rb +1 -5
 - data/lib/cf/version.rb +1 -1
 - data/lib/manifests/manifests.rb +20 -26
 - data/lib/micro/README.md +25 -0
 - data/lib/micro/errors.rb +4 -0
 - data/lib/micro/micro.rb +56 -0
 - data/lib/micro/plugin.rb +197 -0
 - data/lib/micro/switcher/base.rb +79 -0
 - data/lib/micro/switcher/darwin.rb +21 -0
 - data/lib/micro/switcher/dummy.rb +15 -0
 - data/lib/micro/switcher/linux.rb +16 -0
 - data/lib/micro/switcher/windows.rb +31 -0
 - data/lib/micro/vmrun.rb +175 -0
 - data/lib/tasks/gem_release.rake +34 -0
 - data/spec/cf/cli/app/help_spec.rb +39 -0
 - data/spec/cf/cli/domain/help_spec.rb +39 -0
 - data/spec/cf/cli/help_spec.rb +21 -0
 - data/spec/cf/cli/organization/help_spec.rb +39 -0
 - data/spec/cf/cli/route/help_spec.rb +32 -0
 - data/spec/cf/cli/service/help_spec.rb +39 -0
 - data/spec/cf/cli/space/help_spec.rb +39 -0
 - data/spec/cf/cli/start/help_spec.rb +39 -0
 - data/spec/cf/cli/user/help_spec.rb +32 -0
 - data/spec/manifests/manifests_spec.rb +24 -26
 - data/spec/micro/plugin_spec.rb +64 -0
 - metadata +51 -46
 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require "spec_helper"
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              describe "Help"  do
         
     | 
| 
      
 5 
     | 
    
         
            +
                let(:global) { {} }
         
     | 
| 
      
 6 
     | 
    
         
            +
                let(:given) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                let(:inputs) { {:app => apps[0]} }
         
     | 
| 
      
 8 
     | 
    
         
            +
                let(:apps) { [build(:app)] }
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                subject do
         
     | 
| 
      
 12 
     | 
    
         
            +
                  capture_output { Mothership.new.invoke(:help) }
         
     | 
| 
      
 13 
     | 
    
         
            +
                end
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                it "prints the cf version in the first line" do
         
     | 
| 
      
 16 
     | 
    
         
            +
                  subject
         
     | 
| 
      
 17 
     | 
    
         
            +
                  stdout.rewind
         
     | 
| 
      
 18 
     | 
    
         
            +
                  expect(stdout.readlines.first).to match /Cloud Foundry Command Line Interface, version \[#{CF::VERSION}\]\n/
         
     | 
| 
      
 19 
     | 
    
         
            +
                end
         
     | 
| 
      
 20 
     | 
    
         
            +
              end
         
     | 
| 
      
 21 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,39 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require "spec_helper"
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              module Organization
         
     | 
| 
      
 5 
     | 
    
         
            +
                describe "Help"  do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  let(:global) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                  let(:given) { {} }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                  subject do
         
     | 
| 
      
 10 
     | 
    
         
            +
                    capture_output { Mothership.new.invoke(:help, :command => "org") }
         
     | 
| 
      
 11 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  it "describes the command" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 15 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 16 
     | 
    
         
            +
                    expect(stdout.readlines.first).to match /Show organization information/
         
     | 
| 
      
 17 
     | 
    
         
            +
                  end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  it "prints the options" do
         
     | 
| 
      
 20 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 21 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 22 
     | 
    
         
            +
                    expect(stdout.readlines.any? {|line| line =~ /Options:/ }).to be_true
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
                  context "when the user is not logged in" do
         
     | 
| 
      
 27 
     | 
    
         
            +
                    before do
         
     | 
| 
      
 28 
     | 
    
         
            +
                      capture_output { Mothership.new.invoke(:logout) }
         
     | 
| 
      
 29 
     | 
    
         
            +
                    end
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                    it "does not require login" do
         
     | 
| 
      
 32 
     | 
    
         
            +
                      subject
         
     | 
| 
      
 33 
     | 
    
         
            +
                      stdout.rewind
         
     | 
| 
      
 34 
     | 
    
         
            +
                      expect(stdout.readlines.first).to_not match /Please log in first to proceed/
         
     | 
| 
      
 35 
     | 
    
         
            +
                    end
         
     | 
| 
      
 36 
     | 
    
         
            +
                  end
         
     | 
| 
      
 37 
     | 
    
         
            +
                end
         
     | 
| 
      
 38 
     | 
    
         
            +
              end
         
     | 
| 
      
 39 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require "spec_helper"
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              module Route
         
     | 
| 
      
 5 
     | 
    
         
            +
                describe "Help"  do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  let(:global) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                  let(:given) { {} }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                  subject do
         
     | 
| 
      
 10 
     | 
    
         
            +
                    capture_output { Mothership.new.invoke(:help, :command => "routes") }
         
     | 
| 
      
 11 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  it "describes the command" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 15 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 16 
     | 
    
         
            +
                    expect(stdout.readlines.first).to match /List routes in a space/
         
     | 
| 
      
 17 
     | 
    
         
            +
                  end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  context "when the user is not logged in" do
         
     | 
| 
      
 20 
     | 
    
         
            +
                    before do
         
     | 
| 
      
 21 
     | 
    
         
            +
                      capture_output { Mothership.new.invoke(:logout) }
         
     | 
| 
      
 22 
     | 
    
         
            +
                    end
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                    it "does not require login" do
         
     | 
| 
      
 25 
     | 
    
         
            +
                      subject
         
     | 
| 
      
 26 
     | 
    
         
            +
                      stdout.rewind
         
     | 
| 
      
 27 
     | 
    
         
            +
                      expect(stdout.readlines.first).to_not match /Please log in first to proceed/
         
     | 
| 
      
 28 
     | 
    
         
            +
                    end
         
     | 
| 
      
 29 
     | 
    
         
            +
                  end
         
     | 
| 
      
 30 
     | 
    
         
            +
                end
         
     | 
| 
      
 31 
     | 
    
         
            +
              end
         
     | 
| 
      
 32 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,39 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require "spec_helper"
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              module Service
         
     | 
| 
      
 5 
     | 
    
         
            +
                describe "Help"  do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  let(:global) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                  let(:given) { {} }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                  subject do
         
     | 
| 
      
 10 
     | 
    
         
            +
                    capture_output { Mothership.new.invoke(:help, :command => "service") }
         
     | 
| 
      
 11 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  it "describes the command" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 15 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 16 
     | 
    
         
            +
                    expect(stdout.readlines.first).to match /Show service information/
         
     | 
| 
      
 17 
     | 
    
         
            +
                  end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  it "prints the options" do
         
     | 
| 
      
 20 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 21 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 22 
     | 
    
         
            +
                    expect(stdout.readlines.any? {|line| line =~ /Options:/ }).to be_true
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
                  context "when the user is not logged in" do
         
     | 
| 
      
 27 
     | 
    
         
            +
                    before do
         
     | 
| 
      
 28 
     | 
    
         
            +
                      capture_output { Mothership.new.invoke(:logout) }
         
     | 
| 
      
 29 
     | 
    
         
            +
                    end
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                    it "does not require login" do
         
     | 
| 
      
 32 
     | 
    
         
            +
                      subject
         
     | 
| 
      
 33 
     | 
    
         
            +
                      stdout.rewind
         
     | 
| 
      
 34 
     | 
    
         
            +
                      expect(stdout.readlines.first).to_not match /Please log in first to proceed/
         
     | 
| 
      
 35 
     | 
    
         
            +
                    end
         
     | 
| 
      
 36 
     | 
    
         
            +
                  end
         
     | 
| 
      
 37 
     | 
    
         
            +
                end
         
     | 
| 
      
 38 
     | 
    
         
            +
              end
         
     | 
| 
      
 39 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,39 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              module Space
         
     | 
| 
      
 5 
     | 
    
         
            +
                describe "Help"  do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  let(:global) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                  let(:given) { {} }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                  subject do
         
     | 
| 
      
 10 
     | 
    
         
            +
                    capture_output { Mothership.new.invoke(:help, :command => "space") }
         
     | 
| 
      
 11 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  it "describes the command" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 15 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 16 
     | 
    
         
            +
                    expect(stdout.readlines.first).to match /Show space information/
         
     | 
| 
      
 17 
     | 
    
         
            +
                  end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  it "prints the options" do
         
     | 
| 
      
 20 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 21 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 22 
     | 
    
         
            +
                    expect(stdout.readlines.any? {|line| line =~ /Options:/ }).to be_true
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
                  context "when the user is not logged in" do
         
     | 
| 
      
 27 
     | 
    
         
            +
                    before do
         
     | 
| 
      
 28 
     | 
    
         
            +
                      capture_output { Mothership.new.invoke(:logout) }
         
     | 
| 
      
 29 
     | 
    
         
            +
                    end
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                    it "does not require login" do
         
     | 
| 
      
 32 
     | 
    
         
            +
                      subject
         
     | 
| 
      
 33 
     | 
    
         
            +
                      stdout.rewind
         
     | 
| 
      
 34 
     | 
    
         
            +
                      expect(stdout.readlines.first).to_not match /Please log in first to proceed/
         
     | 
| 
      
 35 
     | 
    
         
            +
                    end
         
     | 
| 
      
 36 
     | 
    
         
            +
                  end
         
     | 
| 
      
 37 
     | 
    
         
            +
                end
         
     | 
| 
      
 38 
     | 
    
         
            +
              end
         
     | 
| 
      
 39 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,39 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              module Space
         
     | 
| 
      
 5 
     | 
    
         
            +
                describe "Help"  do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  let(:global) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                  let(:given) { {} }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                  subject do
         
     | 
| 
      
 10 
     | 
    
         
            +
                    capture_output { Mothership.new.invoke(:help, :command => "start") }
         
     | 
| 
      
 11 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  it "describes the command" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 15 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 16 
     | 
    
         
            +
                    expect(stdout.readlines.first).to match /Start an application/
         
     | 
| 
      
 17 
     | 
    
         
            +
                  end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  it "prints the options" do
         
     | 
| 
      
 20 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 21 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 22 
     | 
    
         
            +
                    expect(stdout.readlines.any? {|line| line =~ /Options:/ }).to be_true
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
                  context "when the user is not logged in" do
         
     | 
| 
      
 27 
     | 
    
         
            +
                    before do
         
     | 
| 
      
 28 
     | 
    
         
            +
                      capture_output { Mothership.new.invoke(:logout) }
         
     | 
| 
      
 29 
     | 
    
         
            +
                    end
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                    it "does not require login" do
         
     | 
| 
      
 32 
     | 
    
         
            +
                      subject
         
     | 
| 
      
 33 
     | 
    
         
            +
                      stdout.rewind
         
     | 
| 
      
 34 
     | 
    
         
            +
                      expect(stdout.readlines.first).to_not match /Please log in first to proceed/
         
     | 
| 
      
 35 
     | 
    
         
            +
                    end
         
     | 
| 
      
 36 
     | 
    
         
            +
                  end
         
     | 
| 
      
 37 
     | 
    
         
            +
                end
         
     | 
| 
      
 38 
     | 
    
         
            +
              end
         
     | 
| 
      
 39 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CF
         
     | 
| 
      
 4 
     | 
    
         
            +
              module User
         
     | 
| 
      
 5 
     | 
    
         
            +
                describe "Help"  do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  let(:global) { {} }
         
     | 
| 
      
 7 
     | 
    
         
            +
                  let(:given) { {} }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                  subject do
         
     | 
| 
      
 10 
     | 
    
         
            +
                    capture_output { Mothership.new.invoke(:help, :command => "users") }
         
     | 
| 
      
 11 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  it "describes the command" do
         
     | 
| 
      
 14 
     | 
    
         
            +
                    subject
         
     | 
| 
      
 15 
     | 
    
         
            +
                    stdout.rewind
         
     | 
| 
      
 16 
     | 
    
         
            +
                    expect(stdout.readlines.first).to match /List all users/
         
     | 
| 
      
 17 
     | 
    
         
            +
                  end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  context "when the user is not logged in" do
         
     | 
| 
      
 20 
     | 
    
         
            +
                    before do
         
     | 
| 
      
 21 
     | 
    
         
            +
                      capture_output { Mothership.new.invoke(:logout) }
         
     | 
| 
      
 22 
     | 
    
         
            +
                    end
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                    it "does not require login" do
         
     | 
| 
      
 25 
     | 
    
         
            +
                      subject
         
     | 
| 
      
 26 
     | 
    
         
            +
                      stdout.rewind
         
     | 
| 
      
 27 
     | 
    
         
            +
                      expect(stdout.readlines.first).to_not match /Please log in first to proceed/
         
     | 
| 
      
 28 
     | 
    
         
            +
                    end
         
     | 
| 
      
 29 
     | 
    
         
            +
                  end
         
     | 
| 
      
 30 
     | 
    
         
            +
                end
         
     | 
| 
      
 31 
     | 
    
         
            +
              end
         
     | 
| 
      
 32 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -93,7 +93,7 @@ describe CFManifests do 
     | 
|
| 
       93 
93 
     | 
    
         
             
                    plan = service.service_plan
         
     | 
| 
       94 
94 
     | 
    
         
             
                    offering = plan.service
         
     | 
| 
       95 
95 
     | 
    
         | 
| 
       96 
     | 
    
         
            -
                    { 
     | 
| 
      
 96 
     | 
    
         
            +
                    {"plan" => plan.name,
         
     | 
| 
       97 
97 
     | 
    
         
             
                      "label" => offering.label,
         
     | 
| 
       98 
98 
     | 
    
         
             
                      "provider" => offering.provider,
         
     | 
| 
       99 
99 
     | 
    
         
             
                      "version" => offering.version
         
     | 
| 
         @@ -197,11 +197,11 @@ describe CFManifests do 
     | 
|
| 
       197 
197 
     | 
    
         
             
              end
         
     | 
| 
       198 
198 
     | 
    
         | 
| 
       199 
199 
     | 
    
         
             
              describe "#apps_in_manifest" do
         
     | 
| 
       200 
     | 
    
         
            -
                let(:foo_hash) { { 
     | 
| 
       201 
     | 
    
         
            -
                let(:bar_hash) { { 
     | 
| 
       202 
     | 
    
         
            -
                let(:baz_hash) { { 
     | 
| 
      
 200 
     | 
    
         
            +
                let(:foo_hash) { {:name => "foo", :path => "/abc/foo"} }
         
     | 
| 
      
 201 
     | 
    
         
            +
                let(:bar_hash) { {:name => "bar", :path => "/abc/bar"} }
         
     | 
| 
      
 202 
     | 
    
         
            +
                let(:baz_hash) { {:name => "baz", :path => "/abc/baz"} }
         
     | 
| 
       203 
203 
     | 
    
         | 
| 
       204 
     | 
    
         
            -
                let(:manifest) { { 
     | 
| 
      
 204 
     | 
    
         
            +
                let(:manifest) { {:applications => [foo_hash, bar_hash, baz_hash]} }
         
     | 
| 
       205 
205 
     | 
    
         | 
| 
       206 
206 
     | 
    
         
             
                subject { cmd.apps_in_manifest(inputs) }
         
     | 
| 
       207 
207 
     | 
    
         | 
| 
         @@ -214,21 +214,21 @@ describe CFManifests do 
     | 
|
| 
       214 
214 
     | 
    
         | 
| 
       215 
215 
     | 
    
         
             
                context "when app names are passed" do
         
     | 
| 
       216 
216 
     | 
    
         
             
                  context "and all of them are in the manifest" do
         
     | 
| 
       217 
     | 
    
         
            -
                    let(:given_hash) { { 
     | 
| 
      
 217 
     | 
    
         
            +
                    let(:given_hash) { {:apps => ["foo", "bar"]} }
         
     | 
| 
       218 
218 
     | 
    
         | 
| 
       219 
219 
     | 
    
         
             
                    its(:first) { should eq [foo_hash, bar_hash] }
         
     | 
| 
       220 
220 
     | 
    
         
             
                    its(:last) { should eq [] }
         
     | 
| 
       221 
221 
     | 
    
         
             
                  end
         
     | 
| 
       222 
222 
     | 
    
         | 
| 
       223 
223 
     | 
    
         
             
                  context "and one of them is in the manifest" do
         
     | 
| 
       224 
     | 
    
         
            -
                    let(:given_hash) { { 
     | 
| 
      
 224 
     | 
    
         
            +
                    let(:given_hash) { {:apps => ["foo", "xxx"]} }
         
     | 
| 
       225 
225 
     | 
    
         | 
| 
       226 
226 
     | 
    
         
             
                    its(:first) { should eq [foo_hash] }
         
     | 
| 
       227 
227 
     | 
    
         
             
                    its(:last) { should eq ["xxx"] }
         
     | 
| 
       228 
228 
     | 
    
         
             
                  end
         
     | 
| 
       229 
229 
     | 
    
         | 
| 
       230 
230 
     | 
    
         
             
                  context "and none of them are in the manifest" do
         
     | 
| 
       231 
     | 
    
         
            -
                    let(:given_hash) { { 
     | 
| 
      
 231 
     | 
    
         
            +
                    let(:given_hash) { {:apps => ["xxx", "yyy"]} }
         
     | 
| 
       232 
232 
     | 
    
         | 
| 
       233 
233 
     | 
    
         
             
                    its(:first) { should eq [] }
         
     | 
| 
       234 
234 
     | 
    
         
             
                    its(:last) { should eq ["xxx", "yyy"] }
         
     | 
| 
         @@ -237,14 +237,14 @@ describe CFManifests do 
     | 
|
| 
       237 
237 
     | 
    
         | 
| 
       238 
238 
     | 
    
         
             
                context "when apps are passed as paths" do
         
     | 
| 
       239 
239 
     | 
    
         
             
                  context "and the paths are in the manifest" do
         
     | 
| 
       240 
     | 
    
         
            -
                    let(:given_hash) { { 
     | 
| 
      
 240 
     | 
    
         
            +
                    let(:given_hash) { {:apps => ["/abc/foo"]} }
         
     | 
| 
       241 
241 
     | 
    
         | 
| 
       242 
242 
     | 
    
         
             
                    its(:first) { should eq [foo_hash] }
         
     | 
| 
       243 
243 
     | 
    
         
             
                    its(:last) { should eq [] }
         
     | 
| 
       244 
244 
     | 
    
         
             
                  end
         
     | 
| 
       245 
245 
     | 
    
         | 
| 
       246 
246 
     | 
    
         
             
                  context "and any path is not in the manifest" do
         
     | 
| 
       247 
     | 
    
         
            -
                    let(:given_hash) { { 
     | 
| 
      
 247 
     | 
    
         
            +
                    let(:given_hash) { {:apps => ["/abc/xxx"]} }
         
     | 
| 
       248 
248 
     | 
    
         | 
| 
       249 
249 
     | 
    
         
             
                    it "fails with a manifest-specific method (i.e. path not in manifest)" do
         
     | 
| 
       250 
250 
     | 
    
         
             
                      expect { subject }.to raise_error(CF::UserError, /Path .+ is not present in manifest/)
         
     | 
| 
         @@ -263,7 +263,7 @@ describe CFManifests do 
     | 
|
| 
       263 
263 
     | 
    
         
             
                end
         
     | 
| 
       264 
264 
     | 
    
         | 
| 
       265 
265 
     | 
    
         
             
                let(:manifest) do
         
     | 
| 
       266 
     | 
    
         
            -
                  { 
     | 
| 
      
 266 
     | 
    
         
            +
                  {:applications => applications}
         
     | 
| 
       267 
267 
     | 
    
         
             
                end
         
     | 
| 
       268 
268 
     | 
    
         | 
| 
       269 
269 
     | 
    
         
             
                subject { cmd.all_apps }
         
     | 
| 
         @@ -286,24 +286,22 @@ describe CFManifests do 
     | 
|
| 
       286 
286 
     | 
    
         | 
| 
       287 
287 
     | 
    
         
             
                it "returns the applications with the cwd as their path" do
         
     | 
| 
       288 
288 
     | 
    
         
             
                  Dir.stub(:pwd) { "/abc" }
         
     | 
| 
       289 
     | 
    
         
            -
                  expect(subject).to eq [{ 
     | 
| 
      
 289 
     | 
    
         
            +
                  expect(subject).to eq [{:name => "foo", :path => "/abc"}, {:name => "bar", :path => "/abc"}]
         
     | 
| 
       290 
290 
     | 
    
         
             
                end
         
     | 
| 
       291 
291 
     | 
    
         
             
              end
         
     | 
| 
       292 
292 
     | 
    
         | 
| 
       293 
     | 
    
         
            -
              describe "#check_manifest!" do 
     | 
| 
       294 
     | 
    
         
            -
             
     | 
| 
       295 
     | 
    
         
            -
                it " 
     | 
| 
       296 
     | 
    
         
            -
                  wrong_manifest_hash = {:applications => [ 
     | 
| 
       297 
     | 
    
         
            -
                   
     | 
| 
       298 
     | 
    
         
            -
             
     | 
| 
       299 
     | 
    
         
            -
                   
     | 
| 
       300 
     | 
    
         
            -
             
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
             
     | 
| 
       303 
     | 
    
         
            -
                   
     | 
| 
       304 
     | 
    
         
            -
             
     | 
| 
       305 
     | 
    
         
            -
                                        :buildpack => 'buildy', :services => {} }
         
     | 
| 
       306 
     | 
    
         
            -
                  expect{cmd.check_manifest!(good_manifest_hash)}.to_not raise_error(CFManifests::BadManifestError)
         
     | 
| 
      
 293 
     | 
    
         
            +
              describe "#check_manifest!" do
         
     | 
| 
      
 294 
     | 
    
         
            +
             
     | 
| 
      
 295 
     | 
    
         
            +
                it "prints a warning if there is some unknown attribute" do
         
     | 
| 
      
 296 
     | 
    
         
            +
                  wrong_manifest_hash = {:applications => [{:bad_attr => 'boom'}]}
         
     | 
| 
      
 297 
     | 
    
         
            +
                  output = double('output')
         
     | 
| 
      
 298 
     | 
    
         
            +
             
     | 
| 
      
 299 
     | 
    
         
            +
                  msg = "\033[31mWarning: bad_attr is not a valid manifest attribute. "+
         
     | 
| 
      
 300 
     | 
    
         
            +
                    "Please remove this attribute from your manifest to get rid of this"+
         
     | 
| 
      
 301 
     | 
    
         
            +
                    " warning\033[0m"
         
     | 
| 
      
 302 
     | 
    
         
            +
             
     | 
| 
      
 303 
     | 
    
         
            +
                  output.should_receive(:puts).with(msg)
         
     | 
| 
      
 304 
     | 
    
         
            +
                  cmd.check_manifest!(wrong_manifest_hash, output)
         
     | 
| 
       307 
305 
     | 
    
         
             
                end
         
     | 
| 
       308 
306 
     | 
    
         
             
              end
         
     | 
| 
       309 
307 
     | 
    
         
             
            end
         
     | 
| 
         @@ -0,0 +1,64 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            describe CFMicro::McfCommand do
         
     | 
| 
      
 4 
     | 
    
         
            +
              describe 'micro_status' do
         
     | 
| 
      
 5 
     | 
    
         
            +
                shared_examples 'micro common inputs' do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  describe 'inputs' do
         
     | 
| 
      
 7 
     | 
    
         
            +
                    subject { command.inputs }
         
     | 
| 
      
 8 
     | 
    
         
            +
                    it { expect(subject[:vmx][:description]).to eq "Path to micro.vmx" }
         
     | 
| 
      
 9 
     | 
    
         
            +
                    it { expect(subject[:password][:description]).to eq "Cleartext password for guest VM vcap user" }
         
     | 
| 
      
 10 
     | 
    
         
            +
                  end
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
                  describe 'arguments' do
         
     | 
| 
      
 13 
     | 
    
         
            +
                    subject { command.arguments }
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                    it 'has the correct argument order' do
         
     | 
| 
      
 16 
     | 
    
         
            +
                      should eq([
         
     | 
| 
      
 17 
     | 
    
         
            +
                        {:type => :required, :value => nil, :name => :vmx},
         
     | 
| 
      
 18 
     | 
    
         
            +
                        {:type => :optional, :value => nil, :name => :password}
         
     | 
| 
      
 19 
     | 
    
         
            +
                      ])
         
     | 
| 
      
 20 
     | 
    
         
            +
                    end
         
     | 
| 
      
 21 
     | 
    
         
            +
                  end
         
     | 
| 
      
 22 
     | 
    
         
            +
                end
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                describe '#metadata' do
         
     | 
| 
      
 25 
     | 
    
         
            +
                  let(:command) { Mothership.commands[:micro_status] }
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                  include_examples 'micro common inputs'
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                  describe 'command' do
         
     | 
| 
      
 30 
     | 
    
         
            +
                    subject { command }
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                    its(:description) { should eq "Display Micro Cloud Foundry VM status" }
         
     | 
| 
      
 33 
     | 
    
         
            +
                  end
         
     | 
| 
      
 34 
     | 
    
         
            +
                end
         
     | 
| 
      
 35 
     | 
    
         
            +
              end
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
              describe '#micro_offline' do
         
     | 
| 
      
 38 
     | 
    
         
            +
                describe 'metadata' do
         
     | 
| 
      
 39 
     | 
    
         
            +
                  let(:command) { Mothership.commands[:micro_offline] }
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
                  include_examples 'micro common inputs'
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                  describe 'command' do
         
     | 
| 
      
 44 
     | 
    
         
            +
                    subject { command }
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                    its(:description) { should eq "Micro Cloud Foundry offline mode" }
         
     | 
| 
      
 47 
     | 
    
         
            +
                  end
         
     | 
| 
      
 48 
     | 
    
         
            +
                end
         
     | 
| 
      
 49 
     | 
    
         
            +
              end
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
              describe '#micro_online' do
         
     | 
| 
      
 52 
     | 
    
         
            +
                describe 'metadata' do
         
     | 
| 
      
 53 
     | 
    
         
            +
                  let(:command) { Mothership.commands[:micro_online] }
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
                  include_examples 'micro common inputs'
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
                  describe 'command' do
         
     | 
| 
      
 58 
     | 
    
         
            +
                    subject { command }
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
                    its(:description) { should eq "Micro Cloud Foundry online mode" }
         
     | 
| 
      
 61 
     | 
    
         
            +
                  end
         
     | 
| 
      
 62 
     | 
    
         
            +
                end
         
     | 
| 
      
 63 
     | 
    
         
            +
              end
         
     | 
| 
      
 64 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,8 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: cf
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 4. 
     | 
| 
       5 
     | 
    
         
            -
              prerelease: 6
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 4.1.0rc1
         
     | 
| 
       6 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
7 
     | 
    
         
             
            - Cloud Foundry Team
         
     | 
| 
         @@ -10,12 +9,11 @@ authors: 
     | 
|
| 
       10 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       11 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date: 2013- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2013-07-01 00:00:00.000000000 Z
         
     | 
| 
       14 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
15 
     | 
    
         
             
              name: addressable
         
     | 
| 
       17 
16 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       18 
     | 
    
         
            -
                none: false
         
     | 
| 
       19 
17 
     | 
    
         
             
                requirements:
         
     | 
| 
       20 
18 
     | 
    
         
             
                - - ~>
         
     | 
| 
       21 
19 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -23,7 +21,6 @@ dependencies: 
     | 
|
| 
       23 
21 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
22 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
23 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       26 
     | 
    
         
            -
                none: false
         
     | 
| 
       27 
24 
     | 
    
         
             
                requirements:
         
     | 
| 
       28 
25 
     | 
    
         
             
                - - ~>
         
     | 
| 
       29 
26 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -31,7 +28,6 @@ dependencies: 
     | 
|
| 
       31 
28 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       32 
29 
     | 
    
         
             
              name: caldecott-client
         
     | 
| 
       33 
30 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       34 
     | 
    
         
            -
                none: false
         
     | 
| 
       35 
31 
     | 
    
         
             
                requirements:
         
     | 
| 
       36 
32 
     | 
    
         
             
                - - ~>
         
     | 
| 
       37 
33 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -39,7 +35,6 @@ dependencies: 
     | 
|
| 
       39 
35 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       40 
36 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       41 
37 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       42 
     | 
    
         
            -
                none: false
         
     | 
| 
       43 
38 
     | 
    
         
             
                requirements:
         
     | 
| 
       44 
39 
     | 
    
         
             
                - - ~>
         
     | 
| 
       45 
40 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -47,7 +42,6 @@ dependencies: 
     | 
|
| 
       47 
42 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       48 
43 
     | 
    
         
             
              name: cfoundry
         
     | 
| 
       49 
44 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       50 
     | 
    
         
            -
                none: false
         
     | 
| 
       51 
45 
     | 
    
         
             
                requirements:
         
     | 
| 
       52 
46 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       53 
47 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -58,7 +52,6 @@ dependencies: 
     | 
|
| 
       58 
52 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       59 
53 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       60 
54 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       61 
     | 
    
         
            -
                none: false
         
     | 
| 
       62 
55 
     | 
    
         
             
                requirements:
         
     | 
| 
       63 
56 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       64 
57 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -69,7 +62,6 @@ dependencies: 
     | 
|
| 
       69 
62 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       70 
63 
     | 
    
         
             
              name: interact
         
     | 
| 
       71 
64 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       72 
     | 
    
         
            -
                none: false
         
     | 
| 
       73 
65 
     | 
    
         
             
                requirements:
         
     | 
| 
       74 
66 
     | 
    
         
             
                - - ~>
         
     | 
| 
       75 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -77,7 +69,6 @@ dependencies: 
     | 
|
| 
       77 
69 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       78 
70 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       79 
71 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       80 
     | 
    
         
            -
                none: false
         
     | 
| 
       81 
72 
     | 
    
         
             
                requirements:
         
     | 
| 
       82 
73 
     | 
    
         
             
                - - ~>
         
     | 
| 
       83 
74 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -85,7 +76,6 @@ dependencies: 
     | 
|
| 
       85 
76 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       86 
77 
     | 
    
         
             
              name: json_pure
         
     | 
| 
       87 
78 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       88 
     | 
    
         
            -
                none: false
         
     | 
| 
       89 
79 
     | 
    
         
             
                requirements:
         
     | 
| 
       90 
80 
     | 
    
         
             
                - - ~>
         
     | 
| 
       91 
81 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -93,7 +83,6 @@ dependencies: 
     | 
|
| 
       93 
83 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       94 
84 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       95 
85 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       96 
     | 
    
         
            -
                none: false
         
     | 
| 
       97 
86 
     | 
    
         
             
                requirements:
         
     | 
| 
       98 
87 
     | 
    
         
             
                - - ~>
         
     | 
| 
       99 
88 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -101,7 +90,6 @@ dependencies: 
     | 
|
| 
       101 
90 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       102 
91 
     | 
    
         
             
              name: mothership
         
     | 
| 
       103 
92 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       104 
     | 
    
         
            -
                none: false
         
     | 
| 
       105 
93 
     | 
    
         
             
                requirements:
         
     | 
| 
       106 
94 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       107 
95 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -112,7 +100,6 @@ dependencies: 
     | 
|
| 
       112 
100 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       113 
101 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       114 
102 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       115 
     | 
    
         
            -
                none: false
         
     | 
| 
       116 
103 
     | 
    
         
             
                requirements:
         
     | 
| 
       117 
104 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       118 
105 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -123,7 +110,6 @@ dependencies: 
     | 
|
| 
       123 
110 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       124 
111 
     | 
    
         
             
              name: multi_json
         
     | 
| 
       125 
112 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       126 
     | 
    
         
            -
                none: false
         
     | 
| 
       127 
113 
     | 
    
         
             
                requirements:
         
     | 
| 
       128 
114 
     | 
    
         
             
                - - ~>
         
     | 
| 
       129 
115 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -131,7 +117,6 @@ dependencies: 
     | 
|
| 
       131 
117 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       132 
118 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       133 
119 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       134 
     | 
    
         
            -
                none: false
         
     | 
| 
       135 
120 
     | 
    
         
             
                requirements:
         
     | 
| 
       136 
121 
     | 
    
         
             
                - - ~>
         
     | 
| 
       137 
122 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -139,7 +124,6 @@ dependencies: 
     | 
|
| 
       139 
124 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       140 
125 
     | 
    
         
             
              name: rest-client
         
     | 
| 
       141 
126 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       142 
     | 
    
         
            -
                none: false
         
     | 
| 
       143 
127 
     | 
    
         
             
                requirements:
         
     | 
| 
       144 
128 
     | 
    
         
             
                - - ~>
         
     | 
| 
       145 
129 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -147,7 +131,6 @@ dependencies: 
     | 
|
| 
       147 
131 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       148 
132 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       149 
133 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       150 
     | 
    
         
            -
                none: false
         
     | 
| 
       151 
134 
     | 
    
         
             
                requirements:
         
     | 
| 
       152 
135 
     | 
    
         
             
                - - ~>
         
     | 
| 
       153 
136 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -155,7 +138,6 @@ dependencies: 
     | 
|
| 
       155 
138 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       156 
139 
     | 
    
         
             
              name: uuidtools
         
     | 
| 
       157 
140 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       158 
     | 
    
         
            -
                none: false
         
     | 
| 
       159 
141 
     | 
    
         
             
                requirements:
         
     | 
| 
       160 
142 
     | 
    
         
             
                - - ~>
         
     | 
| 
       161 
143 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -163,7 +145,6 @@ dependencies: 
     | 
|
| 
       163 
145 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       164 
146 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       165 
147 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       166 
     | 
    
         
            -
                none: false
         
     | 
| 
       167 
148 
     | 
    
         
             
                requirements:
         
     | 
| 
       168 
149 
     | 
    
         
             
                - - ~>
         
     | 
| 
       169 
150 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -171,7 +152,6 @@ dependencies: 
     | 
|
| 
       171 
152 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       172 
153 
     | 
    
         
             
              name: anchorman
         
     | 
| 
       173 
154 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       174 
     | 
    
         
            -
                none: false
         
     | 
| 
       175 
155 
     | 
    
         
             
                requirements:
         
     | 
| 
       176 
156 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       177 
157 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -179,7 +159,6 @@ dependencies: 
     | 
|
| 
       179 
159 
     | 
    
         
             
              type: :development
         
     | 
| 
       180 
160 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       181 
161 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       182 
     | 
    
         
            -
                none: false
         
     | 
| 
       183 
162 
     | 
    
         
             
                requirements:
         
     | 
| 
       184 
163 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       185 
164 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -187,7 +166,6 @@ dependencies: 
     | 
|
| 
       187 
166 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       188 
167 
     | 
    
         
             
              name: blue-shell
         
     | 
| 
       189 
168 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       190 
     | 
    
         
            -
                none: false
         
     | 
| 
       191 
169 
     | 
    
         
             
                requirements:
         
     | 
| 
       192 
170 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       193 
171 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -195,7 +173,6 @@ dependencies: 
     | 
|
| 
       195 
173 
     | 
    
         
             
              type: :development
         
     | 
| 
       196 
174 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       197 
175 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       198 
     | 
    
         
            -
                none: false
         
     | 
| 
       199 
176 
     | 
    
         
             
                requirements:
         
     | 
| 
       200 
177 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       201 
178 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -203,7 +180,6 @@ dependencies: 
     | 
|
| 
       203 
180 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       204 
181 
     | 
    
         
             
              name: factory_girl
         
     | 
| 
       205 
182 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       206 
     | 
    
         
            -
                none: false
         
     | 
| 
       207 
183 
     | 
    
         
             
                requirements:
         
     | 
| 
       208 
184 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       209 
185 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -211,7 +187,6 @@ dependencies: 
     | 
|
| 
       211 
187 
     | 
    
         
             
              type: :development
         
     | 
| 
       212 
188 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       213 
189 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       214 
     | 
    
         
            -
                none: false
         
     | 
| 
       215 
190 
     | 
    
         
             
                requirements:
         
     | 
| 
       216 
191 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       217 
192 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -219,7 +194,6 @@ dependencies: 
     | 
|
| 
       219 
194 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       220 
195 
     | 
    
         
             
              name: fakefs
         
     | 
| 
       221 
196 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       222 
     | 
    
         
            -
                none: false
         
     | 
| 
       223 
197 
     | 
    
         
             
                requirements:
         
     | 
| 
       224 
198 
     | 
    
         
             
                - - ~>
         
     | 
| 
       225 
199 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -227,7 +201,6 @@ dependencies: 
     | 
|
| 
       227 
201 
     | 
    
         
             
              type: :development
         
     | 
| 
       228 
202 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       229 
203 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       230 
     | 
    
         
            -
                none: false
         
     | 
| 
       231 
204 
     | 
    
         
             
                requirements:
         
     | 
| 
       232 
205 
     | 
    
         
             
                - - ~>
         
     | 
| 
       233 
206 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -235,7 +208,6 @@ dependencies: 
     | 
|
| 
       235 
208 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       236 
209 
     | 
    
         
             
              name: ffaker
         
     | 
| 
       237 
210 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       238 
     | 
    
         
            -
                none: false
         
     | 
| 
       239 
211 
     | 
    
         
             
                requirements:
         
     | 
| 
       240 
212 
     | 
    
         
             
                - - '='
         
     | 
| 
       241 
213 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -243,15 +215,27 @@ dependencies: 
     | 
|
| 
       243 
215 
     | 
    
         
             
              type: :development
         
     | 
| 
       244 
216 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       245 
217 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       246 
     | 
    
         
            -
                none: false
         
     | 
| 
       247 
218 
     | 
    
         
             
                requirements:
         
     | 
| 
       248 
219 
     | 
    
         
             
                - - '='
         
     | 
| 
       249 
220 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       250 
221 
     | 
    
         
             
                    version: '1.15'
         
     | 
| 
      
 222 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 223 
     | 
    
         
            +
              name: gem-release
         
     | 
| 
      
 224 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 225 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 226 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 227 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 228 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 229 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 230 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 231 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 232 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 233 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 234 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 235 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
       251 
236 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       252 
237 
     | 
    
         
             
              name: rake
         
     | 
| 
       253 
238 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       254 
     | 
    
         
            -
                none: false
         
     | 
| 
       255 
239 
     | 
    
         
             
                requirements:
         
     | 
| 
       256 
240 
     | 
    
         
             
                - - ~>
         
     | 
| 
       257 
241 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -259,7 +243,6 @@ dependencies: 
     | 
|
| 
       259 
243 
     | 
    
         
             
              type: :development
         
     | 
| 
       260 
244 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       261 
245 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       262 
     | 
    
         
            -
                none: false
         
     | 
| 
       263 
246 
     | 
    
         
             
                requirements:
         
     | 
| 
       264 
247 
     | 
    
         
             
                - - ~>
         
     | 
| 
       265 
248 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -267,7 +250,6 @@ dependencies: 
     | 
|
| 
       267 
250 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       268 
251 
     | 
    
         
             
              name: rspec
         
     | 
| 
       269 
252 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       270 
     | 
    
         
            -
                none: false
         
     | 
| 
       271 
253 
     | 
    
         
             
                requirements:
         
     | 
| 
       272 
254 
     | 
    
         
             
                - - ~>
         
     | 
| 
       273 
255 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -275,7 +257,6 @@ dependencies: 
     | 
|
| 
       275 
257 
     | 
    
         
             
              type: :development
         
     | 
| 
       276 
258 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       277 
259 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       278 
     | 
    
         
            -
                none: false
         
     | 
| 
       279 
260 
     | 
    
         
             
                requirements:
         
     | 
| 
       280 
261 
     | 
    
         
             
                - - ~>
         
     | 
| 
       281 
262 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -283,7 +264,6 @@ dependencies: 
     | 
|
| 
       283 
264 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       284 
265 
     | 
    
         
             
              name: rspec-instafail
         
     | 
| 
       285 
266 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       286 
     | 
    
         
            -
                none: false
         
     | 
| 
       287 
267 
     | 
    
         
             
                requirements:
         
     | 
| 
       288 
268 
     | 
    
         
             
                - - ~>
         
     | 
| 
       289 
269 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -291,7 +271,6 @@ dependencies: 
     | 
|
| 
       291 
271 
     | 
    
         
             
              type: :development
         
     | 
| 
       292 
272 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       293 
273 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       294 
     | 
    
         
            -
                none: false
         
     | 
| 
       295 
274 
     | 
    
         
             
                requirements:
         
     | 
| 
       296 
275 
     | 
    
         
             
                - - ~>
         
     | 
| 
       297 
276 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -299,7 +278,6 @@ dependencies: 
     | 
|
| 
       299 
278 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       300 
279 
     | 
    
         
             
              name: webmock
         
     | 
| 
       301 
280 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       302 
     | 
    
         
            -
                none: false
         
     | 
| 
       303 
281 
     | 
    
         
             
                requirements:
         
     | 
| 
       304 
282 
     | 
    
         
             
                - - ~>
         
     | 
| 
       305 
283 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -307,7 +285,6 @@ dependencies: 
     | 
|
| 
       307 
285 
     | 
    
         
             
              type: :development
         
     | 
| 
       308 
286 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       309 
287 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       310 
     | 
    
         
            -
                none: false
         
     | 
| 
       311 
288 
     | 
    
         
             
                requirements:
         
     | 
| 
       312 
289 
     | 
    
         
             
                - - ~>
         
     | 
| 
       313 
290 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -355,6 +332,7 @@ files: 
     | 
|
| 
       355 
332 
     | 
    
         
             
            - lib/cf/cli/domain/unmap.rb
         
     | 
| 
       356 
333 
     | 
    
         
             
            - lib/cf/cli/help.rb
         
     | 
| 
       357 
334 
     | 
    
         
             
            - lib/cf/cli/interactive.rb
         
     | 
| 
      
 335 
     | 
    
         
            +
            - lib/cf/cli/login_requirements.rb
         
     | 
| 
       358 
336 
     | 
    
         
             
            - lib/cf/cli/organization/base.rb
         
     | 
| 
       359 
337 
     | 
    
         
             
            - lib/cf/cli/organization/create.rb
         
     | 
| 
       360 
338 
     | 
    
         
             
            - lib/cf/cli/organization/delete.rb
         
     | 
| 
         @@ -418,6 +396,17 @@ files: 
     | 
|
| 
       418 
396 
     | 
    
         
             
            - lib/manifests/manifests.rb
         
     | 
| 
       419 
397 
     | 
    
         
             
            - lib/manifests/plugin.rb
         
     | 
| 
       420 
398 
     | 
    
         
             
            - lib/manifests/README.md
         
     | 
| 
      
 399 
     | 
    
         
            +
            - lib/micro/errors.rb
         
     | 
| 
      
 400 
     | 
    
         
            +
            - lib/micro/micro.rb
         
     | 
| 
      
 401 
     | 
    
         
            +
            - lib/micro/plugin.rb
         
     | 
| 
      
 402 
     | 
    
         
            +
            - lib/micro/README.md
         
     | 
| 
      
 403 
     | 
    
         
            +
            - lib/micro/switcher/base.rb
         
     | 
| 
      
 404 
     | 
    
         
            +
            - lib/micro/switcher/darwin.rb
         
     | 
| 
      
 405 
     | 
    
         
            +
            - lib/micro/switcher/dummy.rb
         
     | 
| 
      
 406 
     | 
    
         
            +
            - lib/micro/switcher/linux.rb
         
     | 
| 
      
 407 
     | 
    
         
            +
            - lib/micro/switcher/windows.rb
         
     | 
| 
      
 408 
     | 
    
         
            +
            - lib/micro/vmrun.rb
         
     | 
| 
      
 409 
     | 
    
         
            +
            - lib/tasks/gem_release.rake
         
     | 
| 
       421 
410 
     | 
    
         
             
            - lib/tunnel/config/clients.yml
         
     | 
| 
       422 
411 
     | 
    
         
             
            - lib/tunnel/helper-app/Gemfile
         
     | 
| 
       423 
412 
     | 
    
         
             
            - lib/tunnel/helper-app/Gemfile.lock
         
     | 
| 
         @@ -484,6 +473,7 @@ files: 
     | 
|
| 
       484 
473 
     | 
    
         
             
            - spec/cf/cli/app/base_spec.rb
         
     | 
| 
       485 
474 
     | 
    
         
             
            - spec/cf/cli/app/delete_spec.rb
         
     | 
| 
       486 
475 
     | 
    
         
             
            - spec/cf/cli/app/events_spec.rb
         
     | 
| 
      
 476 
     | 
    
         
            +
            - spec/cf/cli/app/help_spec.rb
         
     | 
| 
       487 
477 
     | 
    
         
             
            - spec/cf/cli/app/instances_spec.rb
         
     | 
| 
       488 
478 
     | 
    
         
             
            - spec/cf/cli/app/push/create_spec.rb
         
     | 
| 
       489 
479 
     | 
    
         
             
            - spec/cf/cli/app/push/interactions_spec.rb
         
     | 
| 
         @@ -493,20 +483,25 @@ files: 
     | 
|
| 
       493 
483 
     | 
    
         
             
            - spec/cf/cli/app/scale_spec.rb
         
     | 
| 
       494 
484 
     | 
    
         
             
            - spec/cf/cli/app/start_spec.rb
         
     | 
| 
       495 
485 
     | 
    
         
             
            - spec/cf/cli/app/stats_spec.rb
         
     | 
| 
      
 486 
     | 
    
         
            +
            - spec/cf/cli/domain/help_spec.rb
         
     | 
| 
       496 
487 
     | 
    
         
             
            - spec/cf/cli/domain/map_spec.rb
         
     | 
| 
       497 
488 
     | 
    
         
             
            - spec/cf/cli/domain/unmap_spec.rb
         
     | 
| 
      
 489 
     | 
    
         
            +
            - spec/cf/cli/help_spec.rb
         
     | 
| 
       498 
490 
     | 
    
         
             
            - spec/cf/cli/organization/delete_spec.rb
         
     | 
| 
      
 491 
     | 
    
         
            +
            - spec/cf/cli/organization/help_spec.rb
         
     | 
| 
       499 
492 
     | 
    
         
             
            - spec/cf/cli/organization/orgs_spec.rb
         
     | 
| 
       500 
493 
     | 
    
         
             
            - spec/cf/cli/organization/rename_spec.rb
         
     | 
| 
       501 
494 
     | 
    
         
             
            - spec/cf/cli/populators/organization_spec.rb
         
     | 
| 
       502 
495 
     | 
    
         
             
            - spec/cf/cli/populators/space_spec.rb
         
     | 
| 
       503 
496 
     | 
    
         
             
            - spec/cf/cli/populators/target_spec.rb
         
     | 
| 
       504 
497 
     | 
    
         
             
            - spec/cf/cli/route/delete_spec.rb
         
     | 
| 
      
 498 
     | 
    
         
            +
            - spec/cf/cli/route/help_spec.rb
         
     | 
| 
       505 
499 
     | 
    
         
             
            - spec/cf/cli/route/map_spec.rb
         
     | 
| 
       506 
500 
     | 
    
         
             
            - spec/cf/cli/route/unmap_spec.rb
         
     | 
| 
       507 
501 
     | 
    
         
             
            - spec/cf/cli/service/bind_spec.rb
         
     | 
| 
       508 
502 
     | 
    
         
             
            - spec/cf/cli/service/create_spec.rb
         
     | 
| 
       509 
503 
     | 
    
         
             
            - spec/cf/cli/service/delete_spec.rb
         
     | 
| 
      
 504 
     | 
    
         
            +
            - spec/cf/cli/service/help_spec.rb
         
     | 
| 
       510 
505 
     | 
    
         
             
            - spec/cf/cli/service/rename_spec.rb
         
     | 
| 
       511 
506 
     | 
    
         
             
            - spec/cf/cli/service/service_spec.rb
         
     | 
| 
       512 
507 
     | 
    
         
             
            - spec/cf/cli/service/services_spec.rb
         
     | 
| 
         @@ -514,15 +509,18 @@ files: 
     | 
|
| 
       514 
509 
     | 
    
         
             
            - spec/cf/cli/space/base_spec.rb
         
     | 
| 
       515 
510 
     | 
    
         
             
            - spec/cf/cli/space/create_spec.rb
         
     | 
| 
       516 
511 
     | 
    
         
             
            - spec/cf/cli/space/delete_spec.rb
         
     | 
| 
      
 512 
     | 
    
         
            +
            - spec/cf/cli/space/help_spec.rb
         
     | 
| 
       517 
513 
     | 
    
         
             
            - spec/cf/cli/space/rename_spec.rb
         
     | 
| 
       518 
514 
     | 
    
         
             
            - spec/cf/cli/space/space_spec.rb
         
     | 
| 
       519 
515 
     | 
    
         
             
            - spec/cf/cli/space/spaces_spec.rb
         
     | 
| 
       520 
516 
     | 
    
         
             
            - spec/cf/cli/space/switch_space_spec.rb
         
     | 
| 
      
 517 
     | 
    
         
            +
            - spec/cf/cli/start/help_spec.rb
         
     | 
| 
       521 
518 
     | 
    
         
             
            - spec/cf/cli/start/info_spec.rb
         
     | 
| 
       522 
519 
     | 
    
         
             
            - spec/cf/cli/start/login_spec.rb
         
     | 
| 
       523 
520 
     | 
    
         
             
            - spec/cf/cli/start/logout_spec.rb
         
     | 
| 
       524 
521 
     | 
    
         
             
            - spec/cf/cli/start/target_spec.rb
         
     | 
| 
       525 
522 
     | 
    
         
             
            - spec/cf/cli/user/create_spec.rb
         
     | 
| 
      
 523 
     | 
    
         
            +
            - spec/cf/cli/user/help_spec.rb
         
     | 
| 
       526 
524 
     | 
    
         
             
            - spec/cf/cli/user/passwd_spec.rb
         
     | 
| 
       527 
525 
     | 
    
         
             
            - spec/cf/cli/user/register_spec.rb
         
     | 
| 
       528 
526 
     | 
    
         
             
            - spec/cf/cli_spec.rb
         
     | 
| 
         @@ -554,6 +552,7 @@ files: 
     | 
|
| 
       554 
552 
     | 
    
         
             
            - spec/manifests/loader/normalizer_spec.rb
         
     | 
| 
       555 
553 
     | 
    
         
             
            - spec/manifests/manifests_spec.rb
         
     | 
| 
       556 
554 
     | 
    
         
             
            - spec/manifests/plugin_spec.rb
         
     | 
| 
      
 555 
     | 
    
         
            +
            - spec/micro/plugin_spec.rb
         
     | 
| 
       557 
556 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       558 
557 
     | 
    
         
             
            - spec/support/cli_helper.rb
         
     | 
| 
       559 
558 
     | 
    
         
             
            - spec/support/config_helper.rb
         
     | 
| 
         @@ -568,30 +567,26 @@ files: 
     | 
|
| 
       568 
567 
     | 
    
         
             
            - bin/cf
         
     | 
| 
       569 
568 
     | 
    
         
             
            homepage: http://github.com/cloudfoundry/cf
         
     | 
| 
       570 
569 
     | 
    
         
             
            licenses: []
         
     | 
| 
      
 570 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
       571 
571 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       572 
572 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       573 
573 
     | 
    
         
             
            require_paths:
         
     | 
| 
       574 
574 
     | 
    
         
             
            - lib
         
     | 
| 
       575 
575 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       576 
     | 
    
         
            -
              none: false
         
     | 
| 
       577 
576 
     | 
    
         
             
              requirements:
         
     | 
| 
       578 
577 
     | 
    
         
             
              - - ! '>='
         
     | 
| 
       579 
578 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       580 
579 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       581 
     | 
    
         
            -
                  segments:
         
     | 
| 
       582 
     | 
    
         
            -
                  - 0
         
     | 
| 
       583 
     | 
    
         
            -
                  hash: -1638438286495239791
         
     | 
| 
       584 
580 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       585 
     | 
    
         
            -
              none: false
         
     | 
| 
       586 
581 
     | 
    
         
             
              requirements:
         
     | 
| 
       587 
582 
     | 
    
         
             
              - - ! '>'
         
     | 
| 
       588 
583 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       589 
584 
     | 
    
         
             
                  version: 1.3.1
         
     | 
| 
       590 
585 
     | 
    
         
             
            requirements: []
         
     | 
| 
       591 
586 
     | 
    
         
             
            rubyforge_project: cf
         
     | 
| 
       592 
     | 
    
         
            -
            rubygems_version:  
     | 
| 
      
 587 
     | 
    
         
            +
            rubygems_version: 2.0.3
         
     | 
| 
       593 
588 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       594 
     | 
    
         
            -
            specification_version:  
     | 
| 
      
 589 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
       595 
590 
     | 
    
         
             
            summary: Friendly command-line interface for Cloud Foundry.
         
     | 
| 
       596 
591 
     | 
    
         
             
            test_files:
         
     | 
| 
       597 
592 
     | 
    
         
             
            - spec/admin/curl_spec.rb
         
     | 
| 
         @@ -653,6 +648,7 @@ test_files: 
     | 
|
| 
       653 
648 
     | 
    
         
             
            - spec/cf/cli/app/base_spec.rb
         
     | 
| 
       654 
649 
     | 
    
         
             
            - spec/cf/cli/app/delete_spec.rb
         
     | 
| 
       655 
650 
     | 
    
         
             
            - spec/cf/cli/app/events_spec.rb
         
     | 
| 
      
 651 
     | 
    
         
            +
            - spec/cf/cli/app/help_spec.rb
         
     | 
| 
       656 
652 
     | 
    
         
             
            - spec/cf/cli/app/instances_spec.rb
         
     | 
| 
       657 
653 
     | 
    
         
             
            - spec/cf/cli/app/push/create_spec.rb
         
     | 
| 
       658 
654 
     | 
    
         
             
            - spec/cf/cli/app/push/interactions_spec.rb
         
     | 
| 
         @@ -662,20 +658,25 @@ test_files: 
     | 
|
| 
       662 
658 
     | 
    
         
             
            - spec/cf/cli/app/scale_spec.rb
         
     | 
| 
       663 
659 
     | 
    
         
             
            - spec/cf/cli/app/start_spec.rb
         
     | 
| 
       664 
660 
     | 
    
         
             
            - spec/cf/cli/app/stats_spec.rb
         
     | 
| 
      
 661 
     | 
    
         
            +
            - spec/cf/cli/domain/help_spec.rb
         
     | 
| 
       665 
662 
     | 
    
         
             
            - spec/cf/cli/domain/map_spec.rb
         
     | 
| 
       666 
663 
     | 
    
         
             
            - spec/cf/cli/domain/unmap_spec.rb
         
     | 
| 
      
 664 
     | 
    
         
            +
            - spec/cf/cli/help_spec.rb
         
     | 
| 
       667 
665 
     | 
    
         
             
            - spec/cf/cli/organization/delete_spec.rb
         
     | 
| 
      
 666 
     | 
    
         
            +
            - spec/cf/cli/organization/help_spec.rb
         
     | 
| 
       668 
667 
     | 
    
         
             
            - spec/cf/cli/organization/orgs_spec.rb
         
     | 
| 
       669 
668 
     | 
    
         
             
            - spec/cf/cli/organization/rename_spec.rb
         
     | 
| 
       670 
669 
     | 
    
         
             
            - spec/cf/cli/populators/organization_spec.rb
         
     | 
| 
       671 
670 
     | 
    
         
             
            - spec/cf/cli/populators/space_spec.rb
         
     | 
| 
       672 
671 
     | 
    
         
             
            - spec/cf/cli/populators/target_spec.rb
         
     | 
| 
       673 
672 
     | 
    
         
             
            - spec/cf/cli/route/delete_spec.rb
         
     | 
| 
      
 673 
     | 
    
         
            +
            - spec/cf/cli/route/help_spec.rb
         
     | 
| 
       674 
674 
     | 
    
         
             
            - spec/cf/cli/route/map_spec.rb
         
     | 
| 
       675 
675 
     | 
    
         
             
            - spec/cf/cli/route/unmap_spec.rb
         
     | 
| 
       676 
676 
     | 
    
         
             
            - spec/cf/cli/service/bind_spec.rb
         
     | 
| 
       677 
677 
     | 
    
         
             
            - spec/cf/cli/service/create_spec.rb
         
     | 
| 
       678 
678 
     | 
    
         
             
            - spec/cf/cli/service/delete_spec.rb
         
     | 
| 
      
 679 
     | 
    
         
            +
            - spec/cf/cli/service/help_spec.rb
         
     | 
| 
       679 
680 
     | 
    
         
             
            - spec/cf/cli/service/rename_spec.rb
         
     | 
| 
       680 
681 
     | 
    
         
             
            - spec/cf/cli/service/service_spec.rb
         
     | 
| 
       681 
682 
     | 
    
         
             
            - spec/cf/cli/service/services_spec.rb
         
     | 
| 
         @@ -683,15 +684,18 @@ test_files: 
     | 
|
| 
       683 
684 
     | 
    
         
             
            - spec/cf/cli/space/base_spec.rb
         
     | 
| 
       684 
685 
     | 
    
         
             
            - spec/cf/cli/space/create_spec.rb
         
     | 
| 
       685 
686 
     | 
    
         
             
            - spec/cf/cli/space/delete_spec.rb
         
     | 
| 
      
 687 
     | 
    
         
            +
            - spec/cf/cli/space/help_spec.rb
         
     | 
| 
       686 
688 
     | 
    
         
             
            - spec/cf/cli/space/rename_spec.rb
         
     | 
| 
       687 
689 
     | 
    
         
             
            - spec/cf/cli/space/space_spec.rb
         
     | 
| 
       688 
690 
     | 
    
         
             
            - spec/cf/cli/space/spaces_spec.rb
         
     | 
| 
       689 
691 
     | 
    
         
             
            - spec/cf/cli/space/switch_space_spec.rb
         
     | 
| 
      
 692 
     | 
    
         
            +
            - spec/cf/cli/start/help_spec.rb
         
     | 
| 
       690 
693 
     | 
    
         
             
            - spec/cf/cli/start/info_spec.rb
         
     | 
| 
       691 
694 
     | 
    
         
             
            - spec/cf/cli/start/login_spec.rb
         
     | 
| 
       692 
695 
     | 
    
         
             
            - spec/cf/cli/start/logout_spec.rb
         
     | 
| 
       693 
696 
     | 
    
         
             
            - spec/cf/cli/start/target_spec.rb
         
     | 
| 
       694 
697 
     | 
    
         
             
            - spec/cf/cli/user/create_spec.rb
         
     | 
| 
      
 698 
     | 
    
         
            +
            - spec/cf/cli/user/help_spec.rb
         
     | 
| 
       695 
699 
     | 
    
         
             
            - spec/cf/cli/user/passwd_spec.rb
         
     | 
| 
       696 
700 
     | 
    
         
             
            - spec/cf/cli/user/register_spec.rb
         
     | 
| 
       697 
701 
     | 
    
         
             
            - spec/cf/cli_spec.rb
         
     | 
| 
         @@ -723,6 +727,7 @@ test_files: 
     | 
|
| 
       723 
727 
     | 
    
         
             
            - spec/manifests/loader/normalizer_spec.rb
         
     | 
| 
       724 
728 
     | 
    
         
             
            - spec/manifests/manifests_spec.rb
         
     | 
| 
       725 
729 
     | 
    
         
             
            - spec/manifests/plugin_spec.rb
         
     | 
| 
      
 730 
     | 
    
         
            +
            - spec/micro/plugin_spec.rb
         
     | 
| 
       726 
731 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       727 
732 
     | 
    
         
             
            - spec/support/cli_helper.rb
         
     | 
| 
       728 
733 
     | 
    
         
             
            - spec/support/config_helper.rb
         
     |