validation_profiler 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/validation_profiler/rules/rules.rb +1 -1
- data/lib/validation_profiler/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aeea0d261c5bc43478dfed9b8ee6375d8c2d98b4
|
|
4
|
+
data.tar.gz: 6a65fdbb426179c31dfde5b32a87d47e10e22922
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a28cc2e043d6bf806a4d3aff87c0b7a04d750555824b3d72a8f0f2c34dc257cec9d0405315172cd0787e5719133a96cf94cc0787a42f450a3e43cf20505a9cba
|
|
7
|
+
data.tar.gz: 67aedd5f79c0ed5a7449beba86d48b325558a513668bd732f3c820fd0d3169b390d9da9f8a7d4645beea574342d0b570d49ef95c2264cd257129b83fd07ac5ea
|
|
@@ -73,7 +73,7 @@ class ValidationRule
|
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
#check if the field is required
|
|
76
|
-
if
|
|
76
|
+
if field_value == nil && required == false
|
|
77
77
|
return false
|
|
78
78
|
else
|
|
79
79
|
return true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: validation_profiler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vaughanbrittonsage
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -106,4 +106,3 @@ specification_version: 4
|
|
|
106
106
|
summary: A Validation framework for creating validation profiles, allowing for the
|
|
107
107
|
separation & reuse of validation logic from the object being validated.
|
|
108
108
|
test_files: []
|
|
109
|
-
has_rdoc:
|