metanorma-standoc 1.3.5 → 1.3.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79db51fbd661a4c2ed28f283a6a14c7360c533ea6e27acde67e46d6f08fc6c82
4
- data.tar.gz: 801c1134d49a110307984e6fa13377d0120514f2e62e1a9a37597037a722ddf9
3
+ metadata.gz: 804da6a0cd7fbb0bf6fb9ec3b96f2ebdfba1c2c2cfe495a0f8163a7aa00ba2b6
4
+ data.tar.gz: a83e9da845f9a0424e1d357238ad8729aa5f6a4a846582b7536f23df90f92410
5
5
  SHA512:
6
- metadata.gz: 1358896f65017f63484f11f07747f13df81265143f52da50046d3cc0477f18b488db49457c903773824a68b650ff021571ff98c86fba95373236de88da687a9e
7
- data.tar.gz: befa8dd7f5c9cafb8bb573b4f25c92dde9a6f0e9a8107b3e29c5d15d8aa88e427f159a3f9460fe2065d4f25d2df015dce12b402ff1e858062938ccedbf39118c
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.5)
4
+ metanorma-standoc (1.3.6)
5
5
  asciidoctor (~> 1.5.7)
6
6
  concurrent-ruby
7
- html2doc (~> 0.8.11)
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.8)
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.8.14)
56
- asciimath (~> 1.0.7)
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.5)
67
+ isodoc (1.0.6)
68
68
  asciimath
69
- html2doc (~> 0.8.11)
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.6)
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.9)
124
+ relaton-bib (0.3.11)
125
125
  addressable
126
126
  nokogiri
127
- relaton-gb (0.6.5)
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.8)
131
+ relaton-iec (0.4.9)
132
132
  addressable
133
133
  relaton-iso-bib (~> 0.3.0)
134
- relaton-ietf (0.6.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.7)
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.9)
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.5)
145
+ relaton-itu (0.3.6)
146
146
  relaton-iso-bib (~> 0.3.0)
147
- relaton-nist (0.3.6)
147
+ relaton-nist (0.3.7)
148
148
  relaton-bib (~> 0.3.0)
149
149
  rubyzip
150
- relaton-ogc (0.1.2)
150
+ relaton-ogc (0.1.3)
151
151
  faraday
152
152
  relaton-iso-bib (~> 0.3.0)
153
153
  roman-numerals (0.3.0)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Standoc
3
- VERSION = "1.3.5".freeze
3
+ VERSION = "1.3.6".freeze
4
4
  end
5
5
  end
@@ -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.8.11"
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