imagekitio 1.0.8 → 1.0.9

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: df584536217af3babb8d6dea61e908df2776fccc00e87d79cf96e76ffcc28ce7
4
- data.tar.gz: e6133d78fb2173889fe0ff5acb153dcdb7f91e799caf81c9f7f6ebfcd4f58ec5
3
+ metadata.gz: 8f4c1378d734792764be12a017096faf02b19b25ffd17e71967b83a11a4d9b43
4
+ data.tar.gz: c2e57147a07ee8372fbbc9ef6f4a65d5d06cda3378a06fc3671902bec470e366
5
5
  SHA512:
6
- metadata.gz: a1697341b29aa81e0f1d2325212505f6ed5830326cb173b6cb436b69c0af358fc4151e31e42c736e95e1ee22a132b6d3c12d710e30adeb7267148e5c74f0bcbd
7
- data.tar.gz: 3e01a5b2d508b8a33e517f3f75a9e9a0ef0e3c418d99396f31aaaca68ea9cec50cd51182781cc2290e84a8b04d13898c5eaabef56aa194f9d1a11b8300739f59
6
+ metadata.gz: 75fbd6009d4875bf9e56ebad657898d69e96aa88835972649477cfc3c4aaff98c1dcb1ec41d9026ce5d2626ce7a83913e5e590fb30c504e6f741b65e974c463a
7
+ data.tar.gz: 111fdba2d869e92b4e01bc58184b189b4120e2ecbec444b326157ed638e28e4078d0fd831fe5a5efb56cd4ecf403dd6c8c259556bdc58d627e94662905608c67
@@ -33,9 +33,6 @@ module CarrierWave
33
33
 
34
34
  def retrieve_from_cache!(identifier)
35
35
  CarrierWave::SanitizedFile.new(::File.expand_path(uploader.cache_path(identifier), uploader.root))
36
- resp=@client.get(identifier)
37
- # binding.pry
38
- IKFile.new(resp)
39
36
  end
40
37
 
41
38
  def delete_dir!(path)
@@ -1,5 +1,5 @@
1
1
  module Imagekit
2
2
  module Sdk
3
- VERSION = '1.0.8'
3
+ VERSION = '1.0.9'
4
4
  end
5
5
  end
@@ -42,7 +42,7 @@ module CarrierWave
42
42
  if self.file!=nil
43
43
  base64=Base64.encode64(::File.open(self.file.file, "rb").read)
44
44
  resp=@imagekit.upload_file(open(self.file.file,'rb'),self.file.filename,@options)
45
- ::File.delete(self.file.file)
45
+ # ::File.delete(self.file.file)
46
46
  res=resp[:response].to_json
47
47
  if res!="null"
48
48
  res
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.8
4
+ version: 1.0.9
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-14 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave