csv_report_generator 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,10 +2,10 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('csv_report_generator', '0.4.0') do |p|
6
- p.description = "Makes generating CSV report easier"
5
+ Echoe.new('csv_report_generator', '0.4.1') do |p|
6
+ p.description = "Makes generating CSV reports easier"
7
7
  p.url = "http://github.com/ckhall/CSV-Report-Generator"
8
- p.author = "Chris Hall"
8
+ p.author = ["Chris Hall", "Ed Hickey"]
9
9
  p.email = "christopher.k.hall@gmail.com"
10
10
  p.ignore_pattern = "pkg/*", "doc/*", "coverage/*"
11
11
  p.development_dependencies = []
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{csv_report_generator}
5
- s.version = "0.4.0"
5
+ s.version = "0.4.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Chris Hall"]
9
- s.date = %q{2010-06-08}
10
- s.description = %q{Makes generating CSV report easier}
8
+ s.authors = ["Chris Hall, Ed Hickey"]
9
+ s.date = %q{2010-06-10}
10
+ s.description = %q{Makes generating CSV reports easier}
11
11
  s.email = %q{christopher.k.hall@gmail.com}
12
12
  s.extra_rdoc_files = ["README.rdoc", "lib/csv_report_generator.rb", "lib/csv_report_generator/csv_report_generator.rb"]
13
13
  s.files = ["README.rdoc", "Rakefile", "example/example.rb", "lib/csv_report_generator.rb", "lib/csv_report_generator/csv_report_generator.rb", "test/test_helper.rb", "test/unit/csv_report_generator_test.rb", "Manifest", "csv_report_generator.gemspec"]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{csv_report_generator}
18
18
  s.rubygems_version = %q{1.3.6}
19
- s.summary = %q{Makes generating CSV report easier}
19
+ s.summary = %q{Makes generating CSV reports easier}
20
20
  s.test_files = ["test/test_helper.rb", "test/unit/csv_report_generator_test.rb"]
21
21
 
22
22
  if s.respond_to? :specification_version then
@@ -36,4 +36,4 @@ report = CSVReportGenerator.new(rows, headers, :include_totals => true)
36
36
  puts
37
37
  puts "no transformations"
38
38
  puts "============================"
39
- puts report.as_csv
39
+ puts report.as_csv
@@ -20,7 +20,7 @@ class CSVReportGenerator
20
20
 
21
21
  def initialize(rows, headers = nil, opts = {})
22
22
  @headers = headers
23
- @rows = rows
23
+ @rows = rows.compact
24
24
  @includes_total = opts[:includes_total] || false
25
25
 
26
26
  if block_given?
metadata CHANGED
@@ -5,20 +5,20 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
- - Chris Hall
12
+ - Chris Hall, Ed Hickey
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-08 00:00:00 -04:00
17
+ date: 2010-06-10 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
21
- description: Makes generating CSV report easier
21
+ description: Makes generating CSV reports easier
22
22
  email: christopher.k.hall@gmail.com
23
23
  executables: []
24
24
 
@@ -73,7 +73,7 @@ rubyforge_project: csv_report_generator
73
73
  rubygems_version: 1.3.6
74
74
  signing_key:
75
75
  specification_version: 3
76
- summary: Makes generating CSV report easier
76
+ summary: Makes generating CSV reports easier
77
77
  test_files:
78
78
  - test/test_helper.rb
79
79
  - test/unit/csv_report_generator_test.rb