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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59bac688408a17f7ff5edff67c2229f5333fa80f
4
- data.tar.gz: 36a65faaf48a5d18e9a8d7b8ee52a00919bfdc53
3
+ metadata.gz: 0e0cf4e2902f61f8d5980a71006f7865acb660c4
4
+ data.tar.gz: f0568da646249541130467ee3eea4412bdc02b7a
5
5
  SHA512:
6
- metadata.gz: 0e4bd552718ff149a369918222ed51db85d506bc8d08c69126893ea07a30f3b0d00ec4e086c18d0f7b5ad59046fe94356a02e5e1b991e6f6583fcbb36a4a07bc
7
- data.tar.gz: 9799dfeee638f8bff9441e97ad81e58c1fe225397b4095c8462801afa5296838a73770d1fc954016d3aae0d63da04dbcc5af8fda40e95dcd2669528981a19fc3
6
+ metadata.gz: 7ce2fb7420ae012fd5d33dc386f8c6d4c88de366eda262e793ec70e6d577a5cd5cb4fddf0aff3c8cb3c768d23c4b28b436c1f7726615192093b8359b7cce4e66
7
+ data.tar.gz: 986f056026a5f741c3afda72c1e95334e7a73aec7a2240a5599653f2b854ae1613cc8ceb6f4c1a490605372565065a87ad7bb4fe335e193f2d0a9d5f8b69f400
checksums.yaml.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- �`Xe�C���v�.~���Wڗ�W�H�,�
2
- �<�aXk��փ3k�QC6�Ŧ!�L�y�,ꇛ�4����9?�F��ؐl� ���!f�Hj������]�ym��Dž&'�F��i��-�z&��kg WT]�"ŏ����!��&��S�>}D=񅼖�\c:�Bqɍ���y
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
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-23 00:00:00.000000000 Z
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