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 +4 -4
- data/lib/imagekit/resource.rb +1 -1
- data/lib/imagekit/sdk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df584536217af3babb8d6dea61e908df2776fccc00e87d79cf96e76ffcc28ce7
|
4
|
+
data.tar.gz: e6133d78fb2173889fe0ff5acb153dcdb7f91e799caf81c9f7f6ebfcd4f58ec5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1697341b29aa81e0f1d2325212505f6ed5830326cb173b6cb436b69c0af358fc4151e31e42c736e95e1ee22a132b6d3c12d710e30adeb7267148e5c74f0bcbd
|
7
|
+
data.tar.gz: 3e01a5b2d508b8a33e517f3f75a9e9a0ef0e3c418d99396f31aaaca68ea9cec50cd51182781cc2290e84a8b04d13898c5eaabef56aa194f9d1a11b8300739f59
|
data/lib/imagekit/resource.rb
CHANGED
@@ -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]
|
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
|
data/lib/imagekit/sdk/version.rb
CHANGED
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.
|
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-
|
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.
|
120
|
+
rubygems_version: 3.1.4
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Automate image optimization on rails platforms.
|