metanorma-standoc 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/base.rb +61 -22
- data/lib/metanorma/standoc/blocks.rb +3 -3
- data/lib/metanorma/standoc/cleanup_boilerplate.rb +3 -3
- data/lib/metanorma/standoc/cleanup_ref.rb +31 -2
- data/lib/metanorma/standoc/cleanup_ref_dl.rb +20 -16
- data/lib/metanorma/standoc/cleanup_section.rb +1 -1
- data/lib/metanorma/standoc/cleanup_terms_designations.rb +4 -2
- data/lib/metanorma/standoc/cleanup_xref.rb +70 -8
- data/lib/metanorma/standoc/converter.rb +1 -0
- data/lib/metanorma/standoc/inline.rb +21 -12
- data/lib/metanorma/standoc/isodoc.rng +63 -3
- data/lib/metanorma/standoc/macros.rb +13 -1
- data/lib/metanorma/standoc/macros_embed.rb +1 -1
- data/lib/metanorma/standoc/ref.rb +5 -6
- data/lib/metanorma/standoc/render.rb +7 -3
- data/lib/metanorma/standoc/table.rb +8 -10
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +2 -1
- data/lib/metanorma/standoc/utils.rb +3 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/spec/metanorma/base_spec.rb +1 -1
- data/spec/metanorma/cleanup_spec.rb +10 -10
- data/spec/metanorma/cleanup_terms_spec.rb +1 -1
- data/spec/metanorma/inline_spec.rb +31 -0
- data/spec/metanorma/macros_plantuml_spec.rb +41 -42
- data/spec/metanorma/macros_spec.rb +138 -2
- data/spec/metanorma/processor_spec.rb +17 -13
- data/spec/metanorma/refs_spec.rb +129 -2
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +45 -45
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +10 -10
- data/spec/vcr_cassettes/hide_refs.yml +39 -39
- data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_123_1.yml +23 -23
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +28 -28
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +11 -11
- data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +18 -18
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +75 -65
- metadata +2 -2
@@ -41,29 +41,29 @@ http_interactions:
|
|
41
41
|
X-Xss-Protection:
|
42
42
|
- 1; mode=block
|
43
43
|
X-Github-Request-Id:
|
44
|
-
-
|
44
|
+
- C1FA:08F6:267A1D:3B69E0:6225842F
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
- Mon, 07
|
48
|
+
- Mon, 07 Mar 2022 04:03:59 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11228-MEL
|
53
53
|
X-Cache:
|
54
|
-
-
|
54
|
+
- HIT
|
55
55
|
X-Cache-Hits:
|
56
|
-
- '
|
56
|
+
- '1'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1646625839.382427,VS0,VE445
|
59
59
|
Vary:
|
60
60
|
- Authorization,Accept-Encoding,Origin
|
61
61
|
Access-Control-Allow-Origin:
|
62
62
|
- "*"
|
63
63
|
X-Fastly-Request-Id:
|
64
|
-
-
|
64
|
+
- 12addc88fcd96bcfe5cda1cb81d41cb8786b9401
|
65
65
|
Expires:
|
66
|
-
- Mon, 07
|
66
|
+
- Mon, 07 Mar 2022 04:08:59 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
@@ -84,7 +84,7 @@ http_interactions:
|
|
84
84
|
<seriesInfo name='DOI' value='10.17487/RFC8341'/>
|
85
85
|
</reference>
|
86
86
|
http_version:
|
87
|
-
recorded_at: Mon, 07
|
87
|
+
recorded_at: Mon, 07 Mar 2022 04:03:59 GMT
|
88
88
|
- request:
|
89
89
|
method: get
|
90
90
|
uri: https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml
|
@@ -126,29 +126,29 @@ http_interactions:
|
|
126
126
|
X-Xss-Protection:
|
127
127
|
- 1; mode=block
|
128
128
|
X-Github-Request-Id:
|
129
|
-
-
|
129
|
+
- C1FA:08F6:267A1D:3B69E0:6225842F
|
130
130
|
Accept-Ranges:
|
131
131
|
- bytes
|
132
132
|
Date:
|
133
|
-
- Mon, 07
|
133
|
+
- Mon, 07 Mar 2022 04:03:59 GMT
|
134
134
|
Via:
|
135
135
|
- 1.1 varnish
|
136
136
|
X-Served-By:
|
137
|
-
- cache-
|
137
|
+
- cache-mel11278-MEL
|
138
138
|
X-Cache:
|
139
|
-
-
|
139
|
+
- MISS
|
140
140
|
X-Cache-Hits:
|
141
|
-
- '
|
141
|
+
- '0'
|
142
142
|
X-Timer:
|
143
|
-
-
|
143
|
+
- S1646625839.379929,VS0,VE448
|
144
144
|
Vary:
|
145
145
|
- Authorization,Accept-Encoding,Origin
|
146
146
|
Access-Control-Allow-Origin:
|
147
147
|
- "*"
|
148
148
|
X-Fastly-Request-Id:
|
149
|
-
-
|
149
|
+
- f59921294c00ec4badc5e0216a4b225ab7b37056
|
150
150
|
Expires:
|
151
|
-
- Mon, 07
|
151
|
+
- Mon, 07 Mar 2022 04:08:59 GMT
|
152
152
|
Source-Age:
|
153
153
|
- '0'
|
154
154
|
body:
|
@@ -169,5 +169,5 @@ http_interactions:
|
|
169
169
|
<seriesInfo name='DOI' value='10.17487/RFC8341'/>
|
170
170
|
</reference>
|
171
171
|
http_version:
|
172
|
-
recorded_at: Mon, 07
|
172
|
+
recorded_at: Mon, 07 Mar 2022 04:03:59 GMT
|
173
173
|
recorded_with: VCR 5.0.0
|