knife-easybake 0.0.4 → 0.0.5

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.
@@ -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: