mason 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mason/cli.rb +5 -2
  2. data/lib/mason/version.rb +1 -1
  3. metadata +3 -3
@@ -151,11 +151,14 @@ class Mason::CLI < Thor
151
151
  desc "stacks", "list available stacks"
152
152
 
153
153
  def stacks
154
+ stacks = Mason::Stacks.stacks
155
+
154
156
  puts "* available stacks"
155
- Mason::Stacks.vms.each do |name, vm|
156
- next if name == :default
157
+ stacks.keys.each do |name|
157
158
  puts " - #{name} [#{Mason::Stacks.state(name)}]"
158
159
  end
160
+
161
+ puts " - no stacks created, use stacks:create" if stacks.length.zero?
159
162
  end
160
163
 
161
164
  class Stacks < Thor
@@ -1,3 +1,3 @@
1
1
  module Mason
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mason
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70341121218020 !ruby/object:Gem::Requirement
16
+ requirement: &70192734807320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70341121218020
24
+ version_requirements: *70192734807320
25
25
  description: Build things
26
26
  email: ddollar@gmail.com
27
27
  executables: