cloudinary 1.0.75 → 1.0.76
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 +8 -8
- data/CHANGELOG +3 -0
- data/lib/cloudinary/static.rb +1 -1
- data/lib/cloudinary/version.rb +1 -1
- data/spec/utils_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTU2YzFiODA2NGVjMzUwZTdkY2U1MDU2NGM5YjgyOGZmMzUwMjUxZg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YmJkODg5OGNmMGIxNmQ4Njk5ODkwYjQ1MzQ3MTRhZTc4MGU1OTdkNw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Mjk1ZGQ0MGNlNGFjMGFlYjdlYTRmMzQ1NjIyNzAyMTMwZWU4Y2MxYzYwYWRk
|
|
10
|
+
NTU0Mzg5OGMwYjBlNjM4MDYyYzFjNDU1ZGFhZGE1ZjE5ZTc0YThmZTY0YTQx
|
|
11
|
+
OWRjMmViYzFmMTNjNDE1MTU5ZmEyNDQ2ZGJhMzllZGEzZjI4ODE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NTg1MTYxMDM5YzNlM2EwNjMzZjIxOTY5MTMxZmQ3ZjEzODI3YjVhZmIzN2Zh
|
|
14
|
+
MjI0NmU2MjZhN2FiNjk0NjVhZWJkYmNmZjFmMDc5NGMzNGY4NTE0M2RlZmQ0
|
|
15
|
+
ZTUyZmJkMzE0MGFmZTIxODU1MWY1MWRhYjMxYmZhNmNmMDE4NjQ=
|
data/CHANGELOG
CHANGED
data/lib/cloudinary/static.rb
CHANGED
|
@@ -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
|
|
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"
|
data/lib/cloudinary/version.rb
CHANGED
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.
|
|
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-
|
|
13
|
+
date: 2014-08-24 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rest-client
|