etcdist 0.0.7 → 0.0.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0526fae37a18d1b0e85b8672c0962adaa15b7f1
4
- data.tar.gz: a96e751c7045642a80c072e43ae19a0eacd007cf
3
+ metadata.gz: db4c9a608ad36977e89d67b42bad146d43bac8d4
4
+ data.tar.gz: 9e53d6d130d63a9bcadfba1032f831be4f4a97ad
5
5
  SHA512:
6
- metadata.gz: 4d44b969b49f88baf6207019f851cb912fda3bbd8cf2d6eb06f73356cfeca1cc889a9b3bb5888cc65f865c25a0262b165a97ffffd956272ad095a1f8df06068c
7
- data.tar.gz: 834e05e047afc19f0ef355edd3cc4b9e283fd070f45248cc8d21f34801fcf1c354d7439101910c477a241c3b61ece6c2445fe51f6186d573bf7d021d7a353dcb
6
+ metadata.gz: f1696a9950242d74df7e6bb785d7e89590f8a9bd53e4912e68291785268fb0a5601947aee6b8a0a2ae402445f8b636bd11ed155479871bf6946764805c64fb51
7
+ data.tar.gz: b8b3fecfc008091cb91370f66770cdc3d87df907f401e4195de0abf6687766db9e23fa35de5278802295667271f14e782c6f6a40971430329736fd578bbf83ce
@@ -1,3 +1,3 @@
1
1
  module Etcdist
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
@@ -65,8 +65,7 @@ module Etcdist
65
65
  until nodes_to_process_stack.empty?
66
66
  node = nodes_to_process_stack.pop
67
67
  result.push(node.key)
68
- child_dir_nodes = node.children.select(dir)
69
- child_dir_nodes.each { |child_dir_node| nodes_to_process_stack.push(child_dir_node) }
68
+ node.children.each { |child_node| nodes_to_process_stack.push(child_node) if child_node.dir }
70
69
  end
71
70
 
72
71
  result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etcdist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Springer, Part of Springer Science+Business Media