mccloud 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mccloud (0.0.8)
4
+ mccloud (0.0.9)
5
5
  fog
6
6
  highline (~> 1.6.1)
7
7
  json
@@ -6,12 +6,12 @@ module Mccloud
6
6
  def halt(selection=nil,options=nil)
7
7
  on_selected_machines(selection) do |id,vm|
8
8
  unless vm.instance.state == "stopping" || vm.instance.state =="stopped"
9
- puts "halting #{id}"
9
+ puts "Halting machine #{vm.name}(#{id})"
10
10
  vm.instance.stop
11
11
  vm.instance.wait_for { printf "."; STDOUT.flush; state=="stopped"}
12
12
  puts
13
13
  else
14
- puts "#{vm.name} has state: #{server.state} so we're not halting #{vm.name} - #{id}"
14
+ puts "#{vm.name}(#{id}) is already halted."
15
15
  end
16
16
  end
17
17
  end
@@ -191,9 +191,9 @@ module Mccloud
191
191
  end
192
192
  end
193
193
 
194
- dotmccloud=File.new(".mccloud","w")
195
- dotmccloud.puts(@all_servers.to_json)
196
- dotmccloud.close
194
+ #dotmccloud=File.new(".mccloud","w")
195
+ #dotmccloud.puts(@all_servers.to_json)
196
+ #dotmccloud.close
197
197
 
198
198
 
199
199
  end
@@ -1,3 +1,3 @@
1
1
  module Mccloud
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mccloud
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Debois