rails_errors2html 1.4.2 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Errors2Html
2
- VERSION = '1.4.2'
2
+ VERSION = '1.5.0'
3
3
 
4
4
  def Errors2Html.version
5
5
  Errors2Html::VERSION
@@ -66,9 +66,9 @@ module Errors2Html
66
66
  }
67
67
 
68
68
  if template
69
- View.render(:template => template, :locals => locals)
69
+ View.render(:template => template, :locals => locals, :layout => false)
70
70
  else
71
- View.render(:inline => inline, :locals => locals)
71
+ View.render(:inline => inline, :locals => locals, :layout => false)
72
72
  end
73
73
  end
74
74
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "rails_errors2html"
6
- spec.version = "1.4.2"
6
+ spec.version = "1.5.0"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "rails_errors2html"
9
9
  spec.description = "<%= form_for @post do %> <%= @post.errors.to_html %>"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_errors2html
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
12
+ date: 2016-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fattr
@@ -91,8 +91,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project: codeforpeople
94
- rubygems_version: 1.8.24
94
+ rubygems_version: 1.8.23.2
95
95
  signing_key:
96
96
  specification_version: 3
97
97
  summary: rails_errors2html
98
98
  test_files: []
99
+ has_rdoc: