fanforce-validations 0.4.1 → 0.4.2
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
|
+
MTc1NzViYTE3Y2Y1ZGExYzEzM2M5ZWNmNmVmZjY1YWRiMjNkOTViNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjRiNGUyMDU3YjczNmIxZDc4MGNhNGFhNzBlMzNiODdkNDQ0NDZmOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTdjZDU1OTIyYjU2YWZlOWI2Y2I0MDdiZmJkODUyZDc1MDA0OTBjYjUyZGE3
|
10
|
+
NzFiYmQxMTkxZWFjM2M3MjBhOGY2OWVhYjQ2NzFiYWQ1ZGY0YjhmZmExOTJh
|
11
|
+
MjIzYmJmMDE0NDFkY2M2ZGQ3ZDQ5ZTAwMDk4NmE2MTgxNzgyZGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzIwMDk2OWYzYjMxYzdkZjgwMTJlMDFmZGY5OTFiNGEzZmU1ODFiYWUzNWI1
|
14
|
+
OTYxN2Q4ZWJmMTMzMzUyN2RmNzZjMjk5ZDUzMDBlNDJkOTM4M2IyM2QzZWMy
|
15
|
+
ZTYxYjllMjc5N2U3ODQ4MzY2OGQ0YzhkYmRlZDdlMWIwOWUxMWE=
|
@@ -77,7 +77,7 @@ module Fanforce::Validations
|
|
77
77
|
opts = extract_options!(args).merge(:field => :_external_id)
|
78
78
|
params = extract_validation_params(opts)
|
79
79
|
|
80
|
-
if
|
80
|
+
if _external_id.to_s.include?('/')
|
81
81
|
opts[:message] = '_external_id contains one or more forward slashes (/), which is not allowed'
|
82
82
|
else
|
83
83
|
return true
|