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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd084d2f4d37f17df485855d7e4884f996c73dd006d781e0a2711e4bf62492af
4
- data.tar.gz: e48a84a9e7107faffffd42ae319bfa18f85effd0506421551851634f63c07e89
3
+ metadata.gz: de4f9f4309866027f5ad4e21ae90cd1d23b67149b968e91366cdfb1a44d502d2
4
+ data.tar.gz: 3bdb405f0b4cbc36a0005ab94006ab92e0cca6bfc456f2b83c5dad6b428b6536
5
5
  SHA512:
6
- metadata.gz: 2c2e29f22e45a89b3460b393fb431f659508702bd0e434e25b3e9c89cdab25680b0dd731cc0bfb76d6971d969a3186fa8b90517f246b9cfe9a6c3a537c0380d7
7
- data.tar.gz: bac76e35833c13cef5c609b3e2061aced250f15ad631d282fc21bf46bf05308c2adced55a66ac2503d822f12abd344b46ae902f44a79602c5b1250f4fc766379
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
 
@@ -1,3 +1,3 @@
1
1
  module DocmagoClient
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  end
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus