cloudinary 1.0.79 → 1.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b29c537f39a98d72f302907e0f50fbb8cafa1a10
4
- data.tar.gz: b8a1adc7b8fe8f9bc154f909e44b4ef0a16387fc
3
+ metadata.gz: 5238e148e2fa359ac4736ba85dd244cf72b9fbc5
4
+ data.tar.gz: cd495901ce6334177179ebfd39036959dce421d4
5
5
  SHA512:
6
- metadata.gz: 1fc90e873024c8b1f8f75abf0500684024b3fd5fee87086eecf078645466378bdc3a8fc7965f9c034b3567ff03d8a150f613692b1078110a4aa2721bde21dd79
7
- data.tar.gz: 3edd3c23ec7e6053f03a0670e0910dbfddf9260e1ccfe411635c0749db175229eb6b4412b37e0d99591808be159686eea2b6068d407fbb0dccd3aac2a3d4c162
6
+ metadata.gz: be187c5e89b243c0ba3fad8efafe605898e12a23758fa4e0a9526f79928ce2028eeadf7da3136a0d481200d5f39564cb4c3c2aaf3d09fecb71d2ee6a3c120433
7
+ data.tar.gz: e5b09d564ce2e161311bf555559857d36e51d08b9e15294fbb9a78b11c18e7baa4f6727d37d2093b921ced8547ad94a31a8eb15c221e1e265581bceff0331251
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ = Version 1.0.80 - 2015-01-01
2
+ * Support upload_chunked direct upload for large raw files.
3
+
1
4
  = Version 1.0.79 - 2014-12-11
2
5
  * Support folder listing API.
3
6
  * Add support for conditional processing in CarrierWave plugin.
@@ -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)
@@ -1,4 +1,4 @@
1
1
  # Copyright Cloudinary
2
2
  module Cloudinary
3
- VERSION = "1.0.79"
3
+ VERSION = "1.0.80"
4
4
  end
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.79
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: 2014-12-11 00:00:00 Z
14
+ date: 2015-01-01 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rest-client