api_six_client 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/api_six_client/base_int.rb +1 -3
- data/lib/api_six_client/version.rb +1 -1
- 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: 834c8a1280df7efc3885a5a1eecdf63183cbf70fde573363d07e1f1c9399b292
|
4
|
+
data.tar.gz: c8abc5d5d829ae5e54048de2cf1e91db4750a11fdb1422507ba97d1c02130647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c589f501c5bcfcfa8fc4a4844fcce12a0f8fb56559811ce521bd90374cef0030d1213960fdb81221468ab8b697eec6ec421d0ea3917cc804e06dc61e6060c8f9
|
7
|
+
data.tar.gz: 76ede5a71ffd71bebb129a94bb738c19cea9500a3c8b1083dbbe48db6d596666d2061d13f58b2b2c0ecf3bcfeba9941357630abc2266a010119c09baebd77beb
|
data/Gemfile.lock
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
|
3
3
|
module ApiSixClient
|
4
4
|
class BaseInt < Base
|
5
|
-
|
6
|
-
SERVICES_OUTSIDE_K8S = %w[gbk_int olc_int cad_int]
|
5
|
+
SERVICES_OUTSIDE_K8S = %w[olc_int cad_int]
|
7
6
|
|
8
7
|
DEFAULT_INTRANET_MAPPING = ->(service_name) {
|
9
8
|
{ k8s_service: "http://#{service_name.gsub('_int', '-api')}", api_int_path: 'api_int'}
|
@@ -42,7 +41,6 @@ module ApiSixClient
|
|
42
41
|
|
43
42
|
def intranet_connection?
|
44
43
|
return false if ENV['RAILS_ENV'] == 'development'
|
45
|
-
return false if Rails.application.class.to_s.split('::').first.in?(APP_OUTSIDE_K8S)
|
46
44
|
|
47
45
|
current_service.present?
|
48
46
|
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.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Dobrorodnov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|