ditto_code 0.3.3 → 0.3.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/dittocode/parse.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1d0c322e38663309a6c47bf1af6c9a923be3da9
4
- data.tar.gz: 9d775d7085a66dfb31e1714b648bed4df068cda5
3
+ metadata.gz: 75baa15d4ccedb928d2183630cdc51f6909ad278
4
+ data.tar.gz: 248db2995043667a40c09aadfc624313b1e76d74
5
5
  SHA512:
6
- metadata.gz: 01b9634b4b72113da0c4cd1d4fd9c28cd569293f6254123ab30a6bdc040078e37d06d33c42c6c4de73dfc8314b98406967443617d87ed4898d920b4214ec6f53
7
- data.tar.gz: c53aa2fe1930c7681141b1f4709a37c2a7d6474f87af84a62d101c08f8ef17c6deee36ea67fbb18d37cb7d3451f73520166f22920381b0b57a59cd89953d1438
6
+ metadata.gz: ce57a40b866331172e339d87848d45b22ae6e7394bfdb1b88eaa9481a8927a81e3da658de10cbde505ae892223343d509e23e3002d822174b12843cbe833e1e5
7
+ data.tar.gz: 7ef82c14f3ae1a0633d2d71caeb8528e8d485986386eec609be4e06c11cdb0ba746e0b2239dca788fa6d4b9882e6573cd2ebac927bdf0d19a4abfce095acd9f7
@@ -220,7 +220,7 @@ module DittoCode
220
220
  # Coincide with an end!
221
221
  if @isView && /[\s]*<%[\s]*(end)[\s]*%>/.match(line)
222
222
  true
223
- elsif /^[\s]*end/.match(line)
223
+ elsif /^[\s]*end[\s]*$/.match(line)
224
224
  true
225
225
  else
226
226
  false
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.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel M Miguel