cloudinary 1.0.34 → 1.0.35

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.
@@ -258,7 +258,11 @@ class Cloudinary::Migrator
258
258
  elsif data.respond_to?(:read) && data.respond_to?(:path)
259
259
  # This is an IO style object, pass as is.
260
260
  file = data
261
- elsif !data.nil?
261
+ elsif data.nil?
262
+ # Skip
263
+ elsif data.match(/^https?:/)
264
+ url = data
265
+ else
262
266
  file = main.temporary_file(data, row["public_id"] || "cloudinaryfile")
263
267
  end
264
268
  end
@@ -1,4 +1,4 @@
1
1
  # Copyright Cloudinary
2
2
  module Cloudinary
3
- VERSION = "1.0.34"
3
+ VERSION = "1.0.35"
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.34
4
+ version: 1.0.35
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: