polyrex 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/polyrex.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa66cc47402e8872605c7c6671e07060baf24709
|
4
|
+
data.tar.gz: d025775f3d2fd188896fb73f8fb44cbbc7018fab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bab856572bad829a2ca876f95b4b768db62ee26ab45d3278132a2916c143061553ba7ccd344ea81b0ca780b3ba170dd383f594df9ef61b8298f5123969cb003
|
7
|
+
data.tar.gz: fc7c46ea930d611faacc2ee0e91ba2c80b9fd75f236ad3a735b3f24a4ece5bfbfd8f570bda7535bc7a84d262334b8a39602eccf37d7dd61d3847ee2d409f6f22
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/polyrex.rb
CHANGED
@@ -110,9 +110,9 @@ class Polyrex
|
|
110
110
|
|
111
111
|
def each_recursive(parent=self, level=0, &blk)
|
112
112
|
|
113
|
-
parent.records.each do |x|
|
113
|
+
parent.records.each.with_index do |x, index|
|
114
114
|
|
115
|
-
blk.call(x, parent, level) if block_given?
|
115
|
+
blk.call(x, parent, level, index) if block_given?
|
116
116
|
|
117
117
|
each_recursive(x, level+1, &blk) if x.records.any?
|
118
118
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|