ruport 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +38 -0
- data/HACKING +1 -17
- data/{README.rdoc → README.md} +30 -38
- data/Rakefile +0 -10
- data/examples/row_renderer.rb +1 -1
- data/examples/simple_pdf_lines.rb +1 -1
- data/examples/trac_ticket_status.rb +1 -1
- data/lib/ruport/controller.rb +1 -1
- data/lib/ruport/data/grouping.rb +7 -7
- data/lib/ruport/data/record.rb +4 -4
- data/lib/ruport/data/table.rb +9 -9
- data/lib/ruport/formatter/csv.rb +1 -1
- data/lib/ruport/formatter/markdown.rb +105 -0
- data/lib/ruport/formatter/prawn_pdf.rb +96 -9
- data/lib/ruport/formatter/text.rb +1 -1
- data/lib/ruport/formatter.rb +1 -2
- data/lib/ruport/version.rb +1 -1
- data/lib/ruport.rb +7 -11
- data/test/controller_test.rb +107 -109
- data/test/csv_formatter_test.rb +21 -21
- data/test/data_feeder_test.rb +39 -39
- data/test/expected_outputs/prawn_pdf_formatter/pdf_basic.pdf.test +265 -0
- data/test/grouping_test.rb +74 -74
- data/test/helpers.rb +16 -5
- data/test/html_formatter_test.rb +22 -22
- data/test/markdown_formatter_test.rb +142 -0
- data/test/prawn_pdf_formatter_test.rb +108 -0
- data/test/record_test.rb +82 -82
- data/test/table_pivot_test.rb +9 -2
- data/test/table_test.rb +33 -40
- data/test/template_test.rb +12 -12
- data/test/text_formatter_test.rb +34 -34
- data/util/bench/data/table/bench_column_manip.rb +0 -1
- data/util/bench/data/table/bench_dup.rb +0 -1
- data/util/bench/data/table/bench_init.rb +0 -1
- data/util/bench/data/table/bench_manip.rb +0 -1
- data/util/bench/formatter/bench_csv.rb +0 -1
- data/util/bench/formatter/bench_html.rb +0 -1
- data/util/bench/formatter/bench_pdf.rb +0 -1
- data/util/bench/formatter/bench_text.rb +0 -1
- metadata +30 -29
- data/lib/ruport/formatter/pdf.rb +0 -589
metadata
CHANGED
@@ -1,45 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregory Brown
|
8
8
|
- Mike Milner
|
9
9
|
- Andrew France
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: prawn
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.4.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: 2.4.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
|
-
name: prawn
|
30
|
+
name: prawn-table
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.2.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.2.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rake
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,15 +61,14 @@ description: |
|
|
61
61
|
email: gregory.t.brown@gmail.com
|
62
62
|
executables: []
|
63
63
|
extensions: []
|
64
|
-
extra_rdoc_files:
|
65
|
-
- LICENSE
|
66
|
-
- README.rdoc
|
64
|
+
extra_rdoc_files: []
|
67
65
|
files:
|
68
66
|
- AUTHORS
|
67
|
+
- CHANGELOG.md
|
69
68
|
- COPYING
|
70
69
|
- HACKING
|
71
70
|
- LICENSE
|
72
|
-
- README.
|
71
|
+
- README.md
|
73
72
|
- Rakefile
|
74
73
|
- examples/RWEmerson.jpg
|
75
74
|
- examples/add_row_table.rb
|
@@ -109,7 +108,7 @@ files:
|
|
109
108
|
- lib/ruport/formatter.rb
|
110
109
|
- lib/ruport/formatter/csv.rb
|
111
110
|
- lib/ruport/formatter/html.rb
|
112
|
-
- lib/ruport/formatter/
|
111
|
+
- lib/ruport/formatter/markdown.rb
|
113
112
|
- lib/ruport/formatter/prawn_pdf.rb
|
114
113
|
- lib/ruport/formatter/template.rb
|
115
114
|
- lib/ruport/formatter/text.rb
|
@@ -118,9 +117,12 @@ files:
|
|
118
117
|
- test/controller_test.rb
|
119
118
|
- test/csv_formatter_test.rb
|
120
119
|
- test/data_feeder_test.rb
|
120
|
+
- test/expected_outputs/prawn_pdf_formatter/pdf_basic.pdf.test
|
121
121
|
- test/grouping_test.rb
|
122
122
|
- test/helpers.rb
|
123
123
|
- test/html_formatter_test.rb
|
124
|
+
- test/markdown_formatter_test.rb
|
125
|
+
- test/prawn_pdf_formatter_test.rb
|
124
126
|
- test/record_test.rb
|
125
127
|
- test/samples/addressbook.csv
|
126
128
|
- test/samples/data.csv
|
@@ -155,14 +157,11 @@ files:
|
|
155
157
|
- util/release/raa.rb
|
156
158
|
homepage: http://github.com/ruport/ruport
|
157
159
|
licenses: []
|
158
|
-
metadata:
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
- "--main"
|
164
|
-
- README.rdoc
|
165
|
-
- "-q"
|
160
|
+
metadata:
|
161
|
+
source_code_uri: https://github.com/ruport/ruport
|
162
|
+
changelog_uri: https://github.com/ruport/ruport/blob/master/CHANGELOG.md
|
163
|
+
post_install_message:
|
164
|
+
rdoc_options: []
|
166
165
|
require_paths:
|
167
166
|
- lib
|
168
167
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -176,9 +175,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
175
|
- !ruby/object:Gem::Version
|
177
176
|
version: '0'
|
178
177
|
requirements: []
|
179
|
-
|
180
|
-
|
181
|
-
signing_key:
|
178
|
+
rubygems_version: 3.1.6
|
179
|
+
signing_key:
|
182
180
|
specification_version: 4
|
183
181
|
summary: A generalized Ruby report generation and templating engine.
|
184
182
|
test_files:
|
@@ -210,9 +208,12 @@ test_files:
|
|
210
208
|
- test/controller_test.rb
|
211
209
|
- test/csv_formatter_test.rb
|
212
210
|
- test/data_feeder_test.rb
|
211
|
+
- test/expected_outputs/prawn_pdf_formatter/pdf_basic.pdf.test
|
213
212
|
- test/grouping_test.rb
|
214
213
|
- test/helpers.rb
|
215
214
|
- test/html_formatter_test.rb
|
215
|
+
- test/markdown_formatter_test.rb
|
216
|
+
- test/prawn_pdf_formatter_test.rb
|
216
217
|
- test/record_test.rb
|
217
218
|
- test/samples/addressbook.csv
|
218
219
|
- test/samples/data.csv
|