metanorma-standoc 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -17
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +1 -1
- data/spec/asciidoctor-standoc/isobib_cache_spec.rb +6 -0
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +50 -50
- data/spec/vcr_cassettes/isobib_get_123.yml +23 -23
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +14 -14
- data/spec/vcr_cassettes/isobib_get_124.yml +220 -12
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +2 -2
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +39 -37
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 804da6a0cd7fbb0bf6fb9ec3b96f2ebdfba1c2c2cfe495a0f8163a7aa00ba2b6
|
4
|
+
data.tar.gz: a83e9da845f9a0424e1d357238ad8729aa5f6a4a846582b7536f23df90f92410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd5460a4a0f27b5e4452f71f3444092e81e45187b5011e7e6d815f80594957f1e3aa9851adee53bcfa7047066ed945c7f46f0c0b8c7645e153682491319070c8
|
7
|
+
data.tar.gz: 11f9fdee478b91fca447bc75fd6da139a836ab39c5e66c5d1c90f0ab50ca359d9fc52191c6ce8e1d5c743a605b9b184ea2d0e709f5a4fe2d36fca023a0b045d3
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
metanorma-standoc (1.3.
|
4
|
+
metanorma-standoc (1.3.6)
|
5
5
|
asciidoctor (~> 1.5.7)
|
6
6
|
concurrent-ruby
|
7
|
-
html2doc (~> 0.
|
7
|
+
html2doc (~> 0.9.0)
|
8
8
|
iev (~> 0.2.1)
|
9
9
|
isodoc (~> 1.0.0)
|
10
10
|
mimemagic
|
@@ -20,7 +20,7 @@ GEM
|
|
20
20
|
addressable (2.7.0)
|
21
21
|
public_suffix (>= 2.0.2, < 5.0)
|
22
22
|
asciidoctor (1.5.8)
|
23
|
-
asciimath (1.0.
|
23
|
+
asciimath (1.0.9)
|
24
24
|
ast (2.4.0)
|
25
25
|
byebug (11.0.1)
|
26
26
|
cnccs (0.1.5)
|
@@ -52,8 +52,8 @@ GEM
|
|
52
52
|
guard-compat (~> 1.1)
|
53
53
|
rspec (>= 2.99.0, < 4.0)
|
54
54
|
hashdiff (1.0.0)
|
55
|
-
html2doc (0.
|
56
|
-
asciimath (~> 1.0.
|
55
|
+
html2doc (0.9.0)
|
56
|
+
asciimath (~> 1.0.9)
|
57
57
|
htmlentities (~> 4.3.4)
|
58
58
|
image_size
|
59
59
|
mime-types
|
@@ -64,9 +64,9 @@ GEM
|
|
64
64
|
iev (0.2.3)
|
65
65
|
nokogiri (>= 1.10.4)
|
66
66
|
image_size (2.0.2)
|
67
|
-
isodoc (1.0.
|
67
|
+
isodoc (1.0.6)
|
68
68
|
asciimath
|
69
|
-
html2doc (~> 0.
|
69
|
+
html2doc (~> 0.9.0)
|
70
70
|
htmlentities (~> 4.3.4)
|
71
71
|
liquid
|
72
72
|
metanorma (~> 0.3.0)
|
@@ -113,7 +113,7 @@ GEM
|
|
113
113
|
rb-fsevent (0.10.3)
|
114
114
|
rb-inotify (0.10.0)
|
115
115
|
ffi (~> 1.0)
|
116
|
-
relaton (0.5.
|
116
|
+
relaton (0.5.9)
|
117
117
|
relaton-gb (~> 0.6.0)
|
118
118
|
relaton-iec (~> 0.4.0)
|
119
119
|
relaton-ietf (~> 0.6.0)
|
@@ -121,33 +121,33 @@ GEM
|
|
121
121
|
relaton-itu (~> 0.3.0)
|
122
122
|
relaton-nist (~> 0.3.0)
|
123
123
|
relaton-ogc (~> 0.1.0)
|
124
|
-
relaton-bib (0.3.
|
124
|
+
relaton-bib (0.3.11)
|
125
125
|
addressable
|
126
126
|
nokogiri
|
127
|
-
relaton-gb (0.6.
|
127
|
+
relaton-gb (0.6.6)
|
128
128
|
cnccs (~> 0.1.1)
|
129
129
|
gb-agencies (~> 0.0.1)
|
130
130
|
relaton-iso-bib (~> 0.3.0)
|
131
|
-
relaton-iec (0.4.
|
131
|
+
relaton-iec (0.4.9)
|
132
132
|
addressable
|
133
133
|
relaton-iso-bib (~> 0.3.0)
|
134
|
-
relaton-ietf (0.6.
|
134
|
+
relaton-ietf (0.6.7)
|
135
135
|
relaton-bib (~> 0.3.0)
|
136
136
|
relaton-iev (0.1.1)
|
137
137
|
relaton (~> 0.5.0)
|
138
|
-
relaton-iso (0.6.
|
138
|
+
relaton-iso (0.6.8)
|
139
139
|
relaton-iec (~> 0.4.0)
|
140
140
|
relaton-iso-bib (~> 0.3.0)
|
141
|
-
relaton-iso-bib (0.3.
|
141
|
+
relaton-iso-bib (0.3.11)
|
142
142
|
isoics (~> 0.1.6)
|
143
143
|
relaton-bib (~> 0.3.0)
|
144
144
|
ruby_deep_clone (~> 0.8.0)
|
145
|
-
relaton-itu (0.3.
|
145
|
+
relaton-itu (0.3.6)
|
146
146
|
relaton-iso-bib (~> 0.3.0)
|
147
|
-
relaton-nist (0.3.
|
147
|
+
relaton-nist (0.3.7)
|
148
148
|
relaton-bib (~> 0.3.0)
|
149
149
|
rubyzip
|
150
|
-
relaton-ogc (0.1.
|
150
|
+
relaton-ogc (0.1.3)
|
151
151
|
faraday
|
152
152
|
relaton-iso-bib (~> 0.3.0)
|
153
153
|
roman-numerals (0.3.0)
|
data/metanorma-standoc.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_dependency "relaton-iev", "~> 0.1.0"
|
35
35
|
spec.add_dependency "sterile", "~> 1.0.14"
|
36
36
|
spec.add_dependency "concurrent-ruby"
|
37
|
-
spec.add_dependency "html2doc", "~> 0.
|
37
|
+
spec.add_dependency "html2doc", "~> 0.9.0"
|
38
38
|
spec.add_dependency "unicode2latex", "~> 0.0.1"
|
39
39
|
spec.add_dependency "mimemagic"
|
40
40
|
|
@@ -599,6 +599,7 @@ EOS
|
|
599
599
|
end
|
600
600
|
|
601
601
|
it "does not expire stale dated references" do
|
602
|
+
VCR.use_cassette "isobib_get_123_2001" do
|
602
603
|
FileUtils.rm_rf File.expand_path("~/.relaton-bib.pstore1")
|
603
604
|
FileUtils.mv File.expand_path("~/.relaton/cache"), File.expand_path("~/.relaton-bib.pstore1"), force: true
|
604
605
|
|
@@ -628,9 +629,12 @@ EOS
|
|
628
629
|
|
629
630
|
FileUtils.rm_rf File.expand_path("~/.relaton/cache")
|
630
631
|
FileUtils.mv File.expand_path("~/.relaton-bib.pstore1"), File.expand_path("~/.relaton/cache"), force: true
|
632
|
+
end
|
631
633
|
end
|
632
634
|
|
633
635
|
it "prioritises local over global cache values" do
|
636
|
+
VCR.use_cassette "isobib_get_123_2001" do
|
637
|
+
VCR.use_cassette "isobib_get_124" do
|
634
638
|
FileUtils.rm_rf File.expand_path("~/.relaton-bib.pstore1")
|
635
639
|
FileUtils.mv File.expand_path("~/.relaton/cache"), File.expand_path("~/.relaton-bib.pstore1"), force: true
|
636
640
|
FileUtils.rm_rf "relaton/cache"
|
@@ -675,6 +679,8 @@ EOS
|
|
675
679
|
FileUtils.rm_rf File.expand_path("~/.relaton/cache")
|
676
680
|
FileUtils.mv File.expand_path("~/.relaton-bib.pstore1"), File.expand_path("~/.relaton/cache"), force: true
|
677
681
|
end
|
682
|
+
end
|
683
|
+
end
|
678
684
|
|
679
685
|
private
|
680
686
|
|