knife-spork 1.2.0 → 1.2.1

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/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
- ## 1.2.0 (26th June, 2013)
1
+ ## 1.2.1 (28th June, 2013)
2
+
3
+ Bugfixes:
4
+
5
+ - Fix potential error with environment_groups (thanks to Greg Karékinian - https://github.com/gkarekinian)
6
+
7
+ ## 1.2.0 (28th June, 2013)
2
8
 
3
9
  Features:
4
10
 
data/knife-spork.gemspec CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'knife-spork'
5
- gem.version = '1.2.0'
5
+ gem.version = '1.2.1'
6
6
  gem.authors = ["Jon Cowie"]
7
7
  gem.email = 'jonlives@gmail.com'
8
8
  gem.homepage = 'https://github.com/jonlives/knife-spork'
@@ -53,7 +53,11 @@ module KnifeSpork
53
53
  end
54
54
 
55
55
  def load_specified_environment_group(name)
56
- spork_config.environment_groups[name] || [name]
56
+ if spork_config.environment_groups.nil?
57
+ [name]
58
+ else
59
+ spork_config.environment_groups[name]
60
+ end
57
61
  end
58
62
 
59
63
  def ensure_environment_provided!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: