api_six_client 1.4.5 → 1.4.6

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: 6b4c5436c7806404e8ad5f25a8746065e2071886bd841598325bf5f1728d4a3c
4
- data.tar.gz: '063028f67d0e712ec808ff9b2b87943a4db8af889e7bebd6a3b5fea409cea80f'
3
+ metadata.gz: a95ff8576a7dc0e85b60e56924a7b80e780579ecc021eed52fc1de59391a68c1
4
+ data.tar.gz: 3e329fce690bfebdffebc582a250ac73ba705640eb13d30a2639aa62aecb41c8
5
5
  SHA512:
6
- metadata.gz: 4c8a6c4cd94202197ef126c7b27876474bab8fe706447bab1ed5d3dead71823a2c0eda0c58ca62d12970890df4ee6e043b6c5b68fbd70646568e7c3201bb7e70
7
- data.tar.gz: c1c2c46194ae62ec587258c789434ba02628d5f1bd5df9d7e7905e0b27fb2d3db87801358ea849a7b0b47bf60b9de68116712f71237314b1e514f8d212a50fa4
6
+ metadata.gz: b71af991d743f1802bc781c42776e06dc504c92630b39c4538e362574d1257224302df5c0f1a864c96d487a014d7ff126858d2837e9f45a634acabec720454cc
7
+ data.tar.gz: a6c44b5217e0b6c98f77000281d4f0be33a15285d9ef7007c7a023e66213bf7749acfe81f805b75620fa6c869f0f4e24862b3809e7ef6809dc4877458abfc9d0
data/Gemfile.lock CHANGED
@@ -1,13 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.4.5)
4
+ api_six_client (1.4.6)
5
5
  faraday (~> 2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- faraday (2.7.10)
10
+ base64 (0.1.1)
11
+ faraday (2.7.11)
12
+ base64
11
13
  faraday-net_http (>= 2.0, < 3.1)
12
14
  ruby2_keywords (>= 0.0.4)
13
15
  faraday-net_http (3.0.2)
@@ -7,10 +7,10 @@ module ApiSixClient
7
7
  class Base
8
8
  attr_reader :endpoint
9
9
 
10
- def initialize(endpoint: nil, auth_token: nil, debug_mode: false)
10
+ def initialize(endpoint: nil, auth_token: nil, debug_mode: false, dm: false)
11
11
  @endpoint = endpoint
12
12
  @auth_token = auth_token
13
- @debug_mode = debug_mode
13
+ @debug_mode = debug_mode || dm
14
14
 
15
15
  override_defaults
16
16
  validate_config!
@@ -39,8 +39,8 @@ module ApiSixClient
39
39
  protected
40
40
 
41
41
  def override_defaults
42
- @endpoint ||= ApiSixClient.config.endpoint_int
43
- @auth_token ||= ApiSixClient.config.auth_token_int
42
+ @endpoint ||= ApiSixClient.config.endpoint
43
+ @auth_token ||= ApiSixClient.config.auth_token
44
44
  end
45
45
 
46
46
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.4.5"
4
+ VERSION = "1.4.6"
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.4.5
4
+ version: 1.4.6
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-08-23 00:00:00.000000000 Z
11
+ date: 2023-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday