Chef_Solo_Nodes 0.2.3 → 0.2.4

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.
@@ -6,6 +6,9 @@ require "json"
6
6
  #
7
7
  # role_or_paths = File paths Array OR Role name String.
8
8
  #
9
+ # Returns:
10
+ #
11
+ # Array of Hashes.
9
12
  #
10
13
  def Chef_Solo_Nodes role_or_paths = '*'
11
14
 
@@ -26,6 +29,15 @@ def Chef_Solo_Nodes role_or_paths = '*'
26
29
 
27
30
  end
28
31
 
32
+ #
33
+ # Arguments:
34
+ #
35
+ # Same as Chef_Solo_Nodes()
36
+ #
37
+ # Returns:
38
+ #
39
+ # Array of Strings.
40
+ #
29
41
  def Chef_Solo_IPs *args
30
42
  Chef_Solo_Nodes(*args).map { |h|
31
43
  [ h['ipaddress'] || h['hostname'], h['port'] ].compact.join(':')
@@ -1,3 +1,3 @@
1
1
  class Chef_Solo_Nodes
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Chef_Solo_Nodes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: