cloudinary 1.18.0 → 1.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/cloudinary/version.rb +1 -1
- data/vendor/assets/javascripts/cloudinary/jquery.cloudinary.js +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42964b1e7b2a93986d13479b494110e502f4d1466f179410e22f58995d75ee1f
|
4
|
+
data.tar.gz: 80eae5018288bedfa0319537850b3e173142d437cf016c83ee3b8ba1f412c5d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7021d7cd3d1d828660c68d803edc312dc1b7a7a9ac56cb0d9cc6dee894fa47fbb18950f70eb54e1b3e0a20a3f392632f1ef0ac5786f70ded929b2d912f20f3fa
|
7
|
+
data.tar.gz: 5c67f41050189259c3442500525bb27d54355a8b510b4e5f9f32535a8fa0b2dcfc9fb1102403afbbe3fc88e3c94c91b42fe6028d64dab48d6cc86062c8bd1061
|
data/CHANGELOG.md
CHANGED
data/lib/cloudinary/version.rb
CHANGED
@@ -1490,12 +1490,16 @@ var slice = [].slice,
|
|
1490
1490
|
// operators
|
1491
1491
|
operatorsPattern = "((" + operators + ")(?=[ _]))";
|
1492
1492
|
operatorsReplaceRE = new RegExp(operatorsPattern, "g");
|
1493
|
-
expression = expression.replace(operatorsReplaceRE,
|
1493
|
+
expression = expression.replace(operatorsReplaceRE, function (match) {
|
1494
|
+
return Expression.OPERATORS[match];
|
1495
|
+
});
|
1494
1496
|
|
1495
1497
|
// predefined variables
|
1496
1498
|
predefinedVarsPattern = "(" + Object.keys(Expression.PREDEFINED_VARS).join("|") + ")";
|
1497
1499
|
predefinedVarsReplaceRE = new RegExp(predefinedVarsPattern, "g");
|
1498
|
-
expression = expression.replace(predefinedVarsReplaceRE, (match, p1, offset)
|
1500
|
+
expression = expression.replace(predefinedVarsReplaceRE, function(match, p1, offset){
|
1501
|
+
return (expression[offset - 1] === '$' ? match : Expression.PREDEFINED_VARS[match]);
|
1502
|
+
});
|
1499
1503
|
|
1500
1504
|
return expression.replace(/[ _]+/g, '_');
|
1501
1505
|
};
|
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.18.
|
4
|
+
version: 1.18.1
|
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: 2020-09-
|
13
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws_cf_signer
|