knife-easybake 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,12 +46,11 @@ class Chef
46
46
 
47
47
  def run
48
48
  if name_args.length == 0
49
- ui.error("Must specify organization name to create as the first argument, i.e. knife organization create ORGNAME")
50
- exit 1
49
+ organization = ask("Enter your organization:")
50
+ else
51
+ organization = name_args[0]
51
52
  end
52
53
 
53
- organization = name_args[0]
54
-
55
54
  # Get validator key
56
55
  if config[:regen_validator_key]
57
56
  output "Regenerating validation key for #{organization}-validator..."
@@ -1,3 +1,3 @@
1
1
  module KnifeEasybake
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-easybake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: