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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10f900600a12789a3c10d7e990fdf672aa25c226
4
- data.tar.gz: ab1d1a7cf27a29bbf0bcbabeee94c03c6ac425bb
3
+ metadata.gz: 34274c1b68d3345a17b1fe15915d4a9e82f2fe45
4
+ data.tar.gz: f15f62e352e6825508755781181ccf1aca1f959e
5
5
  SHA512:
6
- metadata.gz: 80a7a6eee48af84a298581e9cf46b34ed34ec97f42d82c8c141cf7aec8756a8413912ed4fd731dc5b4795038a9adf535b94d46df22dcf93055e7ea32dd9c5270
7
- data.tar.gz: c737544d4603c2d0ac5ddd566b900063a04094a21f7b98bccde66b2c9fbc3ecf3891917e1a81cc9d8f0eb1835f54710f354be7173e86c3ab6b369d9b49c82c1e
6
+ metadata.gz: c3ca21d53037bf23e9412f2078336075a61c6e5b8cb2fb4e26169b8f003ce3daa56fada82441995d3f7efe4caf4980ba7ffb179a64b961615468565870fa469f
7
+ data.tar.gz: 8cf197f730cfc829fbe33278acfd542855f8de7f007f1215a7c73abf339fe10f62e7b11ebf7b992a1bb8bede17ab593ba0d568a656396969ec0c23185b505dab
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.8.5
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
- 8ixkARkWAmV1MB4XDTE0MDMyMDEzNDAyOFoXDTE1MDMyMDEzNDAyOFowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE1MDUxMzE0NDM1NFoXDTE2MDUxMjE0NDM1NFowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAL6tVo6OykL5xxKb/iu3zfIoL07XpIlPlec1jh/BVRCzU0manK4qPcQK6nC7
19
- pOXjwspou+MYdvxK9jjhKZXIVBaZ5UU2yWiFalgor3QDfOEgwqYcl1kNwl+OHLLC
20
- naYVpUWS5ruPDtWAPkfdFSuduTYP69hmPr+WfJcE88wDKGc3CrWgJNwCZfUIT27U
21
- //UG+BMBHxWaYTMgGrCPNhxze0XL0HWwK8gOnloZyMJdIbBi6V8C1msiS/tt3oy+
22
- 9BKBGV1/wO4/KCeszEJqJSAF7rHuvxZRGK2Kk608ikKwQsK2p8nhPLWUNCua8D4S
23
- lIe9lU/OR1xMCeUWx+OejhDpJMcCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEA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lckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAtLEjB3Xe
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: 2014-10-02 00:00:00.000000000 Z
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.2.2
83
+ rubygems_version: 2.4.6
84
84
  signing_key:
85
85
  specification_version: 4
86
- summary: polyrex-objects
86
+ summary: Polyrex-objects automically builds objects from a Polyrex schema
87
87
  test_files: []
metadata.gz.sig CHANGED
Binary file