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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e25103df04979bf48b3dac2b70ceff80ac97d215ca0c6d36b7e6120f7bc16be8
4
- data.tar.gz: f36a6b6fb46fe4ab36a5fd9865a930a7d35443e66b7b9c5f3224ce4b655f873e
3
+ metadata.gz: 834c8a1280df7efc3885a5a1eecdf63183cbf70fde573363d07e1f1c9399b292
4
+ data.tar.gz: c8abc5d5d829ae5e54048de2cf1e91db4750a11fdb1422507ba97d1c02130647
5
5
  SHA512:
6
- metadata.gz: 12201147e62bdf06eb55452beb3637704766f58b2a5154196c4ad0f97627c8985c54826f16863fd71b42ce4d650b5c97e0c16d0bc81b1cc04a8b3849c7f2fff5
7
- data.tar.gz: fb594e684caf4df2a7b847552ee297dd5b743760295573e76fdd0bdf1a40218988bbd037794ba69861be7faceb4a88d042c862361728c54cc8cecfbf836c331e
6
+ metadata.gz: c589f501c5bcfcfa8fc4a4844fcce12a0f8fb56559811ce521bd90374cef0030d1213960fdb81221468ab8b697eec6ec421d0ea3917cc804e06dc61e6060c8f9
7
+ data.tar.gz: 76ede5a71ffd71bebb129a94bb738c19cea9500a3c8b1083dbbe48db6d596666d2061d13f58b2b2c0ecf3bcfeba9941357630abc2266a010119c09baebd77beb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.5.4)
4
+ api_six_client (1.5.5)
5
5
  faraday (~> 2)
6
6
 
7
7
  GEM
@@ -2,8 +2,7 @@
2
2
 
3
3
  module ApiSixClient
4
4
  class BaseInt < Base
5
- APP_OUTSIDE_K8S = %w[Grunnbok]
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.5.4"
4
+ VERSION = "1.5.5"
5
5
  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
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-02-27 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday