ditto_code 0.3.0 → 0.3.1

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/dittocode/parse.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10e4eddf2d61e2e08b1cdf1b78eb032416812ba5
4
- data.tar.gz: 670b3c8eda2509b809e00042dba51020da085705
3
+ metadata.gz: 4e1fd99e5c18ccdae4d442fee9e42291c1b93ed8
4
+ data.tar.gz: a01eb14cfebccf271da712f0a41e7613e1e25c8f
5
5
  SHA512:
6
- metadata.gz: 87ea6266db43d0cfe387092e6f6452770428d49b934ed279e2d3fd6d2bb1d70001292acc02f92ff30189f0a2636440127c6fa402fc2200339d6f81ea5700e8b5
7
- data.tar.gz: 4a389cbd10ad6158196274f33110c1a1d7393b8d8fc69de386a73655759ac8ca5891f909fb84d434edbf6092e5366807c116d9821b83195eaa57ca50f0add8ba
6
+ metadata.gz: 5ca50bc3b6b2ae8657e2bd9d3e274bccb0a782a28304d3f5364b4ba0eccad21285ff160492dab1c9e0dda04b91c12d0307f6f9efbfa090f7fa328f186185dc25
7
+ data.tar.gz: 85ac19f0d9285ad3a94b5e574a058fddb9dd56e9b4234ad9c85cf71de0936a856a1ffe5f6a4c75f6b1554c8b7dddb771984a726a43587dcfb4f88c66c923bfb8
@@ -218,7 +218,7 @@ module DittoCode
218
218
  def isEnd?(line)
219
219
 
220
220
  # Coincide with an end!
221
- if @isView && /[\s]+(end)[\s]*%>/.match(line)
221
+ if @isView && /[\s]*<%[\s]*(end)[\s]*%>/.match(line)
222
222
  true
223
223
  elsif /^[\s]*end/.match(line)
224
224
  true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ditto_code
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel M Miguel