dbf 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION.yml +2 -2
  2. data/dbf.gemspec +2 -2
  3. data/lib/dbf/record.rb +1 -1
  4. metadata +4 -4
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 8
3
- :major: 1
2
+ :patch: 9
4
3
  :build:
4
+ :major: 1
5
5
  :minor: 2
@@ -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"
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-15}
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}
@@ -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.rstrip.size < memo_block_size
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: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 8
10
- version: 1.2.8
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-15 00:00:00 -07:00
18
+ date: 2010-07-22 00:00:00 -07:00
19
19
  default_executable: dbf
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency