zendesk_api 1.12.1 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zendesk_api/client.rb +3 -1
- data/lib/zendesk_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe6670896347df7dda0fce71033a6eb6547a1769
|
4
|
+
data.tar.gz: 6aecc28b98301d5eec3052d7d81bc0fde77bdb71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96f9da5fd653a5574fb6c6d7ee2cb1dbc1183e15e3326dc187f17be2cadc8c3e124b5ff48ca97ae8f0d97e204eecdcd4cbc88aaadcd849c2a8c1e78d2fec5685
|
7
|
+
data.tar.gz: 058a329b8dd8f0001dae30359becc892c85fd96af3e11a55132f473d1c19427bf928f7fa8176161332eae6413863dbad2180bba2ffddeb6a857114dc7a62fe38
|
data/lib/zendesk_api/client.rb
CHANGED
@@ -24,6 +24,8 @@ module ZendeskAPI
|
|
24
24
|
# The top-level class that handles configuration and connection to the Zendesk API.
|
25
25
|
# Can also be used as an accessor to resource collections.
|
26
26
|
class Client
|
27
|
+
GZIP_EXCEPTIONS = [:em_http, :httpclient]
|
28
|
+
|
27
29
|
# @return [Configuration] Config instance
|
28
30
|
attr_reader :config
|
29
31
|
# @return [Array] Custom response callbacks
|
@@ -147,7 +149,7 @@ module ZendeskAPI
|
|
147
149
|
|
148
150
|
adapter = config.adapter || Faraday.default_adapter
|
149
151
|
|
150
|
-
unless
|
152
|
+
unless GZIP_EXCEPTIONS.include?(adapter)
|
151
153
|
builder.use ZendeskAPI::Middleware::Response::Gzip
|
152
154
|
builder.use ZendeskAPI::Middleware::Response::Deflate
|
153
155
|
end
|
data/lib/zendesk_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zendesk_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Davidovitz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bump
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
version: 1.3.6
|
356
356
|
requirements: []
|
357
357
|
rubyforge_project:
|
358
|
-
rubygems_version: 2.
|
358
|
+
rubygems_version: 2.5.0
|
359
359
|
signing_key:
|
360
360
|
specification_version: 4
|
361
361
|
summary: Zendesk REST API Client
|