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 +4 -4
- data/lib/carrierwave/storage/imagekit_store.rb +0 -3
- data/lib/imagekit/sdk/version.rb +1 -1
- data/lib/imagekitio.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f4c1378d734792764be12a017096faf02b19b25ffd17e71967b83a11a4d9b43
|
4
|
+
data.tar.gz: c2e57147a07ee8372fbbc9ef6f4a65d5d06cda3378a06fc3671902bec470e366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/imagekit/sdk/version.rb
CHANGED
data/lib/imagekitio.rb
CHANGED
@@ -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.
|
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:
|
11
|
+
date: 2021-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|