polyrex-object-methods 0.2.0 → 0.2.2

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: 92e4a8ac628a0eb89fbb97945e59267c4ff9294d
4
- data.tar.gz: d58d43af0ba50fc6c610fc2ebdeaa5d20cdd8e4f
3
+ metadata.gz: 0cfe4bff6bbacffde0e76773d4e14baeda7fcfde
4
+ data.tar.gz: 4616a4f275b1ecfddf3ee735e8d630b850ea8b05
5
5
  SHA512:
6
- metadata.gz: 3e9f9bb8d3a5e872df6873d726289c3055c6cd90faa85ab31a6968d738dd423f120832ae401caf18ce3676332d73c77ed6e808a11b18bb7c7051115f61cd971f
7
- data.tar.gz: 56b553d98d32ed1ce88599bf7ce2e179b142226c7f4f37339807960ddda9e2890e156cbd113784a35fff6e12c7c6ca64c4a105b01171aa626acce7e3e3e36c98
6
+ metadata.gz: 31fe0e485f5db3680e21f828539fadacb61b6dc70fbc09bd2a0d3e948b508848e9fa523688938d8e38f93b824e7291188bc0bb781ca2eea68e1df344cc0019dc
7
+ data.tar.gz: f98c28e57699804e792fd44873a09f43033409e7a3321eaa99806e128017c158b00c4f56e18d9d7e8c914bc23a3cdb5080ffa0e2bdb17984ba98f2bd6f06969b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -20,7 +20,7 @@ class PolyrexObjectMethods
20
20
  siblings = x[/[^\{]+(?=\})/]
21
21
 
22
22
  if siblings then
23
- siblings.split(/\s*;\s*/).each {|s| r << to_array.call(s) }
23
+ siblings.split(/\s*;\s*/).inject(r) {|r2, s| r2 << to_array.call(s)}
24
24
  else
25
25
  r << to_array.call(x)
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-object-methods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- a7���`��|��AR{&�ٴc�˭(]s��Ӫ��h��J��wC�fC��k�aߛ~�ӎ˷_�C�NӨY(�I F��<k�l^ߍ�Ɂ �QΤ}?��f��m�����վ:��2T��i�M��Kq�#p���,�k|.g�{�����4��u%��ΌK �����Fypk(:L�/o L=��kş���-�������*�e��$�9��gt���rܪ�4�r��w�8z�բ����O3ڞ����N��u
1
+ ��ֳydn��_� ��;��4��r�̚.�b:�&f��*����-ٜR�JmQ���!+�a��󾖡+|W>�a޸�q
2
+ ��δ�1���-ݾ;)��o�˂���$�/ �1H/V�����p���8�s[ħ�87V���H2�\�� �6�b����N��7���<HnAHR�����wv���P�={ZM��_��䄦��DAZY�bŜ,G6��+�