api_six_client 1.6.4 → 1.6.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: 7437442bc55a8c9176da7b4fd8a60ebbe887e4a8c07b9dfa68bede8560752ec8
4
- data.tar.gz: aa513d1f3c76a17d8f908b15ba383dda76f6f96ce778dbb42f54a0eb7c39c517
3
+ metadata.gz: 2cddcfe31b1705932fed9fbdafa20fa78c371be321a3994763ff501cdfb10e37
4
+ data.tar.gz: c97920023f5aadabb913626cb9228838c4c34bec65bf38b2e6492cb0cd556aea
5
5
  SHA512:
6
- metadata.gz: 9042c62d739ec2c5903278fb998d2797d54ec07d0e4ba1a4ea573e7fcfc2cec0f41dc8979442683c147eef05528cf7f8970436f865ab5561a462065a75af5106
7
- data.tar.gz: ebd82e9f8a2bdc7cd7478b9d8c7a507a97adaca80543214829d0c6a94f980dc92bc1043ce8716767ed595984e294043f81e2b54b0fe2c1c70e5449ab89fa5b33
6
+ metadata.gz: 001f8b683f09bc390624f19070933d3bdf991f4c24c973765c7812bd609e2e83e9095c4f858dcaa9e41b1bda0788a6fe9f5eceacce21af5293b465f1bb016d6f
7
+ data.tar.gz: 01710040aaf07c3dd8a15b969651d7d0bbfcc063598842f8c9208fe487c3085947b43571f683b1313801e13f526cae5ddfbd3efb1b13a85ee5254d01c1af27c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.6.4)
4
+ api_six_client (1.6.5)
5
5
  faraday (~> 2)
6
6
 
7
7
  GEM
@@ -61,7 +61,7 @@ module ApiSixClient
61
61
  def request(method, path, params = {}, headers = {})
62
62
  response = nil
63
63
  begin
64
- if path
64
+ if path.start_with?("/")
65
65
  log_warn("'/' is redundant in #{path}")
66
66
  path.gsub!(/^\/*/, '')
67
67
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.6.4"
4
+ VERSION = "1.6.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_six_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Dobrorodnov