rails_errors2html 1.4.0 → 1.4.1

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.0'
2
+ VERSION = '1.4.1'
3
3
 
4
4
  def Errors2Html.version
5
5
  Errors2Html::VERSION
@@ -137,6 +137,10 @@ module Errors2Html
137
137
  end
138
138
  end
139
139
 
140
+ ##
141
+ #
142
+ Errors2HTML = Errors2Html
143
+
140
144
  ##
141
145
  #
142
146
  require 'active_model' unless defined?(ActiveModel)
@@ -148,3 +152,4 @@ end
148
152
  to_hash.inspect(*args, &block)
149
153
  end
150
154
  end
155
+
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "rails_errors2html"
6
- spec.version = "1.4.0"
6
+ spec.version = "1.4.1"
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.0
4
+ version: 1.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: