liquidscript 0.6.2 → 0.6.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 050bb1c044cba44a8a78dd38fdb22a2d5bd0d52e
|
|
4
|
+
data.tar.gz: d50d87318b45e35dd0509b31250aec5a643b63fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce6e5e973be00db681dd473387119b47d87960de35d8bb14907099bd51c2f310a164bcd161a1bf0aa5d41f90f107e982296bb595811be4f24b7616ad14a46df6
|
|
7
|
+
data.tar.gz: ba7f2b51d7ef53ad1009ed192aea8d1ffd9ae9a470270b7a73955db31cf8f0335f91107c285627aa9dac6e6ecae1f5886f91bbf3f37a62b3af0e01c282fc0e3e
|
|
@@ -14,7 +14,8 @@ module Liquidscript
|
|
|
14
14
|
# The variables that are allowed to be used as a global scope,
|
|
15
15
|
# i.e. used in a `get` context without a previous `set`.
|
|
16
16
|
DEFAULT_ALLOWED_VARIABLES = [
|
|
17
|
-
:window, :global, :exports, :console, :this, :arguments
|
|
17
|
+
:window, :global, :exports, :console, :this, :arguments,
|
|
18
|
+
:require
|
|
18
19
|
]
|
|
19
20
|
|
|
20
21
|
# The parent of the current context.
|
data/lib/liquidscript/version.rb
CHANGED
|
@@ -126,6 +126,7 @@ describe Compiler::ICR do
|
|
|
126
126
|
specify { expect("()-> {}").to compile }
|
|
127
127
|
specify { expect("(test)-> {}").to compile }
|
|
128
128
|
specify { expect("(test, foo)-> {}").to compile }
|
|
129
|
+
specify { expect("blasg()").to_not compile }
|
|
129
130
|
specify { expect("class Test : Variant {}").to_not compile }
|
|
130
131
|
end
|
|
131
132
|
|