prosereflect 0.1.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.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/rake.yml +15 -0
  3. data/.github/workflows/release.yml +25 -0
  4. data/.gitignore +12 -0
  5. data/.rubocop.yml +1 -0
  6. data/.rubocop_todo.yml +228 -0
  7. data/CODE_OF_CONDUCT.md +132 -0
  8. data/Gemfile +10 -0
  9. data/README.adoc +268 -0
  10. data/Rakefile +12 -0
  11. data/debug_loading.rb +34 -0
  12. data/lib/prosereflect/document.rb +63 -0
  13. data/lib/prosereflect/hard_break.rb +22 -0
  14. data/lib/prosereflect/node.rb +77 -0
  15. data/lib/prosereflect/paragraph.rb +50 -0
  16. data/lib/prosereflect/parser.rb +56 -0
  17. data/lib/prosereflect/table.rb +64 -0
  18. data/lib/prosereflect/table_cell.rb +37 -0
  19. data/lib/prosereflect/table_row.rb +32 -0
  20. data/lib/prosereflect/text.rb +37 -0
  21. data/lib/prosereflect/version.rb +5 -0
  22. data/lib/prosereflect.rb +17 -0
  23. data/prosereflect.gemspec +33 -0
  24. data/sig/prosemirror.rbs +4 -0
  25. data/spec/fixtures/ituob-1000/ituob-1000-DP.json +366 -0
  26. data/spec/fixtures/ituob-1000/ituob-1000-DP.yaml +182 -0
  27. data/spec/fixtures/ituob-1000/ituob-1000-E118_IIN.json +381 -0
  28. data/spec/fixtures/ituob-1000/ituob-1000-E118_IIN.yaml +182 -0
  29. data/spec/fixtures/ituob-1000/ituob-1000-E164_ACN.json +203 -0
  30. data/spec/fixtures/ituob-1000/ituob-1000-E164_ACN.yaml +98 -0
  31. data/spec/fixtures/ituob-1000/ituob-1000-E212_MNC.json +202 -0
  32. data/spec/fixtures/ituob-1000/ituob-1000-E212_MNC.yaml +101 -0
  33. data/spec/fixtures/ituob-1000/ituob-1000-F32_TDI.json +6948 -0
  34. data/spec/fixtures/ituob-1000/ituob-1000-F32_TDI.yaml +3519 -0
  35. data/spec/fixtures/ituob-1000/ituob-1000-M1400_ICC.json +529 -0
  36. data/spec/fixtures/ituob-1000/ituob-1000-M1400_ICC.yaml +263 -0
  37. data/spec/fixtures/ituob-1000/ituob-1000-NNP.json +288 -0
  38. data/spec/fixtures/ituob-1000/ituob-1000-NNP.yaml +152 -0
  39. data/spec/fixtures/ituob-1000/ituob-1000-Q708_ISPC.json +1534 -0
  40. data/spec/fixtures/ituob-1000/ituob-1000-Q708_ISPC.yaml +789 -0
  41. data/spec/fixtures/ituob-1000/ituob-1000-Q708_SANC.json +252 -0
  42. data/spec/fixtures/ituob-1000/ituob-1000-Q708_SANC.yaml +123 -0
  43. data/spec/fixtures/ituob-1000/ituob-1000-R_SP_LM.V.json +428 -0
  44. data/spec/fixtures/ituob-1000/ituob-1000-R_SP_LM.V.yaml +208 -0
  45. data/spec/fixtures/ituob-1000/ituob-1000-T35_NA.json +621 -0
  46. data/spec/fixtures/ituob-1000/ituob-1000-T35_NA.yaml +317 -0
  47. data/spec/fixtures/ituob-1001/ituob-1001-DP.json +532 -0
  48. data/spec/fixtures/ituob-1001/ituob-1001-DP.yaml +266 -0
  49. data/spec/fixtures/ituob-1001/ituob-1001-E118_IIN.json +1093 -0
  50. data/spec/fixtures/ituob-1001/ituob-1001-E118_IIN.yaml +519 -0
  51. data/spec/fixtures/ituob-1001/ituob-1001-E164_ACN.json +449 -0
  52. data/spec/fixtures/ituob-1001/ituob-1001-E164_ACN.yaml +214 -0
  53. data/spec/fixtures/ituob-1001/ituob-1001-E164_CC.json +271 -0
  54. data/spec/fixtures/ituob-1001/ituob-1001-E164_CC.yaml +136 -0
  55. data/spec/fixtures/ituob-1001/ituob-1001-E212_MNC.json +199 -0
  56. data/spec/fixtures/ituob-1001/ituob-1001-E212_MNC.yaml +99 -0
  57. data/spec/fixtures/ituob-1001/ituob-1001-NNP.json +288 -0
  58. data/spec/fixtures/ituob-1001/ituob-1001-NNP.yaml +152 -0
  59. data/spec/fixtures/ituob-1001/ituob-1001-Q708_ISPC.json +960 -0
  60. data/spec/fixtures/ituob-1001/ituob-1001-Q708_ISPC.yaml +487 -0
  61. data/spec/prosereflect/document_spec.rb +149 -0
  62. data/spec/prosereflect/hard_break_spec.rb +51 -0
  63. data/spec/prosereflect/node_spec.rb +256 -0
  64. data/spec/prosereflect/paragraph_spec.rb +152 -0
  65. data/spec/prosereflect/parser_spec.rb +129 -0
  66. data/spec/prosereflect/table_cell_spec.rb +114 -0
  67. data/spec/prosereflect/table_row_spec.rb +77 -0
  68. data/spec/prosereflect/table_spec.rb +144 -0
  69. data/spec/prosereflect/text_spec.rb +116 -0
  70. data/spec/prosereflect/version_spec.rb +11 -0
  71. data/spec/prosereflect_spec.rb +57 -0
  72. data/spec/spec_helper.rb +21 -0
  73. data/spec/support/matchers.rb +131 -0
  74. data/spec/support/shared_examples.rb +220 -0
  75. metadata +133 -0
@@ -0,0 +1,317 @@
1
+ ---
2
+ type: doc
3
+ content:
4
+ - type: paragraph
5
+ content:
6
+ - type: text
7
+ marks:
8
+ - type: strong
9
+ text: P  7   ADD Norway
10
+ - type: paragraph
11
+ content:
12
+ - type: text
13
+ text: " "
14
+ - type: table
15
+ content:
16
+ - type: table_row
17
+ content:
18
+ - type: table_cell
19
+ attrs:
20
+ colspan: 2
21
+ rowspan: 1
22
+ colwidth:
23
+ content:
24
+ - type: paragraph
25
+ content:
26
+ - type: text
27
+ text: Norway
28
+ - type: table_row
29
+ content:
30
+ - type: table_cell
31
+ attrs:
32
+ colspan: 1
33
+ rowspan: 1
34
+ colwidth:
35
+ content:
36
+ - type: paragraph
37
+ content:
38
+ - type: text
39
+ text: 'Name of Administration:'
40
+ - type: table_cell
41
+ attrs:
42
+ colspan: 1
43
+ rowspan: 1
44
+ colwidth:
45
+ content:
46
+ - type: paragraph
47
+ content:
48
+ - type: text
49
+ text: Norwegian Post and Telecommunications Authority
50
+ - type: table_row
51
+ content:
52
+ - type: table_cell
53
+ attrs:
54
+ colspan: 2
55
+ rowspan: 1
56
+ colwidth:
57
+ content:
58
+ - type: paragraph
59
+ content:
60
+ - type: text
61
+ text: National manufacturers of H-, T- or V-Series compliant equipment?
62
+ YES
63
+ - type: table_row
64
+ content:
65
+ - type: table_cell
66
+ attrs:
67
+ colspan: 2
68
+ rowspan: 1
69
+ colwidth:
70
+ content:
71
+ - type: paragraph
72
+ content:
73
+ - type: text
74
+ text: 'Assignment authority:'
75
+ - type: table_row
76
+ content:
77
+ - type: table_cell
78
+ attrs:
79
+ colspan: 1
80
+ rowspan: 1
81
+ colwidth:
82
+ content:
83
+ - type: paragraph
84
+ content:
85
+ - type: text
86
+ text: 'Terminal Type:'
87
+ - type: table_cell
88
+ attrs:
89
+ colspan: 1
90
+ rowspan: 1
91
+ colwidth:
92
+ content:
93
+ - type: paragraph
94
+ content:
95
+ - type: text
96
+ text: H-Series
97
+ - type: table_row
98
+ content:
99
+ - type: table_cell
100
+ attrs:
101
+ colspan: 1
102
+ rowspan: 1
103
+ colwidth:
104
+ content:
105
+ - type: paragraph
106
+ content:
107
+ - type: text
108
+ text: 'Contact name:'
109
+ - type: table_cell
110
+ attrs:
111
+ colspan: 1
112
+ rowspan: 1
113
+ colwidth:
114
+ content:
115
+ - type: paragraph
116
+ content:
117
+ - type: text
118
+ text: Anne Thomassen, Hege Johnson, Johannes M Vallesverd
119
+ - type: table_row
120
+ content:
121
+ - type: table_cell
122
+ attrs:
123
+ colspan: 1
124
+ rowspan: 1
125
+ colwidth:
126
+ content:
127
+ - type: paragraph
128
+ content:
129
+ - type: text
130
+ text: 'Organization:'
131
+ - type: table_cell
132
+ attrs:
133
+ colspan: 1
134
+ rowspan: 1
135
+ colwidth:
136
+ content:
137
+ - type: paragraph
138
+ content:
139
+ - type: text
140
+ text: Norwegian Post and Telecommunications Authority
141
+ - type: table_row
142
+ content:
143
+ - type: table_cell
144
+ attrs:
145
+ colspan: 1
146
+ rowspan: 1
147
+ colwidth:
148
+ content:
149
+ - type: paragraph
150
+ content:
151
+ - type: text
152
+ text: 'Department:'
153
+ - type: table_cell
154
+ attrs:
155
+ colspan: 1
156
+ rowspan: 1
157
+ colwidth:
158
+ content:
159
+ - type: paragraph
160
+ content:
161
+ - type: text
162
+ text: Section for telephony and number management
163
+ - type: table_row
164
+ content:
165
+ - type: table_cell
166
+ attrs:
167
+ colspan: 1
168
+ rowspan: 1
169
+ colwidth:
170
+ content:
171
+ - type: paragraph
172
+ content:
173
+ - type: text
174
+ text: 'Address:'
175
+ - type: table_cell
176
+ attrs:
177
+ colspan: 1
178
+ rowspan: 1
179
+ colwidth:
180
+ content:
181
+ - type: paragraph
182
+ content:
183
+ - type: text
184
+ text: Postbox 93, 4791 Lillesand, Norway
185
+ - type: table_row
186
+ content:
187
+ - type: table_cell
188
+ attrs:
189
+ colspan: 1
190
+ rowspan: 1
191
+ colwidth:
192
+ content:
193
+ - type: paragraph
194
+ content:
195
+ - type: text
196
+ text: 'Telephone:'
197
+ - type: table_cell
198
+ attrs:
199
+ colspan: 1
200
+ rowspan: 1
201
+ colwidth:
202
+ content:
203
+ - type: paragraph
204
+ content:
205
+ - type: text
206
+ text: "+ 47 22 82 46 00"
207
+ - type: table_row
208
+ content:
209
+ - type: table_cell
210
+ attrs:
211
+ colspan: 1
212
+ rowspan: 1
213
+ colwidth:
214
+ content:
215
+ - type: paragraph
216
+ content:
217
+ - type: text
218
+ text: 'Fax:'
219
+ - type: table_cell
220
+ attrs:
221
+ colspan: 1
222
+ rowspan: 1
223
+ colwidth:
224
+ content:
225
+ - type: paragraph
226
+ content:
227
+ - type: text
228
+ text: "+ 47 22 82 46 40"
229
+ - type: table_row
230
+ content:
231
+ - type: table_cell
232
+ attrs:
233
+ colspan: 1
234
+ rowspan: 1
235
+ colwidth:
236
+ content:
237
+ - type: paragraph
238
+ content:
239
+ - type: text
240
+ text: 'E-mail:'
241
+ - type: table_cell
242
+ attrs:
243
+ colspan: 1
244
+ rowspan: 1
245
+ colwidth:
246
+ content:
247
+ - type: paragraph
248
+ content:
249
+ - type: text
250
+ marks:
251
+ - type: link
252
+ attrs:
253
+ href: mailto:firmapost@npt.no
254
+ title:
255
+ text: firmapost@npt.no
256
+ - type: table_row
257
+ content:
258
+ - type: table_cell
259
+ attrs:
260
+ colspan: 1
261
+ rowspan: 1
262
+ colwidth:
263
+ content:
264
+ - type: paragraph
265
+ content:
266
+ - type: text
267
+ text: 'Related links:'
268
+ - type: table_cell
269
+ attrs:
270
+ colspan: 1
271
+ rowspan: 1
272
+ colwidth:
273
+ content:
274
+ - type: paragraph
275
+ content:
276
+ - type: text
277
+ marks:
278
+ - type: link
279
+ attrs:
280
+ href: http://www.npt.no/portal/page/portal/PG_NPT_NO_NO/PAG_NPT_NO_HOME/PAG_RESSURSER_TEKST?p_d_i=-121&p_d_c=&p_d_v=48006&menuid=11697
281
+ title:
282
+ text: http://www.npt.no/portal/page/portal/PG_NPT_NO_NO/PAG_
283
+ - type: hard_break
284
+ marks:
285
+ - type: link
286
+ attrs:
287
+ href: http://www.npt.no/portal/page/portal/PG_NPT_NO_NO/PAG_NPT_NO_HOME/PAG_RESSURSER_TEKST?p_d_i=-121&p_d_c=&p_d_v=48006&menuid=11697
288
+ title:
289
+ - type: text
290
+ marks:
291
+ - type: link
292
+ attrs:
293
+ href: http://www.npt.no/portal/page/portal/PG_NPT_NO_NO/PAG_NPT_NO_HOME/PAG_RESSURSER_TEKST?p_d_i=-121&p_d_c=&p_d_v=48006&menuid=11697
294
+ title:
295
+ text: NPT_NO_HOME/PAG_RESSURSER_TEKST?p_d_i=-121&p_d_c=&p_d_v=48006&menuid=11697
296
+ - type: table_row
297
+ content:
298
+ - type: table_cell
299
+ attrs:
300
+ colspan: 1
301
+ rowspan: 1
302
+ colwidth:
303
+ content:
304
+ - type: paragraph
305
+ content:
306
+ - type: text
307
+ text: 'Information updated:'
308
+ - type: table_cell
309
+ attrs:
310
+ colspan: 1
311
+ rowspan: 1
312
+ colwidth:
313
+ content:
314
+ - type: paragraph
315
+ content:
316
+ - type: text
317
+ text: 28.II.2012