html2doc 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/html2doc.gemspec +2 -2
- data/lib/html2doc/mime.rb +1 -1
- data/lib/html2doc/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9503a27aa440ef61f20f78427e270a2d45722d4d6eea6f9438018040004e7f1
|
4
|
+
data.tar.gz: cec3a2a88270cad14c40ba9fbf36499c899dc40091b80338c3272c8c1cfa2040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d84233ced339947f00d4f511f5c22da5400f27a94e19363ccdd063b4a4188555b35ec74244bd6db1a7809d76ea2b926132a64b879bb9981f0da1703edcc54f34
|
7
|
+
data.tar.gz: 220c0850078afaa1bcf273fb31479abe0c0c3ac1029f6b0ba7cc14018dfcfe001ceee8aec239e38bf8672c79b3fc4c74e8244cd3e0e12a7fed7e1d80b22f531d
|
data/html2doc.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "mime-types"
|
32
32
|
spec.add_dependency "nokogiri", "~> 1.15"
|
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"
|
@@ -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.3
|
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-04-
|
11
|
+
date: 2024-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -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
|
@@ -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
|