erubi 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/erubi.rb +1 -1
- data/test/test.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8b0f4d493253c58c5927887ba2193ef6a2e0d4e
|
4
|
+
data.tar.gz: 2946005fbabe579a5679f10758fa4d0bfae224f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29a9d08172af4320a6adb1c2c3645b57061da28d43b94621ee2fae921c213e99167a15b4e6b3f44a3eedcca5d2e87b809152fd9d9be1cd6e0e9f6e8b2afead45
|
7
|
+
data.tar.gz: 48ab8f3a18eb6e6257374d02b6db229ee03f48a459f5ea9ba66461c7e4d5eff8cec76515c675e709dc4410f954ef1487de09d58ccd1959fc7311a427238a4d50
|
data/CHANGELOG
CHANGED
data/lib/erubi.rb
CHANGED
data/test/test.rb
CHANGED
@@ -35,7 +35,9 @@ describe Erubi::Engine do
|
|
35
35
|
def check_output(input, src, result, &block)
|
36
36
|
t = (@options[:engine] || Erubi::Engine).new(input, @options)
|
37
37
|
eval(t.src, block.binding).must_equal result
|
38
|
-
t.src
|
38
|
+
tsrc = t.src
|
39
|
+
tsrc = tsrc.gsub("'.freeze;", "';") if RUBY_VERSION >= '2.1'
|
40
|
+
tsrc.must_equal src
|
39
41
|
end
|
40
42
|
|
41
43
|
def setup_foo
|