cloudinary 1.0.79 → 1.0.80
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/lib/cloudinary/helper.rb +2 -1
- data/lib/cloudinary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5238e148e2fa359ac4736ba85dd244cf72b9fbc5
|
4
|
+
data.tar.gz: cd495901ce6334177179ebfd39036959dce421d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be187c5e89b243c0ba3fad8efafe605898e12a23758fa4e0a9526f79928ce2028eeadf7da3136a0d481200d5f39564cb4c3c2aaf3d09fecb71d2ee6a3c120433
|
7
|
+
data.tar.gz: e5b09d564ce2e161311bf555559857d36e51d08b9e15294fbb9a78b11c18e7baa4f6727d37d2093b921ced8547ad94a31a8eb15c221e1e265581bceff0331251
|
data/CHANGELOG
CHANGED
data/lib/cloudinary/helper.rb
CHANGED
@@ -183,7 +183,7 @@ module CloudinaryHelper
|
|
183
183
|
end
|
184
184
|
|
185
185
|
def cl_upload_url(options={})
|
186
|
-
Cloudinary::Utils.cloudinary_api_url("upload", {:resource_type=>:auto}.merge(options))
|
186
|
+
Cloudinary::Utils.cloudinary_api_url(options[:chunk_size] ? "upload_chunked" : "upload", {:resource_type=>:auto}.merge(options))
|
187
187
|
end
|
188
188
|
|
189
189
|
def cl_upload_tag_params(options={})
|
@@ -207,6 +207,7 @@ module CloudinaryHelper
|
|
207
207
|
:"data-url"=>cl_upload_url(options),
|
208
208
|
:"data-form-data"=>cl_upload_tag_params(options),
|
209
209
|
:"data-cloudinary-field"=>field,
|
210
|
+
:"data-max-chunk-size"=>options[:chunk_size],
|
210
211
|
:"class" => [html_options[:class], "cloudinary-fileupload"].flatten.compact
|
211
212
|
).reject{|k,v| v.blank?}
|
212
213
|
content_tag("input", nil, tag_options)
|
data/lib/cloudinary/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudinary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.80
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nadav Soferman
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date:
|
14
|
+
date: 2015-01-01 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|