lhc 10.1.1 → 10.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a935eb47c744e10dd50006a973eff104e9716ade32ae443453aed8b198b41df8
4
- data.tar.gz: '07126595ace009e7af40bb41da21a335eb30d0242d185af5792c2633435986d6'
3
+ metadata.gz: b67c504475f965371d8573ca0e93bcb4d8ed985bf60b7f606470ca68b1cf381d
4
+ data.tar.gz: 1905c89d14fa0db90fcd79d15d843b7565847814d3cfa725fb7e33cb723cd16e
5
5
  SHA512:
6
- metadata.gz: 8acc75ddd5efe4d61e10f5ff393c70dbe38c2a5319040b5481aa10773ff53cb017b8c04dd6a83480d29c4687e71764777266889a15e9e319f4a854f4cb177d1c
7
- data.tar.gz: 69f88b7decaa58b3ee8137471232e66219f597c471cebf4e4ee234c7ed36ca48bedaf27f0023f09d9b0149545fc116ba3d810657bf4a598c722c6baebeb3ab75
6
+ metadata.gz: 3466bf3c2e8bba1286cc27606d44a1c3566fecc984da5204d8669c9b35081a869bcf3097ea06c55bd116706a8e9ba79c85ff943606d7c1297ae50ec90894a9f9
7
+ data.tar.gz: 3bc96a32797cc08bb2edf4d32945bc1efc30444f3733472641bf8ed941da927821569bf8c07d9846a76fba7d1cb45029dc0318c94c70e9d5bbb5739e362a99b2
@@ -56,6 +56,7 @@ class LHC::Error < StandardError
56
56
  end
57
57
 
58
58
  def to_s
59
+ return response if response.is_a?(String)
59
60
  request = response.request
60
61
  debug = []
61
62
  debug << [request.method, request.url].map { |str| fix_invalid_encoding(str) }.join(' ')
@@ -1,3 +1,3 @@
1
1
  module LHC
2
- VERSION ||= '10.1.1'
2
+ VERSION ||= '10.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lhc
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.1.1
4
+ version: 10.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://github.com/local-ch/lhc/contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-29 00:00:00.000000000 Z
11
+ date: 2019-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport