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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbd871867fe3ac8c8138d4f88834a484024a2b5d
|
4
|
+
data.tar.gz: 9fd38a2850d8bb88bf1de067f6c1d9eb04565714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
112
|
+
false
|
112
113
|
end
|
113
114
|
end
|
114
115
|
|
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.
|
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:
|
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.
|
210
|
+
rubygems_version: 2.5.1
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: Client Side Validations
|