ghazel-erubis_rails_helper 0.9.5 → 0.9.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -231,7 +231,7 @@ module ActionView
231
231
  include ::Erubis::PreprocessingHelper
232
232
 
233
233
  def compile(template)
234
- src = _convert_template("#{template.source}")
234
+ src = _convert_template("<% __in_erb_template=true %>#{template.source}")
235
235
 
236
236
  if show_source?
237
237
  logger.debug("** Erubis: src==<<'END'\n#{src}END\n") if logger
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghazel-erubis_rails_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Elkins
@@ -47,7 +47,8 @@ files:
47
47
  - README.rdoc
48
48
  has_rdoc: true
49
49
  homepage: http://github.com/elkinsware/erubis_rails_helper/tree/master
50
- licenses:
50
+ licenses: []
51
+
51
52
  post_install_message:
52
53
  rdoc_options:
53
54
  - --charset=UTF-8