knife-gandi 0.2.1 → 0.2.2

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.
@@ -50,7 +50,7 @@ module KnifeGandi
50
50
  public_ifaces = public_ifaces.find_all { |iface| iface['type'] == 'public' }
51
51
  end
52
52
 
53
- public_ips = public_ifaces.collect_concat { |iface| iface['ips'] }
53
+ public_ips = public_ifaces.map { |iface| iface['ips'] }.flatten(1)
54
54
  if opts.has_key?(:version)
55
55
  # Filter IP version (4|6)
56
56
  public_ips = public_ips.find_all { |ip| ip['version'] == opts[:version] }
@@ -60,4 +60,4 @@ module KnifeGandi
60
60
  end
61
61
 
62
62
  end # EOF PluginHelper
63
- end
63
+ end
@@ -1,3 +1,3 @@
1
1
  module KnifeGandi
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-gandi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-17 00:00:00.000000000Z
12
+ date: 2012-02-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Gandi Hosting Support for Chef's Knife Command
15
15
  email: maximeliron@gmail.com
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version: '0'
50
50
  requirements: []
51
51
  rubyforge_project:
52
- rubygems_version: 1.8.10
52
+ rubygems_version: 1.8.14
53
53
  signing_key:
54
54
  specification_version: 3
55
55
  summary: Gandi Hosting Support for Chef's Knife Command