api_six_client 1.4.14 → 1.4.16

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: b658f38044ddf30200d96e23b83d29ae5870fec38700efe0dd9a30a3f05ed646
4
- data.tar.gz: d993ad7255854cb71b6b4090731f348c8c8586b80acd547837d8dcb9eca03a8d
3
+ metadata.gz: 2e88afd1d5176f679edff83faae5afbf5f6948c66979c88502fdfed66f5df202
4
+ data.tar.gz: fb6759241f0bcfd6d9f2c8cbbfbb189a973e6d5fe3f92b4da2a720f5d00856f8
5
5
  SHA512:
6
- metadata.gz: af9592c06ce0fa0e12fd51493cf93b4389adb5af9fb86c1b2265aab4797dd21dc8edd62be4c0db3a52966d6d97f16df7764fac62f6c2c634cda81a8abfca9373
7
- data.tar.gz: 3f8dd6ee850697dfa4c8fef68b287dd44c0e4a7923407b379820ae0ac357bd529e40c4fada2046f60960931626f86671de225f852829fcdee372ae15cf5dda25
6
+ metadata.gz: 1ca5d61b16457d733628e2cbebbaddb58514b3d65232e319351633a87a511f359d1626d26bc8725d0279e12abf852b045bd6b3d5373ed45ce753cfdcae3b7e15
7
+ data.tar.gz: b908e85def0e685510aafdbc72d99db8d3a87833cdab3bedcc10d8ada3709e3582da9b4e164996f1cdc5953235cbe26535caeb5e2b561935184da375a7907db3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.4.14)
4
+ api_six_client (1.4.16)
5
5
  faraday (~> 2)
6
6
 
7
7
  GEM
@@ -65,7 +65,11 @@ module ApiSixClient
65
65
  begin
66
66
  response = connection.run_request(method, "#{endpoint}/#{service_path}/#{path}", params.to_json, headers)
67
67
  rescue Faraday::Error => e
68
- raise Errors::FaradayError.new("#{e.to_s} by #{self.class.name}##{path}")
68
+ if defined?(Rails)
69
+ Rails.logger.error "Message: #{e.message}, caused by: #{self.class.name}##{path}"
70
+ end
71
+
72
+ raise e
69
73
  end
70
74
 
71
75
  res = JSON.parse(response.body)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.4.14"
4
+ VERSION = "1.4.16"
5
5
  end
@@ -42,6 +42,7 @@ module ApiSixClient
42
42
  class FinnInt < BaseInt; end
43
43
  class LyrInt < BaseInt; end
44
44
  class GbkInt < BaseInt; end
45
+ class StataInt < BaseInt; end
45
46
  class Val < BaseInt; end
46
47
  end
47
48
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_six_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.14
4
+ version: 1.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Dobrorodnov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-27 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday