polyrex-objects 0.8.5 → 0.9.0
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 +6 -2
- metadata +19 -19
- 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: 34274c1b68d3345a17b1fe15915d4a9e82f2fe45
|
4
|
+
data.tar.gz: f15f62e352e6825508755781181ccf1aca1f959e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3ca21d53037bf23e9412f2078336075a61c6e5b8cb2fb4e26169b8f003ce3daa56fada82441995d3f7efe4caf4980ba7ffb179a64b961615468565870fa469f
|
7
|
+
data.tar.gz: 8cf197f730cfc829fbe33278acfd542855f8de7f007f1215a7c73abf339fe10f62e7b11ebf7b992a1bb8bede17ab593ba0d568a656396969ec0c23185b505dab
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex-objects.rb
CHANGED
@@ -65,6 +65,10 @@ class PolyrexObjects
|
|
65
65
|
def [](n)
|
66
66
|
self.records[n]
|
67
67
|
end
|
68
|
+
|
69
|
+
def to_doc()
|
70
|
+
Rexle.new @node.to_a
|
71
|
+
end
|
68
72
|
|
69
73
|
def to_dynarex()
|
70
74
|
|
@@ -225,7 +229,7 @@ EOF
|
|
225
229
|
classx << "end"
|
226
230
|
classx << "def #{field}=(text)"
|
227
231
|
classx << " if @node.element('summary/#{field}').nil? then"
|
228
|
-
classx << " @node.element('summary').add Rexle::Element.new('#{field}', text)"
|
232
|
+
classx << " @node.element('summary').add Rexle::Element.new('#{field}', value: text)"
|
229
233
|
classx << " else"
|
230
234
|
classx << " @node.element('summary/#{field}').text = text"
|
231
235
|
classx << " end"
|
@@ -281,4 +285,4 @@ EOF
|
|
281
285
|
|
282
286
|
|
283
287
|
|
284
|
-
end
|
288
|
+
end
|
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.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE1MDUxMzE0NDM1NFoXDTE2MDUxMjE0NDM1NFowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBANHZvQC3ZZ5fG7VqFPhZ2uVOgM0DZgccGazPIHlChiZgdNWsW7NSs7uGOZUN
|
19
|
+
bGRa+fGEgnNAWaPvi6OhAb1j9lM02o2PqvUT0CLzfHt50+e3uGUPBQd4lmi7+y0j
|
20
|
+
LLFAJuPCCGFFgIv69US2umxzvjal6gjkrbaWPOchvjLLbKDh5P81gXssAwYZ0ZW9
|
21
|
+
C+pkndbuNlyFc5UBy0pYarqrZqUQFTEd1zZRHvELn+sw2GCSJPz40Tg0SjMyBAdK
|
22
|
+
16XqWXHLQKg0II7xhHBDZGwgb8rhCgA9w3oT+IxwhJzs77IrrnNCUMJ7O/JVFFqN
|
23
|
+
Z23P44O9l2UysmXTLrKRW9HcadMCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUwW5PNpKGvI83ES04guKrQs3tjwwwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAtLEjB3Xe
|
27
|
+
MZRsea8Rm3KLLt08ztG+h7Rz33kDAKiBwyKPNjnQJydZRek1/BZkaj57ypWDIgG1
|
28
|
+
iJCJjBqU+h0zM9vFoJVRUTrztH5rY0vTfkwgEFmAZjuhiBRD590257wuyBKoXiY8
|
29
|
+
Q2kjsgPJyyAH+WeZbjxtaRjHcS0ZucBL9CXsMUrPwdJJ/2qBM9tIY+l2oOEvSOFj
|
30
|
+
5SGZG9wl7yiabHMJdnjyYbCU6H8yMtKkoykNiycuqQiS1SUieMrdzzSPk/B1SUYd
|
31
|
+
59x6bG1h4HkUXh2kwZ4th55WRfwdU+I3N5mRc5LJ9L554fWsS//tqXHx1R2udc2x
|
32
|
+
i0xEQoQ/QyoIEg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex-createobject
|
@@ -80,8 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.4.6
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
|
-
summary:
|
86
|
+
summary: Polyrex-objects automically builds objects from a Polyrex schema
|
87
87
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|