polyrex-objects 0.8.3 → 0.8.4

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: b68af1bbeb21405d07f581ef6673bbfbf749424f
4
- data.tar.gz: 7a5acc327b212f827aaebdaa0349a0f8a1dc86b9
3
+ metadata.gz: c5581c047e19a5ff968ea481c4fed33f26bdfe9f
4
+ data.tar.gz: 503062d2cdc6bbc311430f21107b2be45eeecea6
5
5
  SHA512:
6
- metadata.gz: 91e961df58842c4c435e4564b82ac55be85c7b143ba7a3cb88073d90763d1b689f4db9b4a23ba9760360efcbb2feffe603cecfbbee45919e4240b8a68027d8fe
7
- data.tar.gz: 7b87fe4e590ab7df862322467046982f9df38442c70673dbf7bb553307bf838158802ff7eadcc073fdc2bdff10560be3b3b469c0cbcb7fc98d748fbb2bb45af9
6
+ metadata.gz: aefa312915c46dc81995ebc828a005c37b11a53492f9f4b22f23332922376de8f35485be482bfb42723b198c2a83a7072d8877ca821be038e0ed5f824e0af6e4
7
+ data.tar.gz: 374d025c1201d54fd43d76fd23603004f56c4db6d10d2e1008dfc8408aae0b83e6dc6b9de69353d63b52c00bcaecba6057c96d90d893e22d682d62837c156485
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -205,7 +205,10 @@ EOF
205
205
  classx << " a = node.xpath('summary/*',&:name)"
206
206
  classx << " yaml_fields = a - (#{fields} + %w(format_mask))"
207
207
  classx << "yaml_fields.each do |field|"
208
- classx << %q(instance_eval "def #{field}; YAML.load(@node.element('summary/#{field}/text()')); end")
208
+ classx << %q( "def self.#{field})
209
+ classx << %q( s = @node.element('summary/#{field}/text()'))
210
+ classx << %q( s[/^---/] ? YAML.load(s) : s)
211
+ classx << %q( end")
209
212
  classx << "end"
210
213
 
211
214
  classx << "@fields = %i(#{fields.join(' ')})"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  C0ZUhP8IAGCVW8QD8AfZ/AgqUdh+zTRqKdhEyhXCjYyVXqNHnD02NbyGmQvgd9SD
32
32
  XfuuGzQ3E4Mh5w==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-08-09 00:00:00.000000000 Z
34
+ date: 2014-09-20 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: polyrex-createobject
@@ -85,4 +85,3 @@ signing_key:
85
85
  specification_version: 4
86
86
  summary: polyrex-objects
87
87
  test_files: []
88
- has_rdoc:
metadata.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- K�e9��g3��i%�B
2
- �'��ی�4��"�!e��ç�fC��V���y9]�n� ��=�m�z�Y0�PF`�CG���
3
- �[��DŽ��O�)�ļA��?���@�z hT[G}�>�����=bf7>@0��3�|V�=�A���1��o�^ڃ>��� u�izh�л��@���cRkc���*y jž9ՂH
1
+ Av BʑH�[ҷ˞C���X���.Z���Op3P����(�>�=���7�ʙ���&U�+uTWEf��}��VƃR!K�e���ulau��zb�͈���a�X: nN�#*J�Dg�cO{��HW�Y$@\��a�Q+�LM�p�r�ԕo��X?�YI��l)Io���[7�K�z��=
2
+ :/P
3
+ 1$�ɳ�T�����6T%���WW�Q[���Ί�Y����0�$O򔰄�gx@�zh�'Ib�i