fastercsv 0.2.0 → 0.2.1
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/CHANGELOG +6 -0
- data/Rakefile +27 -23
- data/lib/faster_csv.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -4,22 +4,26 @@ require "rake/gempackagetask"
|
|
4
4
|
|
5
5
|
require "rubygems"
|
6
6
|
|
7
|
+
dir = File.dirname(__FILE__)
|
8
|
+
lib = File.join(dir, "lib", "faster_csv.rb")
|
9
|
+
version = File.read(lib)[/^\s*VERSION\s*=\s*(['"])(\d\.\d\.\d)\1/, 2]
|
10
|
+
|
7
11
|
task :default => [:test]
|
8
12
|
|
9
13
|
Rake::TestTask.new do |test|
|
10
|
-
test.libs
|
14
|
+
test.libs << "test"
|
11
15
|
test.test_files = [ "test/ts_all.rb" ]
|
12
|
-
test.verbose
|
16
|
+
test.verbose = true
|
13
17
|
end
|
14
18
|
|
15
19
|
Rake::RDocTask.new do |rdoc|
|
16
|
-
rdoc.main
|
20
|
+
rdoc.main = "README"
|
21
|
+
rdoc.rdoc_dir = "doc/html"
|
22
|
+
rdoc.title = "FasterCSV Documentation"
|
17
23
|
rdoc.rdoc_files.include( "README", "INSTALL",
|
18
24
|
"TODO", "CHANGELOG",
|
19
25
|
"AUTHORS", "COPYING",
|
20
26
|
"LICENSE", "lib/" )
|
21
|
-
rdoc.rdoc_dir = "doc/html"
|
22
|
-
rdoc.title = "FasterCSV Documentation"
|
23
27
|
end
|
24
28
|
|
25
29
|
desc "Upload current documentation to Rubyforge"
|
@@ -46,32 +50,32 @@ task :benchmark do
|
|
46
50
|
end
|
47
51
|
|
48
52
|
spec = Gem::Specification.new do |spec|
|
49
|
-
spec.name
|
50
|
-
spec.version =
|
53
|
+
spec.name = "fastercsv"
|
54
|
+
spec.version = version
|
55
|
+
|
51
56
|
spec.platform = Gem::Platform::RUBY
|
52
|
-
spec.summary
|
57
|
+
spec.summary = "FasterCSV is CSV, but faster, smaller, and cleaner."
|
53
58
|
|
54
|
-
spec.files = Dir.glob("{lib,test,examples}/**/*.rb").
|
55
|
-
reject { |item| item.include?(".svn") } +
|
56
|
-
Dir.glob("{test,examples}/**/*.csv").
|
57
|
-
reject { |item| item.include?(".svn") } +
|
58
|
-
["Rakefile", "setup.rb"]
|
59
59
|
spec.test_suite_file = "test/ts_all.rb"
|
60
|
+
spec.files = Dir.glob("{lib,test,examples}/**/*.rb").
|
61
|
+
reject { |item| item.include?(".svn") } +
|
62
|
+
Dir.glob("{test,examples}/**/*.csv").
|
63
|
+
reject { |item| item.include?(".svn") } +
|
64
|
+
["Rakefile", "setup.rb"]
|
60
65
|
|
61
|
-
spec.has_rdoc
|
62
|
-
spec.extra_rdoc_files = %w
|
63
|
-
LICENSE
|
64
|
-
spec.rdoc_options
|
65
|
-
|
66
|
+
spec.has_rdoc = true
|
67
|
+
spec.extra_rdoc_files = %w[ AUTHORS COPYING README INSTALL TODO CHANGELOG
|
68
|
+
LICENSE ]
|
69
|
+
spec.rdoc_options << "--title" << "FasterCSV Documentation" <<
|
70
|
+
"--main" << "README"
|
66
71
|
|
67
72
|
spec.require_path = "lib"
|
68
|
-
spec.autorequire = "faster_csv"
|
69
73
|
|
70
|
-
spec.author
|
71
|
-
spec.email
|
74
|
+
spec.author = "James Edward Gray II"
|
75
|
+
spec.email = "james@grayproductions.net"
|
72
76
|
spec.rubyforge_project = "fastercsv"
|
73
|
-
spec.homepage
|
74
|
-
spec.description
|
77
|
+
spec.homepage = "http://fastercsv.rubyforge.org"
|
78
|
+
spec.description = <<END_DESC
|
75
79
|
FasterCSV is intended as a complete replacement to the CSV standard library. It
|
76
80
|
is significantly faster and smaller while still being pure Ruby code. It also
|
77
81
|
strives for a better interface.
|
data/lib/faster_csv.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: fastercsv
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2006-
|
6
|
+
version: 0.2.1
|
7
|
+
date: 2006-06-14 00:00:00 -05:00
|
8
8
|
summary: FasterCSV is CSV, but faster, smaller, and cleaner.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -12,7 +12,7 @@ email: james@grayproductions.net
|
|
12
12
|
homepage: http://fastercsv.rubyforge.org
|
13
13
|
rubyforge_project: fastercsv
|
14
14
|
description: FasterCSV is intended as a complete replacement to the CSV standard library. It is significantly faster and smaller while still being pure Ruby code. It also strives for a better interface.
|
15
|
-
autorequire:
|
15
|
+
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
18
18
|
has_rdoc: true
|