api_six_client 1.2.3 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -25
- data/api_six_client.gemspec +1 -1
- data/lib/api_six_client/base_v2_int.rb +13 -0
- data/lib/api_six_client/version.rb +1 -1
- data/lib/api_six_client.rb +10 -8
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29c22b37f5f45718d28451acc4b121cbee82ccab46b33afd10d8661c3e8f98f
|
4
|
+
data.tar.gz: 40d0e3cf604dac049944dfbcead979f625023431a4f8c2d93b1f5d294a319426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c6873c326400959d429b9bef130fce0fb1d15db722ffbf8512f0a7be79e117574962660796fc153a4745c34cee310d3550676f89c625c7b036ce83a82585686
|
7
|
+
data.tar.gz: 7d29214ac8301acabd8b3e097fb019e89de0055dcd9e08e2662cb935b4ace0f644479725deb74cd3a9d8340f6ff982baa859897a94f8ded287d2a6e6c6294478
|
data/Gemfile.lock
CHANGED
@@ -1,36 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
api_six_client (1.
|
5
|
-
faraday (~>
|
4
|
+
api_six_client (1.4.0)
|
5
|
+
faraday (~> 2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
faraday (
|
11
|
-
faraday-
|
12
|
-
faraday-em_synchrony (~> 1.0)
|
13
|
-
faraday-excon (~> 1.1)
|
14
|
-
faraday-httpclient (~> 1.0)
|
15
|
-
faraday-multipart (~> 1.0)
|
16
|
-
faraday-net_http (~> 1.0)
|
17
|
-
faraday-net_http_persistent (~> 1.0)
|
18
|
-
faraday-patron (~> 1.0)
|
19
|
-
faraday-rack (~> 1.0)
|
20
|
-
faraday-retry (~> 1.0)
|
10
|
+
faraday (2.7.6)
|
11
|
+
faraday-net_http (>= 2.0, < 3.1)
|
21
12
|
ruby2_keywords (>= 0.0.4)
|
22
|
-
faraday-
|
23
|
-
faraday-em_synchrony (1.0.0)
|
24
|
-
faraday-excon (1.1.0)
|
25
|
-
faraday-httpclient (1.0.1)
|
26
|
-
faraday-multipart (1.0.4)
|
27
|
-
multipart-post (~> 2)
|
28
|
-
faraday-net_http (1.0.1)
|
29
|
-
faraday-net_http_persistent (1.2.0)
|
30
|
-
faraday-patron (1.0.0)
|
31
|
-
faraday-rack (1.0.0)
|
32
|
-
faraday-retry (1.0.3)
|
33
|
-
multipart-post (2.3.0)
|
13
|
+
faraday-net_http (3.0.2)
|
34
14
|
rake (13.0.6)
|
35
15
|
ruby2_keywords (0.0.5)
|
36
16
|
|
data/api_six_client.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.add_dependency 'faraday', '~>
|
32
|
+
spec.add_dependency 'faraday', '~> 2'
|
33
33
|
|
34
34
|
# For more information and examples about making a new gem, checkout our
|
35
35
|
# guide at: https://bundler.io/guides/creating_gem.html
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ApiSixClient
|
4
|
+
class BaseV2Int < Base
|
5
|
+
def initialize(endpoint: nil, auth_token: nil)
|
6
|
+
@endpoint = ApiSixClient.config.endpoint_v2_int
|
7
|
+
@auth_token = ApiSixClient.config.auth_token_v2_int
|
8
|
+
|
9
|
+
raise Errors::EndpointIsEmpty unless @endpoint
|
10
|
+
raise Errors::AuthTokenIsEmpty unless @auth_token
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/api_six_client.rb
CHANGED
@@ -17,20 +17,22 @@ module ApiSixClient
|
|
17
17
|
end
|
18
18
|
|
19
19
|
class Brg < Base; end
|
20
|
-
class Brg_P3 < Base; end
|
21
20
|
class Gbk < Base; end
|
22
|
-
class Kms < Base; end
|
23
|
-
class Lyr < Base; end
|
24
21
|
class Mat < Base; end
|
25
22
|
class Val < Base; end
|
26
23
|
class Prj < Base; end
|
27
|
-
class Prj_P3 < Base; end
|
28
24
|
class Fin < Base; end
|
29
25
|
class Olc < Base; end
|
30
|
-
class
|
31
|
-
class
|
26
|
+
class Brg_P3 < Base; end
|
27
|
+
class Prj_P3 < Base; end
|
28
|
+
|
29
|
+
class Kms < BaseV2; end
|
30
|
+
class Lyr < BaseV2; end
|
31
|
+
class Eno < BaseV2; end
|
32
|
+
class Uas < BaseV2; end
|
32
33
|
|
33
|
-
class AuthInt < BaseInt; end
|
34
34
|
class OlcInt < BaseInt; end
|
35
|
-
|
35
|
+
|
36
|
+
class AuthInt < BaseV2Int; end
|
37
|
+
class UasInt < BaseV2Int; end
|
36
38
|
end
|
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
|
+
version: 1.4.0
|
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
|
+
date: 2023-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2'
|
27
27
|
description: ApiSix is a Ruby gem that provides access to various Lytics services.
|
28
28
|
email:
|
29
29
|
- ei.dobrorodnov@gmail.com
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- lib/api_six_client/base.rb
|
45
45
|
- lib/api_six_client/base_int.rb
|
46
46
|
- lib/api_six_client/base_v2.rb
|
47
|
+
- lib/api_six_client/base_v2_int.rb
|
47
48
|
- lib/api_six_client/config.rb
|
48
49
|
- lib/api_six_client/errors.rb
|
49
50
|
- lib/api_six_client/version.rb
|