ruport 0.8.2 → 0.8.10
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/Rakefile +2 -1
- data/lib/ruport.rb +6 -1
- data/test/unit.log +7 -0
- metadata +29 -19
data/Rakefile
CHANGED
@@ -23,7 +23,7 @@ end
|
|
23
23
|
|
24
24
|
spec = Gem::Specification.new do |spec|
|
25
25
|
spec.name = LEAN ? "lean-ruport" : "ruport"
|
26
|
-
spec.version = "0.8.
|
26
|
+
spec.version = "0.8.10"
|
27
27
|
spec.platform = Gem::Platform::RUBY
|
28
28
|
spec.summary = "A generalized Ruby report generation and templating engine."
|
29
29
|
spec.files = Dir.glob("{examples,lib,test,bin}/**/**/*") +
|
@@ -44,6 +44,7 @@ spec = Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_dependency('pdf-writer', '>= 1.1.3')
|
45
45
|
spec.add_dependency("mailfactory", ">= 1.2.3")
|
46
46
|
spec.add_dependency('scruffy', '>= 0.2.2')
|
47
|
+
spec.add_dependency('gem_plugin', '>=0.2.2')
|
47
48
|
end
|
48
49
|
spec.author = "Gregory Brown"
|
49
50
|
spec.email = " gregory.t.brown@gmail.com"
|
data/lib/ruport.rb
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
module Ruport
|
14
14
|
|
15
|
-
VERSION = "0.8.
|
15
|
+
VERSION = "0.8.10"
|
16
16
|
|
17
17
|
# This method is Ruport's logging and error interface. It can generate
|
18
18
|
# warnings or raise fatal errors, logging +message+ to the file defined by
|
@@ -82,3 +82,8 @@ require "ruport/query"
|
|
82
82
|
require "ruport/mailer"
|
83
83
|
require "ruport/layout"
|
84
84
|
require "ruport/renderer"
|
85
|
+
|
86
|
+
if defined? Gem
|
87
|
+
require "gem_plugin"
|
88
|
+
GemPlugin::Manager.instance.load "ruport" => GemPlugin::INCLUDE
|
89
|
+
end
|
data/test/unit.log
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# Logfile created on Mon Feb 12 21:22:00 -0500 2007 by logger.rb/1.5.2.9
|
2
|
+
F, [2007-02-12T21:22:00.244983 #16500] FATAL -- : Missing host for mailer bar
|
3
|
+
F, [2007-02-12T21:22:00.246039 #16500] FATAL -- : Missing DSN for source foo!
|
4
|
+
F, [2007-02-12T21:22:00.668942 #16500] FATAL -- : no block given!
|
5
|
+
W, [2007-02-12T21:22:00.863575 #16500] WARN -- : Error on attempt # 1: ; retrying
|
6
|
+
W, [2007-02-12T21:22:01.865400 #16500] WARN -- : Error on attempt # 2: ; retrying
|
7
|
+
W, [2007-02-12T21:22:03.874022 #16500] WARN -- : Error on attempt # 1: execution expired; retrying
|
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: 0.8.
|
7
|
-
date: 2007-02-
|
6
|
+
version: 0.8.10
|
7
|
+
date: 2007-02-12 00:00:00 -05:00
|
8
8
|
summary: A generalized Ruby report generation and templating engine.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -30,13 +30,13 @@ authors:
|
|
30
30
|
- Gregory Brown
|
31
31
|
files:
|
32
32
|
- examples/rope_examples
|
33
|
+
- examples/invoice_report.rb
|
33
34
|
- examples/RWEmerson.jpg
|
34
|
-
- examples/centered_pdf_text_box.rb
|
35
35
|
- examples/line_plotter.rb
|
36
|
-
- examples/
|
36
|
+
- examples/centered_pdf_text_box.rb
|
37
37
|
- examples/line_graph.rb
|
38
|
-
- examples/pdf_complex_report.rb
|
39
38
|
- examples/invoice.rb
|
39
|
+
- examples/pdf_complex_report.rb
|
40
40
|
- examples/pdf_table_with_title.rb
|
41
41
|
- examples/rope_examples/sales_report
|
42
42
|
- examples/rope_examples/itunes
|
@@ -86,8 +86,8 @@ files:
|
|
86
86
|
- examples/rope_examples/itunes/util/build
|
87
87
|
- examples/rope_examples/itunes/util/sql_exec
|
88
88
|
- lib/ruport
|
89
|
-
- lib/uport.rb
|
90
89
|
- lib/ruport.rb
|
90
|
+
- lib/uport.rb
|
91
91
|
- lib/ruport/format
|
92
92
|
- lib/ruport/query
|
93
93
|
- lib/ruport/renderer
|
@@ -98,15 +98,15 @@ files:
|
|
98
98
|
- lib/ruport/attempt.rb
|
99
99
|
- lib/ruport/generator.rb
|
100
100
|
- lib/ruport/format.rb
|
101
|
-
- lib/ruport/system_extensions.rb
|
102
101
|
- lib/ruport/query.rb
|
102
|
+
- lib/ruport/data.rb
|
103
|
+
- lib/ruport/system_extensions.rb
|
103
104
|
- lib/ruport/config.rb
|
104
105
|
- lib/ruport/renderer.rb
|
105
106
|
- lib/ruport/mailer.rb
|
106
|
-
- lib/ruport/data.rb
|
107
107
|
- lib/ruport/report.rb
|
108
|
-
- lib/ruport/format/latex.rb
|
109
108
|
- lib/ruport/format/plugin.rb
|
109
|
+
- lib/ruport/format/latex.rb
|
110
110
|
- lib/ruport/format/svg.rb
|
111
111
|
- lib/ruport/format/xml.rb
|
112
112
|
- lib/ruport/format/html.rb
|
@@ -123,12 +123,13 @@ files:
|
|
123
123
|
- lib/ruport/report/graph.rb
|
124
124
|
- lib/ruport/layout/component.rb
|
125
125
|
- test/samples
|
126
|
-
- test/test_record.rb
|
127
126
|
- test/test_groupable.rb
|
127
|
+
- test/test_record.rb
|
128
|
+
- test/test_format_text.rb
|
128
129
|
- test/test_table.rb
|
129
|
-
- test/test_graph_renderer.rb
|
130
130
|
- test/test_ruport.rb
|
131
|
-
- test/
|
131
|
+
- test/test_graph_renderer.rb
|
132
|
+
- test/test_table_renderer.rb
|
132
133
|
- test/_test_database.rb
|
133
134
|
- test/test_query.rb
|
134
135
|
- test/test_config.rb
|
@@ -137,13 +138,13 @@ files:
|
|
137
138
|
- test/test_mailer.rb
|
138
139
|
- test/test_sql_split.rb
|
139
140
|
- test/test_report.rb
|
140
|
-
- test/
|
141
|
-
- test/samples/test.yaml
|
141
|
+
- test/unit.log
|
142
142
|
- test/samples/query_test.sql
|
143
|
+
- test/samples/test.yaml
|
144
|
+
- test/samples/erb_test.sql
|
143
145
|
- test/samples/data.csv
|
144
146
|
- test/samples/foo.rtxt
|
145
147
|
- test/samples/data.tsv
|
146
|
-
- test/samples/erb_test.sql
|
147
148
|
- test/samples/stonecodeblog.sql
|
148
149
|
- test/samples/ruport_test.sql
|
149
150
|
- test/samples/addressbook.csv
|
@@ -158,12 +159,13 @@ files:
|
|
158
159
|
- TODO
|
159
160
|
- AUTHORS
|
160
161
|
test_files:
|
161
|
-
- test/test_record.rb
|
162
162
|
- test/test_groupable.rb
|
163
|
+
- test/test_record.rb
|
164
|
+
- test/test_format_text.rb
|
163
165
|
- test/test_table.rb
|
164
|
-
- test/test_graph_renderer.rb
|
165
166
|
- test/test_ruport.rb
|
166
|
-
- test/
|
167
|
+
- test/test_graph_renderer.rb
|
168
|
+
- test/test_table_renderer.rb
|
167
169
|
- test/test_query.rb
|
168
170
|
- test/test_config.rb
|
169
171
|
- test/test_taggable.rb
|
@@ -171,7 +173,6 @@ test_files:
|
|
171
173
|
- test/test_mailer.rb
|
172
174
|
- test/test_sql_split.rb
|
173
175
|
- test/test_report.rb
|
174
|
-
- test/test_table_renderer.rb
|
175
176
|
rdoc_options:
|
176
177
|
- --title
|
177
178
|
- Ruport Documentation
|
@@ -235,3 +236,12 @@ dependencies:
|
|
235
236
|
- !ruby/object:Gem::Version
|
236
237
|
version: 0.2.2
|
237
238
|
version:
|
239
|
+
- !ruby/object:Gem::Dependency
|
240
|
+
name: gem_plugin
|
241
|
+
version_requirement:
|
242
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
243
|
+
requirements:
|
244
|
+
- - ">="
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: 0.2.2
|
247
|
+
version:
|