zendesk_api 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- zendesk_api (0.3.11)
10
+ zendesk_api (0.3.12)
11
11
  faraday (>= 0.8.0)
12
12
  faraday_middleware (>= 0.8.7)
13
13
  hashie (>= 1.2)
@@ -140,7 +140,10 @@ module ZendeskAPI
140
140
  end
141
141
 
142
142
  # request
143
- builder.use ZendeskAPI::Middleware::Request::EtagCache, :cache => config.cache
143
+ if config.cache
144
+ builder.use ZendeskAPI::Middleware::Request::EtagCache, :cache => config.cache
145
+ end
146
+
144
147
  builder.use ZendeskAPI::Middleware::Request::Upload
145
148
  builder.request :multipart
146
149
  builder.request :json
@@ -1,3 +1,3 @@
1
1
  module ZendeskAPI
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
  end
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: 0.3.11
4
+ version: 0.3.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-18 00:00:00.000000000 Z
13
+ date: 2013-07-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bump