Sha256: 652bb611f9a4f08a2df29a46f0bb81c75ba5e7c346f606bd0cbde055d7eca542

Contents?: true

Size: 672 Bytes

Versions: 9

Compression:

Stored size: 672 Bytes

Contents

module DBF
  DBF_HEADER_SIZE = 32
  FPT_HEADER_SIZE = 512
  FPT_BLOCK_HEADER_SIZE = 8
  DATE_REGEXP = /([\d]{4})([\d]{2})([\d]{2})/
  VERSION_DESCRIPTIONS = {
    "02" => "FoxBase",
    "03" => "dBase III without memo file",
    "04" => "dBase IV without memo file",
    "05" => "dBase V without memo file",
    "30" => "Visual FoxPro",
    "31" => "Visual FoxPro with AutoIncrement field",
    "7b" => "dBase IV with memo file",
    "83" => "dBase III with memo file",
    "8b" => "dBase IV with memo file",
    "8e" => "dBase IV with SQL table",
    "f5" => "FoxPro with memo file",
    "fb" => "FoxPro without memo file"
  }
  
  class DBFError < StandardError; end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dbf-0.4.7 lib/dbf/globals.rb
dbf-0.5.0 lib/dbf/globals.rb
dbf-0.5.1 lib/dbf/globals.rb
dbf-0.5.2 lib/dbf/globals.rb
dbf-0.5.3 lib/dbf/globals.rb
dbf-0.5.4 lib/dbf/globals.rb
dbf-1.0.0 lib/dbf/globals.rb
dbf-1.0.1 lib/dbf/globals.rb
dbf-1.0.2 lib/dbf/globals.rb