Sha256: 5e4003b9ef26b459a5a6b10c4f1dae0a2dc75cdb63ca722f949936f903c1cb0b

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

require "vindetta/calculator"
require "vindetta/decoder"
require "vindetta/generator"
require "vindetta/standard"
require "vindetta/validator"
require "vindetta/version"

module Vindetta
  CHECK_DIGIT_INDEX = 8
  PLANT_CODE_INDEX = 10

  VIS_CHARACTERS = "0123456789ABCDEFGHJKLMNPRSTUVWXYZ".chars
  MODEL_YEAR_CHARACTERS = VIS_CHARACTERS - "UZ".chars

  WMI_RANGE = 0..2
  VDS_RANGE = 3..CHECK_DIGIT_INDEX
  PRODUCTION_NUMBER_RANGE = 11..16
  VIS_RANGE = 9..16
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vindetta-0.28.0 lib/vindetta.rb
vindetta-0.27.0 lib/vindetta.rb
vindetta-0.26.0 lib/vindetta.rb