api_six_client 1.4.10 → 1.4.12

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: acff3bce026459b569bcd1011acb9aecb42e509ac46a2befbd96b30ffb177ff7
4
- data.tar.gz: 9b58a6dde197181504a54616d827a1e437fe04481ec5d984c10da6b2bf89dff8
3
+ metadata.gz: 8508d8b1ebc7c89bbcc9669d8e7fb468ab6558ff36f86f2c81f26ba63170832e
4
+ data.tar.gz: 2fdef6e7837e3067afd594d1225f4d3be5774735bfd95c9d869567a999b19ff1
5
5
  SHA512:
6
- metadata.gz: 40711119c01b8ae01c5f97caac8ceaafc61e251c0b58fa3cc0ecd1b580d41fbde2dad39ab20864e3055d8b01b8d8bb0152056ead84e18cbed5968e2e588bcdc8
7
- data.tar.gz: 3921bb6df47416938e8d2916141b19c7844d8ae9ad5d4606a86c95936ef9746aeef00eacd29603f37de9bf0dbb253680c6355b7862505c0b53d83e5629cd7ba3
6
+ metadata.gz: 9e42b15b86fbc7ca686e3903dcebf568e14292d77289d0a6a1d34e89ac0e8980ed8cfb087e2c7ff0937c7d12f99c5a71b82296d2371a49acdd80eaa2b7bc8c8e
7
+ data.tar.gz: f0cf8d97f6395ca4bb5e38900c362a3624bcf586cf9c85daddb4582e894c1a6f981799c24c347fd1968f6678eab652275a538f8aa790d9fa2e64d223d43a437e
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.4.10)
4
+ api_six_client (1.4.12)
5
5
  faraday (~> 2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  base64 (0.2.0)
11
- faraday (2.7.11)
11
+ faraday (2.7.12)
12
12
  base64
13
13
  faraday-net_http (>= 2.0, < 3.1)
14
14
  ruby2_keywords (>= 0.0.4)
@@ -38,6 +38,10 @@ module ApiSixClient
38
38
 
39
39
  protected
40
40
 
41
+ def deprecation_msg
42
+ Rails.logger.warn("#{self.class} is deprecated") if defined?(Rails)
43
+ end
44
+
41
45
  def override_defaults
42
46
  @endpoint ||= ApiSixClient.config.endpoint
43
47
  @auth_token ||= ApiSixClient.config.auth_token
@@ -55,6 +59,8 @@ module ApiSixClient
55
59
  end
56
60
 
57
61
  def request(method, path, params = {}, headers = {})
62
+ deprecation_msg
63
+
58
64
  response = nil
59
65
  begin
60
66
  response = connection.run_request(method, "#{endpoint}/#{service_path}/#{path}", params.to_json, headers)
@@ -4,6 +4,9 @@ module ApiSixClient
4
4
  class BaseInt < Base
5
5
  protected
6
6
 
7
+ def deprecation_msg
8
+ end
9
+
7
10
  def override_defaults
8
11
  @endpoint = ApiSixClient.config.endpoint_int
9
12
  @auth_token = ApiSixClient.config.auth_token_int
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.4.10"
4
+ VERSION = "1.4.12"
5
5
  end
@@ -31,15 +31,16 @@ module ApiSixClient
31
31
 
32
32
  class OlcInt < BaseInt; end
33
33
  class PrjInt < BaseInt; end
34
-
35
- class AuthInt < BaseV2Int; end
36
- class UasInt < BaseV2Int; end
37
- class NtfInt < BaseV2Int; end
38
- class MatInt < BaseV2Int; end
39
- class FinnInt < BaseV2Int; end
40
- class LyrInt < BaseV2Int; end
41
- class BrgInt < BaseV2Int; end
42
- class Val < BaseV2Int; end
34
+ class UasInt < BaseInt; end
35
+ class BrgInt < BaseInt; end
36
+ class CadInt < BaseInt; end
37
+ class AuthInt < BaseInt; end
38
+ class NtfInt < BaseInt; end
39
+ class MatInt < BaseInt; end
40
+ class FinnInt < BaseInt; end
41
+ class LyrInt < BaseInt; end
42
+ class GbkInt < BaseInt; end
43
+ class Val < BaseInt; end
43
44
  end
44
45
 
45
46
  A6C = ApiSixClient
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.10
4
+ version: 1.4.12
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-21 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday