render_parent 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -5,6 +5,7 @@ ActionView::Helpers::RenderingHelper.module_eval do
5
5
  def render_parent_template(locals = {}, &block)
6
6
  template = controller.active_template
7
7
  view_paths.exclusions << template
8
+ locals["__rendered_depth_#{view_paths.exclusions.count}"] = true
8
9
  result = render(:file => template.virtual_path, :locals => locals, &block)
9
10
  view_paths.exclusions.delete template
10
11
  result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: render_parent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: 855342721
100
+ hash: -48755631
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements: