dbf 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +2 -2
- data/dbf.gemspec +2 -2
- data/lib/dbf/record.rb +1 -1
- metadata +4 -4
data/VERSION.yml
CHANGED
data/dbf.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{dbf}
|
|
8
|
-
s.version = "1.2.
|
|
8
|
+
s.version = "1.2.9"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Keith Morrison"]
|
|
12
|
-
s.date = %q{2010-07-
|
|
12
|
+
s.date = %q{2010-07-22}
|
|
13
13
|
s.default_executable = %q{dbf}
|
|
14
14
|
s.description = %q{A small fast library for reading dBase, xBase, Clipper and FoxPro database files.}
|
|
15
15
|
s.email = %q{keithm@infused.org}
|
data/lib/dbf/record.rb
CHANGED
|
@@ -121,7 +121,7 @@ module DBF
|
|
|
121
121
|
loop do
|
|
122
122
|
block = @memo.read(memo_block_size)
|
|
123
123
|
memo_string << block
|
|
124
|
-
break if block.
|
|
124
|
+
break if block.tr("\000",'').size < memo_block_size
|
|
125
125
|
end
|
|
126
126
|
when "8b" # dbase iv
|
|
127
127
|
memo_type, memo_size = @memo.read(BLOCK_HEADER_SIZE).unpack("LL")
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dbf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 1.2.
|
|
9
|
+
- 9
|
|
10
|
+
version: 1.2.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Keith Morrison
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-07-
|
|
18
|
+
date: 2010-07-22 00:00:00 -07:00
|
|
19
19
|
default_executable: dbf
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|