broomhlda 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hl/lexers/yaml.ay +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c449b3743e5215b7931e11980ff98b393a99fb5e
|
4
|
+
data.tar.gz: 8263038792c0575b8955e3ce465ca8982bbca7fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff0c943d9f3f6a018023eface623344b12974e35ab220acc4b8b94b90274b4850c8e52fa1be5acefdaede2a6006f3ad55913e39870290e637ee1875bfcc8e6f
|
7
|
+
data.tar.gz: e1c6f28738f11b28754b2a7a1d67462e7f04f7f75dff7d802a5454e0d6142bbe60fb5fe854b082c0f43eb5d0c60adce84f5bf7085963ee0790873b4c2e5d6c8d
|
data/lib/hl/lexers/yaml.ay
CHANGED
@@ -304,11 +304,11 @@ lexer = lexer:
|
|
304
304
|
-- document start and document end indicators
|
305
305
|
r"^(?=---|\.\.\.)" is(name.namespace) -> pop(3)
|
306
306
|
|
307
|
-
-- continuing indentation spaces
|
308
|
-
r"^[ ]{#{@indent}}" is(text) -> pop
|
309
|
-
|
310
307
|
-- unindented; pop out of scalar
|
311
|
-
r"^[ ]{0,#{@indent
|
308
|
+
r"^[ ]{0,#{@indent}}(?! )" is(text) -> pop(3)
|
309
|
+
|
310
|
+
-- indentation increased
|
311
|
+
r"^[ ]{#{@indent + 1},}+" is(text) -> pop
|
312
312
|
|
313
313
|
|
314
314
|
lex(plain-scalar-in-block-context):
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: broomhlda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Suraci
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: atomy
|