client_side_validations 3.2.7 → 3.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38fd5c8616f9660f50a6a43b5ae101489458fed8
4
- data.tar.gz: 2462d48679c9fe78adf342c81463ad119856c6c1
3
+ metadata.gz: fbd871867fe3ac8c8138d4f88834a484024a2b5d
4
+ data.tar.gz: 9fd38a2850d8bb88bf1de067f6c1d9eb04565714
5
5
  SHA512:
6
- metadata.gz: 109b26253fa04aa9989f449bc0fce107a42bf87e69926229589253dc45720f32973972aa7cd82f461846cfa1c73441eddeae19d0057977d54d3797fc2f808802
7
- data.tar.gz: 6648217c328aef0e74e88be8aaa5111a9d22df5eeb4c3a5ce48ab45f6792a64d2b01433be5b5bd592b93d3e504d1f2a1822a9db4c4decfdd4b3dc7049c2b8344
6
+ metadata.gz: d5564f36c9f807d52d75a10d9d7f098928c5518cb849b7073cfc2fb4a5bc8145a1a379b2321deff22fe4f47d7a6196f12ee1c6d4d8d74b96a3f058a2fbdd0aac
7
+ data.tar.gz: 4780d05462f4b7f0a306eb9bc18c98ef035ba1fa8055b04a6eb175cec50f56b2c0c3e036c9194f3fafc106a97d912e918c70e715bada3381d1ac59f20ba89700
@@ -95,6 +95,7 @@ module ClientSideValidations::ActiveModel
95
95
  end
96
96
 
97
97
  def validator_turned_off?(attr, validator, force)
98
+ return true if ::ClientSideValidations::Config.disabled_validators.include?(validator.kind)
98
99
  case force
99
100
  when FalseClass
100
101
  true
@@ -108,7 +109,7 @@ module ClientSideValidations::ActiveModel
108
109
  false
109
110
  end
110
111
  else
111
- ::ClientSideValidations::Config.disabled_validators.include?(validator.kind)
112
+ false
112
113
  end
113
114
  end
114
115
 
@@ -1,3 +1,3 @@
1
1
  module ClientSideValidations
2
- VERSION = '3.2.7'
2
+ VERSION = '3.2.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.7
4
+ version: 3.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cardarella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-11 00:00:00.000000000 Z
11
+ date: 2016-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.4.4
210
+ rubygems_version: 2.5.1
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: Client Side Validations