metanorma-standoc 2.0.2 → 2.0.3
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 +1 -1
- data/lib/metanorma/standoc/basicdoc.rng +5 -3
- data/lib/metanorma/standoc/biblio.rng +5 -3
- data/lib/metanorma/standoc/cleanup_image.rb +117 -3
- data/lib/metanorma/standoc/cleanup_ref.rb +1 -1
- data/lib/metanorma/standoc/cleanup_section.rb +1 -1
- data/lib/metanorma/standoc/cleanup_xref.rb +12 -5
- data/lib/metanorma/standoc/isodoc.rng +10 -0
- data/lib/metanorma/standoc/ref.rb +6 -1
- data/lib/metanorma/standoc/ref_utility.rb +2 -1
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +8 -6
- data/lib/metanorma/standoc/terms.rb +10 -7
- data/lib/metanorma/standoc/validate.rb +7 -2
- data/lib/metanorma/standoc/version.rb +1 -1
- data/spec/metanorma/cleanup_blocks_spec.rb +136 -0
- data/spec/metanorma/cleanup_spec.rb +3 -3
- data/spec/metanorma/isobib_cache_spec.rb +2 -2
- data/spec/metanorma/macros_spec.rb +61 -0
- data/spec/metanorma/refs_spec.rb +505 -460
- data/spec/metanorma/section_spec.rb +1 -1
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +46 -46
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
- data/spec/vcr_cassettes/hide_refs.yml +98 -98
- data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +35 -35
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +14 -14
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +61 -51
- 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
|
+
- A152:1CCB:C9BA2:4A383D:62007811
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
- Mon,
|
48
|
+
- Mon, 07 Feb 2022 01:38:26 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11283-MEL
|
53
53
|
X-Cache:
|
54
54
|
- MISS
|
55
55
|
X-Cache-Hits:
|
56
56
|
- '0'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1644197906.601813,VS0,VE412
|
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
|
+
- 1d695eee270f4e82f6483bdf7c1b757893d232e0
|
65
65
|
Expires:
|
66
|
-
- Mon,
|
66
|
+
- Mon, 07 Feb 2022 01:43:26 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,
|
87
|
+
recorded_at: Mon, 07 Feb 2022 01:38:25 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
|
+
- A152:1CCB:C9BA2:4A383D:62007811
|
130
130
|
Accept-Ranges:
|
131
131
|
- bytes
|
132
132
|
Date:
|
133
|
-
- Mon,
|
133
|
+
- Mon, 07 Feb 2022 01:38:26 GMT
|
134
134
|
Via:
|
135
135
|
- 1.1 varnish
|
136
136
|
X-Served-By:
|
137
|
-
- cache-
|
137
|
+
- cache-mel11232-MEL
|
138
138
|
X-Cache:
|
139
139
|
- HIT
|
140
140
|
X-Cache-Hits:
|
141
141
|
- '1'
|
142
142
|
X-Timer:
|
143
|
-
-
|
143
|
+
- S1644197906.601791,VS0,VE412
|
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
|
+
- bb72d7ec4a606b2103089ec7c76f2af92fb76ded
|
150
150
|
Expires:
|
151
|
-
- Mon,
|
151
|
+
- Mon, 07 Feb 2022 01:43:26 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,
|
172
|
+
recorded_at: Mon, 07 Feb 2022 01:38:25 GMT
|
173
173
|
recorded_with: VCR 5.0.0
|