broomhlda 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hl/lexers/yaml.ay +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04659e3e2c39c2a2342cc0cf0a74ada25fb50eb6
4
- data.tar.gz: 598ef3e76c62d401ef0fc022f586729f4dbee4d0
3
+ metadata.gz: c449b3743e5215b7931e11980ff98b393a99fb5e
4
+ data.tar.gz: 8263038792c0575b8955e3ce465ca8982bbca7fa
5
5
  SHA512:
6
- metadata.gz: 4fb54b9d9ffcd0da7a159bb0a8edd9aa3b08c5293d41fd7c72790708310328e7a1bda2567fdc920250f05f908dd3bd178602fc89dff371f67c06c539775512cb
7
- data.tar.gz: f0d45d7fd361d0f32fcdb97c30911a6dc9b9d6ea25670ba47ebd672f9f1d3908ae69395355e79a22a1c97debbbf075c3dbcffd3277ae81df932445602f4ce2b1
6
+ metadata.gz: fff0c943d9f3f6a018023eface623344b12974e35ab220acc4b8b94b90274b4850c8e52fa1be5acefdaede2a6006f3ad55913e39870290e637ee1875bfcc8e6f
7
+ data.tar.gz: e1c6f28738f11b28754b2a7a1d67462e7f04f7f75dff7d802a5454e0d6142bbe60fb5fe854b082c0f43eb5d0c60adce84f5bf7085963ee0790873b4c2e5d6c8d
@@ -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 - 1}}(?=[^ ])" is(text) -> pop(3)
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.3
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-02-24 00:00:00.000000000 Z
11
+ date: 2016-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: atomy