imagekitio 1.0.7 → 1.0.8

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: b2ada5ea48fb054f2a85d6214f4b03dbc7454a9d26ecf191cf99e287efdfeb3e
4
- data.tar.gz: de18de012eefa66ff87a516365539fd6e18107c8b8a1fb2a568fe8b482260daa
3
+ metadata.gz: df584536217af3babb8d6dea61e908df2776fccc00e87d79cf96e76ffcc28ce7
4
+ data.tar.gz: e6133d78fb2173889fe0ff5acb153dcdb7f91e799caf81c9f7f6ebfcd4f58ec5
5
5
  SHA512:
6
- metadata.gz: 78879b32ca25f69f90cc778808221dedbaffc72a87291a90cee34efe599fe1bf4aa49770eea0d05ab2be0cc9dc264fed88b427812a26a68dca52732474cbb635
7
- data.tar.gz: d9f6c4119a13aa6ae75dee32ea3ae88fa96a4320dc128dcdabb2323706bda0f324aaf5cc801d0f5a89f6656b6fad3872c892a23545abc8cad92a183288790ed2
6
+ metadata.gz: a1697341b29aa81e0f1d2325212505f6ed5830326cb173b6cb436b69c0af358fc4151e31e42c736e95e1ee22a132b6d3c12d710e30adeb7267148e5c74f0bcbd
7
+ data.tar.gz: 3e01a5b2d508b8a33e517f3f75a9e9a0ef0e3c418d99396f31aaaca68ea9cec50cd51182781cc2290e84a8b04d13898c5eaabef56aa194f9d1a11b8300739f59
@@ -39,7 +39,7 @@ class ImageKitRequest
39
39
  payload: payload).execute
40
40
 
41
41
  if (resp.code >= 200) && (resp.code < 204)
42
- if (resp.headers[:content_type] == "application/json")
42
+ if (resp.headers[:content_type].include? "application/json")
43
43
  response[:response] = JSON.parse(resp.body.to_s)
44
44
  else
45
45
  raise =RestClient::ExceptionWithResponse
@@ -1,5 +1,5 @@
1
1
  module Imagekit
2
2
  module Sdk
3
- VERSION = '1.0.7'
3
+ VERSION = '1.0.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagekitio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ImageKit.io team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-26 00:00:00.000000000 Z
11
+ date: 2020-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubygems_version: 3.1.2
120
+ rubygems_version: 3.1.4
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Automate image optimization on rails platforms.