dbf 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.7.1
2
+ - Fix Table.FOXPRO_VERSIONS breakage on Ruby 1.8
3
+
1
4
  # 1.7.0
2
5
  - allow DBF::Table to work with dbf data in memory
3
6
  - allow DBF::Table#to_csv to write to STDOUT
data/README.md CHANGED
@@ -11,7 +11,7 @@ database files
11
11
 
12
12
  ## Compatibility
13
13
 
14
- DBF is tested to work with MRI Ruby 1.8.6, 1.8.7, 1.9.2 and Jruby 1.6.2
14
+ DBF is tested to work with MRI Ruby 1.8.6, 1.8.7, 1.9.2, 1.9.3 and Jruby 1.6.2
15
15
 
16
16
  ## Installation
17
17
 
data/lib/dbf/table.rb CHANGED
@@ -22,7 +22,12 @@ module DBF
22
22
  "fb" => "FoxPro without memo file"
23
23
  }
24
24
 
25
- FOXPRO_VERSIONS = VERSIONS.select {|k,v| v =~ /FoxPro/}
25
+ FOXPRO_VERSIONS = {
26
+ "30" => "Visual FoxPro",
27
+ "31" => "Visual FoxPro with AutoIncrement field",
28
+ "f5" => "FoxPro with memo file",
29
+ "fb" => "FoxPro without memo file"
30
+ }
26
31
 
27
32
  attr_reader :version # Internal dBase version number
28
33
  attr_reader :record_count # Total number of records
data/lib/dbf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DBF
2
- VERSION = '1.7.0'
2
+ VERSION = '1.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fastercsv
16
- requirement: &70246163177540 !ruby/object:Gem::Requirement
16
+ requirement: &70200311059140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70246163177540
24
+ version_requirements: *70200311059140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70246163177080 !ruby/object:Gem::Requirement
27
+ requirement: &70200311058680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.7.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70246163177080
35
+ version_requirements: *70200311058680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70246163176620 !ruby/object:Gem::Requirement
38
+ requirement: &70200311058220 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.9.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70246163176620
46
+ version_requirements: *70200311058220
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &70246163176160 !ruby/object:Gem::Requirement
49
+ requirement: &70200311057760 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 3.9.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70246163176160
57
+ version_requirements: *70200311057760
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: ruby-debug19
60
- requirement: &70246163175760 !ruby/object:Gem::Requirement
60
+ requirement: &70200311057360 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70246163175760
68
+ version_requirements: *70200311057360
69
69
  description: A small fast library for reading dBase, xBase, Clipper and FoxPro database
70
70
  files.
71
71
  email: keithm@infused.org