fanforce-internal-validations 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/validations/validations.rb +1 -2
- data/lib/fanforce/validations/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MThmZmM5Y2JjNDA1ODE0NzMxYTc3OWQ5NTAyY2E5OWIzN2NmMGI5Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjE4MzhkYWExNDE5YmI3YzRhMGViYmY1MzUzNjY5ZTk3MmVlY2I3ZQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmY4ZWIxZmJkMjJiNDQ1NTZkMmFhOGEwNDU3ZGFmYzYzNzMxZWNkMTc4NjRk
|
10
|
+
MzY5NjZjNjcxZGIzNzRhOWI2NTc1MDVlNzk2MWUwZGUwMTk1ZmZlNzY2YjE3
|
11
|
+
ZGVlODViNzk1ZTE1MTViNTgxMWUwMGQ5MThmYzhlNWZhODJhZTA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODc5NjdjMzUxYzEyMGE0OWQyMTU2YTc4M2E4MzkxNjg3NDQ4YmFiMjIyYTRi
|
14
|
+
ZTc2NjlkYmQ4ZWM4ZWRhYTZmM2ZiOGNmYTY5YmY3YWMzMGRlMmU3NGY2NTRl
|
15
|
+
ZmEwNjZjZTZhNWZhZDFmODM0Y2E2MzQ0Y2VmNzc3N2EyMDA0Zjc=
|
@@ -55,7 +55,6 @@ module Fanforce::Validations
|
|
55
55
|
raise_validation_errors(opts, errors, Fanforce::Error::BadRequest)
|
56
56
|
end
|
57
57
|
|
58
|
-
|
59
58
|
def validates_true(*args)
|
60
59
|
opts = extract_options!(args)
|
61
60
|
params = extract_validation_params(opts)
|
@@ -96,7 +95,7 @@ module Fanforce::Validations
|
|
96
95
|
end
|
97
96
|
return opts
|
98
97
|
elsif args.last.is_a?(::String)
|
99
|
-
{
|
98
|
+
{message: args.pop.to_s}
|
100
99
|
else
|
101
100
|
{}
|
102
101
|
end
|