lib/dbf/table.rb in dbf-1.7.0 vs lib/dbf/table.rb in dbf-1.7.1
- old
+ new
@@ -20,10 +20,15 @@
"8e" => "dBase IV with SQL table",
"f5" => "FoxPro with memo file",
"fb" => "FoxPro without memo file"
}
- FOXPRO_VERSIONS = VERSIONS.select {|k,v| v =~ /FoxPro/}
+ FOXPRO_VERSIONS = {
+ "30" => "Visual FoxPro",
+ "31" => "Visual FoxPro with AutoIncrement field",
+ "f5" => "FoxPro with memo file",
+ "fb" => "FoxPro without memo file"
+ }
attr_reader :version # Internal dBase version number
attr_reader :record_count # Total number of records
attr_accessor :encoding # Source encoding (for ex. :cp1251)