ruport 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +7 -3
- data/Rakefile +8 -9
- data/TODO +16 -0
- data/examples/RWEmerson.jpg +0 -0
- data/examples/centered_pdf_text_box.rb +66 -0
- data/examples/invoice.rb +35 -25
- data/examples/invoice_report.rb +1 -1
- data/examples/line_plotter.rb +1 -1
- data/examples/pdf_table_with_title.rb +42 -0
- data/lib/ruport.rb +5 -7
- data/lib/ruport.rb.rej +41 -0
- data/lib/ruport.rb~ +85 -0
- data/lib/ruport/attempt.rb +59 -59
- data/lib/ruport/config.rb +15 -4
- data/lib/ruport/data.rb +0 -2
- data/lib/ruport/data/groupable.rb +25 -16
- data/lib/ruport/data/record.rb +128 -102
- data/lib/ruport/data/table.rb +352 -199
- data/lib/ruport/data/taggable.rb +18 -7
- data/lib/ruport/format/html.rb +3 -1
- data/lib/ruport/format/latex.rb +1 -1
- data/lib/ruport/format/latex.rb.rej +26 -0
- data/lib/ruport/format/latex.rb~ +47 -0
- data/lib/ruport/format/pdf.rb +111 -28
- data/lib/ruport/format/pdf.rb.rej +168 -0
- data/lib/ruport/format/pdf.rb~ +189 -0
- data/lib/ruport/format/plugin.rb +0 -5
- data/lib/ruport/format/svg.rb +4 -4
- data/lib/ruport/format/xml.rb +3 -3
- data/lib/ruport/generator.rb +66 -27
- data/lib/ruport/mailer.rb +4 -1
- data/lib/ruport/query.rb +13 -1
- data/lib/ruport/renderer.rb +89 -17
- data/lib/ruport/renderer/graph.rb +5 -5
- data/lib/ruport/renderer/table.rb +8 -9
- data/lib/ruport/report.rb +2 -6
- data/test/test_config.rb +88 -76
- data/test/{test_text_table.rb → test_format_text.rb} +4 -2
- data/test/test_groupable.rb +15 -13
- data/test/test_query.rb +6 -3
- data/test/test_record.rb +57 -33
- data/test/test_renderer.rb +77 -0
- data/test/test_report.rb +188 -181
- data/test/test_ruport.rb +5 -6
- data/test/test_table.rb +290 -190
- data/test/test_table_renderer.rb +56 -8
- data/test/test_taggable.rb +7 -8
- data/test/unit.log +259 -7
- metadata +22 -19
- data/lib/ruport/data/collection.rb +0 -65
- data/lib/ruport/data/set.rb +0 -148
- data/test/test_collection.rb +0 -30
- data/test/test_set.rb +0 -118
data/test/test_table_renderer.rb
CHANGED
@@ -21,22 +21,69 @@ class TestTableRenderer < Test::Unit::TestCase
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def test_render_html_basic
|
24
|
+
|
24
25
|
actual = Ruport::Renderer::Table.render_html { |r|
|
25
26
|
r.data = [[1,2,3],[4,5,6]].to_table
|
26
|
-
}
|
27
|
+
}
|
28
|
+
|
27
29
|
assert_equal("\t<table>\n\t\t<tr>\n\t\t\t<td>1</td>\n\t\t\t<td>2"+
|
28
30
|
"</td>\n\t\t\t<td>3</td>\n\t\t</tr>\n\t\t<tr>\n\t\t"+
|
29
31
|
"\t<td>4</td>\n\t\t\t<td>5</td>\n\t\t\t<td>6</td>\n\t"+
|
30
32
|
"\t</tr>\n\t</table>",actual)
|
31
33
|
|
32
|
-
actual = Ruport::Renderer::Table.render_html { |r|
|
33
|
-
r.data = [[1,2,3],[4,5,6]].to_table(%w[a b c])
|
34
|
+
actual = Ruport::Renderer::Table.render_html { |r|
|
35
|
+
r.data = [ [1,2,3],[4,5,6]].to_table(%w[a b c])
|
34
36
|
}
|
37
|
+
|
35
38
|
assert_equal("\t<table>\n\t\t<tr>\n\t\t\t<th>a</th>\n\t\t\t<th>b</th>"+
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
39
|
+
"\n\t\t\t<th>c</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>1</td>"+
|
40
|
+
"\n\t\t\t<td>2</td>\n\t\t\t<td>3</td>\n\t\t</tr>\n\t\t<tr>"+
|
41
|
+
"\n\t\t\t<td>4</td>\n\t\t\t<td>5</td>\n\t\t\t<td>6</td>\n\t"+
|
42
|
+
"\t</tr>\n\t</table>",actual)
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_render_html_with_tags
|
47
|
+
actual = Ruport::Renderer::Table.render_html { |r|
|
48
|
+
r.data = [[1,2,3],[4,5,6]].to_table(%w[a b c])
|
49
|
+
r.data.create_group("foo") { |r| r.a < 3 }
|
50
|
+
}
|
51
|
+
|
52
|
+
expected =
|
53
|
+
"\t<table>\n\t\t<tr>\n\t\t\t<th>a</th>\n\t\t\t<th>b</th>\n\t\t\t<th>"+
|
54
|
+
"c</th>\n\t\t</tr>\n\t\t<tr class='grp_foo'>\n\t\t\t"+
|
55
|
+
"<td class='grp_foo'>1</td>\n\t\t\t<td class='grp_foo'>2</td>"+
|
56
|
+
"\n\t\t\t<td class='grp_foo'>3</td>\n\t\t</tr>"+
|
57
|
+
"\n\t\t<tr>\n\t\t\t<td>4</td>\n\t\t\t<td>5</td>\n\t\t\t"+
|
58
|
+
"<td>6</td>\n\t\t</tr>\n\t</table>"
|
59
|
+
|
60
|
+
assert_equal(expected,actual)
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_ensure_html_tags_joined
|
64
|
+
actual = Ruport::Renderer::Table.render_html { |r|
|
65
|
+
r.data =[[1,2],[3,4]].to_table(%w[a b])
|
66
|
+
r.data.create_group("foo") { true }
|
67
|
+
r.data.create_group("bar") { true }
|
68
|
+
}
|
69
|
+
|
70
|
+
expected =
|
71
|
+
"\t<table>\n"+
|
72
|
+
"\t\t<tr>\n" +
|
73
|
+
"\t\t\t<th>a</th>\n" +
|
74
|
+
"\t\t\t<th>b</th>\n" +
|
75
|
+
"\t\t</tr>\n" +
|
76
|
+
"\t\t<tr class='grp_foo grp_bar'>\n" +
|
77
|
+
"\t\t\t<td class='grp_foo grp_bar'>1</td>\n" +
|
78
|
+
"\t\t\t<td class='grp_foo grp_bar'>2</td>\n" +
|
79
|
+
"\t\t</tr>\n" +
|
80
|
+
"\t\t<tr class='grp_foo grp_bar'>\n"+
|
81
|
+
"\t\t\t<td class='grp_foo grp_bar'>3</td>\n"+
|
82
|
+
"\t\t\t<td class='grp_foo grp_bar'>4</td>\n"+
|
83
|
+
"\t\t</tr>\n"+
|
84
|
+
"\t</table>"
|
85
|
+
|
86
|
+
assert_equal(expected,actual)
|
40
87
|
end
|
41
88
|
|
42
89
|
def test_render_latex_basic
|
@@ -89,5 +136,6 @@ class TestTableRenderer < Test::Unit::TestCase
|
|
89
136
|
r.layout { |l| l.show_table_headers = false }
|
90
137
|
}
|
91
138
|
assert_equal("1,2,3\n4,5,6\n",actual)
|
92
|
-
end
|
139
|
+
end
|
140
|
+
|
93
141
|
end
|
data/test/test_taggable.rb
CHANGED
@@ -15,19 +15,18 @@ class TestTaggable < Test::Unit::TestCase
|
|
15
15
|
assert_equal nil, @obj.instance_variable_get(:@ruport_tags)
|
16
16
|
end
|
17
17
|
|
18
|
-
def
|
19
|
-
@obj.instance_variable_set(:@ruport_tags, [:blue, :red])
|
20
|
-
assert_equal [:blue, :red], @obj.tags
|
21
|
-
end
|
22
|
-
|
23
|
-
def test_set_tags
|
18
|
+
def test_get_and_set_tags
|
24
19
|
@obj.tags = [:orange, :yellow]
|
25
|
-
assert_equal [:orange, :yellow],
|
20
|
+
assert_equal Set.new([:orange, :yellow]),
|
21
|
+
@obj.instance_variable_get(:@ruport_tags)
|
22
|
+
assert_equal Set.new([:orange, :yellow]), @obj.tags
|
26
23
|
end
|
27
24
|
|
28
25
|
def test_tag
|
29
26
|
@obj.tag(:purple)
|
30
|
-
assert_equal [:purple],
|
27
|
+
assert_equal Set.new([:purple]),
|
28
|
+
@obj.instance_variable_get(:@ruport_tags)
|
29
|
+
|
31
30
|
end
|
32
31
|
|
33
32
|
def test_has_tag
|
data/test/unit.log
CHANGED
@@ -1,7 +1,259 @@
|
|
1
|
-
# Logfile created on Thu Jan 25
|
2
|
-
F, [2007-01-
|
3
|
-
F, [2007-01-
|
4
|
-
F, [2007-01-
|
5
|
-
W, [2007-01-
|
6
|
-
W, [2007-01-
|
7
|
-
W, [2007-01-
|
1
|
+
# Logfile created on Thu Jan 25 09:08:22 -0500 2007 by logger.rb/1.5.2.9
|
2
|
+
F, [2007-01-25T09:08:22.765487 #3330] FATAL -- : Missing host for mailer bar
|
3
|
+
F, [2007-01-25T09:08:22.766493 #3330] FATAL -- : Missing DSN for source foo!
|
4
|
+
F, [2007-01-25T09:08:23.179865 #3330] FATAL -- : no block given!
|
5
|
+
W, [2007-01-25T09:08:23.322312 #3330] WARN -- : Error on attempt # 1: ; retrying
|
6
|
+
W, [2007-01-25T09:08:24.323818 #3330] WARN -- : Error on attempt # 2: ; retrying
|
7
|
+
W, [2007-01-25T09:08:26.330135 #3330] WARN -- : Error on attempt # 1: execution expired; retrying
|
8
|
+
F, [2007-01-25T09:08:48.821115 #3391] FATAL -- : Missing host for mailer bar
|
9
|
+
F, [2007-01-25T09:08:48.822030 #3391] FATAL -- : Missing DSN for source foo!
|
10
|
+
F, [2007-01-25T09:08:49.283590 #3391] FATAL -- : no block given!
|
11
|
+
W, [2007-01-25T09:08:49.469920 #3391] WARN -- : Error on attempt # 1: ; retrying
|
12
|
+
W, [2007-01-25T09:08:50.470980 #3391] WARN -- : Error on attempt # 2: ; retrying
|
13
|
+
W, [2007-01-25T09:08:52.479627 #3391] WARN -- : Error on attempt # 1: execution expired; retrying
|
14
|
+
F, [2007-01-25T12:25:17.765310 #3085] FATAL -- : Missing host for mailer bar
|
15
|
+
F, [2007-01-25T12:25:17.793586 #3085] FATAL -- : Missing DSN for source foo!
|
16
|
+
F, [2007-01-25T12:25:18.342669 #3085] FATAL -- : no block given!
|
17
|
+
W, [2007-01-25T12:25:18.579187 #3085] WARN -- : Error on attempt # 1: ; retrying
|
18
|
+
W, [2007-01-25T12:25:19.579461 #3085] WARN -- : Error on attempt # 2: ; retrying
|
19
|
+
W, [2007-01-25T12:25:21.584050 #3085] WARN -- : Error on attempt # 1: execution expired; retrying
|
20
|
+
F, [2007-01-25T12:30:11.701209 #3161] FATAL -- : Missing host for mailer bar
|
21
|
+
F, [2007-01-25T12:30:11.702139 #3161] FATAL -- : Missing DSN for source foo!
|
22
|
+
F, [2007-01-25T12:30:12.150909 #3161] FATAL -- : no block given!
|
23
|
+
W, [2007-01-25T12:30:12.331784 #3161] WARN -- : Error on attempt # 1: ; retrying
|
24
|
+
W, [2007-01-25T12:30:13.332136 #3161] WARN -- : Error on attempt # 2: ; retrying
|
25
|
+
W, [2007-01-25T12:30:15.336833 #3161] WARN -- : Error on attempt # 1: execution expired; retrying
|
26
|
+
F, [2007-01-26T19:40:14.712695 #3325] FATAL -- : Missing host for mailer bar
|
27
|
+
F, [2007-01-26T19:40:14.739573 #3325] FATAL -- : Missing DSN for source foo!
|
28
|
+
F, [2007-01-26T19:40:15.258964 #3325] FATAL -- : no block given!
|
29
|
+
W, [2007-01-26T19:40:15.479974 #3325] WARN -- : Error on attempt # 1: ; retrying
|
30
|
+
W, [2007-01-26T19:40:16.479738 #3325] WARN -- : Error on attempt # 2: ; retrying
|
31
|
+
W, [2007-01-26T19:40:18.484375 #3325] WARN -- : Error on attempt # 1: execution expired; retrying
|
32
|
+
F, [2007-01-26T23:25:14.593532 #3958] FATAL -- : Missing host for mailer bar
|
33
|
+
F, [2007-01-26T23:25:14.594454 #3958] FATAL -- : Missing DSN for source foo!
|
34
|
+
F, [2007-01-26T23:25:15.065393 #3958] FATAL -- : no block given!
|
35
|
+
W, [2007-01-26T23:25:15.242883 #3958] WARN -- : Error on attempt # 1: ; retrying
|
36
|
+
W, [2007-01-26T23:25:16.242404 #3958] WARN -- : Error on attempt # 2: ; retrying
|
37
|
+
W, [2007-01-26T23:25:18.249493 #3958] WARN -- : Error on attempt # 1: execution expired; retrying
|
38
|
+
F, [2007-01-26T23:26:27.560622 #4015] FATAL -- : Missing host for mailer bar
|
39
|
+
F, [2007-01-26T23:26:27.561563 #4015] FATAL -- : Missing DSN for source foo!
|
40
|
+
F, [2007-01-26T23:26:28.017935 #4015] FATAL -- : no block given!
|
41
|
+
W, [2007-01-26T23:26:28.197721 #4015] WARN -- : Error on attempt # 1: ; retrying
|
42
|
+
W, [2007-01-26T23:26:29.200076 #4015] WARN -- : Error on attempt # 2: ; retrying
|
43
|
+
W, [2007-01-26T23:26:31.205877 #4015] WARN -- : Error on attempt # 1: execution expired; retrying
|
44
|
+
F, [2007-01-26T23:27:00.042644 #4072] FATAL -- : Missing host for mailer bar
|
45
|
+
F, [2007-01-26T23:27:00.043673 #4072] FATAL -- : Missing DSN for source foo!
|
46
|
+
F, [2007-01-26T23:27:00.516514 #4072] FATAL -- : no block given!
|
47
|
+
W, [2007-01-26T23:27:00.694279 #4072] WARN -- : Error on attempt # 1: ; retrying
|
48
|
+
W, [2007-01-26T23:27:01.694972 #4072] WARN -- : Error on attempt # 2: ; retrying
|
49
|
+
W, [2007-01-26T23:27:03.703694 #4072] WARN -- : Error on attempt # 1: execution expired; retrying
|
50
|
+
F, [2007-01-26T23:27:26.242344 #4129] FATAL -- : Missing host for mailer bar
|
51
|
+
F, [2007-01-26T23:27:26.243366 #4129] FATAL -- : Missing DSN for source foo!
|
52
|
+
F, [2007-01-26T23:27:26.713703 #4129] FATAL -- : no block given!
|
53
|
+
W, [2007-01-26T23:27:26.899391 #4129] WARN -- : Error on attempt # 1: ; retrying
|
54
|
+
W, [2007-01-26T23:27:27.896543 #4129] WARN -- : Error on attempt # 2: ; retrying
|
55
|
+
W, [2007-01-26T23:27:29.905185 #4129] WARN -- : Error on attempt # 1: execution expired; retrying
|
56
|
+
F, [2007-01-26T23:30:19.599879 #4186] FATAL -- : Missing host for mailer bar
|
57
|
+
F, [2007-01-26T23:30:19.600785 #4186] FATAL -- : Missing DSN for source foo!
|
58
|
+
F, [2007-01-26T23:30:20.069162 #4186] FATAL -- : no block given!
|
59
|
+
W, [2007-01-26T23:30:20.257718 #4186] WARN -- : Error on attempt # 1: ; retrying
|
60
|
+
W, [2007-01-26T23:30:21.254418 #4186] WARN -- : Error on attempt # 2: ; retrying
|
61
|
+
W, [2007-01-26T23:30:23.259039 #4186] WARN -- : Error on attempt # 1: execution expired; retrying
|
62
|
+
F, [2007-01-26T23:30:47.702985 #4243] FATAL -- : Missing host for mailer bar
|
63
|
+
F, [2007-01-26T23:30:47.704005 #4243] FATAL -- : Missing DSN for source foo!
|
64
|
+
F, [2007-01-26T23:30:48.178962 #4243] FATAL -- : no block given!
|
65
|
+
W, [2007-01-26T23:30:48.368512 #4243] WARN -- : Error on attempt # 1: ; retrying
|
66
|
+
W, [2007-01-26T23:30:49.368020 #4243] WARN -- : Error on attempt # 2: ; retrying
|
67
|
+
W, [2007-01-26T23:30:51.372642 #4243] WARN -- : Error on attempt # 1: execution expired; retrying
|
68
|
+
F, [2007-01-26T23:32:04.057382 #4300] FATAL -- : Missing host for mailer bar
|
69
|
+
F, [2007-01-26T23:32:04.058307 #4300] FATAL -- : Missing DSN for source foo!
|
70
|
+
F, [2007-01-26T23:32:04.519982 #4300] FATAL -- : no block given!
|
71
|
+
W, [2007-01-26T23:32:04.698557 #4300] WARN -- : Error on attempt # 1: ; retrying
|
72
|
+
W, [2007-01-26T23:32:05.700283 #4300] WARN -- : Error on attempt # 2: ; retrying
|
73
|
+
W, [2007-01-26T23:32:07.708976 #4300] WARN -- : Error on attempt # 1: execution expired; retrying
|
74
|
+
F, [2007-01-26T23:32:44.796536 #4357] FATAL -- : Missing host for mailer bar
|
75
|
+
F, [2007-01-26T23:32:44.797454 #4357] FATAL -- : Missing DSN for source foo!
|
76
|
+
F, [2007-01-26T23:32:45.262718 #4357] FATAL -- : no block given!
|
77
|
+
W, [2007-01-26T23:32:45.441060 #4357] WARN -- : Error on attempt # 1: ; retrying
|
78
|
+
W, [2007-01-26T23:32:46.442597 #4357] WARN -- : Error on attempt # 2: ; retrying
|
79
|
+
W, [2007-01-26T23:32:48.451265 #4357] WARN -- : Error on attempt # 1: execution expired; retrying
|
80
|
+
F, [2007-01-26T23:38:05.158131 #4414] FATAL -- : Missing host for mailer bar
|
81
|
+
F, [2007-01-26T23:38:05.159049 #4414] FATAL -- : Missing DSN for source foo!
|
82
|
+
F, [2007-01-26T23:38:05.627507 #4414] FATAL -- : no block given!
|
83
|
+
W, [2007-01-26T23:38:05.805856 #4414] WARN -- : Error on attempt # 1: ; retrying
|
84
|
+
W, [2007-01-26T23:38:06.808517 #4414] WARN -- : Error on attempt # 2: ; retrying
|
85
|
+
W, [2007-01-26T23:38:08.813492 #4414] WARN -- : Error on attempt # 1: execution expired; retrying
|
86
|
+
F, [2007-01-26T23:38:32.475772 #4471] FATAL -- : Missing host for mailer bar
|
87
|
+
F, [2007-01-26T23:38:32.476689 #4471] FATAL -- : Missing DSN for source foo!
|
88
|
+
F, [2007-01-26T23:38:32.948534 #4471] FATAL -- : no block given!
|
89
|
+
W, [2007-01-26T23:38:33.135457 #4471] WARN -- : Error on attempt # 1: ; retrying
|
90
|
+
W, [2007-01-26T23:38:34.138482 #4471] WARN -- : Error on attempt # 2: ; retrying
|
91
|
+
W, [2007-01-26T23:38:36.147172 #4471] WARN -- : Error on attempt # 1: execution expired; retrying
|
92
|
+
F, [2007-01-26T23:38:54.761835 #4528] FATAL -- : Missing host for mailer bar
|
93
|
+
F, [2007-01-26T23:38:54.762766 #4528] FATAL -- : Missing DSN for source foo!
|
94
|
+
F, [2007-01-26T23:38:55.227435 #4528] FATAL -- : no block given!
|
95
|
+
W, [2007-01-26T23:38:55.406116 #4528] WARN -- : Error on attempt # 1: ; retrying
|
96
|
+
W, [2007-01-26T23:38:56.406268 #4528] WARN -- : Error on attempt # 2: ; retrying
|
97
|
+
W, [2007-01-26T23:38:58.409747 #4528] WARN -- : Error on attempt # 1: execution expired; retrying
|
98
|
+
F, [2007-01-26T23:41:25.716606 #4585] FATAL -- : Missing host for mailer bar
|
99
|
+
F, [2007-01-26T23:41:25.717555 #4585] FATAL -- : Missing DSN for source foo!
|
100
|
+
F, [2007-01-26T23:41:26.188030 #4585] FATAL -- : no block given!
|
101
|
+
W, [2007-01-26T23:41:26.377191 #4585] WARN -- : Error on attempt # 1: ; retrying
|
102
|
+
W, [2007-01-26T23:41:27.380386 #4585] WARN -- : Error on attempt # 2: ; retrying
|
103
|
+
W, [2007-01-26T23:41:29.389048 #4585] WARN -- : Error on attempt # 1: execution expired; retrying
|
104
|
+
F, [2007-01-26T23:43:07.025349 #4642] FATAL -- : Missing host for mailer bar
|
105
|
+
F, [2007-01-26T23:43:07.026371 #4642] FATAL -- : Missing DSN for source foo!
|
106
|
+
F, [2007-01-26T23:43:07.495475 #4642] FATAL -- : no block given!
|
107
|
+
W, [2007-01-26T23:43:07.678364 #4642] WARN -- : Error on attempt # 1: ; retrying
|
108
|
+
W, [2007-01-26T23:43:08.678145 #4642] WARN -- : Error on attempt # 2: ; retrying
|
109
|
+
W, [2007-01-26T23:43:10.682823 #4642] WARN -- : Error on attempt # 1: execution expired; retrying
|
110
|
+
F, [2007-01-26T23:43:52.021760 #4701] FATAL -- : Missing host for mailer bar
|
111
|
+
F, [2007-01-26T23:43:52.022762 #4701] FATAL -- : Missing DSN for source foo!
|
112
|
+
F, [2007-01-26T23:43:52.489711 #4701] FATAL -- : no block given!
|
113
|
+
W, [2007-01-26T23:43:52.666956 #4701] WARN -- : Error on attempt # 1: ; retrying
|
114
|
+
W, [2007-01-26T23:43:53.666697 #4701] WARN -- : Error on attempt # 2: ; retrying
|
115
|
+
W, [2007-01-26T23:43:55.673281 #4701] WARN -- : Error on attempt # 1: execution expired; retrying
|
116
|
+
F, [2007-01-26T23:45:18.447978 #4762] FATAL -- : Missing host for mailer bar
|
117
|
+
F, [2007-01-26T23:45:18.449000 #4762] FATAL -- : Missing DSN for source foo!
|
118
|
+
F, [2007-01-26T23:45:18.920805 #4762] FATAL -- : no block given!
|
119
|
+
W, [2007-01-26T23:45:19.110043 #4762] WARN -- : Error on attempt # 1: ; retrying
|
120
|
+
W, [2007-01-26T23:45:20.113683 #4762] WARN -- : Error on attempt # 2: ; retrying
|
121
|
+
W, [2007-01-26T23:45:22.118324 #4762] WARN -- : Error on attempt # 1: execution expired; retrying
|
122
|
+
F, [2007-01-26T23:45:52.506205 #4819] FATAL -- : Missing host for mailer bar
|
123
|
+
F, [2007-01-26T23:45:52.507221 #4819] FATAL -- : Missing DSN for source foo!
|
124
|
+
F, [2007-01-26T23:45:52.971302 #4819] FATAL -- : no block given!
|
125
|
+
W, [2007-01-26T23:45:53.158915 #4819] WARN -- : Error on attempt # 1: ; retrying
|
126
|
+
W, [2007-01-26T23:45:54.155588 #4819] WARN -- : Error on attempt # 2: ; retrying
|
127
|
+
W, [2007-01-26T23:45:56.160250 #4819] WARN -- : Error on attempt # 1: execution expired; retrying
|
128
|
+
F, [2007-01-26T23:46:32.413587 #4876] FATAL -- : Missing host for mailer bar
|
129
|
+
F, [2007-01-26T23:46:32.414617 #4876] FATAL -- : Missing DSN for source foo!
|
130
|
+
F, [2007-01-26T23:46:32.877233 #4876] FATAL -- : no block given!
|
131
|
+
W, [2007-01-26T23:46:33.055254 #4876] WARN -- : Error on attempt # 1: ; retrying
|
132
|
+
W, [2007-01-26T23:46:34.057775 #4876] WARN -- : Error on attempt # 2: ; retrying
|
133
|
+
W, [2007-01-26T23:46:36.066445 #4876] WARN -- : Error on attempt # 1: execution expired; retrying
|
134
|
+
F, [2007-01-26T23:47:21.999537 #4933] FATAL -- : Missing host for mailer bar
|
135
|
+
F, [2007-01-26T23:47:22.000564 #4933] FATAL -- : Missing DSN for source foo!
|
136
|
+
F, [2007-01-26T23:47:22.471442 #4933] FATAL -- : no block given!
|
137
|
+
W, [2007-01-26T23:47:22.649412 #4933] WARN -- : Error on attempt # 1: ; retrying
|
138
|
+
W, [2007-01-26T23:47:23.652576 #4933] WARN -- : Error on attempt # 2: ; retrying
|
139
|
+
W, [2007-01-26T23:47:25.661294 #4933] WARN -- : Error on attempt # 1: execution expired; retrying
|
140
|
+
F, [2007-01-26T23:47:32.759969 #4990] FATAL -- : Missing host for mailer bar
|
141
|
+
F, [2007-01-26T23:47:32.761071 #4990] FATAL -- : Missing DSN for source foo!
|
142
|
+
F, [2007-01-26T23:47:33.235480 #4990] FATAL -- : no block given!
|
143
|
+
W, [2007-01-26T23:47:33.423931 #4990] WARN -- : Error on attempt # 1: ; retrying
|
144
|
+
W, [2007-01-26T23:47:34.421345 #4990] WARN -- : Error on attempt # 2: ; retrying
|
145
|
+
W, [2007-01-26T23:47:36.429973 #4990] WARN -- : Error on attempt # 1: execution expired; retrying
|
146
|
+
F, [2007-01-26T23:48:07.611353 #5047] FATAL -- : Missing host for mailer bar
|
147
|
+
F, [2007-01-26T23:48:07.612478 #5047] FATAL -- : Missing DSN for source foo!
|
148
|
+
F, [2007-01-26T23:48:08.089458 #5047] FATAL -- : no block given!
|
149
|
+
W, [2007-01-26T23:48:08.266976 #5047] WARN -- : Error on attempt # 1: ; retrying
|
150
|
+
W, [2007-01-26T23:48:09.271194 #5047] WARN -- : Error on attempt # 2: ; retrying
|
151
|
+
W, [2007-01-26T23:48:11.279878 #5047] WARN -- : Error on attempt # 1: execution expired; retrying
|
152
|
+
F, [2007-01-26T23:48:35.226172 #5104] FATAL -- : Missing host for mailer bar
|
153
|
+
F, [2007-01-26T23:48:35.227186 #5104] FATAL -- : Missing DSN for source foo!
|
154
|
+
F, [2007-01-26T23:48:35.692910 #5104] FATAL -- : no block given!
|
155
|
+
W, [2007-01-26T23:48:35.871396 #5104] WARN -- : Error on attempt # 1: ; retrying
|
156
|
+
W, [2007-01-26T23:48:36.872758 #5104] WARN -- : Error on attempt # 2: ; retrying
|
157
|
+
W, [2007-01-26T23:48:38.881479 #5104] WARN -- : Error on attempt # 1: execution expired; retrying
|
158
|
+
F, [2007-01-26T23:50:37.184550 #5162] FATAL -- : Missing host for mailer bar
|
159
|
+
F, [2007-01-26T23:50:37.185491 #5162] FATAL -- : Missing DSN for source foo!
|
160
|
+
F, [2007-01-26T23:50:37.654586 #5162] FATAL -- : no block given!
|
161
|
+
W, [2007-01-26T23:50:37.843047 #5162] WARN -- : Error on attempt # 1: ; retrying
|
162
|
+
W, [2007-01-26T23:50:38.839812 #5162] WARN -- : Error on attempt # 2: ; retrying
|
163
|
+
W, [2007-01-26T23:50:40.844516 #5162] WARN -- : Error on attempt # 1: execution expired; retrying
|
164
|
+
F, [2007-02-01T21:58:10.576148 #3298] FATAL -- : Missing host for mailer bar
|
165
|
+
F, [2007-02-01T21:58:10.587599 #3298] FATAL -- : Missing DSN for source foo!
|
166
|
+
F, [2007-02-01T21:58:11.141972 #3298] FATAL -- : no block given!
|
167
|
+
W, [2007-02-01T21:58:11.402499 #3298] WARN -- : Error on attempt # 1: ; retrying
|
168
|
+
W, [2007-02-01T21:58:12.401540 #3298] WARN -- : Error on attempt # 2: ; retrying
|
169
|
+
W, [2007-02-01T21:58:14.406216 #3298] WARN -- : Error on attempt # 1: execution expired; retrying
|
170
|
+
F, [2007-02-01T21:59:06.996549 #3355] FATAL -- : Missing host for mailer bar
|
171
|
+
F, [2007-02-01T21:59:06.997457 #3355] FATAL -- : Missing DSN for source foo!
|
172
|
+
F, [2007-02-01T21:59:07.461624 #3355] FATAL -- : no block given!
|
173
|
+
W, [2007-02-01T21:59:07.747869 #3355] WARN -- : Error on attempt # 1: ; retrying
|
174
|
+
W, [2007-02-01T21:59:08.744752 #3355] WARN -- : Error on attempt # 2: ; retrying
|
175
|
+
W, [2007-02-01T21:59:10.747600 #3355] WARN -- : Error on attempt # 1: execution expired; retrying
|
176
|
+
F, [2007-02-01T22:01:04.198969 #3414] FATAL -- : Missing host for mailer bar
|
177
|
+
F, [2007-02-01T22:01:04.199968 #3414] FATAL -- : Missing DSN for source foo!
|
178
|
+
F, [2007-02-01T22:01:04.656697 #3414] FATAL -- : no block given!
|
179
|
+
W, [2007-02-01T22:01:04.858831 #3414] WARN -- : Error on attempt # 1: ; retrying
|
180
|
+
W, [2007-02-01T22:01:05.859421 #3414] WARN -- : Error on attempt # 2: ; retrying
|
181
|
+
W, [2007-02-01T22:01:07.868075 #3414] WARN -- : Error on attempt # 1: execution expired; retrying
|
182
|
+
F, [2007-02-01T22:02:11.044697 #3471] FATAL -- : Missing host for mailer bar
|
183
|
+
F, [2007-02-01T22:02:11.045687 #3471] FATAL -- : Missing DSN for source foo!
|
184
|
+
F, [2007-02-01T22:02:11.505699 #3471] FATAL -- : no block given!
|
185
|
+
W, [2007-02-01T22:02:11.692243 #3471] WARN -- : Error on attempt # 1: ; retrying
|
186
|
+
W, [2007-02-01T22:02:12.695180 #3471] WARN -- : Error on attempt # 2: ; retrying
|
187
|
+
W, [2007-02-01T22:02:14.701058 #3471] WARN -- : Error on attempt # 1: execution expired; retrying
|
188
|
+
F, [2007-02-01T22:02:28.381804 #3528] FATAL -- : Missing host for mailer bar
|
189
|
+
F, [2007-02-01T22:02:28.382724 #3528] FATAL -- : Missing DSN for source foo!
|
190
|
+
F, [2007-02-01T22:02:28.844899 #3528] FATAL -- : no block given!
|
191
|
+
W, [2007-02-01T22:02:29.036132 #3528] WARN -- : Error on attempt # 1: ; retrying
|
192
|
+
W, [2007-02-01T22:02:30.040228 #3528] WARN -- : Error on attempt # 2: ; retrying
|
193
|
+
W, [2007-02-01T22:02:32.047503 #3528] WARN -- : Error on attempt # 1: execution expired; retrying
|
194
|
+
F, [2007-02-01T22:03:21.779593 #3585] FATAL -- : Missing host for mailer bar
|
195
|
+
F, [2007-02-01T22:03:21.780511 #3585] FATAL -- : Missing DSN for source foo!
|
196
|
+
F, [2007-02-01T22:03:22.245685 #3585] FATAL -- : no block given!
|
197
|
+
W, [2007-02-01T22:03:22.449333 #3585] WARN -- : Error on attempt # 1: ; retrying
|
198
|
+
W, [2007-02-01T22:03:23.451328 #3585] WARN -- : Error on attempt # 2: ; retrying
|
199
|
+
W, [2007-02-01T22:03:25.462435 #3585] WARN -- : Error on attempt # 1: execution expired; retrying
|
200
|
+
F, [2007-02-01T22:03:42.909348 #3642] FATAL -- : Missing host for mailer bar
|
201
|
+
F, [2007-02-01T22:03:42.910316 #3642] FATAL -- : Missing DSN for source foo!
|
202
|
+
F, [2007-02-01T22:03:43.366624 #3642] FATAL -- : no block given!
|
203
|
+
W, [2007-02-01T22:03:43.552648 #3642] WARN -- : Error on attempt # 1: ; retrying
|
204
|
+
W, [2007-02-01T22:03:44.556441 #3642] WARN -- : Error on attempt # 2: ; retrying
|
205
|
+
W, [2007-02-01T22:03:46.561219 #3642] WARN -- : Error on attempt # 1: execution expired; retrying
|
206
|
+
F, [2007-02-01T22:05:39.514612 #3705] FATAL -- : Missing host for mailer bar
|
207
|
+
F, [2007-02-01T22:05:39.515610 #3705] FATAL -- : Missing DSN for source foo!
|
208
|
+
F, [2007-02-01T22:05:39.817467 #3705] FATAL -- : no block given!
|
209
|
+
W, [2007-02-01T22:05:40.010650 #3705] WARN -- : Error on attempt # 1: ; retrying
|
210
|
+
W, [2007-02-01T22:05:41.009731 #3705] WARN -- : Error on attempt # 2: ; retrying
|
211
|
+
W, [2007-02-01T22:05:43.015727 #3705] WARN -- : Error on attempt # 1: execution expired; retrying
|
212
|
+
F, [2007-02-01T22:07:07.542864 #3717] FATAL -- : Missing host for mailer bar
|
213
|
+
F, [2007-02-01T22:07:07.543855 #3717] FATAL -- : Missing DSN for source foo!
|
214
|
+
F, [2007-02-01T22:07:07.844015 #3717] FATAL -- : no block given!
|
215
|
+
W, [2007-02-01T22:07:08.029078 #3717] WARN -- : Error on attempt # 1: ; retrying
|
216
|
+
W, [2007-02-01T22:07:09.032133 #3717] WARN -- : Error on attempt # 2: ; retrying
|
217
|
+
W, [2007-02-01T22:07:11.040790 #3717] WARN -- : Error on attempt # 1: execution expired; retrying
|
218
|
+
F, [2007-02-01T22:07:26.072486 #3723] FATAL -- : Missing host for mailer bar
|
219
|
+
F, [2007-02-01T22:07:26.073489 #3723] FATAL -- : Missing DSN for source foo!
|
220
|
+
F, [2007-02-01T22:07:26.531552 #3723] FATAL -- : no block given!
|
221
|
+
W, [2007-02-01T22:07:26.720487 #3723] WARN -- : Error on attempt # 1: ; retrying
|
222
|
+
W, [2007-02-01T22:07:27.717207 #3723] WARN -- : Error on attempt # 2: ; retrying
|
223
|
+
W, [2007-02-01T22:07:29.721850 #3723] WARN -- : Error on attempt # 1: execution expired; retrying
|
224
|
+
F, [2007-02-01T22:08:18.970066 #3783] FATAL -- : Missing host for mailer bar
|
225
|
+
F, [2007-02-01T22:08:18.971082 #3783] FATAL -- : Missing DSN for source foo!
|
226
|
+
F, [2007-02-01T22:08:19.436789 #3783] FATAL -- : no block given!
|
227
|
+
W, [2007-02-01T22:08:19.628576 #3783] WARN -- : Error on attempt # 1: ; retrying
|
228
|
+
W, [2007-02-01T22:08:20.632194 #3783] WARN -- : Error on attempt # 2: ; retrying
|
229
|
+
W, [2007-02-01T22:08:22.640859 #3783] WARN -- : Error on attempt # 1: execution expired; retrying
|
230
|
+
F, [2007-02-01T22:10:35.029183 #3848] FATAL -- : Missing host for mailer bar
|
231
|
+
F, [2007-02-01T22:10:35.030184 #3848] FATAL -- : Missing DSN for source foo!
|
232
|
+
F, [2007-02-01T22:10:35.490653 #3848] FATAL -- : no block given!
|
233
|
+
W, [2007-02-01T22:10:35.695633 #3848] WARN -- : Error on attempt # 1: ; retrying
|
234
|
+
W, [2007-02-01T22:10:36.695965 #3848] WARN -- : Error on attempt # 2: ; retrying
|
235
|
+
W, [2007-02-01T22:10:38.700628 #3848] WARN -- : Error on attempt # 1: execution expired; retrying
|
236
|
+
F, [2007-02-01T22:11:12.113312 #3908] FATAL -- : Missing host for mailer bar
|
237
|
+
F, [2007-02-01T22:11:12.114306 #3908] FATAL -- : Missing DSN for source foo!
|
238
|
+
F, [2007-02-01T22:11:12.581422 #3908] FATAL -- : no block given!
|
239
|
+
W, [2007-02-01T22:11:12.775532 #3908] WARN -- : Error on attempt # 1: ; retrying
|
240
|
+
W, [2007-02-01T22:11:13.778079 #3908] WARN -- : Error on attempt # 2: ; retrying
|
241
|
+
W, [2007-02-01T22:11:15.786747 #3908] WARN -- : Error on attempt # 1: execution expired; retrying
|
242
|
+
F, [2007-02-01T22:12:06.183178 #3968] FATAL -- : Missing host for mailer bar
|
243
|
+
F, [2007-02-01T22:12:06.184179 #3968] FATAL -- : Missing DSN for source foo!
|
244
|
+
F, [2007-02-01T22:12:06.651641 #3968] FATAL -- : no block given!
|
245
|
+
W, [2007-02-01T22:12:06.844443 #3968] WARN -- : Error on attempt # 1: ; retrying
|
246
|
+
W, [2007-02-01T22:12:07.841167 #3968] WARN -- : Error on attempt # 2: ; retrying
|
247
|
+
W, [2007-02-01T22:12:09.845834 #3968] WARN -- : Error on attempt # 1: execution expired; retrying
|
248
|
+
F, [2007-02-01T22:34:34.046987 #4060] FATAL -- : Missing host for mailer bar
|
249
|
+
F, [2007-02-01T22:34:34.047968 #4060] FATAL -- : Missing DSN for source foo!
|
250
|
+
F, [2007-02-01T22:34:34.506546 #4060] FATAL -- : no block given!
|
251
|
+
W, [2007-02-01T22:34:34.694925 #4060] WARN -- : Error on attempt # 1: ; retrying
|
252
|
+
W, [2007-02-01T22:34:35.693974 #4060] WARN -- : Error on attempt # 2: ; retrying
|
253
|
+
W, [2007-02-01T22:34:37.698585 #4060] WARN -- : Error on attempt # 1: execution expired; retrying
|
254
|
+
F, [2007-02-03T01:09:07.865937 #6953] FATAL -- : Missing host for mailer bar
|
255
|
+
F, [2007-02-03T01:09:07.867010 #6953] FATAL -- : Missing DSN for source foo!
|
256
|
+
F, [2007-02-03T01:09:08.337621 #6953] FATAL -- : no block given!
|
257
|
+
W, [2007-02-03T01:09:08.529224 #6953] WARN -- : Error on attempt # 1: ; retrying
|
258
|
+
W, [2007-02-03T01:09:09.526089 #6953] WARN -- : Error on attempt # 2: ; retrying
|
259
|
+
W, [2007-02-03T01:09:11.530739 #6953] WARN -- : Error on attempt # 1: execution expired; retrying
|
metadata
CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.9.1
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruport
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.8.0
|
7
|
+
date: 2007-02-03 00:00:00 -05:00
|
8
8
|
summary: A generalized Ruby report generation and templating engine.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: "\tgregory.t.brown@gmail.com"
|
12
12
|
homepage: http://reporting.stonecode.org
|
13
13
|
rubyforge_project: ruport
|
14
|
-
description:
|
14
|
+
description: Ruby Reports is a software library that aims to make the task of reporting less tedious and painful. It provides tools for data acquisition, database interaction, formatting, and parsing/munging.
|
15
15
|
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
@@ -30,12 +30,17 @@ authors:
|
|
30
30
|
- Gregory Brown
|
31
31
|
files:
|
32
32
|
- examples/invoice_report.rb
|
33
|
+
- examples/RWEmerson.jpg
|
33
34
|
- examples/line_plotter.rb
|
35
|
+
- examples/centered_pdf_text_box.rb
|
34
36
|
- examples/pdf_complex_report.rb
|
35
37
|
- examples/invoice.rb
|
38
|
+
- examples/pdf_table_with_title.rb
|
36
39
|
- lib/ruport
|
37
40
|
- lib/ruport.rb
|
38
41
|
- lib/uport.rb
|
42
|
+
- lib/ruport.rb.rej
|
43
|
+
- lib/ruport.rb~
|
39
44
|
- lib/ruport/format
|
40
45
|
- lib/ruport/query
|
41
46
|
- lib/ruport/renderer
|
@@ -55,42 +60,42 @@ files:
|
|
55
60
|
- lib/ruport/report.rb
|
56
61
|
- lib/ruport/format/plugin.rb
|
57
62
|
- lib/ruport/format/latex.rb
|
63
|
+
- lib/ruport/format/latex.rb~
|
58
64
|
- lib/ruport/format/svg.rb
|
59
65
|
- lib/ruport/format/xml.rb
|
60
66
|
- lib/ruport/format/html.rb
|
61
67
|
- lib/ruport/format/text.rb
|
62
68
|
- lib/ruport/format/pdf.rb
|
63
69
|
- lib/ruport/format/csv.rb
|
70
|
+
- lib/ruport/format/latex.rb.rej
|
71
|
+
- lib/ruport/format/pdf.rb~
|
72
|
+
- lib/ruport/format/pdf.rb.rej
|
64
73
|
- lib/ruport/query/sql_split.rb
|
65
74
|
- lib/ruport/renderer/graph.rb
|
66
75
|
- lib/ruport/renderer/table.rb
|
67
|
-
- lib/ruport/data/collection.rb
|
68
76
|
- lib/ruport/data/record.rb
|
69
77
|
- lib/ruport/data/groupable.rb
|
70
78
|
- lib/ruport/data/taggable.rb
|
71
79
|
- lib/ruport/data/table.rb
|
72
|
-
- lib/ruport/data/set.rb
|
73
80
|
- lib/ruport/report/graph.rb
|
74
81
|
- lib/ruport/layout/component.rb
|
75
82
|
- test/samples
|
76
83
|
- test/test_groupable.rb
|
77
84
|
- test/test_record.rb
|
78
|
-
- test/
|
85
|
+
- test/test_format_text.rb
|
79
86
|
- test/test_table.rb
|
80
|
-
- test/test_set.rb
|
81
|
-
- test/unit.log
|
82
|
-
- test/test_graph_renderer.rb
|
83
87
|
- test/test_ruport.rb
|
88
|
+
- test/test_graph_renderer.rb
|
84
89
|
- test/test_table_renderer.rb
|
85
|
-
- test/test_text_table.rb
|
86
90
|
- test/_test_database.rb
|
87
91
|
- test/test_query.rb
|
88
92
|
- test/test_config.rb
|
89
|
-
- test/test_renderer.rb
|
90
93
|
- test/test_taggable.rb
|
94
|
+
- test/test_renderer.rb
|
91
95
|
- test/test_mailer.rb
|
92
96
|
- test/test_sql_split.rb
|
93
97
|
- test/test_report.rb
|
98
|
+
- test/unit.log
|
94
99
|
- test/samples/query_test.sql
|
95
100
|
- test/samples/test.yaml
|
96
101
|
- test/samples/erb_test.sql
|
@@ -113,17 +118,15 @@ files:
|
|
113
118
|
test_files:
|
114
119
|
- test/test_groupable.rb
|
115
120
|
- test/test_record.rb
|
116
|
-
- test/
|
121
|
+
- test/test_format_text.rb
|
117
122
|
- test/test_table.rb
|
118
|
-
- test/test_set.rb
|
119
|
-
- test/test_graph_renderer.rb
|
120
123
|
- test/test_ruport.rb
|
124
|
+
- test/test_graph_renderer.rb
|
121
125
|
- test/test_table_renderer.rb
|
122
|
-
- test/test_text_table.rb
|
123
126
|
- test/test_query.rb
|
124
127
|
- test/test_config.rb
|
125
|
-
- test/test_renderer.rb
|
126
128
|
- test/test_taggable.rb
|
129
|
+
- test/test_renderer.rb
|
127
130
|
- test/test_mailer.rb
|
128
131
|
- test/test_sql_split.rb
|
129
132
|
- test/test_report.rb
|
@@ -152,7 +155,7 @@ dependencies:
|
|
152
155
|
requirements:
|
153
156
|
- - ">="
|
154
157
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
158
|
+
version: 1.1.0
|
156
159
|
version:
|
157
160
|
- !ruby/object:Gem::Dependency
|
158
161
|
name: RedCloth
|
@@ -161,7 +164,7 @@ dependencies:
|
|
161
164
|
requirements:
|
162
165
|
- - ">="
|
163
166
|
- !ruby/object:Gem::Version
|
164
|
-
version: 3.0.
|
167
|
+
version: 3.0.4
|
165
168
|
version:
|
166
169
|
- !ruby/object:Gem::Dependency
|
167
170
|
name: pdf-writer
|
@@ -179,7 +182,7 @@ dependencies:
|
|
179
182
|
requirements:
|
180
183
|
- - ">="
|
181
184
|
- !ruby/object:Gem::Version
|
182
|
-
version: 1.2.
|
185
|
+
version: 1.2.3
|
183
186
|
version:
|
184
187
|
- !ruby/object:Gem::Dependency
|
185
188
|
name: scruffy
|