fission 0.5.0.beta.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/.ruby-version +1 -1
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +5 -21
  4. data/fission.gemspec +3 -3
  5. data/lib/fission/version.rb +1 -1
  6. data/spec/contexts/command.rb +4 -4
  7. data/spec/fission/action/snapshot/creator_spec.rb +5 -5
  8. data/spec/fission/action/snapshot/deleter_spec.rb +5 -5
  9. data/spec/fission/action/snapshot/lister_spec.rb +5 -5
  10. data/spec/fission/action/snapshot/reverter_spec.rb +4 -4
  11. data/spec/fission/action/vm/cloner_spec.rb +1 -2
  12. data/spec/fission/action/vm/deleter_spec.rb +4 -4
  13. data/spec/fission/action/vm/lister_spec.rb +6 -6
  14. data/spec/fission/action/vm/starter_spec.rb +4 -4
  15. data/spec/fission/action/vm/stopper_spec.rb +4 -4
  16. data/spec/fission/action/vm/suspender_spec.rb +4 -4
  17. data/spec/fission/cli_spec.rb +2 -2
  18. data/spec/fission/command/clone_spec.rb +4 -4
  19. data/spec/fission/command/delete_spec.rb +3 -3
  20. data/spec/fission/command/info_spec.rb +4 -4
  21. data/spec/fission/command/snapshot_create_spec.rb +2 -2
  22. data/spec/fission/command/snapshot_delete_spec.rb +2 -2
  23. data/spec/fission/command/snapshot_list_spec.rb +2 -2
  24. data/spec/fission/command/snapshot_revert_spec.rb +2 -2
  25. data/spec/fission/command/start_spec.rb +1 -1
  26. data/spec/fission/command/status_spec.rb +1 -1
  27. data/spec/fission/command/stop_spec.rb +1 -1
  28. data/spec/fission/command/suspend_spec.rb +3 -3
  29. data/spec/fission/command_line_parser_spec.rb +1 -1
  30. data/spec/fission/command_spec.rb +3 -3
  31. data/spec/fission/config_spec.rb +11 -3
  32. data/spec/fission/fusion_spec.rb +1 -1
  33. data/spec/fission/lease_spec.rb +1 -1
  34. data/spec/fission/metadata_spec.rb +6 -6
  35. data/spec/fission/response_spec.rb +1 -1
  36. data/spec/fission/ui_spec.rb +1 -1
  37. data/spec/fission/vm_configuration_spec.rb +1 -1
  38. data/spec/fission/vm_spec.rb +40 -40
  39. data/spec/helpers/response_helpers.rb +1 -1
  40. metadata +13 -13
@@ -1 +1 @@
1
- 1.9.3-p429
1
+ 1.9.3-p448
@@ -1,5 +1,8 @@
1
1
  ## head
2
2
 
3
+ ## 0.5.0 (10/04/2013)
4
+ * update CFPropertyList to 2.2
5
+
3
6
  ## 0.5.0.beta.1 (06/22/2013)
4
7
  * add 'info' command
5
8
  * add 'snapshot delete' command
data/README.md CHANGED
@@ -1,23 +1,20 @@
1
1
  # Fission
2
-
3
2
  [![Build Status](https://secure.travis-ci.org/thbishop/fission.png)](http://travis-ci.org/thbishop/fission)
3
+ [![Dependency Status](https://gemnasium.com/thbishop/fission.png)](https://gemnasium.com/thbishop/fission)
4
4
 
5
5
  ## Intro
6
6
  Fission is a simple command line tool for managing VMware Fusion VMs. Only Fusion 3.x is currently
7
7
  supported. See [Fusion Version Support](#fusion-version-support) for more info.
8
8
 
9
-
10
9
  ## Install
11
10
  gem install fission
12
11
 
13
-
14
12
  ## Usage
15
13
  ### Clone
16
14
  fission clone existing_vm new_vm [--start]
17
15
 
18
16
  If you provide '--start', then the new VM will be powered on after cloning
19
17
 
20
-
21
18
  ### Delete
22
19
  fission delete my_vm [--force]
23
20
 
@@ -33,13 +30,11 @@ Providing '--force' will:
33
30
  * Stop the VM if it's running
34
31
  * Delete the VM even if the Fusion GUI is running
35
32
 
36
-
37
33
  ### Info
38
34
  fission info my_vm
39
35
 
40
36
  Outputs information about the VM
41
37
 
42
-
43
38
  ### Snapshot Create
44
39
  fission snapshot create my_vm snapshot_name
45
40
 
@@ -50,7 +45,6 @@ In order to create the snapshot:
50
45
  * The VM must be running
51
46
  * The snapshot name must be unique
52
47
 
53
-
54
48
  ### Snapshot Delete
55
49
  fission snapshot delete my_vm snapshot_name
56
50
 
@@ -58,13 +52,11 @@ Deletes a snapshot for the VM
58
52
 
59
53
  If you have the Fusion GUI running, the VM must be running in order to delete the snapshot.
60
54
 
61
-
62
55
  ### Snapshot List
63
56
  fission snapshot list my_vm
64
57
 
65
58
  Lists the snapshots for the VM
66
59
 
67
-
68
60
  ### Snapshot Revert
69
61
  fission snapshot revert my_vm existing_snapshot
70
62
 
@@ -74,7 +66,6 @@ In order to revert to the snapshot:
74
66
 
75
67
  * The Fusion GUI cannot be running
76
68
 
77
-
78
69
  ### Start
79
70
  fission start my_vm [--headless]
80
71
 
@@ -84,25 +75,21 @@ Providng '--headless' will start the VM without a Fusion GUI console
84
75
 
85
76
  Note that the Fusion GUI cannot be running to start a VM with '--headless'
86
77
 
87
-
88
78
  ### Status
89
79
  fission status
90
80
 
91
81
  Displays the status (running or not) of all of the VMs found
92
82
 
93
-
94
83
  ### Stop
95
84
  fission stop my_vm
96
85
 
97
86
  Stops the VM
98
87
 
99
-
100
88
  ### Suspend
101
89
  fission suspend [my_vm | --all]
102
90
 
103
91
  Suspends the VM or all running VMs
104
92
 
105
-
106
93
  ### Help
107
94
  fission -h
108
95
 
@@ -110,7 +97,6 @@ or just
110
97
 
111
98
  fission
112
99
 
113
-
114
100
  ## Configuration
115
101
  By default, fission will use the default VMware Fusion VM directory
116
102
  (~/Documents/Virtual Machines.localized/) when cloning. If you want to use a
@@ -131,10 +117,9 @@ following item placed in your ~/.fissionrc (remember, YAML format):
131
117
 
132
118
  vmrun_bin: /Applications/VMware Fusion.app/Contents/Library/vmrun
133
119
 
134
-
135
120
  ## Other Notable Info
136
- The name of the VM used in the previous examples should be the directory name
137
- of the VM minus the '.vmwarevm' extension. Typically the VM name and the
121
+ The name of the VM used in the previous examples should be the directory name
122
+ of the VM minus the '.vmwarevm' extension. Typically the VM name and the
138
123
  directory name are the same.
139
124
 
140
125
  As of now, VMware Fusion doesn't provide an easy, out of
@@ -144,11 +129,11 @@ hostname, ip address, etc.). Most likely, this isn't what you want.
144
129
 
145
130
  One approach is to create a VM which will act as a template. Create the VM with
146
131
  the desired install method (ideally with easy install) and settings, but do not
147
- power on the VM. You can then create clones from this VM 'template'. When you
132
+ power on the VM. You can then create clones from this VM 'template'. When you
148
133
  power on the clone, it will start the OS install process (and assign a new ip, etc.).
149
134
 
150
135
  ## Fission with RVM
151
- Please see the following gist for a walkthrough of making fission available
136
+ Please see the following gist for a walkthrough of making fission available
152
137
  regardless of ruby environment when using RVM https://gist.github.com/1203167
153
138
 
154
139
  ## Contribute
@@ -157,6 +142,5 @@ regardless of ruby environment when using RVM https://gist.github.com/1203167
157
142
  * Bonus points for not mucking with the gemspec or version
158
143
  * Send a pull request and I'll get it integrated
159
144
 
160
-
161
145
  ## License
162
146
  See LICENSE
@@ -18,8 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
- s.add_dependency 'CFPropertyList', '~> 2.1.1'
21
+ s.add_dependency 'CFPropertyList', '~> 2.2'
22
22
  s.add_development_dependency 'rake'
23
- s.add_development_dependency 'rspec', '~> 2.8.0'
24
- s.add_development_dependency 'fakefs', '~> 0.3.2'
23
+ s.add_development_dependency 'fakefs', '~> 0.4.3'
24
+ s.add_development_dependency 'rspec', '~> 2.14'
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Fission
2
- VERSION = "0.5.0.beta.1"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -2,11 +2,11 @@ shared_context 'command_setup' do
2
2
  before do
3
3
  @string_io = StringIO.new
4
4
  ui_stub = Fission::UI.new(@string_io)
5
- Fission::UI.stub!(:new).and_return(ui_stub)
5
+ Fission::UI.stub(:new).and_return(ui_stub)
6
6
 
7
- @all_running_response_mock = mock('all_running_response')
8
- @state_response_mock = mock('state_response')
9
- @vm_mock = mock('vm_mock')
7
+ @all_running_response_mock = double('all_running_response')
8
+ @state_response_mock = double('state_response')
9
+ @vm_mock = double('vm_mock')
10
10
  end
11
11
 
12
12
  end
@@ -6,9 +6,9 @@ describe Fission::Action::Snapshot::Creator do
6
6
  @vm = Fission::VM.new 'foo'
7
7
  @conf_file_path = File.join @vm.path, 'foo.vmx'
8
8
  @vmrun_cmd = Fission.config['vmrun_cmd']
9
- @conf_file_response_mock = mock 'conf_file_response'
10
- @snapshots_response_mock = mock 'snapshots'
11
- @running_response_mock = mock 'running?'
9
+ @conf_file_response_mock = double('conf_file_response')
10
+ @snapshots_response_mock = double('snapshots')
11
+ @running_response_mock = double('running?')
12
12
 
13
13
  @running_response_mock.stub_as_successful true
14
14
  @conf_file_response_mock.stub_as_successful @conf_file_path
@@ -45,8 +45,8 @@ describe Fission::Action::Snapshot::Creator do
45
45
  end
46
46
 
47
47
  it 'should return a response when creating the snapshot' do
48
- executor_mock = mock 'executor'
49
- response = stub
48
+ executor_mock = double('executor')
49
+ response = double
50
50
  cmd = "#{@vmrun_cmd} snapshot "
51
51
  cmd << "'#{@conf_file_path}' \"bar\" 2>&1"
52
52
 
@@ -7,9 +7,9 @@ describe Fission::Action::Snapshot::Deleter do
7
7
  @vm = Fission::VM.new 'foo'
8
8
  @conf_file_path = File.join @vm.path, 'foo.vmx'
9
9
  @vmrun_cmd = Fission.config['vmrun_cmd']
10
- @conf_file_response_mock = mock 'conf_file_response'
11
- @snapshots_response_mock = mock 'snapshots'
12
- @running_response_mock = mock 'running?'
10
+ @conf_file_response_mock = double('conf_file_response')
11
+ @snapshots_response_mock = double('snapshots')
12
+ @running_response_mock = double('running?')
13
13
 
14
14
  @running_response_mock.stub_as_successful true
15
15
  @conf_file_response_mock.stub_as_successful @conf_file_path
@@ -45,8 +45,8 @@ describe Fission::Action::Snapshot::Deleter do
45
45
  end
46
46
 
47
47
  it 'should return a response when deleting the snapshot' do
48
- executor_mock = mock 'executor'
49
- response = stub
48
+ executor_mock = double('executor')
49
+ response = double
50
50
  cmd = "#{@vmrun_cmd} deleteSnapshot "
51
51
  cmd << "'#{@conf_file_path}' \"snap_1\" 2>&1"
52
52
 
@@ -5,7 +5,7 @@ describe Fission::Action::Snapshot::Lister do
5
5
  @vm = Fission::VM.new 'foo'
6
6
  @conf_file_path = File.join @vm.path, 'foo.vmx'
7
7
  @vmrun_cmd = Fission.config['vmrun_cmd']
8
- @conf_file_response_mock = mock 'conf_file_response'
8
+ @conf_file_response_mock = double('conf_file_response')
9
9
  @vm.stub(:conf_file).and_return(@conf_file_response_mock)
10
10
  end
11
11
 
@@ -27,8 +27,8 @@ describe Fission::Action::Snapshot::Lister do
27
27
  end
28
28
 
29
29
  it 'should return a response when listing the snapshots' do
30
- executor_mock = mock 'executor'
31
- process_mock = stub :exitstatus => 0
30
+ executor_mock = double('executor')
31
+ process_mock = double(:exitstatus => 0)
32
32
  cmd = "#{@vmrun_cmd} listSnapshots "
33
33
  cmd << "'#{@conf_file_path}' 2>&1"
34
34
 
@@ -47,8 +47,8 @@ describe Fission::Action::Snapshot::Lister do
47
47
  end
48
48
 
49
49
  it 'should return an unsuccessful response if there was a problem listing the snapshots' do
50
- executor_mock = mock 'executor'
51
- process_mock = stub :exitstatus => 1
50
+ executor_mock = double('executor')
51
+ process_mock = double(:exitstatus => 1)
52
52
  cmd = "#{@vmrun_cmd} listSnapshots "
53
53
  cmd << "'#{@conf_file_path}' 2>&1"
54
54
 
@@ -7,8 +7,8 @@ describe Fission::Action::Snapshot::Reverter do
7
7
  @vm = Fission::VM.new 'foo'
8
8
  @conf_file_path = File.join @vm.path, 'foo.vmx'
9
9
  @vmrun_cmd = Fission.config['vmrun_cmd']
10
- @conf_file_response_mock = mock 'conf_file_response'
11
- @snapshots_response_mock = mock 'snapshots'
10
+ @conf_file_response_mock = double('conf_file_response')
11
+ @snapshots_response_mock = double('snapshots')
12
12
 
13
13
  @conf_file_response_mock.stub_as_successful @conf_file_path
14
14
  @snapshots_response_mock.stub_as_successful []
@@ -44,8 +44,8 @@ describe Fission::Action::Snapshot::Reverter do
44
44
  end
45
45
 
46
46
  it 'should return a response when reverting to the snapshot' do
47
- executor_mock = mock 'executor'
48
- response = stub
47
+ executor_mock = double('executor')
48
+ response = double
49
49
  cmd = "#{@vmrun_cmd} revertToSnapshot "
50
50
  cmd << "'#{@conf_file_path}' \"snap_1\" 2>&1"
51
51
 
@@ -9,7 +9,7 @@ describe Fission::Action::VM::Cloner do
9
9
  @source_path = @source_vm.path
10
10
  @target_path = @target_vm.path
11
11
 
12
- @clone_response_mock = mock('clone_response')
12
+ @clone_response_mock = double('clone_response')
13
13
  @vm_files = ['.vmx', '.vmxf', '.vmdk', '-s001.vmdk', '-s002.vmdk', '.vmsd']
14
14
 
15
15
  FakeFS.activate!
@@ -184,7 +184,6 @@ ethernet1.generatedAddressenable = "TRUE"'
184
184
 
185
185
  context 'when a sparse disk is found' do
186
186
  it "should update the vmdk" do
187
- File.rspec_reset
188
187
  File.stub(:binary?).and_return(false)
189
188
 
190
189
  @cloner.clone
@@ -7,8 +7,8 @@ describe Fission::Action::VM::Deleter do
7
7
  @vm = Fission::VM.new 'foo'
8
8
  @vmrun_cmd = Fission.config['vmrun_cmd']
9
9
  @conf_file_path = File.join @vm.path, 'foo.vmx'
10
- @conf_file_response_mock = mock 'conf_file_response'
11
- @running_response_mock = mock 'running?'
10
+ @conf_file_response_mock = double('conf_file_response')
11
+ @running_response_mock = double('running?')
12
12
  @vm_files = %w{ .vmx .vmxf .vmdk -s001.vmdk -s002.vmdk .vmsd }
13
13
 
14
14
  @vm.stub(:exists?).and_return(true)
@@ -53,7 +53,7 @@ describe Fission::Action::VM::Deleter do
53
53
  end
54
54
 
55
55
  it "should delete the target vm files" do
56
- Fission::Metadata.stub!(:delete_vm_info)
56
+ Fission::Metadata.stub(:delete_vm_info)
57
57
 
58
58
  @deleter.delete
59
59
 
@@ -71,7 +71,7 @@ describe Fission::Action::VM::Deleter do
71
71
  end
72
72
 
73
73
  it 'should return a successful reponse object' do
74
- Fission::Metadata.stub!(:delete_vm_info)
74
+ Fission::Metadata.stub(:delete_vm_info)
75
75
  @deleter.delete.should be_a_successful_response
76
76
  end
77
77
 
@@ -10,8 +10,8 @@ describe Fission::Action::VM::Lister do
10
10
 
11
11
  describe 'all' do
12
12
  before do
13
- @vm_1_mock = mock('vm_1')
14
- @vm_2_mock = mock('vm_2')
13
+ @vm_1_mock = double('vm_1')
14
+ @vm_2_mock = double('vm_2')
15
15
  @vm_root = Fission.config['vm_dir']
16
16
  @vm_dirs = ['foo.vmwarevm', 'bar.vmwarevm'].map do |d|
17
17
  File.join(@vm_root, d)
@@ -62,8 +62,8 @@ describe Fission::Action::VM::Lister do
62
62
  before do
63
63
  @vmrun_cmd = Fission.config['vmrun_cmd']
64
64
  @vm_names_and_objs = { 'foo' => @vm_1, 'bar' => @vm_2, 'baz' => @vm_3 }
65
- @executor = mock 'executor'
66
- @process_status = mock 'process status'
65
+ @executor = double('executor')
66
+ @process_status = double('process status')
67
67
  end
68
68
 
69
69
  it 'should return a successful response with the list of running vms' do
@@ -129,8 +129,8 @@ describe Fission::Action::VM::Lister do
129
129
 
130
130
  describe 'all_with_status' do
131
131
  before do
132
- @all_running_response_mock = mock('all_running_mock')
133
- @all_vms_response_mock = mock('all_vms_mock')
132
+ @all_running_response_mock = double('all_running_mock')
133
+ @all_vms_response_mock = double('all_vms_mock')
134
134
 
135
135
  @all_vms_response_mock.stub_as_successful [@vm_1, @vm_2, @vm_3]
136
136
  @all_running_response_mock.stub_as_successful [@vm_1]
@@ -7,8 +7,8 @@ describe Fission::Action::VM::Starter do
7
7
  @vm = Fission::VM.new 'foo'
8
8
  @vmrun_cmd = Fission.config['vmrun_cmd']
9
9
  @conf_file_path = File.join @vm.path, 'foo.vmx'
10
- @conf_file_response_mock = mock 'conf_file_response'
11
- @running_response_mock = mock 'running?'
10
+ @conf_file_response_mock = double('conf_file_response')
11
+ @running_response_mock = double('running?')
12
12
 
13
13
  @vm.stub(:exists?).and_return(true)
14
14
  @vm.stub(:running?).and_return(@running_response_mock)
@@ -40,8 +40,8 @@ describe Fission::Action::VM::Starter do
40
40
 
41
41
  context 'when the fusion gui is not running' do
42
42
  before do
43
- @executor_mock = mock 'executor'
44
- @response = stub
43
+ @executor_mock = double('executor')
44
+ @response = double
45
45
  @executor_mock.should_receive(:execute).and_return(@executor_mock)
46
46
  Fission::Fusion.stub(:running?).and_return(false)
47
47
  Fission::Response.should_receive(:from_shell_executor).
@@ -7,8 +7,8 @@ describe Fission::Action::VM::Stopper do
7
7
  @vm = Fission::VM.new 'foo'
8
8
  @vmrun_cmd = Fission.config['vmrun_cmd']
9
9
  @conf_file_path = File.join @vm.path, 'foo.vmx'
10
- @conf_file_response_mock = mock 'conf_file_response'
11
- @running_response_mock = mock 'running?'
10
+ @conf_file_response_mock = double('conf_file_response')
11
+ @running_response_mock = double('running?')
12
12
 
13
13
  @vm.stub(:exists?).and_return(true)
14
14
  @vm.stub(:running?).and_return(@running_response_mock)
@@ -40,8 +40,8 @@ describe Fission::Action::VM::Stopper do
40
40
 
41
41
  context 'when stopping the vm' do
42
42
  before do
43
- @executor_mock = mock 'executor'
44
- @response = stub
43
+ @executor_mock = double('executor')
44
+ @response = double
45
45
  @executor_mock.should_receive(:execute).and_return(@executor_mock)
46
46
  Fission::Fusion.stub(:running?).and_return(false)
47
47
  Fission::Response.should_receive(:from_shell_executor).
@@ -7,8 +7,8 @@ describe Fission::Action::VM::Suspender do
7
7
  @vm = Fission::VM.new 'foo'
8
8
  @vmrun_cmd = Fission.config['vmrun_cmd']
9
9
  @conf_file_path = File.join @vm.path, 'foo.vmx'
10
- @conf_file_response_mock = mock 'conf_file_response'
11
- @running_response_mock = mock 'running?'
10
+ @conf_file_response_mock = double('conf_file_response')
11
+ @running_response_mock = double('running?')
12
12
 
13
13
  @vm.stub(:exists?).and_return(true)
14
14
  @vm.stub(:running?).and_return(@running_response_mock)
@@ -39,8 +39,8 @@ describe Fission::Action::VM::Suspender do
39
39
  end
40
40
 
41
41
  it 'should return a response' do
42
- executor_mock = mock 'executor'
43
- response = stub
42
+ executor_mock = double('executor')
43
+ response = double
44
44
  cmd = "#{@vmrun_cmd} suspend "
45
45
  cmd << "'#{@conf_file_path}' 2>&1"
46
46
 
@@ -4,7 +4,7 @@ describe Fission::CLI do
4
4
  before do
5
5
  @string_io = StringIO.new
6
6
  Fission::CLI.any_instance.stub(:ui).and_return(Fission::UI.new(@string_io))
7
- @parser = mock 'parser'
7
+ @parser = double('parser')
8
8
  @parser.stub :parse
9
9
  @parser.stub :command
10
10
  end
@@ -39,7 +39,7 @@ describe Fission::CLI do
39
39
 
40
40
  describe 'execute' do
41
41
  it 'should execute the parsed command' do
42
- @cmd_mock = mock ('cmd')
42
+ @cmd_mock = double('cmd')
43
43
  @cmd_mock.should_receive :execute
44
44
  @parser.stub(:new).and_return(@parser)
45
45
  @parser.stub(:command).and_return(@cmd_mock)
@@ -5,11 +5,11 @@ describe Fission::Command::Clone do
5
5
 
6
6
  before do
7
7
  @vm_info = ['foo', 'bar']
8
- @source_vm_mock = mock('source_vm')
9
- @target_vm_mock = mock('target_vm')
8
+ @source_vm_mock = double('source_vm')
9
+ @target_vm_mock = double('target_vm')
10
10
 
11
- @clone_response_mock = mock('clone_reponse')
12
- @start_response_mock = mock('start_reponse')
11
+ @clone_response_mock = double('clone_reponse')
12
+ @start_response_mock = double('start_reponse')
13
13
 
14
14
  @source_vm_mock.stub(:name).and_return('foo')
15
15
  @target_vm_mock.stub(:name).and_return('bar')
@@ -7,8 +7,8 @@ describe Fission::Command::Delete do
7
7
  @target_vm = ['foo']
8
8
  Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @delete_response_mock = mock('delete_response')
11
- @running_response_mock = mock('running?')
10
+ @delete_response_mock = double('delete_response')
11
+ @running_response_mock = double('running?')
12
12
 
13
13
  @vm_mock.stub(:name).and_return(@target_vm.first)
14
14
  @vm_mock.stub(:running?).and_return(@running_response_mock)
@@ -90,7 +90,7 @@ describe Fission::Command::Delete do
90
90
  end
91
91
 
92
92
  it "should stop the VM if it's running and then delete it" do
93
- @stop_cmd_mock = mock('stop_cmd')
93
+ @stop_cmd_mock = double('stop_cmd')
94
94
 
95
95
  @stop_cmd_mock.should_receive(:execute)
96
96
  @running_response_mock.stub_as_successful true
@@ -5,11 +5,11 @@ describe Fission::Command::Info do
5
5
 
6
6
  before do
7
7
  @target_vm = ['foo']
8
- Fission::VM.stub!(:new).and_return(@vm_mock)
8
+ Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @network_info_response_mock = mock('network_info_response')
11
- @hardware_info_response_mock = mock('hardware_info_response')
12
- @guest_os_response_mock = mock('guest_os_response')
10
+ @network_info_response_mock = double('network_info_response')
11
+ @hardware_info_response_mock = double('hardware_info_response')
12
+ @guest_os_response_mock = double('guest_os_response')
13
13
 
14
14
  @vm_mock.stub(:name).and_return(@target_vm.first)
15
15
  end
@@ -5,9 +5,9 @@ describe Fission::Command::SnapshotCreate do
5
5
 
6
6
  before do
7
7
  @target_vm = ['foo']
8
- Fission::VM.stub!(:new).and_return(@vm_mock)
8
+ Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @snap_create_response_mock = mock('snap_create_response')
10
+ @snap_create_response_mock = double('snap_create_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -5,9 +5,9 @@ describe Fission::Command::SnapshotDelete do
5
5
 
6
6
  before do
7
7
  @target_vm = ['foo']
8
- Fission::VM.stub!(:new).and_return(@vm_mock)
8
+ Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @snap_delete_response_mock = mock('snap_delete_response')
10
+ @snap_delete_response_mock = double('snap_delete_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -5,9 +5,9 @@ describe Fission::Command::SnapshotList do
5
5
 
6
6
  before do
7
7
  @target_vm = ['foo']
8
- Fission::VM.stub!(:new).and_return(@vm_mock)
8
+ Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @snap_list_response_mock = mock('snap_list_response')
10
+ @snap_list_response_mock = double('snap_list_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -5,9 +5,9 @@ describe Fission::Command::SnapshotRevert do
5
5
 
6
6
  before do
7
7
  @target_vm = ['foo']
8
- Fission::VM.stub!(:new).and_return(@vm_mock)
8
+ Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @snap_revert_response_mock = mock('snap_revert_response')
10
+ @snap_revert_response_mock = double('snap_revert_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -7,7 +7,7 @@ describe Fission::Command::Start do
7
7
  @target_vm = ['foo']
8
8
  Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @start_response_mock = mock('start_response')
10
+ @start_response_mock = double('start_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -7,7 +7,7 @@ describe Fission::Command::Status do
7
7
  @vms_status = { 'foo' => 'running',
8
8
  'bar' => 'suspended',
9
9
  'baz' => 'not running' }
10
- @all_status_response_mock = mock('response')
10
+ @all_status_response_mock = double('response')
11
11
  end
12
12
 
13
13
  describe 'command_name' do
@@ -7,7 +7,7 @@ describe Fission::Command::Stop do
7
7
  @target_vm = ['foo']
8
8
  Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @stop_response_mock = mock('stop_response')
10
+ @stop_response_mock = double('stop_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -7,7 +7,7 @@ describe Fission::Command::Suspend do
7
7
  @target_vm = ['foo']
8
8
  Fission::VM.stub(:new).and_return(@vm_mock)
9
9
 
10
- @suspend_response_mock = mock('suspend_response')
10
+ @suspend_response_mock = double('suspend_response')
11
11
 
12
12
  @vm_mock.stub(:name).and_return(@target_vm.first)
13
13
  end
@@ -51,8 +51,8 @@ describe Fission::Command::Suspend do
51
51
 
52
52
  describe 'with --all' do
53
53
  before do
54
- @vm_mock_1 = mock('vm_mock_1')
55
- @vm_mock_2 = mock('vm_mock_2')
54
+ @vm_mock_1 = double('vm_mock_1')
55
+ @vm_mock_2 = double('vm_mock_2')
56
56
 
57
57
  @vm_mock_1.stub(:name).and_return('vm_1')
58
58
  @vm_mock_2.stub(:name).and_return('vm_2')
@@ -60,7 +60,7 @@ describe Fission::CommandLineParser do
60
60
 
61
61
  context 'with a valid sub command' do
62
62
  before do
63
- @cmd_mock = mock 'command', :summary => ''
63
+ @cmd_mock = double('command', :summary => '')
64
64
  end
65
65
 
66
66
  [ ['clone'],
@@ -22,7 +22,7 @@ describe Fission::Command do
22
22
 
23
23
  describe 'help' do
24
24
  it 'should call option_parser on a new instance' do
25
- @new_instance_mock = mock('new_instance')
25
+ @new_instance_mock = double('new_instance')
26
26
  @new_instance_mock.should_receive(:option_parser).and_return('foo')
27
27
  Fission::Command.should_receive(:new).and_return(@new_instance_mock)
28
28
  Fission::Command.help.should == 'foo'
@@ -44,10 +44,10 @@ describe Fission::Command do
44
44
 
45
45
  [:output, :output_and_exit, :output_printf].each do |item|
46
46
  it "should delegate '#{item.to_s}' to the ui instance" do
47
- @ui_mock = mock('ui')
47
+ @ui_mock = double('ui')
48
48
  @ui_mock.should_receive(item)
49
49
 
50
- Fission::UI.stub!(:new).and_return(@ui_mock)
50
+ Fission::UI.stub(:new).and_return(@ui_mock)
51
51
 
52
52
  @cmd_instance = Fission::Command.new
53
53
  @cmd_instance.send item, 'foo'
@@ -32,14 +32,20 @@ describe Fission::Config do
32
32
  end
33
33
 
34
34
  it "should use the user specified dir in ~/.fissionrc" do
35
- File.open('~/.fissionrc', 'w') { |f| f.puts YAML.dump({ 'vm_dir' => '/var/tmp/foo' })}
35
+ home = File.expand_path('~')
36
+ FileUtils.mkdir_p(home)
37
+ File.open("#{home}/.fissionrc", 'w') do |f|
38
+ f.puts YAML.dump({ 'vm_dir' => '/var/tmp/foo' })
39
+ end
36
40
 
37
41
  @config = Fission::Config.new
38
42
  @config.attributes['vm_dir'].should == '/var/tmp/foo'
39
43
  end
40
44
 
41
45
  it 'should use the user specified vmrun bin in ~/.fissionrc' do
42
- File.open('~/.fissionrc', 'w') do |f|
46
+ home = File.expand_path('~')
47
+ FileUtils.mkdir_p(home)
48
+ File.open("#{home}/.fissionrc", 'w') do |f|
43
49
  f.puts YAML.dump({ 'vmrun_bin' => '/var/tmp/vmrun_bin' })
44
50
  end
45
51
 
@@ -53,7 +59,9 @@ describe Fission::Config do
53
59
  end
54
60
 
55
61
  it 'should set the vmrun_cmd correctly if there is a user specified vmrun bin' do
56
- File.open('~/.fissionrc', 'w') do |f|
62
+ home = File.expand_path('~')
63
+ FileUtils.mkdir_p(home)
64
+ File.open("#{home}/.fissionrc", 'w') do |f|
57
65
  f.puts YAML.dump({ 'vmrun_bin' => '/var/tmp/vmrun_bin' })
58
66
  end
59
67
 
@@ -5,7 +5,7 @@ describe Fission::Fusion do
5
5
  before do
6
6
  @cmd = "ps -ef | grep -v grep | "
7
7
  @cmd << "grep -c '#{Fission.config['gui_bin']}' 2>&1"
8
- @executor = mock 'executor'
8
+ @executor = double('executor')
9
9
  end
10
10
 
11
11
  it 'should return a successful response and true if the fusion app is running' do
@@ -198,7 +198,7 @@ lease 172.16.248.129 {
198
198
  end
199
199
 
200
200
  it 'should return an unsuccessful response if there was an error getting all of the leases' do
201
- @all_response_mock = mock('all_response')
201
+ @all_response_mock = double('all_response')
202
202
  @all_response_mock.stub_as_unsuccessful
203
203
 
204
204
  Fission::Lease.stub(:all).and_return(@all_response_mock)
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  describe Fission::Metadata do
4
4
  before do
5
- @plist_mock = mock('plist_mock')
5
+ @plist_mock = double('plist_mock')
6
6
  @plist_file_path = Fission.config['plist_file']
7
7
  @metadata = Fission::Metadata.new
8
8
  end
@@ -13,7 +13,7 @@ describe Fission::Metadata do
13
13
  CFPropertyList::List.should_receive(:new).
14
14
  with(:file => @plist_file_path).
15
15
  and_return(@plist_mock)
16
- @plist_mock.stub!(:value).and_return(plist)
16
+ @plist_mock.stub(:value).and_return(plist)
17
17
  CFPropertyList.should_receive(:native_types).with(plist).
18
18
  and_return([1, 2, 3])
19
19
  @metadata.load
@@ -85,23 +85,23 @@ describe Fission::Metadata do
85
85
 
86
86
  describe 'self.delete_vm_info' do
87
87
  before do
88
- @md_mock = mock('metadata_mock')
88
+ @md_mock = double('metadata_mock')
89
89
  @md_mock.should_receive(:load)
90
90
  @md_mock.should_receive(:save)
91
- Fission::Metadata.stub!(:new).and_return(@md_mock)
91
+ Fission::Metadata.stub(:new).and_return(@md_mock)
92
92
 
93
93
  @foo_vm_dir = File.join Fission.config['vm_dir'], 'foo.vmwarevm'
94
94
  end
95
95
 
96
96
  it 'should remove the vm from the restart document list' do
97
97
  @md_mock.should_receive(:delete_vm_restart_document).with(@foo_vm_dir)
98
- @md_mock.stub!(:delete_vm_favorite_entry)
98
+ @md_mock.stub(:delete_vm_favorite_entry)
99
99
  Fission::Metadata.delete_vm_info(Fission::VM.new('foo').path)
100
100
  end
101
101
 
102
102
  it 'should remove the vm from the favorite list' do
103
103
  @md_mock.should_receive(:delete_vm_favorite_entry).with(@foo_vm_dir)
104
- @md_mock.stub!(:delete_vm_restart_document)
104
+ @md_mock.stub(:delete_vm_restart_document)
105
105
  Fission::Metadata.delete_vm_info(Fission::VM.new('foo').path)
106
106
  end
107
107
  end
@@ -60,7 +60,7 @@ describe Fission::Response do
60
60
 
61
61
  describe 'self.from_shell_executor' do
62
62
  before do
63
- @process_status = mock 'process status'
63
+ @process_status = double('process status')
64
64
  end
65
65
 
66
66
  it 'should return a response object' do
@@ -14,7 +14,7 @@ describe Fission::UI do
14
14
 
15
15
  describe 'output_printf' do
16
16
  it 'should pass the arguments to printf' do
17
- @output = mock('output')
17
+ @output = double('output')
18
18
  @output.should_receive(:printf).with('foo', 'bar', 'baz')
19
19
  Fission::UI.new(@output).output_printf('foo', 'bar', 'baz')
20
20
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Fission::VMConfiguration do
4
4
  before do
5
5
  @vm = Fission::VM.new 'foo'
6
- @conf_file_response_mock = mock 'conf_file_response'
6
+ @conf_file_response_mock = double('conf_file_response')
7
7
  @conf_file_response_mock.stub_as_successful @conf_file_path
8
8
  end
9
9
 
@@ -5,7 +5,7 @@ describe Fission::VM do
5
5
  @vm = Fission::VM.new('foo')
6
6
  @conf_file_path = File.join(@vm.path, 'foo.vmx')
7
7
  @vmrun_cmd = Fission.config['vmrun_cmd']
8
- @conf_file_response_mock = mock('conf_file_response')
8
+ @conf_file_response_mock = double('conf_file_response')
9
9
  end
10
10
 
11
11
  describe 'new' do
@@ -16,8 +16,8 @@ describe Fission::VM do
16
16
 
17
17
  describe 'delete' do
18
18
  before do
19
- @vm_deleter = mock 'vm deleter'
20
- @delete_response_mock = mock 'vm delete response'
19
+ @vm_deleter = double('vm deleter')
20
+ @delete_response_mock = double('vm delete response')
21
21
  Fission::Action::VM::Deleter.stub(:new).and_return(@vm_deleter)
22
22
  @vm_deleter.should_receive(:delete).
23
23
  and_return(@delete_response_mock)
@@ -36,8 +36,8 @@ describe Fission::VM do
36
36
 
37
37
  describe 'start' do
38
38
  before do
39
- @vm_starter = mock 'vm starter'
40
- @start_response_mock = mock 'vm start response'
39
+ @vm_starter = double('vm starter')
40
+ @start_response_mock = double('vm start response')
41
41
  Fission::Action::VM::Starter.stub(:new).and_return(@vm_starter)
42
42
  end
43
43
 
@@ -66,8 +66,8 @@ describe Fission::VM do
66
66
 
67
67
  describe 'stop' do
68
68
  before do
69
- @vm_stopper = mock 'vm stopper'
70
- @stop_response_mock = mock 'vm stop response'
69
+ @vm_stopper = double('vm stopper')
70
+ @stop_response_mock = double('vm stop response')
71
71
  Fission::Action::VM::Stopper.stub(:new).and_return(@vm_stopper)
72
72
  end
73
73
 
@@ -96,8 +96,8 @@ describe Fission::VM do
96
96
 
97
97
  describe 'suspend' do
98
98
  before do
99
- @vm_suspender = mock 'vm suspender'
100
- @suspend_response_mock = mock 'vm suspend response'
99
+ @vm_suspender = double('vm suspender')
100
+ @suspend_response_mock = double('vm suspend response')
101
101
  Fission::Action::VM::Suspender.stub(:new).and_return(@vm_suspender)
102
102
  @vm_suspender.should_receive(:suspend).
103
103
  and_return(@suspend_response_mock)
@@ -116,8 +116,8 @@ describe Fission::VM do
116
116
 
117
117
  describe 'snapshots' do
118
118
  before do
119
- @snapshot_lister_mock = mock 'snapshot lister'
120
- @snapshots_response_mock = mock 'snapshots mock'
119
+ @snapshot_lister_mock = double('snapshot lister')
120
+ @snapshots_response_mock = double('snapshots mock')
121
121
  Fission::Action::Snapshot::Lister.stub(:new).and_return(@snapshot_lister_mock)
122
122
  @snapshot_lister_mock.should_receive(:snapshots).
123
123
  and_return(@snapshots_response_mock)
@@ -138,8 +138,8 @@ describe Fission::VM do
138
138
 
139
139
  describe 'create_snapshot' do
140
140
  before do
141
- @snapshot_creator_mock = mock 'snapshot creator'
142
- @snapshot_create_response_mock = mock 'snapshot create response'
141
+ @snapshot_creator_mock = double('snapshot creator')
142
+ @snapshot_create_response_mock = double('snapshot create response')
143
143
  Fission::Action::Snapshot::Creator.stub(:new).and_return(@snapshot_creator_mock)
144
144
  @snapshot_creator_mock.should_receive(:create_snapshot).
145
145
  with('snap_1').
@@ -159,8 +159,8 @@ describe Fission::VM do
159
159
 
160
160
  describe 'delete_snapshot' do
161
161
  before do
162
- @snapshot_deleter_mock = mock 'snapshot deleter'
163
- @snapshot_delete_response_mock = mock 'snapshot delete response'
162
+ @snapshot_deleter_mock = double('snapshot deleter')
163
+ @snapshot_delete_response_mock = double('snapshot delete response')
164
164
 
165
165
  Fission::Action::Snapshot::Deleter.stub(:new).
166
166
  and_return(@snapshot_deleter_mock)
@@ -182,7 +182,7 @@ describe Fission::VM do
182
182
 
183
183
  describe 'revert_to_snapshot' do
184
184
  before do
185
- @snapshot_reverter_mock = mock 'snapshot reverter'
185
+ @snapshot_reverter_mock = double('snapshot reverter')
186
186
  @snapshot_revert_response_mock = 'snapshot revert response'
187
187
 
188
188
  Fission::Action::Snapshot::Reverter.stub(:new).
@@ -205,7 +205,7 @@ describe Fission::VM do
205
205
 
206
206
  describe 'exists?' do
207
207
  before do
208
- @conf_file_response = mock('exists')
208
+ @conf_file_response = double('exists')
209
209
  @vm.stub(:conf_file).and_return(@conf_file_response)
210
210
  end
211
211
 
@@ -222,7 +222,7 @@ describe Fission::VM do
222
222
 
223
223
  describe 'hardware_info' do
224
224
  before do
225
- @vm_config_data_response_mock = mock 'vm config data response'
225
+ @vm_config_data_response_mock = double('vm config data response')
226
226
  @vm.stub(:conf_file_data).and_return(@vm_config_data_response_mock)
227
227
  @config_data = { 'numvcpus' => '2',
228
228
  'replay.supported' => "TRUE",
@@ -278,7 +278,7 @@ describe Fission::VM do
278
278
 
279
279
  describe 'mac_addresses' do
280
280
  before do
281
- @network_info_mock = mock('network_info')
281
+ @network_info_mock = double('network_info')
282
282
  @vm.should_receive(:network_info).and_return(@network_info_mock)
283
283
  end
284
284
 
@@ -317,9 +317,9 @@ describe Fission::VM do
317
317
 
318
318
  describe 'network_info' do
319
319
  before do
320
- @lease_1_response_mock = mock('lease_1_response')
321
- @lease_2_response_mock = mock('lease_1_response')
322
- @vm_config_data_response_mock = mock 'vm config data response'
320
+ @lease_1_response_mock = double('lease_1_response')
321
+ @lease_2_response_mock = double('lease_1_response')
322
+ @vm_config_data_response_mock = double('vm config data response')
323
323
 
324
324
  @vm.stub(:conf_file_data).and_return(@vm_config_data_response_mock)
325
325
  @config_data = { 'ide1:0.deviceType' => 'cdrom-image',
@@ -421,7 +421,7 @@ describe Fission::VM do
421
421
 
422
422
  describe 'guestos' do
423
423
  before do
424
- @vm_config_data_response_mock = mock 'vm config data response'
424
+ @vm_config_data_response_mock = double('vm config data response')
425
425
  @vm.stub(:conf_file_data).and_return(@vm_config_data_response_mock)
426
426
  @config_data = { 'cleanShutdown' => 'TRUE',
427
427
  'guestOS' => 'debian5',
@@ -458,7 +458,7 @@ describe Fission::VM do
458
458
 
459
459
  describe 'uuids' do
460
460
  before do
461
- @vm_config_data_response_mock = mock 'vm config data response'
461
+ @vm_config_data_response_mock = double('vm config data response')
462
462
  @vm.stub(:conf_file_data).and_return(@vm_config_data_response_mock)
463
463
  @config_data = { 'uuid.location' => '56 4d d8 9c f8 ec 95 73-2e ea a0 f3 7a 1d 6f c8',
464
464
  'uuid.bios' => '56 4d d8 9c f8 ec 95 73-2e ea a0 f3 7a 1d 6f c8',
@@ -510,8 +510,8 @@ describe Fission::VM do
510
510
  @vm_1 = Fission::VM.new 'foo'
511
511
  @vm_2 = Fission::VM.new 'bar'
512
512
 
513
- @all_running_response_mock = mock('all_running')
514
- @suspended_response_mock = mock('suspended')
513
+ @all_running_response_mock = double('all_running')
514
+ @suspended_response_mock = double('suspended')
515
515
 
516
516
  Fission::VM.stub(:all_running).and_return(@all_running_response_mock)
517
517
  @all_running_response_mock.stub_as_successful [@vm_2]
@@ -555,7 +555,7 @@ describe Fission::VM do
555
555
 
556
556
  describe 'running?' do
557
557
  before do
558
- @all_running_response_mock = mock('all_running')
558
+ @all_running_response_mock = double('all_running')
559
559
 
560
560
  Fission::VM.stub(:all_running).and_return(@all_running_response_mock)
561
561
  end
@@ -606,7 +606,7 @@ describe Fission::VM do
606
606
 
607
607
  describe 'suspended?' do
608
608
  before do
609
- @running_response_mock = mock('running?')
609
+ @running_response_mock = double('running?')
610
610
  @vm.stub(:running?).and_return(@running_response_mock)
611
611
  end
612
612
 
@@ -649,8 +649,8 @@ describe Fission::VM do
649
649
 
650
650
  describe 'conf_file_data' do
651
651
  before do
652
- @vm_config_mock = mock 'vm config'
653
- @vm_config_response_mock = mock 'vm config response'
652
+ @vm_config_mock = double('vm config')
653
+ @vm_config_response_mock = double('vm config response')
654
654
 
655
655
  Fission::VMConfiguration.should_receive(:new).with(@vm).
656
656
  and_return(@vm_config_mock)
@@ -740,8 +740,8 @@ describe Fission::VM do
740
740
 
741
741
  describe "self.all" do
742
742
  before do
743
- @lister = mock 'lister'
744
- @all_response_mock = mock 'all response'
743
+ @lister = double('lister')
744
+ @all_response_mock = double('all response')
745
745
  Fission::Action::VM::Lister.stub(:new).and_return(@lister)
746
746
  @lister.should_receive(:all).
747
747
  and_return(@all_response_mock)
@@ -760,8 +760,8 @@ describe Fission::VM do
760
760
 
761
761
  describe 'self.all_running' do
762
762
  before do
763
- @lister = mock 'lister'
764
- @all_running_response_mock = mock 'all running response'
763
+ @lister = double('lister')
764
+ @all_running_response_mock = double('all running response')
765
765
  Fission::Action::VM::Lister.stub(:new).and_return(@lister)
766
766
  @lister.should_receive(:all_running).
767
767
  and_return(@all_running_response_mock)
@@ -780,10 +780,10 @@ describe Fission::VM do
780
780
 
781
781
  describe "self.clone" do
782
782
  before do
783
- @vm_1 = mock 'vm 1'
784
- @vm_2 = mock 'vm 2'
785
- @vm_cloner = mock 'vm cloner'
786
- @clone_response_mock = mock 'vm clone response'
783
+ @vm_1 = double('vm 1')
784
+ @vm_2 = double('vm 2')
785
+ @vm_cloner = double('vm cloner')
786
+ @clone_response_mock = double('vm clone response')
787
787
  Fission::Action::VM::Cloner.should_receive(:new).
788
788
  with(@vm_1, @vm_2).
789
789
  and_return(@vm_cloner)
@@ -806,8 +806,8 @@ describe Fission::VM do
806
806
 
807
807
  describe 'self.all_with_status' do
808
808
  before do
809
- @lister = mock 'lister'
810
- @all_status_response_mock = mock 'all status response'
809
+ @lister = double('lister')
810
+ @all_status_response_mock = double('all status response')
811
811
  Fission::Action::VM::Lister.stub(:new).and_return(@lister)
812
812
  @lister.should_receive(:all_with_status).
813
813
  and_return(@all_status_response_mock)
@@ -1,7 +1,7 @@
1
1
  module ResponseHelpers
2
2
  def stub_response_mock_with(args={})
3
3
  args.each_pair do |method, data|
4
- stub!(method).and_return(data)
4
+ stub(method).and_return(data)
5
5
  end
6
6
  end
7
7
 
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fission
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.beta.1
5
- prerelease: 6
4
+ version: 0.5.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tommy Bishop
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-22 00:00:00.000000000 Z
12
+ date: 2013-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: CFPropertyList
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.1.1
21
+ version: '2.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 2.1.1
29
+ version: '2.2'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rake
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -44,13 +44,13 @@ dependencies:
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
46
  - !ruby/object:Gem::Dependency
47
- name: rspec
47
+ name: fakefs
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 2.8.0
53
+ version: 0.4.3
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,15 +58,15 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 2.8.0
61
+ version: 0.4.3
62
62
  - !ruby/object:Gem::Dependency
63
- name: fakefs
63
+ name: rspec
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 0.3.2
69
+ version: '2.14'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 0.3.2
77
+ version: '2.14'
78
78
  description: A simple utility to manage VMware Fusion VMs from the command line
79
79
  email:
80
80
  - bishop.thomas@gmail.com
@@ -190,9 +190,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  none: false
192
192
  requirements:
193
- - - ! '>'
193
+ - - ! '>='
194
194
  - !ruby/object:Gem::Version
195
- version: 1.3.1
195
+ version: '0'
196
196
  requirements: []
197
197
  rubyforge_project: fission
198
198
  rubygems_version: 1.8.23