prawn-table 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +2 -0
  3. data/GPLv2 +340 -0
  4. data/GPLv3 +674 -0
  5. data/Gemfile +5 -0
  6. data/LICENSE +56 -0
  7. data/lib/prawn/table.rb +641 -0
  8. data/lib/prawn/table/cell.rb +772 -0
  9. data/lib/prawn/table/cell/image.rb +69 -0
  10. data/lib/prawn/table/cell/in_table.rb +33 -0
  11. data/lib/prawn/table/cell/span_dummy.rb +93 -0
  12. data/lib/prawn/table/cell/subtable.rb +66 -0
  13. data/lib/prawn/table/cell/text.rb +154 -0
  14. data/lib/prawn/table/cells.rb +255 -0
  15. data/lib/prawn/table/column_width_calculator.rb +182 -0
  16. data/manual/contents.rb +13 -0
  17. data/manual/example_helper.rb +8 -0
  18. data/manual/table/basic_block.rb +53 -0
  19. data/manual/table/before_rendering_page.rb +26 -0
  20. data/manual/table/cell_border_lines.rb +24 -0
  21. data/manual/table/cell_borders_and_bg.rb +31 -0
  22. data/manual/table/cell_dimensions.rb +30 -0
  23. data/manual/table/cell_text.rb +38 -0
  24. data/manual/table/column_widths.rb +30 -0
  25. data/manual/table/content_and_subtables.rb +39 -0
  26. data/manual/table/creation.rb +27 -0
  27. data/manual/table/filtering.rb +36 -0
  28. data/manual/table/flow_and_header.rb +17 -0
  29. data/manual/table/image_cells.rb +33 -0
  30. data/manual/table/position.rb +29 -0
  31. data/manual/table/row_colors.rb +20 -0
  32. data/manual/table/span.rb +30 -0
  33. data/manual/table/style.rb +22 -0
  34. data/manual/table/table.rb +52 -0
  35. data/manual/table/width.rb +27 -0
  36. data/prawn-table.gemspec +48 -0
  37. data/spec/cell_spec.rb +629 -0
  38. data/spec/extensions/encoding_helpers.rb +11 -0
  39. data/spec/extensions/mocha.rb +46 -0
  40. data/spec/spec_helper.rb +53 -0
  41. data/spec/table/span_dummy_spec.rb +17 -0
  42. data/spec/table_spec.rb +1527 -0
  43. metadata +240 -0
metadata ADDED
@@ -0,0 +1,240 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: prawn-table
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gregory Brown
8
+ - Brad Ediger
9
+ - Daniel Nelson
10
+ - Jonathan Greenberg
11
+ - James Healy
12
+ - Hartwig Brandl
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+ date: 2014-07-06 00:00:00.000000000 Z
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: prawn
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - "~>"
23
+ - !ruby/object:Gem::Version
24
+ version: 1.2.0
25
+ type: :development
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: 1.2.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: pdf-inspector
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: 1.1.0
39
+ type: :development
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: 1.1.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: yard
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ type: :development
54
+ prerelease: false
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ - !ruby/object:Gem::Dependency
61
+ name: rspec
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '='
65
+ - !ruby/object:Gem::Version
66
+ version: 2.14.1
67
+ type: :development
68
+ prerelease: false
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - '='
72
+ - !ruby/object:Gem::Version
73
+ version: 2.14.1
74
+ - !ruby/object:Gem::Dependency
75
+ name: mocha
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ type: :development
82
+ prerelease: false
83
+ version_requirements: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ - !ruby/object:Gem::Dependency
89
+ name: rake
90
+ requirement: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ type: :development
96
+ prerelease: false
97
+ version_requirements: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ - !ruby/object:Gem::Dependency
103
+ name: simplecov
104
+ requirement: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ type: :development
110
+ prerelease: false
111
+ version_requirements: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ - !ruby/object:Gem::Dependency
117
+ name: prawn-manual_builder
118
+ requirement: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 0.1.2
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: 0.1.2
130
+ - !ruby/object:Gem::Dependency
131
+ name: pdf-reader
132
+ requirement: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '1.2'
137
+ type: :development
138
+ prerelease: false
139
+ version_requirements: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '1.2'
144
+ description: |2
145
+ Prawn is a fast, tiny, and nimble PDF generator for Ruby
146
+ email:
147
+ - gregory.t.brown@gmail.com
148
+ - brad@bradediger.com
149
+ - dnelson@bluejade.com
150
+ - greenberg@entryway.net
151
+ - jimmy@deefa.com
152
+ - mail@hartwigbrandl.at
153
+ executables: []
154
+ extensions: []
155
+ extra_rdoc_files: []
156
+ files:
157
+ - COPYING
158
+ - GPLv2
159
+ - GPLv3
160
+ - Gemfile
161
+ - LICENSE
162
+ - lib/prawn/table.rb
163
+ - lib/prawn/table/cell.rb
164
+ - lib/prawn/table/cell/image.rb
165
+ - lib/prawn/table/cell/in_table.rb
166
+ - lib/prawn/table/cell/span_dummy.rb
167
+ - lib/prawn/table/cell/subtable.rb
168
+ - lib/prawn/table/cell/text.rb
169
+ - lib/prawn/table/cells.rb
170
+ - lib/prawn/table/column_width_calculator.rb
171
+ - manual/contents.rb
172
+ - manual/example_helper.rb
173
+ - manual/table/basic_block.rb
174
+ - manual/table/before_rendering_page.rb
175
+ - manual/table/cell_border_lines.rb
176
+ - manual/table/cell_borders_and_bg.rb
177
+ - manual/table/cell_dimensions.rb
178
+ - manual/table/cell_text.rb
179
+ - manual/table/column_widths.rb
180
+ - manual/table/content_and_subtables.rb
181
+ - manual/table/creation.rb
182
+ - manual/table/filtering.rb
183
+ - manual/table/flow_and_header.rb
184
+ - manual/table/image_cells.rb
185
+ - manual/table/position.rb
186
+ - manual/table/row_colors.rb
187
+ - manual/table/span.rb
188
+ - manual/table/style.rb
189
+ - manual/table/table.rb
190
+ - manual/table/width.rb
191
+ - prawn-table.gemspec
192
+ - spec/cell_spec.rb
193
+ - spec/extensions/encoding_helpers.rb
194
+ - spec/extensions/mocha.rb
195
+ - spec/spec_helper.rb
196
+ - spec/table/span_dummy_spec.rb
197
+ - spec/table_spec.rb
198
+ homepage: http://prawn.majesticseacreature.com
199
+ licenses:
200
+ - RUBY
201
+ - GPL-2
202
+ - GPL-3
203
+ metadata: {}
204
+ post_install_message: |2+
205
+
206
+ ********************************************
207
+
208
+
209
+ A lot has changed recently in Prawn.
210
+
211
+ Please read the changelog for details:
212
+
213
+ https://github.com/prawnpdf/prawn/wiki/CHANGELOG
214
+
215
+
216
+ ********************************************
217
+
218
+ rdoc_options: []
219
+ require_paths:
220
+ - lib
221
+ required_ruby_version: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: 1.9.3
226
+ required_rubygems_version: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: 1.3.6
231
+ requirements: []
232
+ rubyforge_project: prawn
233
+ rubygems_version: 2.2.2
234
+ signing_key:
235
+ specification_version: 4
236
+ summary: Provides tables for PrawnPDF
237
+ test_files:
238
+ - spec/cell_spec.rb
239
+ - spec/table_spec.rb
240
+ has_rdoc: