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 +4 -4
- data/lib/config/dl_config.rb +1 -1
- data/lib/dl_validator/version.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ea58e3122404e367b73b90f595caa4d0fe52ab
|
4
|
+
data.tar.gz: daa0003e8411f712b5120ea42e86bb0608fce865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e076ea59cd8b8488a1e43dbbda76f863906a10373e01ca593e5d22958d594fceb579948bf553c78cc860eae7168455cdee53e20784eef84ca783a55871a8f359
|
7
|
+
data.tar.gz: eb0967b17080dc9aa375aa053075ba8748ee75c3a475740983d8db3b45b89e3e9b7e35e350fa8cd77c41932b38c613b6117ca550c6656dde222675d510b282b3
|
data/lib/config/dl_config.rb
CHANGED
@@ -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' => /^([
|
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
|
data/lib/dl_validator/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2013-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|