rails_errors2html 1.4.0 → 1.4.1
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.
- data/lib/rails_errors2html.rb +6 -1
- data/rails_errors2html.gemspec +1 -1
- metadata +1 -1
data/lib/rails_errors2html.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Errors2Html
|
|
2
|
-
VERSION = '1.4.
|
|
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
|
+
|
data/rails_errors2html.gemspec
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification::new do |spec|
|
|
5
5
|
spec.name = "rails_errors2html"
|
|
6
|
-
spec.version = "1.4.
|
|
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 %>"
|