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.
Files changed (4) hide show
  1. data/CHANGELOG +6 -0
  2. data/Rakefile +27 -23
  3. data/lib/faster_csv.rb +1 -1
  4. metadata +3 -3
data/CHANGELOG CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Below is a complete listing of changes for each revision of FasterCSV.
4
4
 
5
+ == 0.2.1
6
+
7
+ * Removed autorequire from GemSpec.
8
+ * Made Rakefile VERSION aware.
9
+ * General Rakefile cleanup.
10
+
5
11
  == 0.2.0
6
12
 
7
13
  * Added VERSION constant.
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 << "test"
14
+ test.libs << "test"
11
15
  test.test_files = [ "test/ts_all.rb" ]
12
- test.verbose = true
16
+ test.verbose = true
13
17
  end
14
18
 
15
19
  Rake::RDocTask.new do |rdoc|
16
- rdoc.main = "README"
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 = "fastercsv"
50
- spec.version = "0.2.0"
53
+ spec.name = "fastercsv"
54
+ spec.version = version
55
+
51
56
  spec.platform = Gem::Platform::RUBY
52
- spec.summary = "FasterCSV is CSV, but faster, smaller, and cleaner."
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 = true
62
- spec.extra_rdoc_files = %w{ AUTHORS COPYING README INSTALL TODO CHANGELOG
63
- LICENSE }
64
- spec.rdoc_options << "--title" << "FasterCSV Documentation" <<
65
- "--main" << "README"
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 = "James Edward Gray II"
71
- spec.email = "james@grayproductions.net"
74
+ spec.author = "James Edward Gray II"
75
+ spec.email = "james@grayproductions.net"
72
76
  spec.rubyforge_project = "fastercsv"
73
- spec.homepage = "http://fastercsv.rubyforge.org"
74
- spec.description = <<END_DESC
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
@@ -75,7 +75,7 @@ require "stringio"
75
75
  #
76
76
  class FasterCSV
77
77
  # The version of the installed library.
78
- VERSION = "0.2.0".freeze
78
+ VERSION = "0.2.1".freeze
79
79
 
80
80
  #
81
81
  # A FasterCSV::Row is part Array and part Hash. It retains an order for the
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.0
7
- date: 2006-04-01 00:00:00 -06:00
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: faster_csv
15
+ autorequire:
16
16
  default_executable:
17
17
  bindir: bin
18
18
  has_rdoc: true