ruport 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require "rake/testtask"
3
3
  require "rake/gempackagetask"
4
4
 
5
5
 
6
- RUPORT_VERSION = "1.0.0"
6
+ RUPORT_VERSION = "1.0.1"
7
7
 
8
8
  begin
9
9
  require "rubygems"
@@ -34,7 +34,6 @@
34
34
  require "rubygems"
35
35
  require "camping"
36
36
  require "camping/session"
37
- gem "ruport", "=0.12.1"
38
37
  require "ruport"
39
38
  require "ruport/extensions"
40
39
 
@@ -261,4 +260,4 @@ module Commaleon::Views
261
260
  end
262
261
  end
263
262
 
264
- end
263
+ end
@@ -10,7 +10,7 @@
10
10
  # See LICENSE and COPYING for details.
11
11
  #
12
12
  require "ruport"
13
- quiet { require "active_record" }
13
+ Ruport.quiet { require "active_record" }
14
14
 
15
15
  module Ruport
16
16
 
@@ -118,6 +118,7 @@ module Ruport::Data
118
118
  columns = column_names.dup
119
119
  columns.delete(group_column)
120
120
  group_names.each do |name|
121
+ # FIXME - this doesn't seem to reduce the data set
121
122
  group_data = sub_table(columns) {|r|
122
123
  r.send(group_column) == name
123
124
  }
@@ -90,7 +90,7 @@ module Ruport
90
90
  :paper_orientation
91
91
 
92
92
  def initialize
93
- quiet do
93
+ Ruport.quiet do
94
94
  require "pdf/writer"
95
95
  require "pdf/simpletable"
96
96
  end
@@ -418,7 +418,10 @@ module Ruport
418
418
  data.each do |name,group|
419
419
  group_column = { data.grouped_by => "<b>#{name}</b>\n" }
420
420
  group.each_with_index do |rec,i|
421
- i == 0 ? table << group_column.merge(rec.to_hash) : table << rec
421
+ # FIXME - Find the source of the bug requiring to_a
422
+ i == 0 ?
423
+ table << group_column.merge(rec.to_hash) :
424
+ table << rec.to_a.unshift(nil)
422
425
  end
423
426
  table << Array.new(grouping_columns.length,' ') if style == :separated
424
427
  end
@@ -429,7 +432,8 @@ module Ruport
429
432
  table = table_with_grouped_by_column
430
433
  data.each do |name,group|
431
434
  table << ["<b>#{name}</b>\n",nil,nil]
432
- group.each {|r| table << r }
435
+ # FIXME - Find the source of the bug requiring to_a
436
+ group.each {|r| table << r.to_a.unshift(nil) }
433
437
  end
434
438
  render_table table, options.to_hash.merge(:formatter => pdf_writer)
435
439
  end
@@ -13,21 +13,21 @@ module Ruport
13
13
  # This class properly splits up multi-statement SQL input for use with
14
14
  # Ruby/DBI
15
15
  class SqlSplit < Array #:nodoc:
16
- def initialize( sql )
17
- super()
18
- next_sql = ''
19
- sql.each do |line|
20
- unless line =~ /^--/ or line =~ %r{^/\*.*\*/;} or line =~ /^\s*$/
21
- next_sql << line
22
- if line =~ /;$/
23
- next_sql.gsub!( /;\s$/, '' )
24
- self << next_sql
25
- next_sql = ''
26
- end
27
- end
28
- end
29
- self << next_sql if next_sql != ''
30
- end
31
- end
16
+ def initialize( sql )
17
+ super()
18
+ next_sql = ''
19
+ sql.each do |line|
20
+ unless line =~ /^--/ or line =~ %r{^/\*.*\*/;} or line =~ /^\s*$/
21
+ next_sql << line
22
+ if line =~ /;$/
23
+ next_sql.gsub!( /;\s$/, '' )
24
+ self << next_sql
25
+ next_sql = ''
26
+ end
27
+ end
28
+ end
29
+ self << next_sql if next_sql != ''
30
+ end
31
+ end
32
32
  end
33
33
  end
@@ -168,8 +168,8 @@ class Ruport::Renderer
168
168
  end
169
169
  self.class.renderer.render(format,
170
170
  self.class.rendering_options.merge(options)) do |rend|
171
- rend.data = send(:renderable_data) rescue self
172
- yield(rend) if block_given?
171
+ rend.data = respond_to?(:renderable_data) ? renderable_data : self
172
+ yield(rend) if block_given?
173
173
  end
174
174
  end
175
175
  end
data/lib/ruport.rb CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  module Ruport #:nodoc:#
14
14
 
15
- VERSION = "1.0.0"
15
+ VERSION = "1.0.1"
16
16
 
17
17
  class FormatterError < RuntimeError #:nodoc:
18
18
  end
@@ -82,11 +82,6 @@ module Ruport #:nodoc:#
82
82
 
83
83
  end
84
84
 
85
-
86
- end
87
-
88
- module Kernel
89
-
90
85
  # quiets warnings for block
91
86
  def quiet #:nodoc:
92
87
  warnings = $VERBOSE
@@ -96,6 +91,8 @@ module Kernel
96
91
  return result
97
92
  end
98
93
 
94
+ module_function :quiet
95
+
99
96
  end
100
97
 
101
98
  require "enumerator"
@@ -1,9 +1,5 @@
1
- require "test/unit"
2
- require "ruport"
3
-
1
+ require "test/helpers"
4
2
  begin
5
- require "rubygems"
6
- gem "mocha", ">=0.4.0"
7
3
  require "mocha"
8
4
  require "stubba"
9
5
  require "active_record"
@@ -1,11 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
3
-
4
- begin
5
- require "rubygems"
6
- rescue LoadError
7
- nil
8
- end
1
+ require "test/helpers"
9
2
 
10
3
  class TestRenderCSVRow < Test::Unit::TestCase
11
4
  def test_render_csv_row
@@ -1,6 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
3
- begin; require "rubygems"; rescue LoadError; nil; end
1
+ require "test/helpers"
4
2
 
5
3
  class TestGroup < Test::Unit::TestCase
6
4
 
data/test/helpers.rb ADDED
@@ -0,0 +1,8 @@
1
+ require "test/unit"
2
+ require "ruport"
3
+ begin; require "rubygems"; rescue LoadError; nil; end
4
+ require "spec-unit"
5
+
6
+ class Test::Unit::TestCase
7
+ include SpecUnit
8
+ end
@@ -1,5 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
1
+ require "test/helpers"
3
2
 
4
3
  class TestRenderHTMLTable < Test::Unit::TestCase
5
4
 
@@ -1,13 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
3
-
4
- begin
5
- require "rubygems"
6
- rescue LoadError
7
- nil
8
- end
9
-
10
- #require "pdf/writer"
1
+ require "test/helpers"
11
2
 
12
3
  class TestRenderPDFTable < Test::Unit::TestCase
13
4
 
data/test/query_test.rb CHANGED
@@ -1,5 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
1
+ require "test/helpers"
3
2
 
4
3
  begin
5
4
  require 'mocha'
data/test/record_test.rb CHANGED
@@ -1,63 +1,72 @@
1
- require "test/unit"
2
- require "ruport"
3
-
4
- module RecordTestSetup
5
- def setup
6
- @attributes = %w[a b c d]
7
- @record = Ruport::Data::Record.new [1,2,3,4], :attributes => @attributes
8
- end
9
- end
1
+ require "test/helpers"
10
2
 
11
3
  class TestRecord < Test::Unit::TestCase
12
4
 
13
5
  include Ruport::Data
14
- include RecordTestSetup
15
-
16
- def test_init
17
- record = Ruport::Data::Record.new [1,2,3,4]
18
- assert_equal 1, record[0]
19
- assert_equal 2, record[1]
20
- assert_equal 3, record[2]
21
- assert_equal 4, record[3]
22
-
23
- assert_equal 1, @record["a"]
24
- assert_equal 4, @record["d"]
25
- assert_equal 2, @record.b
26
- assert_equal 3, @record.c
27
- assert_raise(NoMethodError) { @record.f }
28
- end
29
6
 
30
- def test_hash_constructor
31
- record = Ruport::Data::Record.new({:a => 1, :b => 2, :c => 3},{})
32
- assert_equal 1, record[:a]
33
- assert_equal 2, record[:b]
34
- assert_equal 3, record[:c]
35
- assert_equal 3, record.c
36
- end
7
+ def setup
8
+ @attributes = %w[a b c d]
9
+ @record = Ruport::Data::Record.new [1,2,3,4], :attributes => @attributes
10
+ end
37
11
 
38
- def test_hash_constructor_with_attributes
39
- record = Record.new({:a => 1, :b => 2, :c => 3 }, :attributes => [:c,:b,:a])
40
- assert_equal 1, record[:a]
41
- assert_equal 2, record[:b]
42
- assert_equal 3, record[:c]
43
- assert_equal 3, record.c
12
+ context "when initializing with an array with attributes" do
13
+ def specify_key_access_should_work
14
+ assert_equal 1, @record["a"]
15
+ assert_equal 4, @record["d"]
16
+ assert_equal 2, @record.b
17
+ assert_equal 3, @record.c
18
+ assert_raise(NoMethodError) { @record.f }
19
+ end
44
20
 
45
- assert_equal 3, record[0]
46
- assert_equal 2, record[1]
47
- assert_equal 1, record[2]
21
+ def specify_ordinal_access_should_work
22
+ assert_equal 1, @record[0]
23
+ assert_equal 2, @record[1]
24
+ assert_equal 3, @record[2]
25
+ assert_equal 4, @record[3]
26
+ end
27
+ end
28
+
29
+ context "when initializing with an array without attributes" do
30
+ def specify_ordinal_access_should_work
31
+ record = Ruport::Data::Record.new [1,2,3,4]
32
+ assert_equal 1, record[0]
33
+ assert_equal 2, record[1]
34
+ assert_equal 3, record[2]
35
+ assert_equal 4, record[3]
36
+ end
37
+ end
38
+
39
+ context "when initializing with a hash without attributes" do
40
+ def setup
41
+ @record = Ruport::Data::Record.new({:a => 1, :b => 2, :c => 3},{})
42
+ end
43
+
44
+ def specify_key_access_should_work
45
+ assert_equal 1, @record[:a]
46
+ assert_equal 2, @record[:b]
47
+ assert_equal 3, @record[:c]
48
+ assert_equal 3, @record.c
49
+ end
48
50
  end
49
51
 
50
- def test_brackets
51
- assert_equal 1, @record[0]
52
- assert_equal 2, @record[1]
53
- assert_equal 3, @record[2]
54
- assert_equal 4, @record[3]
55
-
56
- assert_equal 1, @record["a"]
57
- assert_equal 2, @record["b"]
58
- assert_equal 3, @record["c"]
59
- assert_equal 4, @record["d"]
60
- assert_equal 4, @record.d
52
+ context "when initializing with a hash with attributes" do
53
+ def setup
54
+ @record = Record.new({:a => 1, :b => 2, :c => 3 },
55
+ :attributes => [:c,:b,:a])
56
+ end
57
+
58
+ def specify_key_access_should_work
59
+ assert_equal 1, @record[:a]
60
+ assert_equal 2, @record[:b]
61
+ assert_equal 3, @record[:c]
62
+ assert_equal 3, @record.c
63
+ end
64
+
65
+ def specify_ordinal_access_should_work
66
+ assert_equal 3, @record[0]
67
+ assert_equal 2, @record[1]
68
+ assert_equal 1, @record[2]
69
+ end
61
70
  end
62
71
 
63
72
  def test_bracket_equals
@@ -275,40 +284,43 @@ class TestRecord < Test::Unit::TestCase
275
284
  assert_equal "1,2,3\n", a.to_csv
276
285
  end
277
286
 
278
- end
287
+ context "when rendering records" do
279
288
 
289
+ def specify_record_as_should_work
290
+ rendered_row = @record.as(:text)
291
+ assert_equal("| 1 | 2 | 3 | 4 |\n", rendered_row)
292
+ end
280
293
 
281
- class TestRecordRenderering < Test::Unit::TestCase
282
-
283
- include RecordTestSetup
284
- include Ruport::Data
285
-
286
- def test_record_as
287
- rendered_row = @record.as(:text)
288
- assert_equal("| 1 | 2 | 3 | 4 |\n", rendered_row)
289
- end
290
-
291
- def test_to_hack
292
- rendered_row = @record.to_text
293
- assert_equal("| 1 | 2 | 3 | 4 |\n", rendered_row)
294
+ def specify_record_to_format_should_work_without_options
295
+ rendered_row = @record.to_text
296
+ assert_equal("| 1 | 2 | 3 | 4 |\n", rendered_row)
297
+ end
298
+
299
+ def specify_record_to_format_should_work_with_options
300
+ rendered_row = @record.to_csv(:format_options => { :col_sep => "\t"})
301
+ assert_equal("1\t2\t3\t4\n",rendered_row)
302
+ end
294
303
 
295
- rendered_row = @record.to_csv(:format_options => { :col_sep => "\t"})
296
- assert_equal("1\t2\t3\t4\n",rendered_row)
297
- end
298
-
299
- def test_as_throws_proper_errors
300
- a = Record.new({ "a" => 1, "b" => 2 })
301
- assert_nothing_raised { a.as(:csv) }
302
- assert_nothing_raised { a.to_csv }
303
- assert_raises(Ruport::Renderer::UnknownFormatError) { a.as(:nothing) }
304
- assert_raises(Ruport::Renderer::UnknownFormatError) { a.to_nothing }
305
- end
304
+ context "when given bad format names" do
305
+ def setup
306
+ @a = Record.new({ "a" => 1, "b" => 2 })
307
+ end
308
+
309
+ def specify_as_should_throw_proper_errors
310
+ assert_raises(Ruport::Renderer::UnknownFormatError) { @a.as(:nothing) }
311
+ end
312
+
313
+ def specify_to_format_should_throw_proper_errors
314
+ assert_raises(Ruport::Renderer::UnknownFormatError) { @a.to_nothing }
315
+ end
316
+ end
306
317
 
307
- ## -- BUG TRAPS --------------------
318
+ ## -- BUG TRAPS --------------------
308
319
 
309
- def test_ensure_attributes_not_broken_by_to_hack
310
- record = Ruport::Data::Record.new [1,2], :attributes => %w[a to_something]
311
- assert_equal 2, record.to_something
320
+ def specify_attributes_should_not_be_broken_by_to_hack
321
+ record = Ruport::Data::Record.new [1,2], :attributes => %w[a to_something]
322
+ assert_equal 2, record.to_something
323
+ end
312
324
  end
313
325
 
314
326
  end
@@ -1,5 +1,4 @@
1
- require 'test/unit'
2
- require 'ruport'
1
+ require 'test/helpers'
3
2
 
4
3
  ###########################################################################
5
4
  #
@@ -453,3 +452,61 @@ class TestSetupOrdering < Test::Unit::TestCase
453
452
  end
454
453
 
455
454
  end
455
+
456
+ class TestRendererHooks < Test::Unit::TestCase
457
+
458
+ context "when renderable_data omitted" do
459
+
460
+ require "mocha"
461
+
462
+ class DummyObject
463
+ include Ruport::Renderer::Hooks
464
+ renders_as_table
465
+ end
466
+
467
+ def specify_should_return_self
468
+ a = DummyObject.new
469
+ rend = mock("renderer")
470
+ rend.expects(:data=).with(a)
471
+ Ruport::Renderer::Table.expects(:render).with(:csv,{}).yields(rend)
472
+ a.as(:csv)
473
+ end
474
+
475
+ end
476
+
477
+ context "when using renderable_data" do
478
+
479
+ class DummyObject2
480
+ include Ruport::Renderer::Hooks
481
+ renders_as_table
482
+
483
+ def renderable_data
484
+ 1
485
+ end
486
+ end
487
+
488
+ def specify_should_return_results_of_renderable_data
489
+ a = DummyObject2.new
490
+ rend = mock("renderer")
491
+ rend.expects(:data=).with(1)
492
+ Ruport::Renderer::Table.expects(:render).with(:csv,{}).yields(rend)
493
+ a.as(:csv)
494
+ end
495
+
496
+ class DummyObject3
497
+ include Ruport::Renderer::Hooks
498
+ renders_as_table
499
+
500
+ def renderable_data
501
+ raise ArgumentError
502
+ end
503
+ end
504
+
505
+ def specify_should_not_mask_errors
506
+ assert_raises(ArgumentError) { DummyObject3.new.as(:csv) }
507
+ end
508
+
509
+
510
+ end
511
+
512
+ end
@@ -1,5 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
1
+ require "test/helpers"
3
2
  class TestSqlSplit < Test::Unit::TestCase
4
3
  include Ruport
5
4
 
data/test/table_test.rb CHANGED
@@ -1,7 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
3
- begin; require "rubygems"; rescue LoadError; nil; end
4
-
1
+ require "test/helpers"
5
2
 
6
3
  class Person < Ruport::Data::Record
7
4
 
@@ -1,5 +1,4 @@
1
- require "test/unit"
2
- require "ruport"
1
+ require "test/helpers"
3
2
 
4
3
  class TestRenderTextTable < Test::Unit::TestCase
5
4
 
@@ -41,7 +41,7 @@ bench_suite do
41
41
  small_table << [1,2,3]
42
42
  }
43
43
 
44
- small_hash = small_table[0].to_h
44
+ small_hash = small_table[0].to_hash
45
45
  bench_case("Table#<< - small hash",SMALL_N) {
46
46
  small_table << small_hash
47
47
  }
@@ -56,7 +56,7 @@ bench_suite do
56
56
  wide_table << wide_data[0]
57
57
  }
58
58
 
59
- large_hash = wide_table[0].to_h
59
+ large_hash = wide_table[0].to_hash
60
60
  bench_case("Table#<< - large hash",WIDE_N) {
61
61
  wide_table << large_hash
62
62
  }
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: ruport
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
7
- date: 2007-05-14 00:00:00 -04:00
6
+ version: 1.0.1
7
+ date: 2007-06-12 00:00:00 -04:00
8
8
  summary: A generalized Ruby report generation and templating engine.
9
9
  require_paths:
10
10
  - lib
@@ -30,105 +30,106 @@ authors:
30
30
  - Gregory Brown
31
31
  files:
32
32
  - examples/btree
33
- - examples/centered_pdf_text_box.rb
34
- - examples/data
35
- - examples/example.csv
36
- - examples/line_plotter.rb
37
- - examples/pdf_report_with_common_base.rb
38
- - examples/png_embed.rb
39
- - examples/roadmap.png
40
- - examples/row_renderer.rb
41
- - examples/RWEmerson.jpg
42
- - examples/simple_pdf_lines.rb
43
- - examples/tattle_ruby_version.rb
44
- - examples/tattle_rubygems_version.rb
45
- - examples/trac_ticket_status.rb
46
33
  - examples/btree/commaleon
47
- - examples/btree/commaleon/commaleon.rb
48
34
  - examples/btree/commaleon/sample_data
49
35
  - examples/btree/commaleon/sample_data/ticket_count.csv
50
36
  - examples/btree/commaleon/sample_data/ticket_count2.csv
37
+ - examples/btree/commaleon/commaleon.rb
38
+ - examples/data
51
39
  - examples/data/tattle.dump
40
+ - examples/row_renderer.rb
41
+ - examples/RWEmerson.jpg
42
+ - examples/centered_pdf_text_box.rb
43
+ - examples/tattle_rubygems_version.rb
44
+ - examples/trac_ticket_status.rb
45
+ - examples/line_plotter.rb
46
+ - examples/png_embed.rb
47
+ - examples/pdf_report_with_common_base.rb
48
+ - examples/example.csv
49
+ - examples/tattle_ruby_version.rb
50
+ - examples/roadmap.png
51
+ - examples/simple_pdf_lines.rb
52
52
  - lib/ruport
53
- - lib/ruport.rb
54
- - lib/uport.rb
55
- - lib/ruport/acts_as_reportable.rb
56
- - lib/ruport/data
57
- - lib/ruport/data.rb
58
- - lib/ruport/extensions.rb
59
53
  - lib/ruport/formatter
60
- - lib/ruport/formatter.rb
61
- - lib/ruport/query
62
- - lib/ruport/query.rb
63
- - lib/ruport/renderer
64
- - lib/ruport/renderer.rb
65
- - lib/ruport/data/grouping.rb
66
- - lib/ruport/data/record.rb
67
- - lib/ruport/data/table.rb
68
- - lib/ruport/formatter/csv.rb
69
54
  - lib/ruport/formatter/html.rb
70
- - lib/ruport/formatter/pdf.rb
71
55
  - lib/ruport/formatter/text.rb
56
+ - lib/ruport/formatter/pdf.rb
57
+ - lib/ruport/formatter/csv.rb
58
+ - lib/ruport/query
72
59
  - lib/ruport/query/sql_split.rb
73
- - lib/ruport/renderer/grouping.rb
60
+ - lib/ruport/renderer
74
61
  - lib/ruport/renderer/table.rb
75
- - test/acts_as_reportable_test.rb
76
- - test/csv_formatter_test.rb
77
- - test/grouping_test.rb
78
- - test/html_formatter_test.rb
79
- - test/pdf_formatter_test.rb
80
- - test/query_test.rb
81
- - test/record_test.rb
82
- - test/renderer_test.rb
62
+ - lib/ruport/renderer/grouping.rb
63
+ - lib/ruport/data
64
+ - lib/ruport/data/record.rb
65
+ - lib/ruport/data/table.rb
66
+ - lib/ruport/data/grouping.rb
67
+ - lib/ruport/extensions.rb
68
+ - lib/ruport/formatter.rb
69
+ - lib/ruport/query.rb
70
+ - lib/ruport/renderer.rb
71
+ - lib/ruport/data.rb
72
+ - lib/ruport/acts_as_reportable.rb
73
+ - lib/uport.rb
74
+ - lib/ruport.rb
83
75
  - test/samples
84
- - test/sql_split_test.rb
85
- - test/table_test.rb
86
- - test/text_formatter_test.rb
87
- - test/samples/addressbook.csv
76
+ - test/samples/test.yaml
77
+ - test/samples/query_test.sql
88
78
  - test/samples/data.csv
89
79
  - test/samples/data.tsv
90
- - test/samples/dates.csv
91
80
  - test/samples/erb_test.sql
92
- - test/samples/query_test.sql
81
+ - test/samples/ticket_count.csv
93
82
  - test/samples/ruport_test.sql
83
+ - test/samples/addressbook.csv
84
+ - test/samples/dates.csv
94
85
  - test/samples/test.sql
95
- - test/samples/test.yaml
96
- - test/samples/ticket_count.csv
97
- - util/bench/data
86
+ - test/csv_formatter_test.rb
87
+ - test/record_test.rb
88
+ - test/helpers.rb
89
+ - test/query_test.rb
90
+ - test/renderer_test.rb
91
+ - test/html_formatter_test.rb
92
+ - test/table_test.rb
93
+ - test/text_formatter_test.rb
94
+ - test/grouping_test.rb
95
+ - test/sql_split_test.rb
96
+ - test/acts_as_reportable_test.rb
97
+ - test/pdf_formatter_test.rb
98
98
  - util/bench/formatter
99
+ - util/bench/formatter/bench_html.rb
100
+ - util/bench/formatter/bench_text.rb
101
+ - util/bench/formatter/bench_pdf.rb
102
+ - util/bench/formatter/bench_csv.rb
99
103
  - util/bench/samples
100
- - util/bench/data/record
104
+ - util/bench/samples/tattle.csv
105
+ - util/bench/data
101
106
  - util/bench/data/table
102
- - util/bench/data/record/bench_as_vs_to.rb
103
- - util/bench/data/record/bench_constructor.rb
104
- - util/bench/data/record/bench_indexing.rb
105
- - util/bench/data/record/bench_reorder.rb
106
- - util/bench/data/record/bench_to_a.rb
107
107
  - util/bench/data/table/bench_column_manip.rb
108
- - util/bench/data/table/bench_dup.rb
109
108
  - util/bench/data/table/bench_init.rb
110
109
  - util/bench/data/table/bench_manip.rb
111
- - util/bench/formatter/bench_csv.rb
112
- - util/bench/formatter/bench_html.rb
113
- - util/bench/formatter/bench_pdf.rb
114
- - util/bench/formatter/bench_text.rb
115
- - util/bench/samples/tattle.csv
110
+ - util/bench/data/table/bench_dup.rb
111
+ - util/bench/data/record
112
+ - util/bench/data/record/bench_reorder.rb
113
+ - util/bench/data/record/bench_to_a.rb
114
+ - util/bench/data/record/bench_constructor.rb
115
+ - util/bench/data/record/bench_indexing.rb
116
+ - util/bench/data/record/bench_as_vs_to.rb
116
117
  - Rakefile
117
118
  - README
118
119
  - LICENSE
119
120
  - AUTHORS
120
121
  test_files:
121
- - test/acts_as_reportable_test.rb
122
122
  - test/csv_formatter_test.rb
123
- - test/grouping_test.rb
124
- - test/html_formatter_test.rb
125
- - test/pdf_formatter_test.rb
126
- - test/query_test.rb
127
123
  - test/record_test.rb
124
+ - test/query_test.rb
128
125
  - test/renderer_test.rb
129
- - test/sql_split_test.rb
126
+ - test/html_formatter_test.rb
130
127
  - test/table_test.rb
131
128
  - test/text_formatter_test.rb
129
+ - test/grouping_test.rb
130
+ - test/sql_split_test.rb
131
+ - test/acts_as_reportable_test.rb
132
+ - test/pdf_formatter_test.rb
132
133
  rdoc_options:
133
134
  - --title
134
135
  - Ruport Documentation