cddl 0.8.8 → 0.10.3
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
- data/bin/cddl +35 -15
- data/cddl.gemspec +5 -2
- data/data/cddl.abnf +2 -1
- data/lib/base45_lite.rb +71 -0
- data/lib/cbor-pp-play.rb +1 -0
- data/lib/cddl.rb +406 -50
- data/test/test-cddl.rb +53 -2
- data/test-data/7807.cddl +14 -0
- data/test-data/abignum.cddl +1 -0
- data/test-data/abnf1.cddl +3 -0
- data/test-data/abnf2.cddl +37 -0
- data/test-data/abnf3.cddl +32 -0
- data/test-data/b64c-sloppy.cddl +1 -0
- data/test-data/b64c.cddl +1 -0
- data/test-data/b64u.cddl +1 -0
- data/test-data/base32.cddl +1 -0
- data/test-data/base32hex.cddl +1 -0
- data/test-data/bat.cddl +16 -0
- data/test-data/bpv7.cddl +136 -0
- data/test-data/bpv7a.cddl +181 -0
- data/test-data/bpv7b.cddl +167 -0
- data/test-data/cat-re.cddl +2 -0
- data/test-data/complex-occ.cddl +11 -0
- data/test-data/coral.cddl +10 -0
- data/test-data/coral1.cddl +5 -0
- data/test-data/coral2.cddl +7 -0
- data/test-data/coral3.cddl +7 -0
- data/test-data/decimal.cddl +1 -0
- data/test-data/decimal2.cddl +1 -0
- data/test-data/det1.cddl +12 -0
- data/test-data/feat1.cddl +4 -0
- data/test-data/feature-controller.cddl +6 -0
- data/test-data/feature-detail.cddl +5 -0
- data/test-data/foo.cddl +1 -0
- data/test-data/hex.cddl +1 -0
- data/test-data/hexlc.cddl +1 -0
- data/test-data/hexuc.cddl +1 -0
- data/test-data/homenet-de.cddl +12 -0
- data/test-data/homenet-fe.cddl +12 -0
- data/test-data/jim-cut-2.cddl +11 -0
- data/test-data/jim-cut.cddl +12 -0
- data/test-data/join.cddl +1 -0
- data/test-data/joini.cddl +1 -0
- data/test-data/joinx.cddl +1 -0
- data/test-data/json.cddl +1 -0
- data/test-data/json2.cddl +1 -0
- data/test-data/jsoniodef.cddl +719 -0
- data/test-data/lint1.cddl +9 -0
- data/test-data/mdl-ble.cddl +9 -0
- data/test-data/mdl-deve.cddl +54 -0
- data/test-data/mdl-dp.cddl +11 -0
- data/test-data/mdl-mso.cddl +20 -0
- data/test-data/mdl-request.cddl +26 -0
- data/test-data/mdl-response.cddl +66 -0
- data/test-data/mdl.cddl +11 -0
- data/test-data/mon-val.cddl +1 -0
- data/test-data/multipart-ct.cddl +2 -0
- data/test-data/named-group.cddl +7 -0
- data/test-data/non-empty.cddl +5 -0
- data/test-data/oid.cddl +8 -0
- data/test-data/oidbat.cddl +8 -0
- data/test-data/plus.cddl +3 -0
- data/test-data/sasl.cddl +24 -0
- data/test-data/sequence.cddl +1 -0
- data/test-data/sipos.cddl +8 -0
- data/test-data/star-edited.cddl +98 -0
- data/test-data/star.cddl +95 -0
- data/test-data/test-gen.cddl +3 -0
- data/test-data/time.cddl +11 -0
- data/test-data/yangid.cddl +1 -0
- data/test-data/yaron1.cddl +95 -0
- metadata +100 -8
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cddl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carsten Bormann
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cbor-diag
|
|
@@ -39,7 +39,21 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: json_pure
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: abnftt
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
|
44
58
|
requirements:
|
|
45
59
|
- - ">="
|
|
@@ -80,6 +94,20 @@ dependencies:
|
|
|
80
94
|
- - ">="
|
|
81
95
|
- !ruby/object:Gem::Version
|
|
82
96
|
version: '0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: base32
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0.3'
|
|
104
|
+
type: :runtime
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0.3'
|
|
83
111
|
description: A parser, generator, and validator for CDDL
|
|
84
112
|
email: cabo@tzi.org
|
|
85
113
|
executables:
|
|
@@ -91,41 +119,104 @@ files:
|
|
|
91
119
|
- cddl.gemspec
|
|
92
120
|
- data/cddl.abnf
|
|
93
121
|
- data/prelude.cddl
|
|
122
|
+
- lib/base45_lite.rb
|
|
94
123
|
- lib/cbor-pp-play.rb
|
|
95
124
|
- lib/cbor-pp.rb
|
|
96
125
|
- lib/cddl.rb
|
|
97
126
|
- test-data/7071-concise-cut.cddl
|
|
98
127
|
- test-data/7071-concise.cddl
|
|
99
128
|
- test-data/7071-verbose.cddl
|
|
129
|
+
- test-data/7807.cddl
|
|
100
130
|
- test-data/a.cddl
|
|
131
|
+
- test-data/abignum.cddl
|
|
132
|
+
- test-data/abnf1.cddl
|
|
133
|
+
- test-data/abnf2.cddl
|
|
134
|
+
- test-data/abnf3.cddl
|
|
101
135
|
- test-data/ambig.cddl
|
|
102
136
|
- test-data/b.cddl
|
|
137
|
+
- test-data/b64c-sloppy.cddl
|
|
138
|
+
- test-data/b64c.cddl
|
|
139
|
+
- test-data/b64u.cddl
|
|
103
140
|
- test-data/badaddr.cddl
|
|
141
|
+
- test-data/base32.cddl
|
|
142
|
+
- test-data/base32hex.cddl
|
|
104
143
|
- test-data/basic_syntax_example.cddl
|
|
144
|
+
- test-data/bat.cddl
|
|
145
|
+
- test-data/bpv7.cddl
|
|
146
|
+
- test-data/bpv7a.cddl
|
|
147
|
+
- test-data/bpv7b.cddl
|
|
148
|
+
- test-data/cat-re.cddl
|
|
105
149
|
- test-data/cdni-ct.cddl
|
|
150
|
+
- test-data/complex-occ.cddl
|
|
151
|
+
- test-data/coral.cddl
|
|
152
|
+
- test-data/coral1.cddl
|
|
153
|
+
- test-data/coral2.cddl
|
|
154
|
+
- test-data/coral3.cddl
|
|
106
155
|
- test-data/cose.cddl
|
|
107
156
|
- test-data/dcaf.cddl
|
|
108
157
|
- test-data/dcaf1.cddl
|
|
158
|
+
- test-data/decimal.cddl
|
|
159
|
+
- test-data/decimal2.cddl
|
|
160
|
+
- test-data/det1.cddl
|
|
109
161
|
- test-data/dotsize.cddl
|
|
110
162
|
- test-data/extractor-demo.cddl
|
|
163
|
+
- test-data/feat1.cddl
|
|
164
|
+
- test-data/feature-controller.cddl
|
|
165
|
+
- test-data/feature-detail.cddl
|
|
166
|
+
- test-data/foo.cddl
|
|
111
167
|
- test-data/grasp-01-extract.cddl
|
|
112
168
|
- test-data/grasp-01-test.cddl
|
|
113
169
|
- test-data/grasp-01.cddl
|
|
114
170
|
- test-data/grasp-09.cddl
|
|
115
171
|
- test-data/grasp-v1.cddl
|
|
116
172
|
- test-data/grasp-v2X.cddl
|
|
173
|
+
- test-data/hex.cddl
|
|
174
|
+
- test-data/hexlc.cddl
|
|
175
|
+
- test-data/hexuc.cddl
|
|
176
|
+
- test-data/homenet-de.cddl
|
|
177
|
+
- test-data/homenet-fe.cddl
|
|
117
178
|
- test-data/ifmap-base-2.0v17.cddl
|
|
118
179
|
- test-data/ifmap-base-2.2v9_fh-cabo.cddl
|
|
119
180
|
- test-data/ifmap-metadata-2.2v9_fh-cabo.cddl
|
|
120
181
|
- test-data/ifmap2.cddl
|
|
121
182
|
- test-data/jcr-ex.cddl
|
|
183
|
+
- test-data/jim-cut-2.cddl
|
|
184
|
+
- test-data/jim-cut.cddl
|
|
185
|
+
- test-data/join.cddl
|
|
186
|
+
- test-data/joini.cddl
|
|
187
|
+
- test-data/joinx.cddl
|
|
188
|
+
- test-data/json.cddl
|
|
189
|
+
- test-data/json2.cddl
|
|
190
|
+
- test-data/jsoniodef.cddl
|
|
122
191
|
- test-data/kevin5.cddl
|
|
192
|
+
- test-data/lint1.cddl
|
|
123
193
|
- test-data/map-group.cddl
|
|
124
194
|
- test-data/mapkey.cddl
|
|
195
|
+
- test-data/mdl-ble.cddl
|
|
196
|
+
- test-data/mdl-deve.cddl
|
|
197
|
+
- test-data/mdl-dp.cddl
|
|
198
|
+
- test-data/mdl-mso.cddl
|
|
199
|
+
- test-data/mdl-request.cddl
|
|
200
|
+
- test-data/mdl-response.cddl
|
|
201
|
+
- test-data/mdl.cddl
|
|
125
202
|
- test-data/minimal.cddl
|
|
203
|
+
- test-data/mon-val.cddl
|
|
204
|
+
- test-data/multipart-ct.cddl
|
|
205
|
+
- test-data/named-group.cddl
|
|
206
|
+
- test-data/non-empty.cddl
|
|
207
|
+
- test-data/oid.cddl
|
|
208
|
+
- test-data/oidbat.cddl
|
|
126
209
|
- test-data/patch1.cddl
|
|
210
|
+
- test-data/plus.cddl
|
|
127
211
|
- test-data/reused_named_group.cddl
|
|
212
|
+
- test-data/sasl.cddl
|
|
213
|
+
- test-data/sequence.cddl
|
|
214
|
+
- test-data/sipos.cddl
|
|
215
|
+
- test-data/star-edited.cddl
|
|
216
|
+
- test-data/star.cddl
|
|
128
217
|
- test-data/structure.cddl
|
|
218
|
+
- test-data/test-gen.cddl
|
|
219
|
+
- test-data/time.cddl
|
|
129
220
|
- test-data/toerless0.cddl
|
|
130
221
|
- test-data/toerless1.cddl
|
|
131
222
|
- test-data/two_anonymous_groups.cddl
|
|
@@ -134,12 +225,14 @@ files:
|
|
|
134
225
|
- test-data/wrong2.cddl
|
|
135
226
|
- test-data/wrong2a.cddl
|
|
136
227
|
- test-data/xmlmig.cddl
|
|
228
|
+
- test-data/yangid.cddl
|
|
229
|
+
- test-data/yaron1.cddl
|
|
137
230
|
- test/test-cddl.rb
|
|
138
231
|
homepage: http://github.com/cabo/cddl
|
|
139
232
|
licenses:
|
|
140
233
|
- MIT
|
|
141
234
|
metadata: {}
|
|
142
|
-
post_install_message:
|
|
235
|
+
post_install_message:
|
|
143
236
|
rdoc_options: []
|
|
144
237
|
require_paths:
|
|
145
238
|
- lib
|
|
@@ -154,9 +247,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
154
247
|
- !ruby/object:Gem::Version
|
|
155
248
|
version: '0'
|
|
156
249
|
requirements: []
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
signing_key:
|
|
250
|
+
rubygems_version: 3.4.6
|
|
251
|
+
signing_key:
|
|
160
252
|
specification_version: 4
|
|
161
253
|
summary: CDDL generator and validator.
|
|
162
254
|
test_files: []
|