polyrex-builder 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/polyrex-builder.rb +5 -3
- data.tar.gz.sig +0 -0
- metadata +26 -67
- 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: 12a3aaf07893535f8fab069d09ac20da95eb8c08
|
4
|
+
data.tar.gz: 60e2ee49eb1cf79482815d5fcb1225f901201cff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1468b2c019e1d824f591f1c982066c8d60d6e350a8c0de474f67beca929b88d269554721f9e8a87f06afd4d0ef9961eccb8a54670a2d60a7597d30dc6b872fb4
|
7
|
+
data.tar.gz: 542b283da565e5e397fa16131da17ba8b4d5e18b38df88cf9d745ea2f63704397ccb3bdc47d3c0ffac9680ef63e5af143baf0d23f62d8f006534a4c9732ea1ca
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/polyrex-builder.rb
CHANGED
@@ -10,14 +10,16 @@ require 'polyrex-schema'
|
|
10
10
|
|
11
11
|
class PolyrexBuilder
|
12
12
|
|
13
|
-
def initialize(rows=[], parents: [], summary: {},
|
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
|
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.
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
QqTXvYtpJUuNHQ==
|
13
|
+
MIIDXjCCAkagAwIBAgIBATANBgkqhkiG9w0BAQUFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwNDE0MTQ0MDUyWhcN
|
15
|
+
MTkwNDE0MTQ0MDUyWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC4yGC2
|
17
|
+
5e9h7y6sy1TNeFDTcaxZMohdUz9er8u3rJFKCtBwa7FquCJ4ab7mRD/XUJ9R3+y5
|
18
|
+
RqtjdBP7Z6DSogBNYTF1s7PqrYrpBChO4+y/JgXhdc8CmdAbvvNjxZLIan4g4sHH
|
19
|
+
M5STjMbSYFrf8+nnCXCPtN3el6FT7ooVfYtKJxkJWDKA3N37azdodESMuvTKotd3
|
20
|
+
dUw0EJhyGMcGi+Dt5H6D1qlgbQZ5V29vVeNd1yz5O+asVe5G6ZiwdwevGv5Zfo9b
|
21
|
+
iVv1isK2RPjbMLkET9OYh9Xx9M18vI3cxWiM5N4E2q6sfWRletrWM4uiohIRxyhk
|
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:
|
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.
|
41
|
+
version: '0.5'
|
83
42
|
- - ">="
|
84
43
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.
|
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.
|
51
|
+
version: '0.5'
|
93
52
|
- - ">="
|
94
53
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
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.
|
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
|