dl_validator 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76554deef531864d8c973ddeb96e1f0dbb0e5bf7
4
- data.tar.gz: 1486e96a648374dcd4a9ea9a4b7f996c1a429377
3
+ metadata.gz: 88ea58e3122404e367b73b90f595caa4d0fe52ab
4
+ data.tar.gz: daa0003e8411f712b5120ea42e86bb0608fce865
5
5
  SHA512:
6
- metadata.gz: 4843364c3d988ab432f44a2c33178c160b8418bbe83fa010c1ae67548eeee103f0a56edd3e9fa6efea6f529ebaeda6f28035bed7df6a51027657afeccc9ba9e9
7
- data.tar.gz: f231305738916b5987c6cd5bf8e9db408b569ef5f910d00824e76899c5a6c95e915fbb843a84842f7c19bdd959ea87bda16ca9c2587883e4ff36f1028b2c8a29
6
+ metadata.gz: e076ea59cd8b8488a1e43dbbda76f863906a10373e01ca593e5d22958d594fceb579948bf553c78cc860eae7168455cdee53e20784eef84ca783a55871a8f359
7
+ data.tar.gz: eb0967b17080dc9aa375aa053075ba8748ee75c3a475740983d8db3b45b89e3e9b7e35e350fa8cd77c41932b38c613b6117ca550c6656dde222675d510b282b3
@@ -92,7 +92,7 @@ module DlValidator
92
92
  'NY' => /^([0-9]{9})$/, # Format: 9 Numeric
93
93
  'NM' => /^([0-9]{9})$/, # Format: 9 Numeric
94
94
  'NC' => /^([0-9]{1,12})$/, # Format: Up to 12 Numeric
95
- 'ND' => /^([0-9]{9})$/, # Format: 9 Numeric
95
+ 'ND' => /^([A-Z0-9]{9})$/, # Format: 9 Alphanumeric
96
96
  'OH' => /^([A-Z]{2}[0-9]{6})$/, # Format: 2 Alpha 6 Numeric
97
97
  'OK' => /^([A-Z][0-9]{9})$/, # Format: 1 Alpha 9 Numeric
98
98
  'OR' => /^([0-9]{1,7})$/, # Format: Up to 7 Numeric
@@ -1,3 +1,3 @@
1
1
  module DlValidator
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -39,7 +39,7 @@ class Helper
39
39
  'NY' => ['123456789'], # Format: 9 Numeric
40
40
  'NM' => ['123456789'], # Format: 9 Numeric
41
41
  'NC' => ['123456', '1234567', '12345678', '123456789', '123456789012'], # Format: Up to 12 numeric
42
- 'ND' => ['123456789'], # Format: 9 Numeric
42
+ 'ND' => ['123456789', 'KLK123TYP'], # Format: 9 Numeric
43
43
  'OH' => ['LK123456'], # Format: 2 Alpha 6 Numeric
44
44
  'OK' => ['O123456789'], # Format: 1 Alpha 9 Numeric
45
45
  'OR' => ['12345', '123456', '1234567'], # Format: Up to 7 numeric
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dl_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Medeiros
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-12 00:00:00.000000000 Z
11
+ date: 2013-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler