f_http_client 0.2.0 → 0.2.1

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: 6911dbb5df4641c9a0233f1eaef71449d2b7e6f5e609b001225dacfeb1ed808d
4
- data.tar.gz: 3ce1fb5a4d03cd3794ea3b83a46964b3357771f47ae0ed503209cab402bae5ca
3
+ metadata.gz: 043b1047145e6431224027e68000eb4397224d1cd36da84766fa272aa9b472a2
4
+ data.tar.gz: 660c261f27d5654909d338729ed8a8ad5166ec1038c978f05b3ba2ef6c0c0242
5
5
  SHA512:
6
- metadata.gz: 497390e62648a8c18b2ff35f5fd9d96e78ea851681ca450e7b2e5971271abfacd014219da0d59e55b2c6b76ea313578a07499d172f19423fe13d02987775e21c
7
- data.tar.gz: 8004ecb84c1af48b00732c0c6f0960ef1da430d4bd9ef287d54993d7025d38fad1ef70f2a3d9b15d2ede8319a4df35fea81fcc7ba1cab13fa16f09482162b075
6
+ metadata.gz: 46118f4a70d1715d4c0fe3c86243f8ca80ccf2248c4c257b4b7ba69b3b3d089d6481e92299dcbf84f9675aacd5f8729a4df68037b156213dbcf4f32fc0cb35f8
7
+ data.tar.gz: 146d096e199781aee21e17054994c93d9961886a454bc4bdbcabb45f9b0a4a12060c5d3149d991ff4b54ca1c96ee73320bcbd35d81114d91635c61ed690a1bba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2023-09-27
4
+
5
+ - Add rescue to SocketError exception. #12
6
+
3
7
  ## [0.2.0] - 2023-05-22
4
8
 
5
9
  - Add FService as runtime dependency.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- f_http_client (0.2.0)
4
+ f_http_client (0.2.1)
5
5
  activesupport
6
6
  addressable
7
7
  dry-configurable
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.4.3)
15
+ activesupport (7.0.8)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -26,10 +26,10 @@ GEM
26
26
  rexml
27
27
  diff-lcs (1.5.0)
28
28
  docile (1.4.0)
29
- dry-configurable (1.0.1)
29
+ dry-configurable (1.1.0)
30
30
  dry-core (~> 1.0, < 2)
31
31
  zeitwerk (~> 2.6)
32
- dry-core (1.0.0)
32
+ dry-core (1.0.1)
33
33
  concurrent-ruby (~> 1.0)
34
34
  zeitwerk (~> 2.6)
35
35
  dry-initializer (3.1.1)
@@ -38,12 +38,12 @@ GEM
38
38
  httparty (0.21.0)
39
39
  mini_mime (>= 1.0.0)
40
40
  multi_xml (>= 0.5.2)
41
- i18n (1.12.0)
41
+ i18n (1.14.1)
42
42
  concurrent-ruby (~> 1.0)
43
43
  json (2.6.3)
44
44
  method_source (1.0.0)
45
- mini_mime (1.1.2)
46
- minitest (5.18.0)
45
+ mini_mime (1.1.5)
46
+ minitest (5.20.0)
47
47
  multi_xml (0.6.0)
48
48
  parallel (1.22.1)
49
49
  parser (3.2.1.0)
@@ -105,7 +105,7 @@ GEM
105
105
  addressable (>= 2.8.0)
106
106
  crack (>= 0.3.2)
107
107
  hashdiff (>= 0.4.0, < 2.0.0)
108
- zeitwerk (2.6.7)
108
+ zeitwerk (2.6.12)
109
109
 
110
110
  PLATFORMS
111
111
  x86_64-linux
@@ -29,6 +29,8 @@ module FHTTPClient
29
29
  case error.class.to_s
30
30
  when 'Errno::ECONNREFUSED'
31
31
  :connection_refused
32
+ when 'SocketError'
33
+ :connection_error
32
34
  when /timeout/i
33
35
  :timeout
34
36
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FHTTPClient
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: f_http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fretadao Tech Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-22 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -140,7 +140,7 @@ metadata:
140
140
  homepage_uri: https://github.com/Fretadao/f_http_client
141
141
  source_code_uri: https://github.com/Fretadao/f_http_client
142
142
  changelog_uri: https://github.com/Fretadao/f_http_client/blob/master/CHANGELOG.md
143
- rubygems_mfa_required: 'true'
143
+ rubygems_mfa_required: 'false'
144
144
  post_install_message:
145
145
  rdoc_options: []
146
146
  require_paths:
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
- rubygems_version: 3.3.5
159
+ rubygems_version: 3.2.32
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Gem to provade a base for an HTTP client using FService architecture