vin_exploder 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vin_exploder/test_adapter.rb +2 -2
- data/lib/vin_exploder/version.rb +1 -1
- metadata +1 -1
@@ -23,9 +23,9 @@ module VinExploder
|
|
23
23
|
#could make the hashes more complete
|
24
24
|
case vin
|
25
25
|
when '3D7LU38C83G854645'
|
26
|
-
{ :make => 'Dodge', :model => 'Ram 3500', :year => '2004', :trim_level => 'ST Quad Cab Long Bed 4WD', :fuel_type => 'Desiel', :engine_type => '5.9L L6 OHV 24V TURBO DIESEL', :number_of_doors => '4', :manufactured_in => 'UNITED STATES', :production_seq_number => 'C27031', :driveline => '4WD', :body_style => "CREW CAB PICKUP 4-DR" }
|
26
|
+
{ :vin => '3D7LU38C83G854645', :make => 'Dodge', :model => 'Ram 3500', :year => '2004', :trim_level => 'ST Quad Cab Long Bed 4WD', :fuel_type => 'Desiel', :engine_type => '5.9L L6 OHV 24V TURBO DIESEL', :number_of_doors => '4', :manufactured_in => 'UNITED STATES', :production_seq_number => 'C27031', :driveline => '4WD', :body_style => "CREW CAB PICKUP 4-DR" }
|
27
27
|
when '1G1ND52F14M587843'
|
28
|
-
{ :make => 'Chevrolet', :model => 'Classic', :year => '2004', :trim_level => 'Fleet', :fuel_type => 'Gas', :engine_type => '2.2L L4 DOHC', :number_of_doors => '4', :manufactured_in => 'UNITED STATES', :production_seq_number => '587843', :driveline => 'FWD', :body_style => "SEDAN 4-DR" }
|
28
|
+
{ :vin => '1G1ND52F14M587843', :make => 'Chevrolet', :model => 'Classic', :year => '2004', :trim_level => 'Fleet', :fuel_type => 'Gas', :engine_type => '2.2L L4 DOHC', :number_of_doors => '4', :manufactured_in => 'UNITED STATES', :production_seq_number => '587843', :driveline => 'FWD', :body_style => "SEDAN 4-DR" }
|
29
29
|
when '12345678912345678'
|
30
30
|
{ :errors => [{'5' => 'Invalid VIN number: This VIN number did not pass checksum test.'}] }
|
31
31
|
when /[IOQ]/
|
data/lib/vin_exploder/version.rb
CHANGED