dbf 1.1.1 → 1.1.2
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/README.markdown +3 -3
- data/VERSION.yml +3 -3
- data/dbf.gemspec +2 -2
- metadata +2 -2
data/README.markdown
CHANGED
|
@@ -30,14 +30,14 @@ Load a DBF file:
|
|
|
30
30
|
|
|
31
31
|
Enumerate all records
|
|
32
32
|
|
|
33
|
-
table.
|
|
33
|
+
table.each do |record|
|
|
34
34
|
puts record.name
|
|
35
35
|
puts record.email
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
Load a single record using <tt>
|
|
38
|
+
Load a single record using <tt>record</tt> or <tt>find</tt>
|
|
39
39
|
|
|
40
|
-
table.
|
|
40
|
+
table.record(6)
|
|
41
41
|
table.find(6)
|
|
42
42
|
|
|
43
43
|
Attributes can also be accessed through the attributes hash in original or
|
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.1.
|
|
8
|
+
s.version = "1.1.2"
|
|
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{
|
|
12
|
+
s.date = %q{2010-01-15}
|
|
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}
|
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.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Morrison
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2010-01-15 00:00:00 -08:00
|
|
13
13
|
default_executable: dbf
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|