polyrex 1.1.4 → 1.1.5
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 +2 -4
- data/lib/polyrex.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 0e0cf4e2902f61f8d5980a71006f7865acb660c4
|
4
|
+
data.tar.gz: f0568da646249541130467ee3eea4412bdc02b7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ce2fb7420ae012fd5d33dc386f8c6d4c88de366eda262e793ec70e6d577a5cd5cb4fddf0aff3c8cb3c768d23c4b28b436c1f7726615192093b8359b7cce4e66
|
7
|
+
data.tar.gz: 986f056026a5f741c3afda72c1e95334e7a73aec7a2240a5599653f2b854ae1613cc8ceb6f4c1a490605372565065a87ad7bb4fe335e193f2d0a9d5f8b69f400
|
checksums.yaml.gz.sig
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�Wl��$�S�P���*[%��䥒(K�s�N���R>y�&���2W)�V�>��3�S
|
4
|
-
���|NGqm6��Ս
|
1
|
+
�(���`֢Ɂl=�_��6`��;����߱�.MD4�����J4�5f_MZ 4\=hA9B�bZ��{.%�W��p7̾�N!�d�~�@XS�[�~Ƭ�*�^ߙn�-c�H�*Gtk���ms��?�D���
|
2
|
+
�����i�H_[
|
data/lib/polyrex.rb
CHANGED
@@ -108,13 +108,13 @@ class Polyrex
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
-
def each_recursive(parent=self, &blk)
|
111
|
+
def each_recursive(parent=self, level=0, &blk)
|
112
112
|
|
113
113
|
parent.records.each do |x|
|
114
114
|
|
115
|
-
blk.call(x, parent) if block_given?
|
115
|
+
blk.call(x, parent, level) if block_given?
|
116
116
|
|
117
|
-
each_recursive(x, &blk) if x.records.any?
|
117
|
+
each_recursive(x, level+1, &blk) if x.records.any?
|
118
118
|
|
119
119
|
end
|
120
120
|
|
@@ -760,4 +760,4 @@ xsl_buffer = '
|
|
760
760
|
end
|
761
761
|
end
|
762
762
|
|
763
|
-
end
|
763
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
EUI+ncIuEEQSxIVKGeaQ49Dk10P2t0cX3DGyMlv7sreJohHxJfNKsjG/SAk0cks0
|
32
32
|
9+gffejS1ORTgQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-11-
|
34
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex-schema
|
metadata.gz.sig
CHANGED
Binary file
|