cloudinary 1.0.75 → 1.0.76

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzc3N2QyYzFlNTE3MzZjMTViMTBjYjRjMDlhMDk2YzFhMWY2MzRlNQ==
4
+ MTU2YzFiODA2NGVjMzUwZTdkY2U1MDU2NGM5YjgyOGZmMzUwMjUxZg==
5
5
  data.tar.gz: !binary |-
6
- M2U5YTAzYmFlZmYyOGEyNTI1ZDFiNTA1NjhiNjc2NThhNzhhNWVhMw==
6
+ YmJkODg5OGNmMGIxNmQ4Njk5ODkwYjQ1MzQ3MTRhZTc4MGU1OTdkNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTdhMDE4ZTIwZmY4NTYzNWI4MTNkODUyNjFkODJjMDVmYTQ2YzM5NDY0Y2Rh
10
- YWQ2MDFkNmE5ZmQ0NTJmMDE2ZjY2M2Q2ZWVjNmE2YjU3MDA2NTkzYjUxNmQ5
11
- N2JlYzI4YTlhZGZhNzE3ZTFmNGYwMzc2YzNhYTdhYzA1OTU4ODM=
9
+ Mjk1ZGQ0MGNlNGFjMGFlYjdlYTRmMzQ1NjIyNzAyMTMwZWU4Y2MxYzYwYWRk
10
+ NTU0Mzg5OGMwYjBlNjM4MDYyYzFjNDU1ZGFhZGE1ZjE5ZTc0YThmZTY0YTQx
11
+ OWRjMmViYzFmMTNjNDE1MTU5ZmEyNDQ2ZGJhMzllZGEzZjI4ODE=
12
12
  data.tar.gz: !binary |-
13
- NjFhMjRiNGExZGQ4NTQ2NTdlYWI2YWU1ZDIyMTVlMjM5ODcxNzRkZDA5MWY0
14
- YmE2NjU5MTAyMjk4ODdlYTc1OTI2ZTA5NzQ5N2U0YmVlYmE2Yjk5MDNiMDk3
15
- MGU2M2M0OGI4NjE0OWQ2NTgwMGE4NTQ1MDBiMTc5ODMzYzE4YjM=
13
+ NTg1MTYxMDM5YzNlM2EwNjMzZjIxOTY5MTMxZmQ3ZjEzODI3YjVhZmIzN2Zh
14
+ MjI0NmU2MjZhN2FiNjk0NjVhZWJkYmNmZjFmMDc5NGMzNGY4NTE0M2RlZmQ0
15
+ ZTUyZmJkMzE0MGFmZTIxODU1MWY1MWRhYjMxYmZhNmNmMDE4NjQ=
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ = Version 1.0.76 - 2014-08-24
2
+ * Added supported image types for rake cloudinary:sync_static.
3
+
1
4
  = Version 1.0.75 - 2014-07-30
2
5
  * Don't use Rails' image_tag for repsponsive/hidpi to prevent wrong alt and data URIs.
3
6
 
@@ -3,7 +3,7 @@ require 'time'
3
3
  require 'set'
4
4
  class Cloudinary::Static
5
5
  IGNORE_FILES = [".svn", "CVS", "RCS", ".git", ".hg"]
6
- SUPPORTED_IMAGES = [/\.gif$/i, /\.jpe?g$/i, /\.png$/i, /\.bmp$/i, /\.ico$/i]
6
+ SUPPORTED_IMAGES = [/\.(gif|jpe?g|png|bmp|ico|webp|wdp|jxr|jp2|svg|pdf)$/i]
7
7
  STATIC_IMAGE_DIRS = ["app/assets/images", "lib/assets/images", "vendor/assets/images", "public/images"]
8
8
  METADATA_FILE = ".cloudinary.static"
9
9
  METADATA_TRASH_FILE = ".cloudinary.static.trash"
@@ -1,4 +1,4 @@
1
1
  # Copyright Cloudinary
2
2
  module Cloudinary
3
- VERSION = "1.0.75"
3
+ VERSION = "1.0.76"
4
4
  end
data/spec/utils_spec.rb CHANGED
@@ -433,7 +433,8 @@ describe Cloudinary::Utils do
433
433
  ["a+b", "a%2Bb"],
434
434
  ["a%20b", "a%20b"],
435
435
  ["a-b", "a-b"],
436
- ["a??b", "a%3F%3Fb"]
436
+ ["a??b", "a%3F%3Fb"],
437
+ ["parentheses(interject)", "parentheses%28interject%29"]
437
438
  ].each do
438
439
  |source, target|
439
440
  Cloudinary::Utils.cloudinary_url(source).should == "http://res.cloudinary.com/test123/image/upload/#{target}"
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.75
4
+ version: 1.0.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nadav Soferman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-30 00:00:00.000000000 Z
13
+ date: 2014-08-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client