html2doc 1.8.2 → 1.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/html2doc.gemspec +4 -4
- data/lib/html2doc/mime.rb +1 -1
- data/lib/html2doc/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e90ec3a56ca8ba3e4524ef92c2f0a34c34cf1255338fb4e94ef39ab8e6a88a6
|
4
|
+
data.tar.gz: 06a4942c6cded1d94b2e5adf316a0fa7298912d5acfb7089da5212a18086673e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82889d9f49c6685fedc639e21b462af32fe2160c9235ec7c82e64cf64cb4d44e1862f2f7221ac78bed402943ef96be69f1a33909d5e0def21b59718051b2831f
|
7
|
+
data.tar.gz: 9e5903ba01553cf1a0702ecaab2ad80cf8f72362f78503454089936bb7d047da8a7514caa729c6c56a7ac199ef79bab8ef8fd105489cf6bcee9bef3f6b18aa1c
|
data/html2doc.gemspec
CHANGED
@@ -29,13 +29,13 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
30
|
spec.add_dependency "metanorma-utils", "~> 1.7.0"
|
31
31
|
spec.add_dependency "mime-types"
|
32
|
-
spec.add_dependency "nokogiri", "~> 1.
|
32
|
+
spec.add_dependency "nokogiri", "~> 1.16"
|
33
33
|
spec.add_dependency "plane1converter", "~> 0.0.1"
|
34
|
-
spec.add_dependency "plurimath", "~> 0.
|
34
|
+
spec.add_dependency "plurimath", "~> 0.8.0"
|
35
35
|
spec.add_dependency "thread_safe"
|
36
36
|
spec.add_dependency "uuidtools"
|
37
37
|
spec.add_dependency "unitsml"
|
38
|
-
spec.add_dependency "vectory", "~> 0.
|
38
|
+
spec.add_dependency "vectory", "~> 0.7"
|
39
39
|
|
40
40
|
spec.add_development_dependency "debug"
|
41
41
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
|
|
43
43
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
44
44
|
spec.add_development_dependency "rake", "~> 12.0"
|
45
45
|
spec.add_development_dependency "rspec", "~> 3.6"
|
46
|
-
spec.add_development_dependency "rspec-match_fuzzy", "~> 0.
|
46
|
+
spec.add_development_dependency "rspec-match_fuzzy", "~> 0.2.0"
|
47
47
|
spec.add_development_dependency "rubocop", "~> 1.5.2"
|
48
48
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
49
49
|
spec.add_development_dependency "timecop", "~> 0.9"
|
data/lib/html2doc/mime.rb
CHANGED
@@ -124,7 +124,7 @@ class Html2Doc
|
|
124
124
|
|
125
125
|
def skip_image_cleanup?(img)
|
126
126
|
src = img["src"]
|
127
|
-
(img.element? && %w(img
|
127
|
+
(img.element? && %w(img imagedata).include?(img.name)) or return true
|
128
128
|
(src.nil? || src.empty? || /^http/.match?(src) ||
|
129
129
|
%r{^data:(image|application)/[^;]+;base64}.match?(src)) and return true
|
130
130
|
false
|
data/lib/html2doc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html2doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4
|
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-
|
11
|
+
date: 2024-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.16'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
68
|
+
version: '1.16'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: plane1converter
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.8.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.8.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: thread_safe
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
145
|
+
version: '0.7'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0.
|
152
|
+
version: '0.7'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: debug
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 0.
|
243
|
+
version: 0.2.0
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.
|
250
|
+
version: 0.2.0
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: rubocop
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -340,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
340
340
|
- !ruby/object:Gem::Version
|
341
341
|
version: '0'
|
342
342
|
requirements: []
|
343
|
-
rubygems_version: 3.3.
|
343
|
+
rubygems_version: 3.3.27
|
344
344
|
signing_key:
|
345
345
|
specification_version: 4
|
346
346
|
summary: Convert HTML document to Microsoft Word document
|