api_six_client 1.4.10 → 1.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/api_six_client/base.rb +6 -0
- data/lib/api_six_client/base_int.rb +3 -0
- data/lib/api_six_client/version.rb +1 -1
- data/lib/api_six_client.rb +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c99233e438e0e35097d339cfe768a0993cfd8420a17bbd0eedd7b3632564f8f
|
4
|
+
data.tar.gz: '09f1b5a49c9ee5194b23f3a147d860235bed74e1fe29d9220404ad7466c0c4f6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97bee94a9aa1c490392ce3a9b159c51ded583663a73a0fda8bec3aec2d639eea33ddcff39376dac646f17a65ae1330725e69d64ec4ba41187aacdb6b3f9dc2f
|
7
|
+
data.tar.gz: af16b7a173de0b16a7d3547000a8fc9afb22456f210952a04165d3bea544b97c0f7f38e2c15ed80736d8723f9863da27cb723c1e6e6cf0753d05c198e6eac82d
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
api_six_client (1.4.
|
4
|
+
api_six_client (1.4.11)
|
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
|
+
faraday (2.7.12)
|
12
12
|
base64
|
13
13
|
faraday-net_http (>= 2.0, < 3.1)
|
14
14
|
ruby2_keywords (>= 0.0.4)
|
data/lib/api_six_client/base.rb
CHANGED
@@ -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)
|
data/lib/api_six_client.rb
CHANGED
@@ -31,15 +31,15 @@ module ApiSixClient
|
|
31
31
|
|
32
32
|
class OlcInt < BaseInt; end
|
33
33
|
class PrjInt < BaseInt; end
|
34
|
-
|
35
|
-
class
|
36
|
-
class
|
37
|
-
class
|
38
|
-
class
|
39
|
-
class
|
40
|
-
class
|
41
|
-
class
|
42
|
-
class Val <
|
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 Val < BaseInt; end
|
43
43
|
end
|
44
44
|
|
45
45
|
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.
|
4
|
+
version: 1.4.11
|
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-
|
11
|
+
date: 2023-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|