mason 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mason/cli.rb +4 -4
- data/lib/mason/version.rb +1 -1
- metadata +3 -3
data/lib/mason/cli.rb
CHANGED
@@ -168,12 +168,12 @@ class Mason::CLI < Thor
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
-
desc "stacks:create
|
171
|
+
desc "stacks:create VAGRANT_BOX_NAME", "create a new stack"
|
172
172
|
|
173
|
-
method_option :
|
173
|
+
method_option :name, :type => :string, :aliases => "-n", :desc => "use an alternate stack name"
|
174
174
|
|
175
|
-
def create(
|
176
|
-
|
175
|
+
def create(box)
|
176
|
+
name = options[:name] || box
|
177
177
|
print "* creating stack #{name}... "
|
178
178
|
Mason::Stacks.create(name, box)
|
179
179
|
puts "done"
|
data/lib/mason/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.6
|
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: &
|
16
|
+
requirement: &70341121218020 !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: *
|
24
|
+
version_requirements: *70341121218020
|
25
25
|
description: Build things
|
26
26
|
email: ddollar@gmail.com
|
27
27
|
executables:
|