api_client 0.5.16 → 0.5.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/api_client/connection/middlewares/request/logger.rb +1 -0
- data/lib/api_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a75e24776792dbb8507f43cd42915a1651409ee
|
4
|
+
data.tar.gz: aa54cfe2f257889ba8b13d15894efb8168708b3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcf4b2580510132b97f84e3202d416fa099052d672f8bc8aa4b41e4c8816cb7f933a03e3a5d7b3c725b7a807a0e169c31620380be034a217ca44ed6abecf2abe
|
7
|
+
data.tar.gz: 6e9eb3aca274ef80ab45e79c52339bbd38c167afc98cde5e043057efcbb268dadc9b99b2e70ac2ea07e318be6a317a8d3b69116194e84d0fa03cc1cdfa6ef70f
|
data/CHANGELOG.md
CHANGED
@@ -14,6 +14,7 @@ class ApiClient::Connection::Middlewares::Request::Logger < Faraday::Middleware
|
|
14
14
|
gather_response_debug_lines(response, taken_sec, debug_lines) if response && should_log_details
|
15
15
|
|
16
16
|
if should_log_details
|
17
|
+
debug_lines.each { |line| line.encode!("UTF-8", invalid: :replace, undef: :replace) }
|
17
18
|
@logger.debug { debug_lines.join("\n") }
|
18
19
|
else
|
19
20
|
@logger.info { "#{env[:method].to_s.upcase} #{env[:url]}: #{"%.4f" % taken_sec} seconds" }
|
data/lib/api_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Bunsch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|