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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/polyrex-objects.rb +4 -1
- metadata +2 -3
- metadata.gz.sig +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5581c047e19a5ff968ea481c4fed33f26bdfe9f
|
4
|
+
data.tar.gz: 503062d2cdc6bbc311430f21107b2be45eeecea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aefa312915c46dc81995ebc828a005c37b11a53492f9f4b22f23332922376de8f35485be482bfb42723b198c2a83a7072d8877ca821be038e0ed5f824e0af6e4
|
7
|
+
data.tar.gz: 374d025c1201d54fd43d76fd23603004f56c4db6d10d2e1008dfc8408aae0b83e6dc6b9de69353d63b52c00bcaecba6057c96d90d893e22d682d62837c156485
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex-objects.rb
CHANGED
@@ -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(
|
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.
|
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-
|
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�
|
2
|
-
|
3
|
-
�[
|
1
|
+
AvBʑ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
|