simple_model 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,6 +46,7 @@ module SimpleModel
46
46
  new_value = item.to_a[0]
47
47
  error_items << create_error_list(new_value[0],new_value[1])
48
48
  else
49
+ self.errors_count = (self.errors_count.to_i + 1)
49
50
  error_items << "<li>#{key.to_s.titleize} #{item}</li>"
50
51
  end
51
52
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleModel
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: simple_model
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joshua T Mckinney