vin-validator 1.1.0.pre.rc.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vin_validator/knowledge.rb +2 -4
- data/lib/vin_validator/maker.rb +2 -0
- data/lib/vin_validator/version.rb +1 -1
- data/lib/vin_validator/wmi.rb +2 -0
- data/lib/vin_validator/year.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18079484ae913bfde0303a09c79d57a1218d3e2a98c9a08bb16d913327bb4cf8
|
4
|
+
data.tar.gz: 1a2564a4468edc52e278a458029dfb3ddf41694204fbb778b0319dc73d9fbb90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62479a95c57806373805006a4ac4d928f1702e8331ff127e4df2f0d47da26721aa9bf1fdc621f8484bfb171b95ff92dcb995f21f2397db3cd6a6d92423270f1f
|
7
|
+
data.tar.gz: 46e22fd11203835b2dfa6eb21976f23d0bd4fe7700802024e06edd9ddfedc634d3df36b934cbad0251f41d0fcab534a68f143fac3dc1f2c9d14afba2a0411d9f
|
@@ -33,11 +33,9 @@ module VinValidator
|
|
33
33
|
}]
|
34
34
|
end
|
35
35
|
|
36
|
-
vin_split = vin.
|
36
|
+
vin_split = vin.chars
|
37
37
|
|
38
|
-
|
39
|
-
vin_year = vin_split[9].to_s
|
40
|
-
year = VinValidator::Year.find_by(letter: vin_year)
|
38
|
+
year = VinValidator::Year.find_by(letter: vin_split[9].to_s)
|
41
39
|
|
42
40
|
possible_wmis = Array(simple_check[:make])
|
43
41
|
|
data/lib/vin_validator/maker.rb
CHANGED
data/lib/vin_validator/wmi.rb
CHANGED
data/lib/vin_validator/year.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vin-validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brands Insurance
|
@@ -65,9 +65,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
65
|
version: 2.5.3
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - "
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubygems_version: 3.4.10
|
73
73
|
signing_key:
|