sentofu 0.5.2 → 0.5.3

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: 6b5960cd3b7ffcfe6824b87fb368fb50a7f780235bbc253962c3f4a4c2c981bd
4
- data.tar.gz: 4f5ff2b170ce25c694bbbf7a9371183e60171a03b410989f20e70619c5b4e633
3
+ metadata.gz: 96cc6fa15ee047dd48e32d9014332dc782ac8cd136dd276983a310f313e7e237
4
+ data.tar.gz: b798dd1ed80ffa5f8ae0e827e5b2329947f9678b781b870d7f0137ee7c42bf4b
5
5
  SHA512:
6
- metadata.gz: d3d393682b233664d071b45259ab59bb05504d52a013c16ede4f28fda80608bc1f6cf8a91b1a2ff5cdf12a433a242cb37621b2d5813472d3a02339e79f9464b8
7
- data.tar.gz: 7e95877e0cd10deb29f684f0e31ce93f97a8b5f5a908b8a17aa8d406466cdf10571e5cf8b3a9e123ca68a30c9d04bbf48d72bb4ae7edebc994ca416b1f24ead7
6
+ metadata.gz: 5b0f72519fe14f8d14ca7aaef4a7f7056d732c81efdebca9f0af38b38e3f0f0a9780aff8f42b9451491e644650e980a874b445bf1ecc9dc0bbb071936036af52
7
+ data.tar.gz: 6126c1ca09ec97c8f6801d2d71c2ff8706f0f4b28c6000bb0d7c2d5354480bd2c2773d652c68cecf8ab2a1d0191cb6cc20ceb56c79cefc31d44ffd9774c823e6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  # CHANGELOG.md
3
3
 
4
4
 
5
+ ## sentofu 0.5.3 released 2019-11-07
6
+
7
+ * Tighten request error interception
8
+
9
+
5
10
  ## sentofu 0.5.2 released 2019-09-27
6
11
 
7
12
  * Tighten request error interception
data/lib/sentofu/http.rb CHANGED
@@ -98,7 +98,7 @@ module Sentofu
98
98
 
99
99
  { uri: uri,
100
100
  code: (res.code.to_i rescue nil),
101
- headers: res._headers,
101
+ headers: (res._headers rescue nil),
102
102
  message: (WEBrick::HTTPStatus.reason_phrase(res.code) rescue nil),
103
103
  error_class: err.class.to_s,
104
104
  error_message: err.message,
data/lib/sentofu.rb CHANGED
@@ -15,7 +15,7 @@ require 'sentofu/explo'
15
15
 
16
16
  module Sentofu
17
17
 
18
- VERSION = '0.5.2'
18
+ VERSION = '0.5.3'
19
19
 
20
20
  USER_AGENT =
21
21
  "Sentofu #{Sentofu::VERSION} - " +
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentofu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-27 00:00:00.000000000 Z
11
+ date: 2019-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec