dbf 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/{doc/README → README} +0 -0
- data/Rakefile +10 -44
- data/lib/dbf/reader.rb +3 -1
- metadata +18 -12
data/{doc/README → README}
RENAMED
File without changes
|
data/Rakefile
CHANGED
@@ -1,30 +1,17 @@
|
|
1
|
-
require '
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require 'rake/gempackagetask'
|
5
|
-
Gem::manage_gems
|
1
|
+
require 'hoe'
|
6
2
|
|
7
3
|
PKG_NAME = "dbf"
|
8
|
-
PKG_VERSION = "0.4.
|
4
|
+
PKG_VERSION = "0.4.4"
|
9
5
|
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
|
10
6
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
s.files = FileList["{lib,test}/**/*", "doc/README", "Rakefile"].to_a
|
20
|
-
s.require_path = "lib"
|
21
|
-
s.has_rdoc = true
|
22
|
-
end
|
23
|
-
|
24
|
-
desc 'Build Gem'
|
25
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
26
|
-
pkg.need_zip = true
|
27
|
-
pkg.need_tar = true
|
7
|
+
Hoe.new PKG_NAME, PKG_VERSION do |p|
|
8
|
+
p.rubyforge_name = PKG_NAME
|
9
|
+
p.author = "Keith Morrison"
|
10
|
+
p.email = "keithm@infused.org"
|
11
|
+
p.summary = "A library for reading dBase (or xBase, Clipper, Foxpro, etc) database files"
|
12
|
+
p.url = "http://dbf.rubyforge.org"
|
13
|
+
p.need_tar = true
|
14
|
+
p.need_zip = true
|
28
15
|
end
|
29
16
|
|
30
17
|
desc 'Run tests'
|
@@ -36,24 +23,3 @@ Rake::TestTask.new :test do |t|
|
|
36
23
|
t.pattern = 'test/*_test.rb'
|
37
24
|
t.verbose = true
|
38
25
|
end
|
39
|
-
|
40
|
-
desc "Generate documentation for the application"
|
41
|
-
Rake::RDocTask.new("rdoc") do |t|
|
42
|
-
t.rdoc_dir = 'doc/app'
|
43
|
-
t.title = "Ruby DBF Library"
|
44
|
-
t.options << '--line-numbers' << '--inline-source'
|
45
|
-
t.rdoc_files.include('doc/README')
|
46
|
-
t.rdoc_files.include('lib/**/*.rb')
|
47
|
-
end
|
48
|
-
|
49
|
-
desc "Creates a release tag"
|
50
|
-
task :create_release_tag do |t|
|
51
|
-
puts "Creating svn+ssh://infused@rubyforge.org/var/svn/dbf/tags/RELEASE_#{PKG_VERSION.gsub('.', '_')}"
|
52
|
-
`svn copy . svn+ssh://infused@rubyforge.org/var/svn/dbf/tags/RELEASE_#{PKG_VERSION.gsub('.', '_')} -m "Creating RELEASE_#{PKG_VERSION.gsub('.', '_')} tag"`
|
53
|
-
end
|
54
|
-
|
55
|
-
desc "Removes the current release tag"
|
56
|
-
task :remove_release_tag do |t|
|
57
|
-
puts "Removing svn+ssh://infused@rubyforge.org/var/svn/dbf/tags/RELEASE_#{PKG_VERSION.gsub('.', '_')}"
|
58
|
-
`svn remove svn+ssh://infused@rubyforge.org/var/svn/dbf/tags/RELEASE_#{PKG_VERSION.gsub('.', '_')} -m "Removing RELEASE_#{PKG_VERSION.gsub('.', '_')} tag"`
|
59
|
-
end
|
data/lib/dbf/reader.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.2
|
3
3
|
specification_version: 1
|
4
4
|
name: dbf
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.4.4
|
7
|
+
date: 2007-02-10 00:00:00 -08:00
|
8
8
|
summary: A library for reading dBase (or xBase, Clipper, Foxpro, etc) database files
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: keithm@infused.org
|
12
|
-
homepage: http://
|
13
|
-
rubyforge_project:
|
14
|
-
description:
|
12
|
+
homepage: http://dbf.rubyforge.org
|
13
|
+
rubyforge_project: dbf
|
14
|
+
description: The author was too lazy to write a description
|
15
15
|
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
@@ -29,19 +29,17 @@ post_install_message:
|
|
29
29
|
authors:
|
30
30
|
- Keith Morrison
|
31
31
|
files:
|
32
|
-
-
|
32
|
+
- Rakefile
|
33
|
+
- README
|
33
34
|
- lib/dbf.rb
|
34
35
|
- lib/dbf/reader.rb
|
35
36
|
- test/common.rb
|
36
|
-
- test/databases
|
37
37
|
- test/dbase_iii_read_test.rb
|
38
38
|
- test/foxpro_read_test.rb
|
39
39
|
- test/performance.rb
|
40
40
|
- test/databases/dbase_iii.dbf
|
41
41
|
- test/databases/foxpro.dbf
|
42
42
|
- test/databases/foxpro.fpt
|
43
|
-
- doc/README
|
44
|
-
- Rakefile
|
45
43
|
test_files: []
|
46
44
|
|
47
45
|
rdoc_options: []
|
@@ -54,5 +52,13 @@ extensions: []
|
|
54
52
|
|
55
53
|
requirements: []
|
56
54
|
|
57
|
-
dependencies:
|
58
|
-
|
55
|
+
dependencies:
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: hoe
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.1.7
|
64
|
+
version:
|