ditto_code 0.2.7 → 0.2.8

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: b7693efce39ccf6d5f4d45b6a4c4819296f93f6b
4
- data.tar.gz: 803b0ec425e2dc30bba1ebc9578240644681b70f
3
+ metadata.gz: 6f0870c4dce6decc9f010a6c6e1aa45723fc464b
4
+ data.tar.gz: 9a023e14a386d64db7a82a66b794cc5d5220189b
5
5
  SHA512:
6
- metadata.gz: d9f8aeb62bca43e937d224bbe9df4d0f9fd780137f7c795db6d8781951beb5100bda31557bd85c80fe4b9d802e85307fd6836fdda8be54dc22540f64446c25f4
7
- data.tar.gz: 334dbd191b394199d1b659757ffa7d2925ef32d574502b6f6dd2624c06e4a734edb91e940819161eaa8d0925027a33aa3592451756db0ddc83eea1f5384773af
6
+ metadata.gz: e01a19615d477c7ce280b8a9b90b46988dc3d79d994d358737023e61cc594516b0346def20faaaeefe51dee79fd24f144d1c9fb95e6d5dcba6bf47f931458b80
7
+ data.tar.gz: ab731153a868ccce85c47bfad95b789a6c95a0820bf6cfce6c054de996956c244a7df1d86377c054fe03fa0c2df129a853dfddbd2b7554528d6a8bf37a5dcbb9
@@ -233,7 +233,7 @@ module DittoCode
233
233
  # Get the initializers and the ends of the blocks
234
234
  if @isView
235
235
  initializers = line.scan(/<%[\s]*(case|unless|if|do|def|begin)[\s]+/).size
236
- initializers += line.scan(/<%[@=;\s\w\d]*(case|unless|if|do|def)[\s]+/).size
236
+ initializers += line.scan(/<%[@=;\s\w\d\.]*(case|unless|if|do|def)[\s]+/).size
237
237
 
238
238
  finals = line.scan(/[\s]+(end)[\s]*%>/).size
239
239
  else
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.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel M Miguel