prawn-rails 1.4.2 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/README.md +16 -2
  4. data/Rakefile +0 -0
  5. data/lib/prawn-rails/config.rb +27 -9
  6. data/lib/prawn-rails/document.rb +5 -19
  7. data/lib/prawn-rails/rails_helper.rb +7 -11
  8. data/lib/prawn-rails/version.rb +1 -1
  9. data/lib/prawn-rails.rb +12 -8
  10. metadata +17 -157
  11. data/test/dummy_app/Rakefile +0 -7
  12. data/test/dummy_app/app/assets/config/manifest.js +0 -3
  13. data/test/dummy_app/app/assets/javascripts/application.js +0 -0
  14. data/test/dummy_app/app/assets/stylesheets/application.css +0 -3
  15. data/test/dummy_app/app/controllers/application_controller.rb +0 -3
  16. data/test/dummy_app/app/controllers/reports_controller.rb +0 -37
  17. data/test/dummy_app/app/mailers/reports_mailer.rb +0 -18
  18. data/test/dummy_app/app/views/layouts/application.html.erb +0 -14
  19. data/test/dummy_app/app/views/reports/custom.pdf.prawn +0 -3
  20. data/test/dummy_app/app/views/reports/custom_disposition.pdf.prawn +0 -3
  21. data/test/dummy_app/app/views/reports/custom_filename.pdf.prawn +0 -3
  22. data/test/dummy_app/app/views/reports/sample.html.erb +0 -1
  23. data/test/dummy_app/app/views/reports/sample.pdf.prawn +0 -40
  24. data/test/dummy_app/app/views/reports/table.pdf.prawn +0 -7
  25. data/test/dummy_app/app/views/reports_mailer/send_report.html.erb +0 -1
  26. data/test/dummy_app/config/application.rb +0 -52
  27. data/test/dummy_app/config/boot.rb +0 -10
  28. data/test/dummy_app/config/database.yml +0 -25
  29. data/test/dummy_app/config/environment.rb +0 -5
  30. data/test/dummy_app/config/environments/development.rb +0 -30
  31. data/test/dummy_app/config/environments/production.rb +0 -60
  32. data/test/dummy_app/config/environments/test.rb +0 -41
  33. data/test/dummy_app/config/initializers/backtrace_silencers.rb +0 -7
  34. data/test/dummy_app/config/initializers/inflections.rb +0 -10
  35. data/test/dummy_app/config/initializers/mime_types.rb +0 -5
  36. data/test/dummy_app/config/initializers/prawn-rails.rb +0 -5
  37. data/test/dummy_app/config/initializers/secret_token.rb +0 -11
  38. data/test/dummy_app/config/initializers/session_store.rb +0 -8
  39. data/test/dummy_app/config/initializers/wrap_parameters.rb +0 -14
  40. data/test/dummy_app/config/locales/en.yml +0 -5
  41. data/test/dummy_app/config/routes.rb +0 -9
  42. data/test/dummy_app/config/secrets.yml +0 -22
  43. data/test/dummy_app/config.ru +0 -4
  44. data/test/dummy_app/db/schema.rb +0 -15
  45. data/test/dummy_app/db/test.sqlite3 +0 -0
  46. data/test/dummy_app/log/test.log +0 -484
  47. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/0o/0og-K-ORl6wO02dgU3z8beSXSGOCdnEFcX6KEtXqG2Q.cache +0 -1
  48. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/2V/2VONmeO4ClBgY1gjdZLYo9wQjDG9Ef9sAuwWVxceLEk.cache +0 -1
  49. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/34/34uQaon4nFa_kXcNF-1ac-QhL_HKtstSnb2pGjYCb6w.cache +0 -1
  50. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -2
  51. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/43/43Xh_xLNBt5kEi4-pWc5m0pFDLIhkNAxyiBf-3E2UJw.cache +0 -1
  52. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache +0 -2
  53. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/8x/8x5zY49XOU4gtdILE9T8l00lhs-lUJ6zzl5hyxjaFzw.cache +0 -0
  54. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/AT/ATEwOxnm0kBLQ6bdeFkXutl92AMg1dA40zmBqy2f2Ng.cache +0 -0
  55. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Ag/AgeZ6zQVNy2sDfEUqjxoVLoCsGo6rA27SUQoJFjqCqY.cache +0 -1
  56. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Dj/DjIeso8fWA-cG6Y9zSr3T0rPtpS6V73u3Q234QgSLa8.cache +0 -1
  57. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +0 -2
  58. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/E_/E_ZbvXNGsLYdwZdD1F159gQCYVGJrWgaip0GlUx9B68.cache +0 -1
  59. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache +0 -3
  60. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Lk/LkuzadDEF5r9a_QBFvWJ5krc5aerVbxs4zJ19iztB38.cache +0 -0
  61. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -3
  62. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Uc/UcQ6dMoNX10N68Sv8qxPf7kahPOJ5pqzYWkbjDKyF1k.cache +0 -1
  63. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/cp/cp36yIX2yPJBfhw6EA0u-BWnvFazmGC8zKxglna59TI.cache +0 -1
  64. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/dt/dteXKuRtjT5JiLleDPqnTNJFalNEbck9vA19hE6rGyw.cache +0 -1
  65. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/hy/hyxqCkBWzkpfHLCqW3YJeQq93KRADVcxEEMz0o0We_w.cache +0 -0
  66. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/k6/k6DfQWIBNnOJUNVvE59mXcoCzMB9D6i0p1WuJZGANoQ.cache +0 -1
  67. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/kR/kRjL0yRqyeZXZk93BSxxJULpCv-rJ3QvC23X4W94RNA.cache +0 -0
  68. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -2
  69. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/vt/vtslB-h9sglaV55iVgO8l86UBTtzDnuA6qzCy-vzujk.cache +0 -0
  70. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/xD/xDLUWV68gWaS7IJWKWBAPzLcA0ALSjQHns0tsk0zY3s.cache +0 -0
  71. data/test/integration/prawn_rails_test.rb +0 -105
  72. data/test/prawn_rails_test.rb +0 -28
  73. data/test/test_helper.rb +0 -16
@@ -1,484 +0,0 @@
1
-  (1.0ms) SELECT sqlite_version(*)
2
-  (0.1ms) SELECT sqlite_version(*)
3
- TRANSACTION (0.1ms) begin transaction
4
- --------------------------------------------------------------
5
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
6
- --------------------------------------------------------------
7
- TRANSACTION (0.0ms) rollback transaction
8
- TRANSACTION (0.0ms) begin transaction
9
- ----------------------------------------------
10
- PrawnRailsTest: test_text_can_take_non_strings
11
- ----------------------------------------------
12
- TRANSACTION (0.0ms) rollback transaction
13
- TRANSACTION (0.0ms) begin transaction
14
- ------------------------------------------------------------
15
- NavigationTest: test_Respects_the_'disposition'_option_alone
16
- ------------------------------------------------------------
17
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
18
- Processing by ReportsController#custom_disposition as PDF
19
- Rendering reports/custom_disposition.pdf.prawn
20
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.3ms | Allocations: 1793)
21
- Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.0ms | Allocations: 4958)
22
- TRANSACTION (0.0ms) rollback transaction
23
- TRANSACTION (0.0ms) begin transaction
24
- -----------------------------------------------
25
- NavigationTest: test_render_to_string_in_mailer
26
- -----------------------------------------------
27
- Rendering reports/sample.pdf.prawn
28
- Rendered reports/sample.pdf.prawn (Duration: 13.2ms | Allocations: 15750)
29
- Rendering reports_mailer/send_report.html.erb
30
- Rendered reports_mailer/send_report.html.erb (Duration: 0.4ms | Allocations: 79)
31
- ReportsMailer#send_report: processed outbound mail in 21.7ms
32
- TRANSACTION (0.0ms) rollback transaction
33
- TRANSACTION (0.0ms) begin transaction
34
- -----------------------------------------------------------------
35
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
36
- -----------------------------------------------------------------
37
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
38
- Processing by ReportsController#ivar_filename as PDF
39
- Rendering reports/custom.pdf.prawn
40
- Rendered reports/custom.pdf.prawn (Duration: 1.9ms | Allocations: 1664)
41
- Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 2031)
42
- TRANSACTION (0.0ms) rollback transaction
43
- TRANSACTION (0.0ms) begin transaction
44
- ----------------------------------------------
45
- NavigationTest: test_Renders_sample_pdf_action
46
- ----------------------------------------------
47
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
48
- Processing by ReportsController#sample as PDF
49
- Rendering reports/sample.pdf.prawn
50
- Rendered reports/sample.pdf.prawn (Duration: 29.2ms | Allocations: 12640)
51
- Completed 200 OK in 30ms (Views: 29.5ms | ActiveRecord: 0.0ms | Allocations: 13029)
52
- TRANSACTION (0.0ms) rollback transaction
53
- TRANSACTION (0.0ms) begin transaction
54
- -----------------------------------------------------------------------
55
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
56
- -----------------------------------------------------------------------
57
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
58
- Processing by ReportsController#custom as PDF
59
- Rendering reports/custom.pdf.prawn
60
- Rendered reports/custom.pdf.prawn (Duration: 1.6ms | Allocations: 1601)
61
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms | Allocations: 1856)
62
- TRANSACTION (0.0ms) rollback transaction
63
- TRANSACTION (0.0ms) begin transaction
64
- ------------------------------------------------------------------------------------
65
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
66
- ------------------------------------------------------------------------------------
67
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
68
- Processing by ReportsController#table as PDF
69
- Rendering reports/table.pdf.prawn
70
- Rendered reports/table.pdf.prawn (Duration: 8.7ms | Allocations: 10711)
71
- Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms | Allocations: 11096)
72
- TRANSACTION (0.1ms) rollback transaction
73
- TRANSACTION (0.0ms) begin transaction
74
- ------------------------------------------
75
- NavigationTest: test_Renders_pdf_to_string
76
- ------------------------------------------
77
- Rendering reports/sample.pdf.prawn
78
- Rendered reports/sample.pdf.prawn (Duration: 23.6ms | Allocations: 12632)
79
- TRANSACTION (0.1ms) rollback transaction
80
- TRANSACTION (0.1ms) begin transaction
81
- --------------------------------------------------------------------
82
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
83
- --------------------------------------------------------------------
84
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
85
- Processing by ReportsController#custom_headers as PDF
86
- Rendering reports/custom.pdf.prawn
87
- Rendered reports/custom.pdf.prawn (Duration: 1.5ms | Allocations: 1603)
88
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms | Allocations: 1842)
89
- TRANSACTION (0.2ms) rollback transaction
90
- TRANSACTION (0.1ms) begin transaction
91
- ----------------------------------------
92
- NavigationTest: test_Renders_html_action
93
- ----------------------------------------
94
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
95
- Processing by ReportsController#sample as HTML
96
- Rendering layout layouts/application.html.erb
97
- Rendering reports/sample.html.erb within layouts/application
98
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.7ms | Allocations: 74)
99
- Rendered layout layouts/application.html.erb (Duration: 15.9ms | Allocations: 7026)
100
- Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.0ms | Allocations: 7788)
101
- TRANSACTION (0.0ms) rollback transaction
102
- TRANSACTION (0.0ms) begin transaction
103
- ---------------------------------------------
104
- NavigationTest: test_Registers_:pdf_mime_type
105
- ---------------------------------------------
106
- TRANSACTION (0.0ms) rollback transaction
107
- TRANSACTION (0.0ms) begin transaction
108
- ---------------------------------------------------------
109
- NavigationTest: test_Respects_the_'filename'_option_alone
110
- ---------------------------------------------------------
111
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
112
- Processing by ReportsController#custom_filename as PDF
113
- Rendering reports/custom_filename.pdf.prawn
114
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.0ms | Allocations: 1662)
115
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms | Allocations: 2042)
116
- TRANSACTION (0.0ms) rollback transaction
117
- TRANSACTION (0.0ms) begin transaction
118
- ------------------------------------------------------
119
- NavigationTest: test_Registers_:prawn_template_handler
120
- ------------------------------------------------------
121
- TRANSACTION (0.0ms) rollback transaction
122
-  (0.7ms) SELECT sqlite_version(*)
123
-  (0.0ms) SELECT sqlite_version(*)
124
- TRANSACTION (0.1ms) begin transaction
125
- --------------------------------------------------------------------
126
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
127
- --------------------------------------------------------------------
128
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
129
- Processing by ReportsController#custom_headers as PDF
130
- Rendering reports/custom.pdf.prawn
131
- Rendered reports/custom.pdf.prawn (Duration: 19.9ms | Allocations: 34835)
132
- Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.0ms | Allocations: 37994)
133
- TRANSACTION (0.0ms) rollback transaction
134
- TRANSACTION (0.1ms) begin transaction
135
- ---------------------------------------------------------
136
- NavigationTest: test_Respects_the_'filename'_option_alone
137
- ---------------------------------------------------------
138
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
139
- Processing by ReportsController#custom_filename as PDF
140
- Rendering reports/custom_filename.pdf.prawn
141
- Rendered reports/custom_filename.pdf.prawn (Duration: 1.6ms | Allocations: 1660)
142
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms | Allocations: 2049)
143
- TRANSACTION (0.0ms) rollback transaction
144
- TRANSACTION (0.0ms) begin transaction
145
- -----------------------------------------------
146
- NavigationTest: test_render_to_string_in_mailer
147
- -----------------------------------------------
148
- Rendering reports/sample.pdf.prawn
149
- Rendered reports/sample.pdf.prawn (Duration: 13.5ms | Allocations: 15750)
150
- Rendering reports_mailer/send_report.html.erb
151
- Rendered reports_mailer/send_report.html.erb (Duration: 0.2ms | Allocations: 79)
152
- ReportsMailer#send_report: processed outbound mail in 22.2ms
153
- TRANSACTION (0.0ms) rollback transaction
154
- TRANSACTION (0.0ms) begin transaction
155
- ------------------------------------------------------
156
- NavigationTest: test_Registers_:prawn_template_handler
157
- ------------------------------------------------------
158
- TRANSACTION (0.0ms) rollback transaction
159
- TRANSACTION (0.0ms) begin transaction
160
- ------------------------------------------------------------------------------------
161
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
162
- ------------------------------------------------------------------------------------
163
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
164
- Processing by ReportsController#table as PDF
165
- Rendering reports/table.pdf.prawn
166
- Rendered reports/table.pdf.prawn (Duration: 8.3ms | Allocations: 10706)
167
- Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms | Allocations: 11097)
168
- TRANSACTION (0.0ms) rollback transaction
169
- TRANSACTION (0.0ms) begin transaction
170
- -----------------------------------------------------------------------
171
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
172
- -----------------------------------------------------------------------
173
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
174
- Processing by ReportsController#custom as PDF
175
- Rendering reports/custom.pdf.prawn
176
- Rendered reports/custom.pdf.prawn (Duration: 1.9ms | Allocations: 1599)
177
- Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms | Allocations: 1859)
178
- TRANSACTION (0.0ms) rollback transaction
179
- TRANSACTION (0.0ms) begin transaction
180
- ---------------------------------------------
181
- NavigationTest: test_Registers_:pdf_mime_type
182
- ---------------------------------------------
183
- TRANSACTION (0.0ms) rollback transaction
184
- TRANSACTION (0.0ms) begin transaction
185
- ------------------------------------------------------------
186
- NavigationTest: test_Respects_the_'disposition'_option_alone
187
- ------------------------------------------------------------
188
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
189
- Processing by ReportsController#custom_disposition as PDF
190
- Rendering reports/custom_disposition.pdf.prawn
191
- Rendered reports/custom_disposition.pdf.prawn (Duration: 1.8ms | Allocations: 1632)
192
- Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms | Allocations: 2014)
193
- TRANSACTION (0.0ms) rollback transaction
194
- TRANSACTION (0.0ms) begin transaction
195
- -----------------------------------------------------------------
196
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
197
- -----------------------------------------------------------------
198
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
199
- Processing by ReportsController#ivar_filename as PDF
200
- Rendering reports/custom.pdf.prawn
201
- Rendered reports/custom.pdf.prawn (Duration: 1.7ms | Allocations: 1599)
202
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms | Allocations: 1841)
203
- TRANSACTION (0.0ms) rollback transaction
204
- TRANSACTION (0.0ms) begin transaction
205
- ------------------------------------------
206
- NavigationTest: test_Renders_pdf_to_string
207
- ------------------------------------------
208
- Rendering reports/sample.pdf.prawn
209
- Rendered reports/sample.pdf.prawn (Duration: 39.5ms | Allocations: 12636)
210
- TRANSACTION (0.0ms) rollback transaction
211
- TRANSACTION (0.0ms) begin transaction
212
- ----------------------------------------------
213
- NavigationTest: test_Renders_sample_pdf_action
214
- ----------------------------------------------
215
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
216
- Processing by ReportsController#sample as PDF
217
- Rendering reports/sample.pdf.prawn
218
- Rendered reports/sample.pdf.prawn (Duration: 13.6ms | Allocations: 12633)
219
- Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms | Allocations: 13029)
220
- TRANSACTION (0.1ms) rollback transaction
221
- TRANSACTION (0.0ms) begin transaction
222
- ----------------------------------------
223
- NavigationTest: test_Renders_html_action
224
- ----------------------------------------
225
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:03:00 -0700
226
- Processing by ReportsController#sample as HTML
227
- Rendering layout layouts/application.html.erb
228
- Rendering reports/sample.html.erb within layouts/application
229
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.3ms | Allocations: 72)
230
- Rendered layout layouts/application.html.erb (Duration: 4.8ms | Allocations: 3237)
231
- Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms | Allocations: 4000)
232
- TRANSACTION (0.0ms) rollback transaction
233
- TRANSACTION (0.0ms) begin transaction
234
- ----------------------------------------------
235
- PrawnRailsTest: test_text_can_take_non_strings
236
- ----------------------------------------------
237
- TRANSACTION (0.0ms) rollback transaction
238
- TRANSACTION (0.0ms) begin transaction
239
- --------------------------------------------------------------
240
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
241
- --------------------------------------------------------------
242
- TRANSACTION (0.0ms) rollback transaction
243
-  (1.2ms) SELECT sqlite_version(*)
244
-  (0.0ms) SELECT sqlite_version(*)
245
- TRANSACTION (0.0ms) begin transaction
246
- --------------------------------------------------------------
247
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
248
- --------------------------------------------------------------
249
- TRANSACTION (0.0ms) rollback transaction
250
- TRANSACTION (0.0ms) begin transaction
251
- ----------------------------------------------
252
- PrawnRailsTest: test_text_can_take_non_strings
253
- ----------------------------------------------
254
- TRANSACTION (0.0ms) rollback transaction
255
- TRANSACTION (0.0ms) begin transaction
256
- -----------------------------------------------------------------
257
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
258
- -----------------------------------------------------------------
259
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
260
- Processing by ReportsController#ivar_filename as PDF
261
- Rendering reports/custom.pdf.prawn
262
- Rendered reports/custom.pdf.prawn (Duration: 3.5ms | Allocations: 1819)
263
- Completed 200 OK in 18ms (Views: 13.1ms | ActiveRecord: 0.0ms | Allocations: 4974)
264
- TRANSACTION (0.1ms) rollback transaction
265
- TRANSACTION (0.0ms) begin transaction
266
- ---------------------------------------------------------
267
- NavigationTest: test_Respects_the_'filename'_option_alone
268
- ---------------------------------------------------------
269
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
270
- Processing by ReportsController#custom_filename as PDF
271
- Rendering reports/custom_filename.pdf.prawn
272
- Rendered reports/custom_filename.pdf.prawn (Duration: 1.7ms | Allocations: 1660)
273
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms | Allocations: 2049)
274
- TRANSACTION (0.0ms) rollback transaction
275
- TRANSACTION (0.0ms) begin transaction
276
- ----------------------------------------------
277
- NavigationTest: test_Renders_sample_pdf_action
278
- ----------------------------------------------
279
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
280
- Processing by ReportsController#sample as PDF
281
- Rendering reports/sample.pdf.prawn
282
- Rendered reports/sample.pdf.prawn (Duration: 13.6ms | Allocations: 15757)
283
- Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms | Allocations: 16152)
284
- TRANSACTION (0.0ms) rollback transaction
285
- TRANSACTION (0.0ms) begin transaction
286
- ------------------------------------------------------
287
- NavigationTest: test_Registers_:prawn_template_handler
288
- ------------------------------------------------------
289
- TRANSACTION (0.0ms) rollback transaction
290
- TRANSACTION (0.0ms) begin transaction
291
- -----------------------------------------------------------------------
292
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
293
- -----------------------------------------------------------------------
294
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
295
- Processing by ReportsController#custom as PDF
296
- Rendering reports/custom.pdf.prawn
297
- Rendered reports/custom.pdf.prawn (Duration: 1.5ms | Allocations: 1604)
298
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms | Allocations: 1865)
299
- TRANSACTION (0.0ms) rollback transaction
300
- TRANSACTION (0.0ms) begin transaction
301
- -----------------------------------------------
302
- NavigationTest: test_render_to_string_in_mailer
303
- -----------------------------------------------
304
- Rendering reports/sample.pdf.prawn
305
- Rendered reports/sample.pdf.prawn (Duration: 11.7ms | Allocations: 12630)
306
- Rendering reports_mailer/send_report.html.erb
307
- Rendered reports_mailer/send_report.html.erb (Duration: 0.5ms | Allocations: 80)
308
- ReportsMailer#send_report: processed outbound mail in 19.3ms
309
- TRANSACTION (0.0ms) rollback transaction
310
- TRANSACTION (0.0ms) begin transaction
311
- ------------------------------------------
312
- NavigationTest: test_Renders_pdf_to_string
313
- ------------------------------------------
314
- Rendering reports/sample.pdf.prawn
315
- Rendered reports/sample.pdf.prawn (Duration: 15.9ms | Allocations: 12634)
316
- TRANSACTION (0.1ms) rollback transaction
317
- TRANSACTION (0.0ms) begin transaction
318
- --------------------------------------------------------------------
319
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
320
- --------------------------------------------------------------------
321
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
322
- Processing by ReportsController#custom_headers as PDF
323
- Rendering reports/custom.pdf.prawn
324
- Rendered reports/custom.pdf.prawn (Duration: 1.5ms | Allocations: 1597)
325
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms | Allocations: 1841)
326
- TRANSACTION (0.0ms) rollback transaction
327
- TRANSACTION (0.0ms) begin transaction
328
- ------------------------------------------------------------
329
- NavigationTest: test_Respects_the_'disposition'_option_alone
330
- ------------------------------------------------------------
331
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
332
- Processing by ReportsController#custom_disposition as PDF
333
- Rendering reports/custom_disposition.pdf.prawn
334
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.0ms | Allocations: 1632)
335
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms | Allocations: 2014)
336
- TRANSACTION (0.0ms) rollback transaction
337
- TRANSACTION (0.0ms) begin transaction
338
- ----------------------------------------
339
- NavigationTest: test_Renders_html_action
340
- ----------------------------------------
341
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
342
- Processing by ReportsController#sample as HTML
343
- Rendering layout layouts/application.html.erb
344
- Rendering reports/sample.html.erb within layouts/application
345
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.4ms | Allocations: 70)
346
- Rendered layout layouts/application.html.erb (Duration: 6.8ms | Allocations: 3235)
347
- Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms | Allocations: 3998)
348
- TRANSACTION (0.0ms) rollback transaction
349
- TRANSACTION (0.0ms) begin transaction
350
- ------------------------------------------------------------------------------------
351
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
352
- ------------------------------------------------------------------------------------
353
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
354
- Processing by ReportsController#table as PDF
355
- Rendering reports/table.pdf.prawn
356
- Rendered reports/table.pdf.prawn (Duration: 13.2ms | Allocations: 10706)
357
- Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms | Allocations: 11097)
358
- TRANSACTION (0.0ms) rollback transaction
359
- TRANSACTION (0.0ms) begin transaction
360
- ---------------------------------------------
361
- NavigationTest: test_Registers_:pdf_mime_type
362
- ---------------------------------------------
363
- TRANSACTION (0.0ms) rollback transaction
364
-  (1.3ms) SELECT sqlite_version(*)
365
-  (0.0ms) SELECT sqlite_version(*)
366
- TRANSACTION (0.0ms) begin transaction
367
- --------------------------------------------------------------
368
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
369
- --------------------------------------------------------------
370
- TRANSACTION (0.0ms) rollback transaction
371
- TRANSACTION (0.0ms) begin transaction
372
- ----------------------------------------------
373
- PrawnRailsTest: test_text_can_take_non_strings
374
- ----------------------------------------------
375
- TRANSACTION (0.0ms) rollback transaction
376
- TRANSACTION (0.0ms) begin transaction
377
- ------------------------------------------
378
- NavigationTest: test_Renders_pdf_to_string
379
- ------------------------------------------
380
- Rendering reports/sample.pdf.prawn
381
- Rendered reports/sample.pdf.prawn (Duration: 21.3ms | Allocations: 15911)
382
- TRANSACTION (0.0ms) rollback transaction
383
- TRANSACTION (0.0ms) begin transaction
384
- -----------------------------------------------------------------------
385
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
386
- -----------------------------------------------------------------------
387
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
388
- Processing by ReportsController#custom as PDF
389
- Rendering reports/custom.pdf.prawn
390
- Rendered reports/custom.pdf.prawn (Duration: 2.3ms | Allocations: 1669)
391
- Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.0ms | Allocations: 3365)
392
- TRANSACTION (0.1ms) rollback transaction
393
- TRANSACTION (0.0ms) begin transaction
394
- -----------------------------------------------
395
- NavigationTest: test_render_to_string_in_mailer
396
- -----------------------------------------------
397
- Rendering reports/sample.pdf.prawn
398
- Rendered reports/sample.pdf.prawn (Duration: 12.4ms | Allocations: 12629)
399
- Rendering reports_mailer/send_report.html.erb
400
- Rendered reports_mailer/send_report.html.erb (Duration: 0.4ms | Allocations: 79)
401
- ReportsMailer#send_report: processed outbound mail in 22.5ms
402
- TRANSACTION (0.1ms) rollback transaction
403
- TRANSACTION (0.0ms) begin transaction
404
- ------------------------------------------------------------------------------------
405
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
406
- ------------------------------------------------------------------------------------
407
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
408
- Processing by ReportsController#table as PDF
409
- Rendering reports/table.pdf.prawn
410
- Rendered reports/table.pdf.prawn (Duration: 9.0ms | Allocations: 10707)
411
- Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms | Allocations: 11098)
412
- TRANSACTION (0.1ms) rollback transaction
413
- TRANSACTION (0.0ms) begin transaction
414
- ------------------------------------------------------------
415
- NavigationTest: test_Respects_the_'disposition'_option_alone
416
- ------------------------------------------------------------
417
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
418
- Processing by ReportsController#custom_disposition as PDF
419
- Rendering reports/custom_disposition.pdf.prawn
420
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.2ms | Allocations: 1636)
421
- Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 2019)
422
- TRANSACTION (0.0ms) rollback transaction
423
- TRANSACTION (0.1ms) begin transaction
424
- -----------------------------------------------------------------
425
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
426
- -----------------------------------------------------------------
427
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
428
- Processing by ReportsController#ivar_filename as PDF
429
- Rendering reports/custom.pdf.prawn
430
- Rendered reports/custom.pdf.prawn (Duration: 1.6ms | Allocations: 1599)
431
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms | Allocations: 1841)
432
- TRANSACTION (0.0ms) rollback transaction
433
- TRANSACTION (0.0ms) begin transaction
434
- --------------------------------------------------------------------
435
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
436
- --------------------------------------------------------------------
437
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
438
- Processing by ReportsController#custom_headers as PDF
439
- Rendering reports/custom.pdf.prawn
440
- Rendered reports/custom.pdf.prawn (Duration: 1.6ms | Allocations: 1597)
441
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms | Allocations: 1840)
442
- TRANSACTION (0.0ms) rollback transaction
443
- TRANSACTION (0.0ms) begin transaction
444
- ---------------------------------------------
445
- NavigationTest: test_Registers_:pdf_mime_type
446
- ---------------------------------------------
447
- TRANSACTION (0.0ms) rollback transaction
448
- TRANSACTION (0.0ms) begin transaction
449
- ----------------------------------------
450
- NavigationTest: test_Renders_html_action
451
- ----------------------------------------
452
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
453
- Processing by ReportsController#sample as HTML
454
- Rendering layout layouts/application.html.erb
455
- Rendering reports/sample.html.erb within layouts/application
456
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.5ms | Allocations: 70)
457
- Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 3235)
458
- Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms | Allocations: 3997)
459
- TRANSACTION (0.1ms) rollback transaction
460
- TRANSACTION (0.0ms) begin transaction
461
- ---------------------------------------------------------
462
- NavigationTest: test_Respects_the_'filename'_option_alone
463
- ---------------------------------------------------------
464
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
465
- Processing by ReportsController#custom_filename as PDF
466
- Rendering reports/custom_filename.pdf.prawn
467
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.0ms | Allocations: 1660)
468
- Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms | Allocations: 2045)
469
- TRANSACTION (0.0ms) rollback transaction
470
- TRANSACTION (0.0ms) begin transaction
471
- ------------------------------------------------------
472
- NavigationTest: test_Registers_:prawn_template_handler
473
- ------------------------------------------------------
474
- TRANSACTION (0.0ms) rollback transaction
475
- TRANSACTION (0.0ms) begin transaction
476
- ----------------------------------------------
477
- NavigationTest: test_Renders_sample_pdf_action
478
- ----------------------------------------------
479
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
480
- Processing by ReportsController#sample as PDF
481
- Rendering reports/sample.pdf.prawn
482
- Rendered reports/sample.pdf.prawn (Duration: 13.6ms | Allocations: 12633)
483
- Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms | Allocations: 13027)
484
- TRANSACTION (0.1ms) rollback transaction
@@ -1 +0,0 @@
1
- "%�汷g�d�Q~�A�fǟ��#�R��&�j�
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=3d0cae35195d61547a43ff3fe127365c6e2912ea603bf7640364b583415ad867:ET
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=c8b3b2e93195d7a40d05b5be6edddf445c19bdbbecf5626f4bb5f189ade315bc:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -1 +0,0 @@
1
- "%�ku9FJʚ�$M���=s���:�BwbՈ%��-�
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTF
@@ -1 +0,0 @@
1
- I"}app/assets/config/manifest.js?type=application/javascript&id=79b7a69cc9266df5bc7d09469440873d14dd8892762a7c205084b0dc73faa4b7:ET
@@ -1 +0,0 @@
1
- "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"0file-digest://app/assets/config/manifest.js;TTI"$file-digest://app/assets/images;TTI")file-digest://app/assets/javascripts;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/stylesheets;TTI"9file-digest://app/assets/stylesheets/application.css;TTF
@@ -1 +0,0 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=845d5a867a8f56539e31556315aa0ff8d01e0de26e929d5a1b6bd4262d4848fd:ET
@@ -1,3 +0,0 @@
1
- [o:Set:
2
- @hash}
3
- I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTF
@@ -1,3 +0,0 @@
1
- [o:Set:
2
- @hash}
3
- I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTF
@@ -1 +0,0 @@
1
- "%��B�����șo�$'�A�d��L���xR�U
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&id=973b52fbaf61578d9ae93c1d37ab30c9e39735a5101741631802734cec51f5c8:ET
@@ -1 +0,0 @@
1
- "%��B�����șo�$'�A�d��L���xR�U
@@ -1 +0,0 @@
1
- I"�app/assets/config/manifest.js?type=application/javascript&pipeline=self&id=a52af8a92f228b8dce2c18c2738f6fbe7116aafbdf9f996f3ebae885ddd2e08e:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"0file-digest://app/assets/config/manifest.js;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"$file-digest://app/assets/images;TTI")file-digest://app/assets/javascripts;TTI")file-digest://app/assets/stylesheets;TTF