sqlcached_client 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 617a449187167d44ecc8a667a2841b0ba25ce0b6
4
- data.tar.gz: ad82ef582e07aeda8bab9dcd423d13ba1988dcdc
3
+ metadata.gz: 91ca1306befc4783825e8041edfad314f1d1cae0
4
+ data.tar.gz: af0ed719bd8e6f8739a4e48590c559eef771dd54
5
5
  SHA512:
6
- metadata.gz: f9cb119d6762b46262e0ab22ef5e824d701b7fc37e0ff147cb39ac9e8970fa0141f3035ce5f3a25cb4bfc671f07033840caa52da6dbe5716d6530bafc1df0266
7
- data.tar.gz: a4f9a9e9a8b449e65c8b7dd8adcef1dd44da0ce347d4d30775f0e78fd6111b3bf620c775bc2187f25c813da1284bf55d376fa7a3afaba9232f518936ee834350
6
+ metadata.gz: e7b476e0945653b5b1c494876520d7b4424c156583575a1e53bbf519604f3e846bde5ea580a24dba93894b874044d6659b219856b703dab6e4fed5e9d00bedd3
7
+ data.tar.gz: f94bfea52a4113c3a50adf986c6f843f1f7663d9f3760f19b73ef6707b69abbbdc592c9df93ca99f4d1e62718c4bf181fd1a563b0addd2481b07d59b6af359a7
@@ -18,7 +18,7 @@ module SqlcachedClient
18
18
  req.set_content_type('application/json')
19
19
  req.body = http_req_body.to_json
20
20
  resp = session.request(req)
21
- if 'application/json' == resp['Content-Type']
21
+ if (resp['Content-Type'] || '') =~ /application\/json/
22
22
  resp_body = parse_response_body(JSON.parse(resp.body))
23
23
  else
24
24
  resp_body = resp.body
@@ -1,3 +1,3 @@
1
1
  module SqlcachedClient
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlcached_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Maestroni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-24 00:00:00.000000000 Z
11
+ date: 2015-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  requirements: []
154
154
  rubyforge_project:
155
- rubygems_version: 2.4.8
155
+ rubygems_version: 2.2.2
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: A Ruby client for sqlcached