polyrex-builder 0.2.0 → 0.3.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: 802d5cb54d1b08458b9f11a29a3c5031575ea7e5
4
- data.tar.gz: 2bf43165b26f298693856bf10e08c0a3a2db658d
3
+ metadata.gz: 12a3aaf07893535f8fab069d09ac20da95eb8c08
4
+ data.tar.gz: 60e2ee49eb1cf79482815d5fcb1225f901201cff
5
5
  SHA512:
6
- metadata.gz: f66aa2454bbf07c5bffa75bd4810e4bde80fad5d82de99681634b6025eafde8fe0bdba9366421123cb28d8adebd8e74a074d4aff25825b429be64424f56b668c
7
- data.tar.gz: 39c71a48bd46971fdb6701822cf0eb07a917ed0295da8499f69be1fed600fabde9dade21b9a97c80c8f7fb417114b3e42a70299e2d4eb90b57c54a33863b2b1e
6
+ metadata.gz: 1468b2c019e1d824f591f1c982066c8d60d6e350a8c0de474f67beca929b88d269554721f9e8a87f06afd4d0ef9961eccb8a54670a2d60a7597d30dc6b872fb4
7
+ data.tar.gz: 542b283da565e5e397fa16131da17ba8b4d5e18b38df88cf9d745ea2f63704397ccb3bdc47d3c0ffac9680ef63e5af143baf0d23f62d8f006534a4c9732ea1ca
checksums.yaml.gz.sig CHANGED
Binary file
@@ -10,14 +10,16 @@ require 'polyrex-schema'
10
10
 
11
11
  class PolyrexBuilder
12
12
 
13
- def initialize(rows=[], parents: [], summary: {}, rootname: 'items')
13
+ def initialize(rows=[], parents: [], summary: {},
14
+ rootname: 'items', debug: false)
14
15
 
16
+ @debug = debug
15
17
  records = rows.map {|x| pxify(x, parents) }
16
18
 
17
19
  summary.merge!({recordx_type: 'polyrex'})
18
20
  h = {rootname.to_sym => {summary: summary, records: records }}
19
21
 
20
- @a = RexleBuilder.new(h).to_a[3]
22
+ @a = RexleBuilder.new(h).to_a
21
23
 
22
24
  end
23
25
 
@@ -63,4 +65,4 @@ class PolyrexBuilder
63
65
  {name => record}
64
66
  end
65
67
 
66
- end
68
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,89 +10,48 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE3MDIyMzIyMTIyOVoXDTE4MDIyMzIyMTIyOVowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAKFZUy1+vhmNP57/9ckl9qG8X2rIfcJwEU/NnjUYqg2euxS3MVdyy6vWF87i
19
- 0vWe98TKdm+0Pz+YiNTsg4tMrXOhCuoOEd1X1ir0ezH8lTEWP4CrJBubQtSU6qxA
20
- PPSnawMkRYaJF1u5PPAzPcHh1x36TdoExxGBOw9QVPj4lMH+McuUx6evRH2X7cMy
21
- uupNsrUgl9THowfdpFY5mC7fKdEDlqPbxx5+lgIwq8jbD35Ot9ye3LteeAB7322V
22
- QFyO6ZGUyACKEAM/Q2AE0AjzGfg0t5zGcomrnoCufWRI1fM8DlCApOJUYe5VOLpQ
23
- 7wCCmLpZMTgQxxR3MS4hRZGaZj8CAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQUPPs1t4iWiz8g8k0HPxoP46JN9+0wJgYD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Vv1isK2RPjbMLkET9OYh9Xx9M18vI3cxWiM5N4E2q6sfWRletrWM4uiohIRxyhk
22
+ hv7gHgEu6xjE+UEDAgMBAAGjgYowgYcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
23
+ HQYDVR0OBBYEFCzi5snPOXjTlkvbVVod1NB7xbydMCYGA1UdEQQfMB2BG2dlbW1h
24
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTAmBgNVHRIEHzAdgRtnZW1tYXN0ZXJAamFt
25
+ ZXNyb2JlcnRzb24uZXUwDQYJKoZIhvcNAQEFBQADggEBADY6Z8+oaP0K4Sz114tg
26
+ XHLMlkdr3HkhfivKBTPIKD2DGqEzE4L2K/9kkbCFumZMQ6qeqWu/EDUFT88KuHLJ
27
+ bTxzV/3Q7vIKBMtWp/MXPHL46NZpVskA8rT0uRb2/4oaGivqtuNJbmTrQqaOvU7f
28
+ EPUHFtX4OgxtG96jXzURGTXZClfidGZpspzWLw/VmMqR5mwUGudkyiaVhlHeuSd8
29
+ gU0CEMLTXjmEUT29lhqCBON5dewnMug5FJYyMk1akHVwju56nZ5hGZkbo/GwACuv
30
+ MYLa5WKXgvyHCEFWxuHLLWy9TVmmDVnrG8dqQpDAcJxW0D6FVLgIjze22yE2JG1l
31
+ hu0=
33
32
  -----END CERTIFICATE-----
34
- date: 2017-08-31 00:00:00.000000000 Z
33
+ date: 2018-04-14 00:00:00.000000000 Z
35
34
  dependencies:
36
- - !ruby/object:Gem::Dependency
37
- name: rexle
38
- requirement: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '1.4'
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: 1.4.7
46
- type: :runtime
47
- prerelease: false
48
- version_requirements: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - "~>"
51
- - !ruby/object:Gem::Version
52
- version: '1.4'
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: 1.4.7
56
- - !ruby/object:Gem::Dependency
57
- name: rexle-builder
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '0.3'
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- version: 0.3.7
66
- type: :runtime
67
- prerelease: false
68
- version_requirements: !ruby/object:Gem::Requirement
69
- requirements:
70
- - - "~>"
71
- - !ruby/object:Gem::Version
72
- version: '0.3'
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 0.3.7
76
35
  - !ruby/object:Gem::Dependency
77
36
  name: polyrex-schema
78
37
  requirement: !ruby/object:Gem::Requirement
79
38
  requirements:
80
39
  - - "~>"
81
40
  - !ruby/object:Gem::Version
82
- version: '0.4'
41
+ version: '0.5'
83
42
  - - ">="
84
43
  - !ruby/object:Gem::Version
85
- version: 0.4.2
44
+ version: 0.5.1
86
45
  type: :runtime
87
46
  prerelease: false
88
47
  version_requirements: !ruby/object:Gem::Requirement
89
48
  requirements:
90
49
  - - "~>"
91
50
  - !ruby/object:Gem::Version
92
- version: '0.4'
51
+ version: '0.5'
93
52
  - - ">="
94
53
  - !ruby/object:Gem::Version
95
- version: 0.4.2
54
+ version: 0.5.1
96
55
  description:
97
56
  email: james@jamesrobertson.eu
98
57
  executables: []
@@ -120,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
79
  version: '0'
121
80
  requirements: []
122
81
  rubyforge_project:
123
- rubygems_version: 2.6.8
82
+ rubygems_version: 2.6.13
124
83
  signing_key:
125
84
  specification_version: 4
126
85
  summary: Builds a Polyrex structure from an array of Hash objects representing summary
metadata.gz.sig CHANGED
Binary file