docmago_client 0.7.0 → 0.7.1
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 +4 -4
- data/lib/docmago_client/html_resource_archiver.rb +1 -1
- data/lib/docmago_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de4f9f4309866027f5ad4e21ae90cd1d23b67149b968e91366cdfb1a44d502d2
|
|
4
|
+
data.tar.gz: 3bdb405f0b4cbc36a0005ab94006ab92e0cca6bfc456f2b83c5dad6b428b6536
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed777e619aa954fddbc39aff541123ea726d89035201ed7b73f5860e0260dcb8b63ecdc9bdbd3fea9604a6da8cc9ac49ba08beaa3f7cadfa796e9ff736b8ec9f
|
|
7
|
+
data.tar.gz: 33f35e78522d338737db715359d0adeb3ef10582ad3c0e3c32144fdccd6e294573f15236da064ad35953fb40ac150eddbdabc24ff3220eb85778cea4661145b8
|
|
@@ -25,7 +25,7 @@ module DocmagoClient
|
|
|
25
25
|
uri = Addressable::URI.parse uri.to_s.strip
|
|
26
26
|
path_digest = Digest::MD5.hexdigest(uri.to_s)
|
|
27
27
|
|
|
28
|
-
file_data = open(uri).read if uri.absolute?
|
|
28
|
+
file_data = URI.open(uri).read if uri.absolute?
|
|
29
29
|
file_data ||= File.read(resolve_uri(uri)) if File.exist?(resolve_uri(uri))
|
|
30
30
|
file_data ||= @assets[normalize_uri(uri).gsub(SPROCKETS_RX, '')].to_s
|
|
31
31
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: docmago_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Habermann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|