metanorma-standoc 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metanorma/standoc/base.rb +3 -1
  3. data/lib/metanorma/standoc/biblio.rng +32 -34
  4. data/lib/metanorma/standoc/blocks.rb +8 -3
  5. data/lib/metanorma/standoc/blocks_notes.rb +3 -0
  6. data/lib/metanorma/standoc/cleanup.rb +1 -0
  7. data/lib/metanorma/standoc/cleanup_footnotes.rb +14 -9
  8. data/lib/metanorma/standoc/cleanup_inline.rb +17 -0
  9. data/lib/metanorma/standoc/cleanup_terms.rb +3 -1
  10. data/lib/metanorma/standoc/cleanup_text.rb +9 -4
  11. data/lib/metanorma/standoc/converter.rb +2 -0
  12. data/lib/metanorma/standoc/isodoc.rng +9 -0
  13. data/lib/metanorma/standoc/lists.rb +8 -3
  14. data/lib/metanorma/standoc/macros.rb +28 -1
  15. data/lib/metanorma/standoc/macros_note.rb +1 -6
  16. data/lib/metanorma/standoc/version.rb +1 -1
  17. data/metanorma-standoc.gemspec +1 -1
  18. data/spec/metanorma/base_spec.rb +41 -5
  19. data/spec/metanorma/blocks_spec.rb +53 -1
  20. data/spec/metanorma/cleanup_sections_spec.rb +5 -5
  21. data/spec/metanorma/cleanup_spec.rb +5 -5
  22. data/spec/metanorma/cleanup_terms_spec.rb +1 -1
  23. data/spec/metanorma/inline_spec.rb +3 -3
  24. data/spec/metanorma/lists_spec.rb +10 -4
  25. data/spec/metanorma/macros_spec.rb +21 -12
  26. data/spec/metanorma/refs_spec.rb +1 -1
  27. data/spec/metanorma/table_spec.rb +24 -6
  28. data/spec/spec_helper.rb +1 -1
  29. data/spec/vcr_cassettes/bsi16341.yml +64 -64
  30. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +83 -83
  31. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +10 -10
  32. data/spec/vcr_cassettes/hide_refs.yml +55 -55
  33. data/spec/vcr_cassettes/isobib_get_123.yml +13 -13
  34. data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
  35. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +33 -33
  36. data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
  37. data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
  38. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +14 -14
  39. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +47 -49
  40. data/spec/vcr_cassettes/std-link.yml +12 -12
  41. metadata +7 -8
  42. data/docs/quickstart.adoc +0 -375
@@ -41,29 +41,29 @@ http_interactions:
41
41
  X-Xss-Protection:
42
42
  - 1; mode=block
43
43
  X-Github-Request-Id:
44
- - 13A4:0621:13A70D:1A1D60:626AA2C5
44
+ - B2D8:30CD:13DB4:1A3A3:6283A8E9
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Thu, 28 Apr 2022 14:20:54 GMT
48
+ - Tue, 17 May 2022 13:53:46 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-mel11220-MEL
52
+ - cache-mel11223-MEL
53
53
  X-Cache:
54
54
  - MISS
55
55
  X-Cache-Hits:
56
56
  - '0'
57
57
  X-Timer:
58
- - S1651155654.656895,VS0,VE460
58
+ - S1652795626.617154,VS0,VE407
59
59
  Vary:
60
60
  - Authorization,Accept-Encoding,Origin
61
61
  Access-Control-Allow-Origin:
62
62
  - "*"
63
63
  X-Fastly-Request-Id:
64
- - 9d9d7ed25260798a8cfd21f9f57e7e6507244354
64
+ - b270fd8236a703665ca7c424ebc3ed934e05798a
65
65
  Expires:
66
- - Thu, 28 Apr 2022 14:25:54 GMT
66
+ - Tue, 17 May 2022 13:58:46 GMT
67
67
  Source-Age:
68
68
  - '0'
69
69
  body:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  <seriesInfo name='RFC' value='8341'/>
84
84
  <seriesInfo name='DOI' value='10.17487/RFC8341'/>
85
85
  </reference>
86
- recorded_at: Thu, 28 Apr 2022 14:20:54 GMT
86
+ recorded_at: Tue, 17 May 2022 13:53:45 GMT
87
87
  - request:
88
88
  method: get
89
89
  uri: https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml
@@ -125,29 +125,29 @@ http_interactions:
125
125
  X-Xss-Protection:
126
126
  - 1; mode=block
127
127
  X-Github-Request-Id:
128
- - 13A4:0621:13A70D:1A1D60:626AA2C5
128
+ - B2D8:30CD:13DB4:1A3A3:6283A8E9
129
129
  Accept-Ranges:
130
130
  - bytes
131
131
  Date:
132
- - Thu, 28 Apr 2022 14:20:54 GMT
132
+ - Tue, 17 May 2022 13:53:46 GMT
133
133
  Via:
134
134
  - 1.1 varnish
135
135
  X-Served-By:
136
- - cache-mel11223-MEL
136
+ - cache-mel11268-MEL
137
137
  X-Cache:
138
138
  - HIT
139
139
  X-Cache-Hits:
140
140
  - '1'
141
141
  X-Timer:
142
- - S1651155654.656669,VS0,VE460
142
+ - S1652795626.624661,VS0,VE405
143
143
  Vary:
144
144
  - Authorization,Accept-Encoding,Origin
145
145
  Access-Control-Allow-Origin:
146
146
  - "*"
147
147
  X-Fastly-Request-Id:
148
- - e4c5f7f9bb15de30eeb686e1cf38db2ce483a09e
148
+ - 6f23e5c52acf11ad2b5590e23232cbc0ef942009
149
149
  Expires:
150
- - Thu, 28 Apr 2022 14:25:54 GMT
150
+ - Tue, 17 May 2022 13:58:46 GMT
151
151
  Source-Age:
152
152
  - '0'
153
153
  body:
@@ -167,5 +167,5 @@ http_interactions:
167
167
  <seriesInfo name='RFC' value='8341'/>
168
168
  <seriesInfo name='DOI' value='10.17487/RFC8341'/>
169
169
  </reference>
170
- recorded_at: Thu, 28 Apr 2022 14:20:54 GMT
170
+ recorded_at: Tue, 17 May 2022 13:53:45 GMT
171
171
  recorded_with: VCR 6.1.0