jeanny 0.93 → 0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/jeanny/engine.rb +2 -2
  2. metadata +2 -2
data/lib/jeanny/engine.rb CHANGED
@@ -446,9 +446,9 @@ module Jeanny
446
446
  tags.map! do |tag|
447
447
 
448
448
  # Пропускаем конструкции в которых точно ничего нет
449
- unless tag =~ /^\s*(#|PROCESS|INCLUDE|INSERT|END\s*$|ELSE\s*$)/im
449
+ unless tag =~ /^\s*(#|BLOCK|PROCESS|INCLUDE|INSERT|END\s*$|ELSE\s*$)/im
450
450
  each_string :in => tag do |string|
451
- unless string =~ /\.(tt2|css|png|jpg|gif)\s*$/
451
+ unless string =~ /\.(tt2|css|js|png|jpg|gif)\s*$/
452
452
  string_after = string.dup
453
453
  classes.each do |full_class, short_class|
454
454
  while (pos = string_after =~ /#{full_class}(?=[^a-z0-9\-_\.]|$)/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeanny
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.93"
4
+ version: "0.95"
5
5
  platform: ruby
6
6
  authors:
7
7
  - gfranco
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-26 00:00:00 +02:00
12
+ date: 2009-11-27 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15