validation_profiler 0.1.9 → 0.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aeea0d261c5bc43478dfed9b8ee6375d8c2d98b4
4
- data.tar.gz: 6a65fdbb426179c31dfde5b32a87d47e10e22922
3
+ metadata.gz: cdd5688dc32ecc37a489726b2aa5fb8fffb238c7
4
+ data.tar.gz: 27702ba0a543a6a6619c1802f8f333808483b131
5
5
  SHA512:
6
- metadata.gz: a28cc2e043d6bf806a4d3aff87c0b7a04d750555824b3d72a8f0f2c34dc257cec9d0405315172cd0787e5719133a96cf94cc0787a42f450a3e43cf20505a9cba
7
- data.tar.gz: 67aedd5f79c0ed5a7449beba86d48b325558a513668bd732f3c820fd0d3169b390d9da9f8a7d4645beea574342d0b570d49ef95c2264cd257129b83fd07ac5ea
6
+ metadata.gz: 590c9367485a98b87c593bb5933ad36443a245b090db8d3ea34fb16e986741e2ed503b5df7307ee116035fd3902fba9e0e1e995d45d4dc5898cfaa5a0f208993
7
+ data.tar.gz: 4a56d15cc6fb7398c9df9b4eebef9383245572eda462d98db067a97dfee2e6e3ef717e75da551c210e51d651e0e025736f41abf600fd33214997517af27daa41
@@ -240,6 +240,10 @@ class RequiredValidationRule < ValidationRule
240
240
  return false
241
241
  end
242
242
 
243
+ if field_value.is_a?(Fixnum)
244
+ return true
245
+ end
246
+
243
247
  return !field_value.empty?
244
248
 
245
249
  end
@@ -1,3 +1,3 @@
1
1
  module ValidationProfiler
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
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.9
4
+ version: 0.1.10
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-25 00:00:00.000000000 Z
11
+ date: 2016-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,3 +106,4 @@ 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: