prawn-rails 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -3
  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 +8 -12
  8. data/lib/prawn-rails/version.rb +1 -1
  9. data/lib/prawn-rails.rb +16 -1
  10. metadata +18 -219
  11. data/lib/prawn-rails/railtie.rb +0 -14
  12. data/test/dummy_app/Rakefile +0 -7
  13. data/test/dummy_app/app/assets/config/manifest.js +0 -3
  14. data/test/dummy_app/app/assets/javascripts/application.js +0 -0
  15. data/test/dummy_app/app/assets/stylesheets/application.css +0 -3
  16. data/test/dummy_app/app/controllers/application_controller.rb +0 -3
  17. data/test/dummy_app/app/controllers/reports_controller.rb +0 -37
  18. data/test/dummy_app/app/mailers/reports_mailer.rb +0 -18
  19. data/test/dummy_app/app/views/layouts/application.html.erb +0 -14
  20. data/test/dummy_app/app/views/reports/custom.pdf.prawn +0 -3
  21. data/test/dummy_app/app/views/reports/custom_disposition.pdf.prawn +0 -3
  22. data/test/dummy_app/app/views/reports/custom_filename.pdf.prawn +0 -3
  23. data/test/dummy_app/app/views/reports/sample.html.erb +0 -1
  24. data/test/dummy_app/app/views/reports/sample.pdf.prawn +0 -40
  25. data/test/dummy_app/app/views/reports/table.pdf.prawn +0 -7
  26. data/test/dummy_app/app/views/reports_mailer/send_report.html.erb +0 -1
  27. data/test/dummy_app/config/application.rb +0 -52
  28. data/test/dummy_app/config/boot.rb +0 -10
  29. data/test/dummy_app/config/database.yml +0 -25
  30. data/test/dummy_app/config/environment.rb +0 -5
  31. data/test/dummy_app/config/environments/development.rb +0 -30
  32. data/test/dummy_app/config/environments/production.rb +0 -60
  33. data/test/dummy_app/config/environments/test.rb +0 -41
  34. data/test/dummy_app/config/initializers/backtrace_silencers.rb +0 -7
  35. data/test/dummy_app/config/initializers/inflections.rb +0 -10
  36. data/test/dummy_app/config/initializers/mime_types.rb +0 -5
  37. data/test/dummy_app/config/initializers/prawn-rails.rb +0 -5
  38. data/test/dummy_app/config/initializers/secret_token.rb +0 -11
  39. data/test/dummy_app/config/initializers/session_store.rb +0 -8
  40. data/test/dummy_app/config/initializers/wrap_parameters.rb +0 -14
  41. data/test/dummy_app/config/locales/en.yml +0 -5
  42. data/test/dummy_app/config/routes.rb +0 -9
  43. data/test/dummy_app/config/secrets.yml +0 -22
  44. data/test/dummy_app/config.ru +0 -4
  45. data/test/dummy_app/db/schema.rb +0 -15
  46. data/test/dummy_app/db/test.sqlite3 +0 -0
  47. data/test/dummy_app/log/test.log +0 -950
  48. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/0Q/0QR6jgJcsDY23uF8NGHFYajkal8CGG4d3kOZQCD8Oj8.cache +0 -1
  49. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/1K/1KcQYwe3g9uhY2WePD1_5P38IzP0Veu8rDPI0wXQSP8.cache +0 -1
  50. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -2
  51. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache +0 -2
  52. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/4X/4XWDJRe7gZAeojFwJq7j6jJxRr152aQBfyhVtPPSHDY.cache +0 -0
  53. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/7z/7zB4MNaDZMfwUPQ7LsLGHLt1EAx1oMCEUjywneVyoyY.cache +0 -1
  54. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/8D/8D13-8wUZxyVgrsD9RHdWUPhLlWcqnHXtOBMOPQRX-Q.cache +0 -1
  55. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache +0 -3
  56. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -3
  57. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/Yr/YrGeNwkHFUXGwgJhi0aqJdEHL--OyRwU5aN5azmIXM4.cache +0 -0
  58. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/ib/ibSeAobTqAE0a-v_-umXpnbXaIEx_WOtSsQkSRJCwwI.cache +0 -0
  59. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/mO/mOu9n3QmqPXFbaUP-4RAuwabvsLdudRBvk9LMIOTSoI.cache +0 -1
  60. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/vt/vtyC4n-7HZNOJV7EprjE7ThndKZkG00OVD8sO8cUFAM.cache +0 -0
  61. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/wt/wtoVyr5IaVgQI72M_TLZFUNHeStJ5maRaHlfA8Vt6d0.cache +0 -1
  62. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/-i/-i0h20pCtmvENM-EAyaKkJDFhjn-HuXuoE0e1sLu_rg.cache +0 -0
  63. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/0r/0r4iTRUbzH4dQwbjPscLVpHM1SJyEKVXeCEzD_U9JYE.cache +0 -0
  64. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -0
  65. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache +0 -0
  66. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/6y/6yMwFwpdEybDnrikBloKhYP4Zmo9Ry746DScoqO8mbE.cache +0 -1
  67. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/7z/7zB4MNaDZMfwUPQ7LsLGHLt1EAx1oMCEUjywneVyoyY.cache +0 -1
  68. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/8D/8D13-8wUZxyVgrsD9RHdWUPhLlWcqnHXtOBMOPQRX-Q.cache +0 -1
  69. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Ac/Ac0RnYBszO_tvu-01dVJjO6aKZedDO2TVCAwpY5nE4U.cache +0 -1
  70. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +0 -0
  71. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/FD/FDmzMYru4EyGcs7Q7tsCbapZmNV-jXENb6M-UuS8GLs.cache +0 -1
  72. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/FH/FHiO02EbiWfhKFHA3d6jTB6d50AXJzY9OjwpyzlbR3A.cache +0 -1
  73. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Jn/JnmWS5ayWWDAiBYz39zc51V2mHFWYAlXjW-vPbehyvk.cache +0 -1
  74. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Jr/JraYt1MnVVm8nrRu036hPHr_-BxBo2RwGcH_4XFDk9g.cache +0 -0
  75. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/LQ/LQQTiHeHlmh1Fwvuv1Ss9ne5mXE0TOv2xaanJ40LEXA.cache +0 -0
  76. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache +0 -0
  77. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -0
  78. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/OH/OHFQxWHvIcKq2nREonlhK8AgUKTRZ-2tDjQIRFoh400.cache +0 -1
  79. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/QV/QVq7YZh551f-JSU-9f9VWDRJA0Wm_LcbdJfJEO45hpY.cache +0 -1
  80. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Rx/RxPz7Gq0QcrSvjCMwAGBbCp9-4uiZixta20a-pY50G0.cache +0 -1
  81. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Sd/SdKiVwcnL47CkgJH6d6rg8bT2jeMfr_KOpH6K-e_Rpw.cache +0 -1
  82. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Tq/TqJjVveNs9BoMZZ0bqrtV17QUpcioQePyc75rUF8Q5U.cache +0 -0
  83. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/WX/WXW-hCt_qs8QZgCDuLbIdi4PEZY5Dr4gkk3TG2bzIlA.cache +0 -1
  84. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/X0/X0VVDULN8me11G85S0HRqtRtWpg2evTeD-eptzBX0Js.cache +0 -1
  85. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/bc/bc6phGXVat2w60GIQpknrZ6UeHcwGAJkPSEyx2vzYWA.cache +0 -1
  86. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/cc/ccsnAmW1sI8J39ktFOU92ag0Cmd98hy1nLoiYxk-ztA.cache +0 -0
  87. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/cq/cqmOKwCIiucE1noRNr0g5M-9rOz5lOw_KfXGRITzjfM.cache +0 -0
  88. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/dL/dLpVVClnOjqhfdUOtaPPRDGP73ARy79nba4H4B4TtkQ.cache +0 -0
  89. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/i5/i5ZEAsQ_Rav4MDMy4ihQldRNRjQ8rSickZnnbPrf8MM.cache +0 -0
  90. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/iv/ivPda3JMWfbu-IHENKRMM5Y-RPDGx17E-UsDHaRw2l0.cache +0 -1
  91. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/jX/jXTNqwlV7NH3QgrxukXmrtTRmJdf7JLsLthOWuSajAk.cache +0 -1
  92. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/oL/oL18MfHhURyZjTEiCN9pzxDO5yolnjepKPIQ3AxRtuw.cache +0 -0
  93. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/pC/pCWceIteP62iSWMjZn19ap3KwUG6vXoQUzXAe5Pd07s.cache +0 -1
  94. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -0
  95. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/qY/qYZa9MjWU2euhPKhmXxsJtfsHa76D0-yIqmqhhqDnWM.cache +0 -0
  96. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/ro/roxJL7F-lfG7snTu-4sBGaTfHUu94FPZMfWpTEJq-V8.cache +0 -1
  97. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/tV/tVR6xDtsNbiDca0JyoaKp4tirI4zYUF0RiWbw-9qyP0.cache +0 -1
  98. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/uO/uOomFpb2HCobA5V40idjrZP3fmfIzbyS21BXqdFnonw.cache +0 -0
  99. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/vv/vvPcNRT1bVyxTWN8IxKtvuBhxXib3G0tzztnaz6AE9k.cache +0 -0
  100. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/wX/wX5yL9P13fJNPuZX10N7nQYMaQJl8JdZKPpsRiESJgE.cache +0 -0
  101. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/yy/yycp8-xBCXFX3VWJYNtJkJvzZD2XEejmUso7wI-7cbo.cache +0 -0
  102. data/test/integration/prawn_rails_test.rb +0 -105
  103. data/test/prawn_rails_test.rb +0 -28
  104. data/test/test_helper.rb +0 -16
@@ -1,950 +0,0 @@
1
-  (0.1ms) begin transaction
2
- ------------------------------------------------------------------------------------
3
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
4
- ------------------------------------------------------------------------------------
5
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
6
- Processing by ReportsController#table as PDF
7
- Rendering reports/table.pdf.prawn
8
- Rendered reports/table.pdf.prawn (112.7ms)
9
- Completed 200 OK in 121ms (Views: 120.1ms | ActiveRecord: 0.0ms)
10
-  (0.1ms) rollback transaction
11
-  (0.1ms) begin transaction
12
- ------------------------------------------------------
13
- NavigationTest: test_Registers_:prawn_template_handler
14
- ------------------------------------------------------
15
-  (0.1ms) rollback transaction
16
-  (0.1ms) begin transaction
17
- -----------------------------------------------------------------------
18
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
19
- -----------------------------------------------------------------------
20
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
21
- Processing by ReportsController#custom as PDF
22
- Rendering reports/custom.pdf.prawn
23
- Rendered reports/custom.pdf.prawn (2.2ms)
24
- Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
25
-  (0.1ms) rollback transaction
26
-  (0.1ms) begin transaction
27
- -----------------------------------------------------------------
28
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
29
- -----------------------------------------------------------------
30
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
31
- Processing by ReportsController#ivar_filename as PDF
32
- Rendering reports/custom.pdf.prawn
33
- Rendered reports/custom.pdf.prawn (1.8ms)
34
- Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
35
-  (0.1ms) rollback transaction
36
-  (0.1ms) begin transaction
37
- ----------------------------------------
38
- NavigationTest: test_Renders_html_action
39
- ----------------------------------------
40
- Started GET "/reports/sample" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
41
- Processing by ReportsController#sample as HTML
42
- Rendering reports/sample.html.erb within layouts/application
43
- Rendered reports/sample.html.erb within layouts/application (1.2ms)
44
- Completed 200 OK in 203ms (Views: 202.2ms | ActiveRecord: 0.0ms)
45
-  (0.1ms) rollback transaction
46
-  (0.1ms) begin transaction
47
- ------------------------------------------------------------
48
- NavigationTest: test_Respects_the_'disposition'_option_alone
49
- ------------------------------------------------------------
50
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
51
- Processing by ReportsController#custom_disposition as PDF
52
- Rendering reports/custom_disposition.pdf.prawn
53
- Rendered reports/custom_disposition.pdf.prawn (16.4ms)
54
- Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms)
55
-  (0.1ms) rollback transaction
56
-  (0.1ms) begin transaction
57
- ---------------------------------------------
58
- NavigationTest: test_Registers_:pdf_mime_type
59
- ---------------------------------------------
60
-  (0.1ms) rollback transaction
61
-  (0.1ms) begin transaction
62
- ------------------------------------------
63
- NavigationTest: test_Renders_pdf_to_string
64
- ------------------------------------------
65
- Rendering reports/sample.pdf.prawn
66
- Rendered reports/sample.pdf.prawn (72.0ms)
67
-  (0.1ms) rollback transaction
68
-  (0.1ms) begin transaction
69
- ----------------------------------------------
70
- NavigationTest: test_Renders_sample_pdf_action
71
- ----------------------------------------------
72
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
73
- Processing by ReportsController#sample as PDF
74
- Rendering reports/sample.pdf.prawn
75
- Rendered reports/sample.pdf.prawn (20.5ms)
76
- Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
77
-  (0.1ms) rollback transaction
78
-  (0.1ms) begin transaction
79
- --------------------------------------------------------------------
80
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
81
- --------------------------------------------------------------------
82
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
83
- Processing by ReportsController#custom_headers as PDF
84
- Rendering reports/custom.pdf.prawn
85
- Rendered reports/custom.pdf.prawn (1.9ms)
86
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
87
-  (0.1ms) rollback transaction
88
-  (0.1ms) begin transaction
89
- -----------------------------------------------
90
- NavigationTest: test_render_to_string_in_mailer
91
- -----------------------------------------------
92
- Rendering reports/sample.pdf.prawn
93
- Rendered reports/sample.pdf.prawn (19.5ms)
94
- Rendering reports_mailer/send_report.html.erb
95
- Rendered reports_mailer/send_report.html.erb (0.4ms)
96
- ReportsMailer#send_report: processed outbound mail in 280.1ms
97
-  (0.1ms) rollback transaction
98
-  (0.1ms) begin transaction
99
- ---------------------------------------------------------
100
- NavigationTest: test_Respects_the_'filename'_option_alone
101
- ---------------------------------------------------------
102
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2019-08-07 11:33:34 -0700
103
- Processing by ReportsController#custom_filename as PDF
104
- Rendering reports/custom_filename.pdf.prawn
105
- Rendered reports/custom_filename.pdf.prawn (2.1ms)
106
- Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)
107
-  (0.1ms) rollback transaction
108
-  (0.1ms) begin transaction
109
- --------------------------------------------------------------
110
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
111
- --------------------------------------------------------------
112
-  (0.1ms) rollback transaction
113
-  (0.1ms) begin transaction
114
- ----------------------------------------------
115
- PrawnRailsTest: test_text_can_take_non_strings
116
- ----------------------------------------------
117
-  (0.1ms) rollback transaction
118
-  (1.7ms) SELECT sqlite_version(*)
119
-  (0.1ms) SELECT sqlite_version(*)
120
-  (0.1ms) begin transaction
121
- --------------------------------------------------------------
122
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
123
- --------------------------------------------------------------
124
-  (0.1ms) rollback transaction
125
-  (0.1ms) begin transaction
126
- ----------------------------------------------
127
- PrawnRailsTest: test_text_can_take_non_strings
128
- ----------------------------------------------
129
-  (0.1ms) rollback transaction
130
-  (0.1ms) begin transaction
131
- --------------------------------------------------------------------
132
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
133
- --------------------------------------------------------------------
134
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2020-04-29 20:39:33 -0700
135
- Processing by ReportsController#custom_headers as PDF
136
- Rendering reports/custom.pdf.prawn
137
- Rendered reports/custom.pdf.prawn (Duration: 3.8ms | Allocations: 2450)
138
- Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms | Allocations: 4769)
139
-  (0.1ms) rollback transaction
140
-  (0.1ms) begin transaction
141
- -----------------------------------------------------------------------
142
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
143
- -----------------------------------------------------------------------
144
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2020-04-29 20:39:33 -0700
145
- Processing by ReportsController#custom as PDF
146
- Rendering reports/custom.pdf.prawn
147
- Rendered reports/custom.pdf.prawn (Duration: 11.0ms | Allocations: 2224)
148
- Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms | Allocations: 2505)
149
-  (0.1ms) rollback transaction
150
-  (0.1ms) begin transaction
151
- ---------------------------------------------
152
- NavigationTest: test_Registers_:pdf_mime_type
153
- ---------------------------------------------
154
-  (0.1ms) rollback transaction
155
-  (0.1ms) begin transaction
156
- ------------------------------------------------------------------------------------
157
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
158
- ------------------------------------------------------------------------------------
159
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2020-04-29 20:39:33 -0700
160
- Processing by ReportsController#table as PDF
161
- Rendering reports/table.pdf.prawn
162
- Rendered reports/table.pdf.prawn (Duration: 17.8ms | Allocations: 11221)
163
- Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms | Allocations: 11636)
164
-  (0.1ms) rollback transaction
165
-  (0.1ms) begin transaction
166
- -----------------------------------------------
167
- NavigationTest: test_render_to_string_in_mailer
168
- -----------------------------------------------
169
- Rendering reports/sample.pdf.prawn
170
- Rendered reports/sample.pdf.prawn (Duration: 26.6ms | Allocations: 18075)
171
- Rendering reports_mailer/send_report.html.erb
172
- Rendered reports_mailer/send_report.html.erb (Duration: 0.7ms | Allocations: 82)
173
- ReportsMailer#send_report: processed outbound mail in 41.3ms
174
-  (0.1ms) rollback transaction
175
-  (0.1ms) begin transaction
176
- ------------------------------------------------------
177
- NavigationTest: test_Registers_:prawn_template_handler
178
- ------------------------------------------------------
179
-  (0.1ms) rollback transaction
180
-  (0.1ms) begin transaction
181
- ------------------------------------------
182
- NavigationTest: test_Renders_pdf_to_string
183
- ------------------------------------------
184
- Rendering reports/sample.pdf.prawn
185
- Rendered reports/sample.pdf.prawn (Duration: 24.4ms | Allocations: 14104)
186
-  (0.1ms) rollback transaction
187
-  (0.1ms) begin transaction
188
- ----------------------------------------------
189
- NavigationTest: test_Renders_sample_pdf_action
190
- ----------------------------------------------
191
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
192
- Processing by ReportsController#sample as PDF
193
- Rendering reports/sample.pdf.prawn
194
- Rendered reports/sample.pdf.prawn (Duration: 23.7ms | Allocations: 14115)
195
- Completed 200 OK in 25ms (Views: 24.5ms | ActiveRecord: 0.0ms | Allocations: 14535)
196
-  (0.1ms) rollback transaction
197
-  (0.1ms) begin transaction
198
- -----------------------------------------------------------------
199
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
200
- -----------------------------------------------------------------
201
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
202
- Processing by ReportsController#ivar_filename as PDF
203
- Rendering reports/custom.pdf.prawn
204
- Rendered reports/custom.pdf.prawn (Duration: 2.2ms | Allocations: 2227)
205
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms | Allocations: 2484)
206
-  (0.1ms) rollback transaction
207
-  (0.1ms) begin transaction
208
- ----------------------------------------
209
- NavigationTest: test_Renders_html_action
210
- ----------------------------------------
211
- Started GET "/reports/sample" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
212
- Processing by ReportsController#sample as HTML
213
- Rendering reports/sample.html.erb within layouts/application
214
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.6ms | Allocations: 77)
215
- Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms | Allocations: 4611)
216
-  (0.1ms) rollback transaction
217
-  (0.1ms) begin transaction
218
- ---------------------------------------------------------
219
- NavigationTest: test_Respects_the_'filename'_option_alone
220
- ---------------------------------------------------------
221
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
222
- Processing by ReportsController#custom_filename as PDF
223
- Rendering reports/custom_filename.pdf.prawn
224
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.9ms | Allocations: 2289)
225
- Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 2699)
226
-  (0.1ms) rollback transaction
227
-  (0.1ms) begin transaction
228
- ------------------------------------------------------------
229
- NavigationTest: test_Respects_the_'disposition'_option_alone
230
- ------------------------------------------------------------
231
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
232
- Processing by ReportsController#custom_disposition as PDF
233
- Rendering reports/custom_disposition.pdf.prawn
234
- Rendered reports/custom_disposition.pdf.prawn (Duration: 3.8ms | Allocations: 2244)
235
- Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms | Allocations: 2652)
236
-  (0.1ms) rollback transaction
237
-  (1.3ms) SELECT sqlite_version(*)
238
-  (0.1ms) SELECT sqlite_version(*)
239
-  (0.1ms) begin transaction
240
- ----------------------------------------
241
- NavigationTest: test_Renders_html_action
242
- ----------------------------------------
243
- Started GET "/reports/sample" for 127.0.0.1 at 2020-04-29 20:39:58 -0700
244
- Processing by ReportsController#sample as HTML
245
- Rendering reports/sample.html.erb within layouts/application
246
- Rendered reports/sample.html.erb within layouts/application (Duration: 2.4ms | Allocations: 239)
247
- Completed 500 Internal Server Error in 31ms (ActiveRecord: 0.0ms | Allocations: 4535)
248
-  (0.1ms) rollback transaction
249
-  (0.1ms) begin transaction
250
- ------------------------------------------------------
251
- NavigationTest: test_Registers_:prawn_template_handler
252
- ------------------------------------------------------
253
-  (0.1ms) rollback transaction
254
-  (0.1ms) begin transaction
255
- -----------------------------------------------------------------
256
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
257
- -----------------------------------------------------------------
258
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2020-04-29 20:39:58 -0700
259
- Processing by ReportsController#ivar_filename as PDF
260
- Rendering reports/custom.pdf.prawn
261
- Rendered reports/custom.pdf.prawn (Duration: 47.4ms | Allocations: 49703)
262
- Completed 200 OK in 53ms (Views: 52.3ms | ActiveRecord: 0.0ms | Allocations: 50970)
263
-  (0.1ms) rollback transaction
264
-  (0.1ms) begin transaction
265
- -----------------------------------------------
266
- NavigationTest: test_render_to_string_in_mailer
267
- -----------------------------------------------
268
- Rendering reports/sample.pdf.prawn
269
- Rendered reports/sample.pdf.prawn (Duration: 25.1ms | Allocations: 18088)
270
- Rendering reports_mailer/send_report.html.erb
271
- Rendered reports_mailer/send_report.html.erb (Duration: 0.3ms | Allocations: 78)
272
- ReportsMailer#send_report: processed outbound mail in 34.7ms
273
-  (0.1ms) rollback transaction
274
-  (0.1ms) begin transaction
275
- --------------------------------------------------------------------
276
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
277
- --------------------------------------------------------------------
278
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
279
- Processing by ReportsController#custom_headers as PDF
280
- Rendering reports/custom.pdf.prawn
281
- Rendered reports/custom.pdf.prawn (Duration: 2.2ms | Allocations: 2225)
282
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms | Allocations: 2485)
283
-  (0.1ms) rollback transaction
284
-  (0.1ms) begin transaction
285
- ---------------------------------------------
286
- NavigationTest: test_Registers_:pdf_mime_type
287
- ---------------------------------------------
288
-  (0.1ms) rollback transaction
289
-  (0.1ms) begin transaction
290
- ----------------------------------------------
291
- NavigationTest: test_Renders_sample_pdf_action
292
- ----------------------------------------------
293
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
294
- Processing by ReportsController#sample as PDF
295
- Rendering reports/sample.pdf.prawn
296
- Rendered reports/sample.pdf.prawn (Duration: 23.2ms | Allocations: 14111)
297
- Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.0ms | Allocations: 14529)
298
-  (0.1ms) rollback transaction
299
-  (0.1ms) begin transaction
300
- ------------------------------------------------------------------------------------
301
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
302
- ------------------------------------------------------------------------------------
303
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
304
- Processing by ReportsController#table as PDF
305
- Rendering reports/table.pdf.prawn
306
- Rendered reports/table.pdf.prawn (Duration: 15.4ms | Allocations: 11203)
307
- Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.0ms | Allocations: 11619)
308
-  (0.1ms) rollback transaction
309
-  (0.1ms) begin transaction
310
- -----------------------------------------------------------------------
311
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
312
- -----------------------------------------------------------------------
313
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
314
- Processing by ReportsController#custom as PDF
315
- Rendering reports/custom.pdf.prawn
316
- Rendered reports/custom.pdf.prawn (Duration: 2.2ms | Allocations: 2223)
317
- Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms | Allocations: 2497)
318
-  (0.1ms) rollback transaction
319
-  (0.1ms) begin transaction
320
- ------------------------------------------
321
- NavigationTest: test_Renders_pdf_to_string
322
- ------------------------------------------
323
- Rendering reports/sample.pdf.prawn
324
- Rendered reports/sample.pdf.prawn (Duration: 21.3ms | Allocations: 14105)
325
-  (0.1ms) rollback transaction
326
-  (0.1ms) begin transaction
327
- ---------------------------------------------------------
328
- NavigationTest: test_Respects_the_'filename'_option_alone
329
- ---------------------------------------------------------
330
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
331
- Processing by ReportsController#custom_filename as PDF
332
- Rendering reports/custom_filename.pdf.prawn
333
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.7ms | Allocations: 2291)
334
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms | Allocations: 2702)
335
-  (0.1ms) rollback transaction
336
-  (0.1ms) begin transaction
337
- ------------------------------------------------------------
338
- NavigationTest: test_Respects_the_'disposition'_option_alone
339
- ------------------------------------------------------------
340
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
341
- Processing by ReportsController#custom_disposition as PDF
342
- Rendering reports/custom_disposition.pdf.prawn
343
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.5ms | Allocations: 2250)
344
- Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms | Allocations: 2659)
345
-  (0.1ms) rollback transaction
346
-  (0.1ms) begin transaction
347
- --------------------------------------------------------------
348
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
349
- --------------------------------------------------------------
350
-  (0.1ms) rollback transaction
351
-  (0.1ms) begin transaction
352
- ----------------------------------------------
353
- PrawnRailsTest: test_text_can_take_non_strings
354
- ----------------------------------------------
355
-  (0.1ms) rollback transaction
356
-  (1.0ms) SELECT sqlite_version(*)
357
-  (0.1ms) SELECT sqlite_version(*)
358
-  (0.1ms) begin transaction
359
- ------------------------------------------------------------
360
- NavigationTest: test_Respects_the_'disposition'_option_alone
361
- ------------------------------------------------------------
362
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2020-04-29 20:41:13 -0700
363
- Processing by ReportsController#custom_disposition as PDF
364
- Rendering reports/custom_disposition.pdf.prawn
365
- Rendered reports/custom_disposition.pdf.prawn (Duration: 63.5ms | Allocations: 49815)
366
- Completed 200 OK in 77ms (Views: 73.6ms | ActiveRecord: 0.0ms | Allocations: 52151)
367
-  (0.1ms) rollback transaction
368
-  (0.1ms) begin transaction
369
- ---------------------------------------------------------
370
- NavigationTest: test_Respects_the_'filename'_option_alone
371
- ---------------------------------------------------------
372
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2020-04-29 20:41:13 -0700
373
- Processing by ReportsController#custom_filename as PDF
374
- Rendering reports/custom_filename.pdf.prawn
375
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.4ms | Allocations: 2290)
376
- Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms | Allocations: 2700)
377
-  (0.1ms) rollback transaction
378
-  (0.1ms) begin transaction
379
- ---------------------------------------------
380
- NavigationTest: test_Registers_:pdf_mime_type
381
- ---------------------------------------------
382
-  (0.1ms) rollback transaction
383
-  (0.1ms) begin transaction
384
- ----------------------------------------------
385
- NavigationTest: test_Renders_sample_pdf_action
386
- ----------------------------------------------
387
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2020-04-29 20:41:13 -0700
388
- Processing by ReportsController#sample as PDF
389
- Rendering reports/sample.pdf.prawn
390
- Rendered reports/sample.pdf.prawn (Duration: 26.7ms | Allocations: 18094)
391
- Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms | Allocations: 18513)
392
-  (0.1ms) rollback transaction
393
-  (0.1ms) begin transaction
394
- ------------------------------------------------------------------------------------
395
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
396
- ------------------------------------------------------------------------------------
397
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2020-04-29 20:41:14 -0700
398
- Processing by ReportsController#table as PDF
399
- Rendering reports/table.pdf.prawn
400
- Rendered reports/table.pdf.prawn (Duration: 22.9ms | Allocations: 11205)
401
- Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.0ms | Allocations: 11621)
402
-  (0.1ms) rollback transaction
403
-  (0.1ms) begin transaction
404
- ------------------------------------------------------
405
- NavigationTest: test_Registers_:prawn_template_handler
406
- ------------------------------------------------------
407
-  (0.1ms) rollback transaction
408
-  (0.1ms) begin transaction
409
- -----------------------------------------------------------------
410
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
411
- -----------------------------------------------------------------
412
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2020-04-29 20:41:14 -0700
413
- Processing by ReportsController#ivar_filename as PDF
414
- Rendering reports/custom.pdf.prawn
415
- Rendered reports/custom.pdf.prawn (Duration: 2.6ms | Allocations: 2292)
416
- Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms | Allocations: 2688)
417
-  (0.1ms) rollback transaction
418
-  (0.1ms) begin transaction
419
- --------------------------------------------------------------------
420
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
421
- --------------------------------------------------------------------
422
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2020-04-29 20:41:14 -0700
423
- Processing by ReportsController#custom_headers as PDF
424
- Rendering reports/custom.pdf.prawn
425
- Rendered reports/custom.pdf.prawn (Duration: 2.3ms | Allocations: 2221)
426
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms | Allocations: 2480)
427
-  (0.1ms) rollback transaction
428
-  (0.1ms) begin transaction
429
- ----------------------------------------
430
- NavigationTest: test_Renders_html_action
431
- ----------------------------------------
432
- Started GET "/reports/sample" for 127.0.0.1 at 2020-04-29 20:41:14 -0700
433
- Processing by ReportsController#sample as HTML
434
- Rendering reports/sample.html.erb within layouts/application
435
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.4ms | Allocations: 81)
436
- Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms | Allocations: 7880)
437
-  (0.2ms) rollback transaction
438
-  (0.2ms) begin transaction
439
- -----------------------------------------------------------------------
440
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
441
- -----------------------------------------------------------------------
442
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2020-04-29 20:41:14 -0700
443
- Processing by ReportsController#custom as PDF
444
- Rendering reports/custom.pdf.prawn
445
- Rendered reports/custom.pdf.prawn (Duration: 2.1ms | Allocations: 2223)
446
- Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 2497)
447
-  (0.1ms) rollback transaction
448
-  (0.1ms) begin transaction
449
- ------------------------------------------
450
- NavigationTest: test_Renders_pdf_to_string
451
- ------------------------------------------
452
- Rendering reports/sample.pdf.prawn
453
- Rendered reports/sample.pdf.prawn (Duration: 20.6ms | Allocations: 14112)
454
-  (0.1ms) rollback transaction
455
-  (0.1ms) begin transaction
456
- -----------------------------------------------
457
- NavigationTest: test_render_to_string_in_mailer
458
- -----------------------------------------------
459
- Rendering reports/sample.pdf.prawn
460
- Rendered reports/sample.pdf.prawn (Duration: 21.7ms | Allocations: 14101)
461
- Rendering reports_mailer/send_report.html.erb
462
- Rendered reports_mailer/send_report.html.erb (Duration: 0.3ms | Allocations: 75)
463
- ReportsMailer#send_report: processed outbound mail in 31.4ms
464
-  (0.1ms) rollback transaction
465
-  (0.1ms) begin transaction
466
- --------------------------------------------------------------
467
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
468
- --------------------------------------------------------------
469
-  (0.1ms) rollback transaction
470
-  (0.1ms) begin transaction
471
- ----------------------------------------------
472
- PrawnRailsTest: test_text_can_take_non_strings
473
- ----------------------------------------------
474
-  (0.1ms) rollback transaction
475
-  (1.0ms) SELECT sqlite_version(*)
476
-  (0.1ms) SELECT sqlite_version(*)
477
-  (0.1ms) begin transaction
478
- ------------------------------------------------------------------------------------
479
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
480
- ------------------------------------------------------------------------------------
481
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-02-01 23:59:54 -0800
482
- Processing by ReportsController#table as PDF
483
- Rendering reports/table.pdf.prawn
484
- Rendered reports/table.pdf.prawn (Duration: 50.9ms | Allocations: 58777)
485
- Completed 200 OK in 57ms (Views: 54.9ms | ActiveRecord: 0.0ms | Allocations: 61121)
486
-  (0.1ms) rollback transaction
487
-  (0.1ms) begin transaction
488
- -----------------------------------------------------------------
489
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
490
- -----------------------------------------------------------------
491
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
492
- Processing by ReportsController#ivar_filename as PDF
493
- Rendering reports/custom.pdf.prawn
494
- Rendered reports/custom.pdf.prawn (Duration: 2.2ms | Allocations: 2309)
495
- Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms | Allocations: 2706)
496
-  (0.1ms) rollback transaction
497
-  (0.0ms) begin transaction
498
- ----------------------------------------------
499
- NavigationTest: test_Renders_sample_pdf_action
500
- ----------------------------------------------
501
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
502
- Processing by ReportsController#sample as PDF
503
- Rendering reports/sample.pdf.prawn
504
- Rendered reports/sample.pdf.prawn (Duration: 27.0ms | Allocations: 18078)
505
- Completed 200 OK in 28ms (Views: 27.6ms | ActiveRecord: 0.0ms | Allocations: 18497)
506
-  (0.1ms) rollback transaction
507
-  (0.2ms) begin transaction
508
- ------------------------------------------------------------
509
- NavigationTest: test_Respects_the_'disposition'_option_alone
510
- ------------------------------------------------------------
511
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
512
- Processing by ReportsController#custom_disposition as PDF
513
- Rendering reports/custom_disposition.pdf.prawn
514
- Rendered reports/custom_disposition.pdf.prawn (Duration: 8.3ms | Allocations: 2250)
515
- Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.0ms | Allocations: 2658)
516
-  (0.1ms) rollback transaction
517
-  (0.0ms) begin transaction
518
- -----------------------------------------------
519
- NavigationTest: test_render_to_string_in_mailer
520
- -----------------------------------------------
521
- Rendering reports/sample.pdf.prawn
522
- Rendered reports/sample.pdf.prawn (Duration: 19.2ms | Allocations: 14111)
523
- Rendering reports_mailer/send_report.html.erb
524
- Rendered reports_mailer/send_report.html.erb (Duration: 0.4ms | Allocations: 83)
525
- ReportsMailer#send_report: processed outbound mail in 33.0ms
526
-  (0.1ms) rollback transaction
527
-  (0.0ms) begin transaction
528
- --------------------------------------------------------------------
529
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
530
- --------------------------------------------------------------------
531
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
532
- Processing by ReportsController#custom_headers as PDF
533
- Rendering reports/custom.pdf.prawn
534
- Rendered reports/custom.pdf.prawn (Duration: 1.9ms | Allocations: 2227)
535
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms | Allocations: 2486)
536
-  (0.0ms) rollback transaction
537
-  (0.0ms) begin transaction
538
- ----------------------------------------
539
- NavigationTest: test_Renders_html_action
540
- ----------------------------------------
541
- Started GET "/reports/sample" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
542
- Processing by ReportsController#sample as HTML
543
- Rendering reports/sample.html.erb within layouts/application
544
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.3ms | Allocations: 73)
545
- Completed 200 OK in 29ms (Views: 28.4ms | ActiveRecord: 0.0ms | Allocations: 8249)
546
-  (0.1ms) rollback transaction
547
-  (0.1ms) begin transaction
548
- -----------------------------------------------------------------------
549
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
550
- -----------------------------------------------------------------------
551
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
552
- Processing by ReportsController#custom as PDF
553
- Rendering reports/custom.pdf.prawn
554
- Rendered reports/custom.pdf.prawn (Duration: 2.9ms | Allocations: 2223)
555
- Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 2497)
556
-  (0.1ms) rollback transaction
557
-  (0.1ms) begin transaction
558
- ---------------------------------------------------------
559
- NavigationTest: test_Respects_the_'filename'_option_alone
560
- ---------------------------------------------------------
561
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
562
- Processing by ReportsController#custom_filename as PDF
563
- Rendering reports/custom_filename.pdf.prawn
564
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.1ms | Allocations: 2289)
565
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms | Allocations: 2698)
566
-  (0.1ms) rollback transaction
567
-  (0.0ms) begin transaction
568
- ---------------------------------------------
569
- NavigationTest: test_Registers_:pdf_mime_type
570
- ---------------------------------------------
571
-  (0.0ms) rollback transaction
572
-  (0.0ms) begin transaction
573
- ------------------------------------------------------
574
- NavigationTest: test_Registers_:prawn_template_handler
575
- ------------------------------------------------------
576
-  (0.0ms) rollback transaction
577
-  (0.0ms) begin transaction
578
- ------------------------------------------
579
- NavigationTest: test_Renders_pdf_to_string
580
- ------------------------------------------
581
- Rendering reports/sample.pdf.prawn
582
- Rendered reports/sample.pdf.prawn (Duration: 22.2ms | Allocations: 14122)
583
-  (0.1ms) rollback transaction
584
-  (0.0ms) begin transaction
585
- --------------------------------------------------------------
586
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
587
- --------------------------------------------------------------
588
-  (0.0ms) rollback transaction
589
-  (0.0ms) begin transaction
590
- ----------------------------------------------
591
- PrawnRailsTest: test_text_can_take_non_strings
592
- ----------------------------------------------
593
-  (0.0ms) rollback transaction
594
-  (1.0ms) SELECT sqlite_version(*)
595
-  (0.1ms) SELECT sqlite_version(*)
596
-  (0.1ms) begin transaction
597
- --------------------------------------------------------------
598
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
599
- --------------------------------------------------------------
600
-  (0.0ms) rollback transaction
601
-  (0.0ms) begin transaction
602
- ----------------------------------------------
603
- PrawnRailsTest: test_text_can_take_non_strings
604
- ----------------------------------------------
605
-  (0.1ms) rollback transaction
606
-  (0.1ms) begin transaction
607
- ---------------------------------------------
608
- NavigationTest: test_Registers_:pdf_mime_type
609
- ---------------------------------------------
610
-  (0.1ms) rollback transaction
611
-  (0.0ms) begin transaction
612
- ------------------------------------------------------
613
- NavigationTest: test_Registers_:prawn_template_handler
614
- ------------------------------------------------------
615
-  (0.0ms) rollback transaction
616
-  (0.0ms) begin transaction
617
- ------------------------------------------------------------------------------------
618
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
619
- ------------------------------------------------------------------------------------
620
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
621
- Processing by ReportsController#table as PDF
622
- Rendering reports/table.pdf.prawn
623
- Rendered reports/table.pdf.prawn (Duration: 12.9ms | Allocations: 11382)
624
- Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.0ms | Allocations: 13738)
625
-  (0.1ms) rollback transaction
626
-  (0.0ms) begin transaction
627
- ------------------------------------------------------------
628
- NavigationTest: test_Respects_the_'disposition'_option_alone
629
- ------------------------------------------------------------
630
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
631
- Processing by ReportsController#custom_disposition as PDF
632
- Rendering reports/custom_disposition.pdf.prawn
633
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.4ms | Allocations: 2248)
634
- Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms | Allocations: 2656)
635
-  (0.1ms) rollback transaction
636
-  (0.0ms) begin transaction
637
- ---------------------------------------------------------
638
- NavigationTest: test_Respects_the_'filename'_option_alone
639
- ---------------------------------------------------------
640
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
641
- Processing by ReportsController#custom_filename as PDF
642
- Rendering reports/custom_filename.pdf.prawn
643
- Rendered reports/custom_filename.pdf.prawn (Duration: 2.2ms | Allocations: 2289)
644
- Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms | Allocations: 2699)
645
-  (0.1ms) rollback transaction
646
-  (0.0ms) begin transaction
647
- -----------------------------------------------
648
- NavigationTest: test_render_to_string_in_mailer
649
- -----------------------------------------------
650
- Rendering reports/sample.pdf.prawn
651
- Rendered reports/sample.pdf.prawn (Duration: 30.3ms | Allocations: 18074)
652
- Rendering reports_mailer/send_report.html.erb
653
- Rendered reports_mailer/send_report.html.erb (Duration: 0.3ms | Allocations: 83)
654
- ReportsMailer#send_report: processed outbound mail in 39.1ms
655
-  (0.1ms) rollback transaction
656
-  (0.0ms) begin transaction
657
- --------------------------------------------------------------------
658
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
659
- --------------------------------------------------------------------
660
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
661
- Processing by ReportsController#custom_headers as PDF
662
- Rendering reports/custom.pdf.prawn
663
- Rendered reports/custom.pdf.prawn (Duration: 2.2ms | Allocations: 2294)
664
- Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms | Allocations: 2693)
665
-  (0.1ms) rollback transaction
666
-  (0.0ms) begin transaction
667
- ----------------------------------------
668
- NavigationTest: test_Renders_html_action
669
- ----------------------------------------
670
- Started GET "/reports/sample" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
671
- Processing by ReportsController#sample as HTML
672
- Rendering reports/sample.html.erb within layouts/application
673
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.2ms | Allocations: 73)
674
- Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms | Allocations: 4022)
675
-  (0.1ms) rollback transaction
676
-  (0.0ms) begin transaction
677
- -----------------------------------------------------------------------
678
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
679
- -----------------------------------------------------------------------
680
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
681
- Processing by ReportsController#custom as PDF
682
- Rendering reports/custom.pdf.prawn
683
- Rendered reports/custom.pdf.prawn (Duration: 2.7ms | Allocations: 2227)
684
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms | Allocations: 2501)
685
-  (0.1ms) rollback transaction
686
-  (0.1ms) begin transaction
687
- -----------------------------------------------------------------
688
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
689
- -----------------------------------------------------------------
690
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
691
- Processing by ReportsController#ivar_filename as PDF
692
- Rendering reports/custom.pdf.prawn
693
- Rendered reports/custom.pdf.prawn (Duration: 2.6ms | Allocations: 2223)
694
- Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms | Allocations: 2479)
695
-  (0.1ms) rollback transaction
696
-  (0.0ms) begin transaction
697
- ----------------------------------------------
698
- NavigationTest: test_Renders_sample_pdf_action
699
- ----------------------------------------------
700
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
701
- Processing by ReportsController#sample as PDF
702
- Rendering reports/sample.pdf.prawn
703
- Rendered reports/sample.pdf.prawn (Duration: 23.3ms | Allocations: 14107)
704
- Completed 200 OK in 24ms (Views: 23.8ms | ActiveRecord: 0.0ms | Allocations: 14525)
705
-  (0.1ms) rollback transaction
706
-  (0.0ms) begin transaction
707
- ------------------------------------------
708
- NavigationTest: test_Renders_pdf_to_string
709
- ------------------------------------------
710
- Rendering reports/sample.pdf.prawn
711
- Rendered reports/sample.pdf.prawn (Duration: 18.2ms | Allocations: 14114)
712
-  (0.1ms) rollback transaction
713
-  (1.4ms) SELECT sqlite_version(*)
714
-  (0.1ms) SELECT sqlite_version(*)
715
-  (0.1ms) begin transaction
716
- ------------------------------------------
717
- NavigationTest: test_Renders_pdf_to_string
718
- ------------------------------------------
719
- Rendering reports/sample.pdf.prawn
720
- Rendered reports/sample.pdf.prawn (Duration: 81.4ms | Allocations: 49036)
721
-  (0.1ms) rollback transaction
722
-  (0.1ms) begin transaction
723
- -----------------------------------------------------------------
724
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
725
- -----------------------------------------------------------------
726
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-20 08:47:42 -0700
727
- Processing by ReportsController#ivar_filename as PDF
728
- Rendering reports/custom.pdf.prawn
729
- Rendered reports/custom.pdf.prawn (Duration: 2.8ms | Allocations: 1871)
730
- Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms | Allocations: 2769)
731
-  (0.1ms) rollback transaction
732
-  (0.1ms) begin transaction
733
- -----------------------------------------------
734
- NavigationTest: test_render_to_string_in_mailer
735
- -----------------------------------------------
736
- Rendering reports/sample.pdf.prawn
737
- Rendered reports/sample.pdf.prawn (Duration: 33.8ms | Allocations: 12735)
738
- Rendering reports_mailer/send_report.html.erb
739
- Rendered reports_mailer/send_report.html.erb (Duration: 0.4ms | Allocations: 83)
740
- ReportsMailer#send_report: processed outbound mail in 50.0ms
741
-  (0.1ms) rollback transaction
742
-  (0.1ms) begin transaction
743
- --------------------------------------------------------------------
744
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
745
- --------------------------------------------------------------------
746
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-20 08:47:42 -0700
747
- Processing by ReportsController#custom_headers as PDF
748
- Rendering reports/custom.pdf.prawn
749
- Rendered reports/custom.pdf.prawn (Duration: 2.3ms | Allocations: 1796)
750
- Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms | Allocations: 2056)
751
-  (0.1ms) rollback transaction
752
-  (0.1ms) begin transaction
753
- ------------------------------------------------------------
754
- NavigationTest: test_Respects_the_'disposition'_option_alone
755
- ------------------------------------------------------------
756
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
757
- Processing by ReportsController#custom_disposition as PDF
758
- Rendering reports/custom_disposition.pdf.prawn
759
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.6ms | Allocations: 1830)
760
- Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms | Allocations: 2250)
761
-  (0.1ms) rollback transaction
762
-  (0.1ms) begin transaction
763
- ----------------------------------------
764
- NavigationTest: test_Renders_html_action
765
- ----------------------------------------
766
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
767
- Processing by ReportsController#sample as HTML
768
- Rendering reports/sample.html.erb within layouts/application
769
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.4ms | Allocations: 73)
770
- Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms | Allocations: 4022)
771
-  (0.1ms) rollback transaction
772
-  (0.1ms) begin transaction
773
- ------------------------------------------------------
774
- NavigationTest: test_Registers_:prawn_template_handler
775
- ------------------------------------------------------
776
-  (0.1ms) rollback transaction
777
-  (0.1ms) begin transaction
778
- ----------------------------------------------
779
- NavigationTest: test_Renders_sample_pdf_action
780
- ----------------------------------------------
781
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
782
- Processing by ReportsController#sample as PDF
783
- Rendering reports/sample.pdf.prawn
784
- Rendered reports/sample.pdf.prawn (Duration: 27.7ms | Allocations: 12741)
785
- Completed 200 OK in 29ms (Views: 28.4ms | ActiveRecord: 0.0ms | Allocations: 13160)
786
-  (0.1ms) rollback transaction
787
-  (0.1ms) begin transaction
788
- ------------------------------------------------------------------------------------
789
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
790
- ------------------------------------------------------------------------------------
791
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
792
- Processing by ReportsController#table as PDF
793
- Rendering reports/table.pdf.prawn
794
- Rendered reports/table.pdf.prawn (Duration: 16.8ms | Allocations: 9596)
795
- Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms | Allocations: 10013)
796
-  (0.1ms) rollback transaction
797
-  (0.1ms) begin transaction
798
- -----------------------------------------------------------------------
799
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
800
- -----------------------------------------------------------------------
801
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
802
- Processing by ReportsController#custom as PDF
803
- Rendering reports/custom.pdf.prawn
804
- Rendered reports/custom.pdf.prawn (Duration: 6.6ms | Allocations: 1798)
805
- Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms | Allocations: 2072)
806
-  (0.1ms) rollback transaction
807
-  (0.1ms) begin transaction
808
- ---------------------------------------------------------
809
- NavigationTest: test_Respects_the_'filename'_option_alone
810
- ---------------------------------------------------------
811
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
812
- Processing by ReportsController#custom_filename as PDF
813
- Rendering reports/custom_filename.pdf.prawn
814
- Rendered reports/custom_filename.pdf.prawn (Duration: 6.2ms | Allocations: 1864)
815
- Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms | Allocations: 2273)
816
-  (0.1ms) rollback transaction
817
-  (0.1ms) begin transaction
818
- ---------------------------------------------
819
- NavigationTest: test_Registers_:pdf_mime_type
820
- ---------------------------------------------
821
-  (0.1ms) rollback transaction
822
-  (0.1ms) begin transaction
823
- --------------------------------------------------------------
824
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
825
- --------------------------------------------------------------
826
-  (0.1ms) rollback transaction
827
-  (0.1ms) begin transaction
828
- ----------------------------------------------
829
- PrawnRailsTest: test_text_can_take_non_strings
830
- ----------------------------------------------
831
-  (0.1ms) rollback transaction
832
-  (1.5ms) SELECT sqlite_version(*)
833
-  (0.1ms) SELECT sqlite_version(*)
834
-  (0.1ms) begin transaction
835
- --------------------------------------------------------------
836
- PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
837
- --------------------------------------------------------------
838
-  (0.1ms) rollback transaction
839
-  (0.1ms) begin transaction
840
- ----------------------------------------------
841
- PrawnRailsTest: test_text_can_take_non_strings
842
- ----------------------------------------------
843
-  (0.1ms) rollback transaction
844
-  (0.1ms) begin transaction
845
- ------------------------------------------------------------------------------------
846
- NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
847
- ------------------------------------------------------------------------------------
848
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
849
- Processing by ReportsController#table as PDF
850
- Rendering reports/table.pdf.prawn
851
- Rendered reports/table.pdf.prawn (Duration: 17.7ms | Allocations: 9771)
852
- Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.0ms | Allocations: 12127)
853
-  (0.1ms) rollback transaction
854
-  (0.1ms) begin transaction
855
- ----------------------------------------------
856
- NavigationTest: test_Renders_sample_pdf_action
857
- ----------------------------------------------
858
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
859
- Processing by ReportsController#sample as PDF
860
- Rendering reports/sample.pdf.prawn
861
- Rendered reports/sample.pdf.prawn (Duration: 34.4ms | Allocations: 15850)
862
- Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms | Allocations: 16269)
863
-  (0.1ms) rollback transaction
864
-  (0.1ms) begin transaction
865
- ---------------------------------------------
866
- NavigationTest: test_Registers_:pdf_mime_type
867
- ---------------------------------------------
868
-  (0.1ms) rollback transaction
869
-  (0.1ms) begin transaction
870
- ------------------------------------------------------
871
- NavigationTest: test_Registers_:prawn_template_handler
872
- ------------------------------------------------------
873
-  (0.1ms) rollback transaction
874
-  (0.1ms) begin transaction
875
- ------------------------------------------
876
- NavigationTest: test_Renders_pdf_to_string
877
- ------------------------------------------
878
- Rendering reports/sample.pdf.prawn
879
- Rendered reports/sample.pdf.prawn (Duration: 22.1ms | Allocations: 12747)
880
-  (0.1ms) rollback transaction
881
-  (0.1ms) begin transaction
882
- ------------------------------------------------------------
883
- NavigationTest: test_Respects_the_'disposition'_option_alone
884
- ------------------------------------------------------------
885
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
886
- Processing by ReportsController#custom_disposition as PDF
887
- Rendering reports/custom_disposition.pdf.prawn
888
- Rendered reports/custom_disposition.pdf.prawn (Duration: 2.6ms | Allocations: 1834)
889
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms | Allocations: 2243)
890
-  (0.1ms) rollback transaction
891
-  (0.1ms) begin transaction
892
- ----------------------------------------
893
- NavigationTest: test_Renders_html_action
894
- ----------------------------------------
895
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
896
- Processing by ReportsController#sample as HTML
897
- Rendering reports/sample.html.erb within layouts/application
898
- Rendered reports/sample.html.erb within layouts/application (Duration: 0.4ms | Allocations: 81)
899
- Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.0ms | Allocations: 4031)
900
-  (0.1ms) rollback transaction
901
-  (0.1ms) begin transaction
902
- ---------------------------------------------------------
903
- NavigationTest: test_Respects_the_'filename'_option_alone
904
- ---------------------------------------------------------
905
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
906
- Processing by ReportsController#custom_filename as PDF
907
- Rendering reports/custom_filename.pdf.prawn
908
- Rendered reports/custom_filename.pdf.prawn (Duration: 7.4ms | Allocations: 1864)
909
- Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms | Allocations: 2274)
910
-  (0.1ms) rollback transaction
911
-  (0.1ms) begin transaction
912
- -----------------------------------------------------------------
913
- NavigationTest: test_Sets_file_name_from_'@filename'_when_present
914
- -----------------------------------------------------------------
915
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
916
- Processing by ReportsController#ivar_filename as PDF
917
- Rendering reports/custom.pdf.prawn
918
- Rendered reports/custom.pdf.prawn (Duration: 2.4ms | Allocations: 1871)
919
- Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 2267)
920
-  (0.1ms) rollback transaction
921
-  (0.1ms) begin transaction
922
- -----------------------------------------------
923
- NavigationTest: test_render_to_string_in_mailer
924
- -----------------------------------------------
925
- Rendering reports/sample.pdf.prawn
926
- Rendered reports/sample.pdf.prawn (Duration: 22.7ms | Allocations: 12741)
927
- Rendering reports_mailer/send_report.html.erb
928
- Rendered reports_mailer/send_report.html.erb (Duration: 0.4ms | Allocations: 77)
929
- ReportsMailer#send_report: processed outbound mail in 37.8ms
930
-  (0.1ms) rollback transaction
931
-  (0.1ms) begin transaction
932
- --------------------------------------------------------------------
933
- NavigationTest: test_Maintains_existing_'Content-Disposition'_header
934
- --------------------------------------------------------------------
935
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
936
- Processing by ReportsController#custom_headers as PDF
937
- Rendering reports/custom.pdf.prawn
938
- Rendered reports/custom.pdf.prawn (Duration: 2.3ms | Allocations: 1796)
939
- Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms | Allocations: 2055)
940
-  (0.1ms) rollback transaction
941
-  (0.1ms) begin transaction
942
- -----------------------------------------------------------------------
943
- NavigationTest: test_Respects_both_options_on_'prawn-document'_together
944
- -----------------------------------------------------------------------
945
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
946
- Processing by ReportsController#custom as PDF
947
- Rendering reports/custom.pdf.prawn
948
- Rendered reports/custom.pdf.prawn (Duration: 2.3ms | Allocations: 1798)
949
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms | Allocations: 2071)
950
-  (0.1ms) rollback transaction