fanforce-validations 0.5.0 → 0.5.1
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 -1
- 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
|
+
Y2U1NDA4ZTk2ZjlmN2JhODA3OTE0MGUzMWVhMDNjM2VkZGYzZTYxYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTg2Mjk3N2NlZGU0NmI5YjBhODJkZTg3MzNlNTE0MjU3MjIzMDg1Nw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTcwZTMzMmQ0NTcxYmU0ZjVkYTk5NDZhYTAwNzc2OWU4NWFlYTQ3MGMwOWUw
|
10
|
+
YTQ4ZmQzYmVmNzEzOWFiYWE1YzNjYTA3ZmFiZDhhZjA4MjczYmEyYzcwZTE5
|
11
|
+
ZWQwYzk3MzVlOTNiMDkyZDdkODFhNDc3Yzg0ODg5MTVkMjdkYjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzRhNjk5M2I4NGUwMDhmZjc5NzFkNjM2ZTQ2YWU3NTg0ZWY4ZjdkYmRjYWQ1
|
14
|
+
ZWY5YWE2ZmVlZjUyNGE3OGJmOWZiMDQ4ZGUxNGVjZDQxYWI0ODM2Yjk0NDAz
|
15
|
+
NGU1MjRmYTJmOTQwMDM0NTI3OGQxZmE5NTQzOWZmZTdhNTc1ZTY=
|
@@ -86,7 +86,7 @@ module Fanforce::Validations
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def extract_options!(args)
|
89
|
-
if args.last.is_a?(
|
89
|
+
if args.last.is_a?(Hash)
|
90
90
|
opts = args.pop.symbolize_keys
|
91
91
|
if is_present?(opts[:field]) and opts[:fields].is_a?(Array)
|
92
92
|
opts[:fields] << opts.delete(:field)
|