jnunemaker-validatable 1.1.9 → 1.1.10

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/validatable.rb CHANGED
@@ -24,5 +24,5 @@ require 'validatable/validations/validates_each'
24
24
  require 'validatable/validations/validates_associated'
25
25
 
26
26
  module Validatable
27
- Version = '1.1.9'
27
+ Version = '1.1.10'
28
28
  end
@@ -19,8 +19,8 @@ module Validatable
19
19
  end
20
20
 
21
21
  def valid_for_group?(group) #:nodoc:
22
- run_before_validations
23
22
  errors.clear
23
+ run_before_validations
24
24
  self.class.validate_children(self, group)
25
25
  self.validate_group(group)
26
26
  errors.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jnunemaker-validatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Fields