isodoc 2.8.3 → 2.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15687ad47bcc4b2cb54c6c3741edaa70c3121e7331bbc72ff910fddb1876be7a
4
- data.tar.gz: c462c81e1e379953a601285a05d100e3dfd9cc4dab057b582b25b3b25f589e1b
3
+ metadata.gz: d547300e7f76850fa217db351b29144bdaaefe7cdb92db2a1d7a23850dee4064
4
+ data.tar.gz: 164441fd4b80aaf212b4faf44049aa6808d986fb8cf2182b6fa495a6e9cc8c53
5
5
  SHA512:
6
- metadata.gz: ff47bb5f4e471e5c2bca48ccd568a13391a9bdc57592e83a0e8576a470434862464930402c6bfd1fc35f313b033007feb5c08a2f599fe69d62542b6157913132
7
- data.tar.gz: 6009a79cec3e151e73556233502389838faea08389ef8a06e8c88db151fd7d1762453e5f79c66d0a3b699184c5fd5ee86da21298f6ff0dc74e97883e343f54aa
6
+ metadata.gz: d37f5c48e5ff29b62be1fbf333b21d7d0122848ce118d88da0459d2cf71e6d83e2bb4590d6c83aff54c013bc972d6241265b76e2988fa5dde2fab9b290ab3eb6
7
+ data.tar.gz: 3e4db6e54b3f7879bdb89a90744105abba3ef2f489504234e2b9c0a6206524d412bb09a4e01a8841cc4580f46f8eb06afc854b45ebabb93df0de6934e432d7d7
@@ -97,6 +97,7 @@ module IsoDoc
97
97
  end
98
98
 
99
99
  def date1(elem)
100
+ elem["value"] && elem["format"] or return
100
101
  elem.replace(@i18n.date(elem["value"], elem["format"].strip))
101
102
  end
102
103
 
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "2.8.3".freeze
2
+ VERSION = "2.8.5".freeze
3
3
  end
@@ -36,8 +36,7 @@ module IsoDoc
36
36
  def word_admonition_images(docxml)
37
37
  docxml.xpath("//div[@class = 'Admonition']//img").each do |i|
38
38
  i["width"], i["height"] =
39
- Html2Doc.new({}).image_resize(i, image_localfile(i), @maxheight,
40
- 300)
39
+ Vectory.image_resize(i, image_localfile(i), @maxheight, 300)
41
40
  end
42
41
  end
43
42
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.3
4
+ version: 2.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-19 00:00:00.000000000 Z
11
+ date: 2024-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html2doc