prawn-rails 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -3
  3. data/lib/prawn-rails.rb +12 -1
  4. data/lib/prawn-rails/rails_helper.rb +1 -1
  5. data/lib/prawn-rails/version.rb +1 -1
  6. data/test/dummy_app/log/test.log +329 -795
  7. data/test/dummy_app/tmp/cache/assets/sprockets/{v3.0/7z/7zB4MNaDZMfwUPQ7LsLGHLt1EAx1oMCEUjywneVyoyY.cache → v4.0.0/0o/0og-K-ORl6wO02dgU3z8beSXSGOCdnEFcX6KEtXqG2Q.cache} +0 -0
  8. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/2V/2VONmeO4ClBgY1gjdZLYo9wQjDG9Ef9sAuwWVxceLEk.cache +1 -0
  9. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/34/34uQaon4nFa_kXcNF-1ac-QhL_HKtstSnb2pGjYCb6w.cache +1 -0
  10. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -0
  11. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{FH/FHiO02EbiWfhKFHA3d6jTB6d50AXJzY9OjwpyzlbR3A.cache → 43/43Xh_xLNBt5kEi4-pWc5m0pFDLIhkNAxyiBf-3E2UJw.cache} +0 -0
  12. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache +0 -0
  13. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{dL/dLpVVClnOjqhfdUOtaPPRDGP73ARy79nba4H4B4TtkQ.cache → 8x/8x5zY49XOU4gtdILE9T8l00lhs-lUJ6zzl5hyxjaFzw.cache} +0 -0
  14. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{Jr/JraYt1MnVVm8nrRu036hPHr_-BxBo2RwGcH_4XFDk9g.cache → AT/ATEwOxnm0kBLQ6bdeFkXutl92AMg1dA40zmBqy2f2Ng.cache} +0 -0
  15. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Ag/AgeZ6zQVNy2sDfEUqjxoVLoCsGo6rA27SUQoJFjqCqY.cache +1 -0
  16. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{Rx/RxPz7Gq0QcrSvjCMwAGBbCp9-4uiZixta20a-pY50G0.cache → Dj/DjIeso8fWA-cG6Y9zSr3T0rPtpS6V73u3Q234QgSLa8.cache} +0 -0
  17. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +0 -0
  18. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/E_/E_ZbvXNGsLYdwZdD1F159gQCYVGJrWgaip0GlUx9B68.cache +1 -0
  19. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache +0 -0
  20. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{-i/-i0h20pCtmvENM-EAyaKkJDFhjn-HuXuoE0e1sLu_rg.cache → Lk/LkuzadDEF5r9a_QBFvWJ5krc5aerVbxs4zJ19iztB38.cache} +0 -0
  21. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -0
  22. data/test/dummy_app/tmp/cache/assets/sprockets/{v3.0/8D/8D13-8wUZxyVgrsD9RHdWUPhLlWcqnHXtOBMOPQRX-Q.cache → v4.0.0/Uc/UcQ6dMoNX10N68Sv8qxPf7kahPOJ5pqzYWkbjDKyF1k.cache} +0 -0
  23. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/cp/cp36yIX2yPJBfhw6EA0u-BWnvFazmGC8zKxglna59TI.cache +1 -0
  24. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{8D/8D13-8wUZxyVgrsD9RHdWUPhLlWcqnHXtOBMOPQRX-Q.cache → dt/dteXKuRtjT5JiLleDPqnTNJFalNEbck9vA19hE6rGyw.cache} +0 -0
  25. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{wX/wX5yL9P13fJNPuZX10N7nQYMaQJl8JdZKPpsRiESJgE.cache → hy/hyxqCkBWzkpfHLCqW3YJeQq93KRADVcxEEMz0o0We_w.cache} +0 -0
  26. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/k6/k6DfQWIBNnOJUNVvE59mXcoCzMB9D6i0p1WuJZGANoQ.cache +1 -0
  27. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{cc/ccsnAmW1sI8J39ktFOU92ag0Cmd98hy1nLoiYxk-ztA.cache → kR/kRjL0yRqyeZXZk93BSxxJULpCv-rJ3QvC23X4W94RNA.cache} +0 -0
  28. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -0
  29. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{uO/uOomFpb2HCobA5V40idjrZP3fmfIzbyS21BXqdFnonw.cache → vt/vtslB-h9sglaV55iVgO8l86UBTtzDnuA6qzCy-vzujk.cache} +0 -0
  30. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/{qY/qYZa9MjWU2euhPKhmXxsJtfsHa76D0-yIqmqhhqDnWM.cache → xD/xDLUWV68gWaS7IJWKWBAPzLcA0ALSjQHns0tsk0zY3s.cache} +0 -0
  31. metadata +66 -127
  32. data/lib/prawn-rails/railtie.rb +0 -14
  33. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/0Q/0QR6jgJcsDY23uF8NGHFYajkal8CGG4d3kOZQCD8Oj8.cache +0 -1
  34. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/1K/1KcQYwe3g9uhY2WePD1_5P38IzP0Veu8rDPI0wXQSP8.cache +0 -1
  35. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -2
  36. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/4O/4O6Anm3R8aSIVfMhGtp5tZK3x17fcY1SbWoDN_6hb-o.cache +0 -2
  37. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/4X/4XWDJRe7gZAeojFwJq7j6jJxRr152aQBfyhVtPPSHDY.cache +0 -0
  38. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/LR/LRLaw7viwBb9Mi_VFZxGbKIooy8Fqf1aB_iOTETsMyc.cache +0 -3
  39. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -3
  40. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/Yr/YrGeNwkHFUXGwgJhi0aqJdEHL--OyRwU5aN5azmIXM4.cache +0 -0
  41. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/ib/ibSeAobTqAE0a-v_-umXpnbXaIEx_WOtSsQkSRJCwwI.cache +0 -0
  42. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/mO/mOu9n3QmqPXFbaUP-4RAuwabvsLdudRBvk9LMIOTSoI.cache +0 -1
  43. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/vt/vtyC4n-7HZNOJV7EprjE7ThndKZkG00OVD8sO8cUFAM.cache +0 -0
  44. data/test/dummy_app/tmp/cache/assets/sprockets/v3.0/wt/wtoVyr5IaVgQI72M_TLZFUNHeStJ5maRaHlfA8Vt6d0.cache +0 -1
  45. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/0r/0r4iTRUbzH4dQwbjPscLVpHM1SJyEKVXeCEzD_U9JYE.cache +0 -0
  46. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/6y/6yMwFwpdEybDnrikBloKhYP4Zmo9Ry746DScoqO8mbE.cache +0 -1
  47. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/7z/7zB4MNaDZMfwUPQ7LsLGHLt1EAx1oMCEUjywneVyoyY.cache +0 -1
  48. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Ac/Ac0RnYBszO_tvu-01dVJjO6aKZedDO2TVCAwpY5nE4U.cache +0 -1
  49. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/FD/FDmzMYru4EyGcs7Q7tsCbapZmNV-jXENb6M-UuS8GLs.cache +0 -1
  50. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Jn/JnmWS5ayWWDAiBYz39zc51V2mHFWYAlXjW-vPbehyvk.cache +0 -1
  51. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/LQ/LQQTiHeHlmh1Fwvuv1Ss9ne5mXE0TOv2xaanJ40LEXA.cache +0 -0
  52. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/OH/OHFQxWHvIcKq2nREonlhK8AgUKTRZ-2tDjQIRFoh400.cache +0 -1
  53. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/QV/QVq7YZh551f-JSU-9f9VWDRJA0Wm_LcbdJfJEO45hpY.cache +0 -1
  54. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Sd/SdKiVwcnL47CkgJH6d6rg8bT2jeMfr_KOpH6K-e_Rpw.cache +0 -1
  55. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/Tq/TqJjVveNs9BoMZZ0bqrtV17QUpcioQePyc75rUF8Q5U.cache +0 -0
  56. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/WX/WXW-hCt_qs8QZgCDuLbIdi4PEZY5Dr4gkk3TG2bzIlA.cache +0 -1
  57. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/X0/X0VVDULN8me11G85S0HRqtRtWpg2evTeD-eptzBX0Js.cache +0 -1
  58. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/bc/bc6phGXVat2w60GIQpknrZ6UeHcwGAJkPSEyx2vzYWA.cache +0 -1
  59. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/cq/cqmOKwCIiucE1noRNr0g5M-9rOz5lOw_KfXGRITzjfM.cache +0 -0
  60. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/i5/i5ZEAsQ_Rav4MDMy4ihQldRNRjQ8rSickZnnbPrf8MM.cache +0 -0
  61. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/iv/ivPda3JMWfbu-IHENKRMM5Y-RPDGx17E-UsDHaRw2l0.cache +0 -1
  62. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/jX/jXTNqwlV7NH3QgrxukXmrtTRmJdf7JLsLthOWuSajAk.cache +0 -1
  63. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/oL/oL18MfHhURyZjTEiCN9pzxDO5yolnjepKPIQ3AxRtuw.cache +0 -0
  64. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/pC/pCWceIteP62iSWMjZn19ap3KwUG6vXoQUzXAe5Pd07s.cache +0 -1
  65. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/ro/roxJL7F-lfG7snTu-4sBGaTfHUu94FPZMfWpTEJq-V8.cache +0 -1
  66. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/tV/tVR6xDtsNbiDca0JyoaKp4tirI4zYUF0RiWbw-9qyP0.cache +0 -1
  67. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/vv/vvPcNRT1bVyxTWN8IxKtvuBhxXib3G0tzztnaz6AE9k.cache +0 -0
  68. data/test/dummy_app/tmp/cache/assets/sprockets/v4.0.0/yy/yycp8-xBCXFX3VWJYNtJkJvzZD2XEejmUso7wI-7cbo.cache +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cc8b0b4dcec01b053fcc3dc156456f243320e5e7b1885486d0de6c6ec55f574
4
- data.tar.gz: 79ea17f3222b3484e27551f2f7c20a48c964d3d0897340f9bb162b22325a8044
3
+ metadata.gz: 0ac0f78d8a8a1a3b0a4ed9fc10663d2932deb2297adba3b95ba6572de2218148
4
+ data.tar.gz: e5ca3d10154db2cd49d0408248a19c4501ad4f95001ad9e6ba4295a2baaede6e
5
5
  SHA512:
6
- metadata.gz: cc3df95c50ee59e14fa1ab357cf01c6112a8d73c4ad799bc32767aa8483fb494562f2cd2a6b9ea8c5141c70cd0db4c9c72862dbce8beeb6d5a801a72e197d579
7
- data.tar.gz: b696d243feb7d6323296367a3914efa70c740aed86589155cb522d417b917e9d229a0dcc28534b01ea840b5d60c7ef75d15671d005d5ef941cc18eff38d6424b
6
+ metadata.gz: dbdbf5da9ca6bab323d9a5c6a2efaad5eed7c9506f1e5953986b1f885c93fbc75a1854ba09b52de2c86dd379b2b39a42389e81f48a9123c200de5d65e36d00e6
7
+ data.tar.gz: 5ff405b51522c7c906e62d3fbc8eaa95ae51a595de245cb1a2cde692fbba85cc2c9e62075a38d2828c06f98b5c67ab0e811f99d8dac6713ecff125e30a0046b7
data/CHANGELOG.md CHANGED
@@ -1,10 +1,13 @@
1
1
  # Changelog
2
2
 
3
- * `Unreleased` - [View Diff](https://github.com/cortiz/prawn-rails/compare/v1.4.1...master)
3
+ * `Unreleased` - [View Diff](https://github.com/cortiz/prawn-rails/compare/v1.4.2...master)
4
4
  - Nothing yet
5
5
 
6
- * `Unreleased` - [View Diff](https://github.com/cortiz/prawn-rails/compare/v1.4.0...v1.4.1)
7
- - [7575606](https://github.com/cortiz/prawn-rails/commit/7575606) - Fix bug in v1.4.0, where PDF's wouldnt open as `inline` within the browser. Problem was due to incomplete switch to Railsties from [PR #41](https://github.com/cortiz/prawn-rails/pull/41)
6
+ * `v1.4.2` - [View Diff](https://github.com/cortiz/prawn-rails/compare/v1.4.1...v1.4.2)
7
+ - Remove dependency on `railsties` and instead only depend on `actionview`
8
+
9
+ * `v1.4.1` - [View Diff](https://github.com/cortiz/prawn-rails/compare/v1.4.0...v1.4.1)
10
+ - [7575606](https://github.com/cortiz/prawn-rails/commit/7575606) - Complete switch to Railsties from [PR #41](https://github.com/cortiz/prawn-rails/pull/41)
8
11
 
9
12
  * `v1.4.0` - [View Diff](https://github.com/cortiz/prawn-rails/compare/v1.3.0...v1.4.0)
10
13
  - [PR #41](https://github.com/cortiz/prawn-rails/pull/41) - Depend on `railsties` instead of `rails` gem to avoid pulling in unnecessary dependencies such as action_cable, etc.
data/lib/prawn-rails.rb CHANGED
@@ -1,6 +1,17 @@
1
+ require "prawn"
2
+
1
3
  require "prawn-rails/version"
2
4
  require "prawn-rails/config"
3
- require "prawn-rails/railtie"
5
+
6
+ require "prawn-rails/rails_helper"
7
+ require "prawn-rails/renderer"
8
+
9
+ ActionView::Base.send(:include, PrawnRails::RailsHelper)
10
+ ActionView::Template.register_template_handler(:prawn, PrawnRails::Renderer)
11
+
12
+ unless Mime::Type.lookup_by_extension(:pdf)
13
+ Mime::Type.register_alias("application/pdf", :pdf)
14
+ end
4
15
 
5
16
  module PrawnRails
6
17
  end
@@ -21,7 +21,7 @@ module PrawnRails
21
21
 
22
22
  yield pdf if block_given?
23
23
 
24
- pdf.render
24
+ return pdf.render
25
25
  end
26
26
 
27
27
  def get_metadata
@@ -1,3 +1,3 @@
1
1
  module PrawnRails
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
@@ -1,950 +1,484 @@
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
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
47
14
  ------------------------------------------------------------
48
15
  NavigationTest: test_Respects_the_'disposition'_option_alone
49
16
  ------------------------------------------------------------
50
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2019-08-07 11:33:33 -0700
17
+ Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
51
18
  Processing by ReportsController#custom_disposition as PDF
52
19
  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
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
89
24
  -----------------------------------------------
90
25
  NavigationTest: test_render_to_string_in_mailer
91
26
  -----------------------------------------------
92
27
  Rendering reports/sample.pdf.prawn
93
- Rendered reports/sample.pdf.prawn (19.5ms)
28
+ Rendered reports/sample.pdf.prawn (Duration: 13.2ms | Allocations: 15750)
94
29
  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
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
126
44
  ----------------------------------------------
127
- PrawnRailsTest: test_text_can_take_non_strings
45
+ NavigationTest: test_Renders_sample_pdf_action
128
46
  ----------------------------------------------
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
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
141
54
  -----------------------------------------------------------------------
142
55
  NavigationTest: test_Respects_both_options_on_'prawn-document'_together
143
56
  -----------------------------------------------------------------------
144
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2020-04-29 20:39:33 -0700
57
+ Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
145
58
  Processing by ReportsController#custom as PDF
146
59
  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
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
156
64
  ------------------------------------------------------------------------------------
157
65
  NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
158
66
  ------------------------------------------------------------------------------------
159
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2020-04-29 20:39:33 -0700
67
+ Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
160
68
  Processing by ReportsController#table as PDF
161
69
  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
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
181
74
  ------------------------------------------
182
75
  NavigationTest: test_Renders_pdf_to_string
183
76
  ------------------------------------------
184
77
  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
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
203
86
  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
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
208
91
  ----------------------------------------
209
92
  NavigationTest: test_Renders_html_action
210
93
  ----------------------------------------
211
- Started GET "/reports/sample" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
94
+ Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
212
95
  Processing by ReportsController#sample as HTML
96
+ Rendering layout layouts/application.html.erb
213
97
  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
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
218
108
  ---------------------------------------------------------
219
109
  NavigationTest: test_Respects_the_'filename'_option_alone
220
110
  ---------------------------------------------------------
221
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2020-04-29 20:39:34 -0700
111
+ Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-26 22:02:25 -0700
222
112
  Processing by ReportsController#custom_filename as PDF
223
113
  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
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
250
118
  ------------------------------------------------------
251
119
  NavigationTest: test_Registers_:prawn_template_handler
252
120
  ------------------------------------------------------
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
121
+ TRANSACTION (0.0ms) rollback transaction
122
+  (0.7ms) SELECT sqlite_version(*)
123
+  (0.0ms) SELECT sqlite_version(*)
124
+ TRANSACTION (0.1ms) begin transaction
275
125
  --------------------------------------------------------------------
276
126
  NavigationTest: test_Maintains_existing_'Content-Disposition'_header
277
127
  --------------------------------------------------------------------
278
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
128
+ Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
279
129
  Processing by ReportsController#custom_headers as PDF
280
130
  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
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
+ -----------------------------------------------
295
148
  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
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
300
160
  ------------------------------------------------------------------------------------
301
161
  NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
302
162
  ------------------------------------------------------------------------------------
303
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
163
+ Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
304
164
  Processing by ReportsController#table as PDF
305
165
  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
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
310
170
  -----------------------------------------------------------------------
311
171
  NavigationTest: test_Respects_both_options_on_'prawn-document'_together
312
172
  -----------------------------------------------------------------------
313
- Started GET "/reports/custom.pdf" for 127.0.0.1 at 2020-04-29 20:39:59 -0700
173
+ Started GET "/reports/custom.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
314
174
  Processing by ReportsController#custom as PDF
315
175
  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
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
359
185
  ------------------------------------------------------------
360
186
  NavigationTest: test_Respects_the_'disposition'_option_alone
361
187
  ------------------------------------------------------------
362
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2020-04-29 20:41:13 -0700
188
+ Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
363
189
  Processing by ReportsController#custom_disposition as PDF
364
190
  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
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
409
195
  -----------------------------------------------------------------
410
196
  NavigationTest: test_Sets_file_name_from_'@filename'_when_present
411
197
  -----------------------------------------------------------------
412
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2020-04-29 20:41:14 -0700
198
+ Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
413
199
  Processing by ReportsController#ivar_filename as PDF
414
200
  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
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
449
205
  ------------------------------------------
450
206
  NavigationTest: test_Renders_pdf_to_string
451
207
  ------------------------------------------
452
208
  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
209
+ Rendered reports/sample.pdf.prawn (Duration: 39.5ms | Allocations: 12636)
210
+ TRANSACTION (0.0ms) rollback transaction
211
+ TRANSACTION (0.0ms) begin transaction
498
212
  ----------------------------------------------
499
213
  NavigationTest: test_Renders_sample_pdf_action
500
214
  ----------------------------------------------
501
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
215
+ Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-26 22:02:59 -0700
502
216
  Processing by ReportsController#sample as PDF
503
217
  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
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
538
222
  ----------------------------------------
539
223
  NavigationTest: test_Renders_html_action
540
224
  ----------------------------------------
541
- Started GET "/reports/sample" for 127.0.0.1 at 2021-02-01 23:59:55 -0800
225
+ Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:03:00 -0700
542
226
  Processing by ReportsController#sample as HTML
227
+ Rendering layout layouts/application.html.erb
543
228
  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
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
590
234
  ----------------------------------------------
591
235
  PrawnRailsTest: test_text_can_take_non_strings
592
236
  ----------------------------------------------
593
-  (0.0ms) rollback transaction
594
-  (1.0ms) SELECT sqlite_version(*)
595
-  (0.1ms) SELECT sqlite_version(*)
596
-  (0.1ms) begin transaction
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
597
246
  --------------------------------------------------------------
598
247
  PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
599
248
  --------------------------------------------------------------
600
-  (0.0ms) rollback transaction
601
-  (0.0ms) begin transaction
249
+ TRANSACTION (0.0ms) rollback transaction
250
+ TRANSACTION (0.0ms) begin transaction
602
251
  ----------------------------------------------
603
252
  PrawnRailsTest: test_text_can_take_non_strings
604
253
  ----------------------------------------------
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
254
+ TRANSACTION (0.0ms) rollback transaction
255
+ TRANSACTION (0.0ms) begin transaction
687
256
  -----------------------------------------------------------------
688
257
  NavigationTest: test_Sets_file_name_from_'@filename'_when_present
689
258
  -----------------------------------------------------------------
690
- Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
259
+ Started GET "/reports/ivar_filename.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
691
260
  Processing by ReportsController#ivar_filename as PDF
692
261
  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
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
697
276
  ----------------------------------------------
698
277
  NavigationTest: test_Renders_sample_pdf_action
699
278
  ----------------------------------------------
700
- Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-02-02 00:00:49 -0800
279
+ Started GET "/reports/sample?format=pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
701
280
  Processing by ReportsController#sample as PDF
702
281
  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
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
728
296
  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
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
733
301
  -----------------------------------------------
734
302
  NavigationTest: test_render_to_string_in_mailer
735
303
  -----------------------------------------------
736
304
  Rendering reports/sample.pdf.prawn
737
- Rendered reports/sample.pdf.prawn (Duration: 33.8ms | Allocations: 12735)
305
+ Rendered reports/sample.pdf.prawn (Duration: 11.7ms | Allocations: 12630)
738
306
  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
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
743
318
  --------------------------------------------------------------------
744
319
  NavigationTest: test_Maintains_existing_'Content-Disposition'_header
745
320
  --------------------------------------------------------------------
746
- Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-20 08:47:42 -0700
321
+ Started GET "/reports/custom_headers.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
747
322
  Processing by ReportsController#custom_headers as PDF
748
323
  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
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
753
328
  ------------------------------------------------------------
754
329
  NavigationTest: test_Respects_the_'disposition'_option_alone
755
330
  ------------------------------------------------------------
756
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
331
+ Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
757
332
  Processing by ReportsController#custom_disposition as PDF
758
333
  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
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
763
338
  ----------------------------------------
764
339
  NavigationTest: test_Renders_html_action
765
340
  ----------------------------------------
766
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
341
+ Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
767
342
  Processing by ReportsController#sample as HTML
343
+ Rendering layout layouts/application.html.erb
768
344
  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
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
788
350
  ------------------------------------------------------------------------------------
789
351
  NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
790
352
  ------------------------------------------------------------------------------------
791
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-20 08:47:43 -0700
353
+ Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:41:10 -0700
792
354
  Processing by ReportsController#table as PDF
793
355
  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
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
818
360
  ---------------------------------------------
819
361
  NavigationTest: test_Registers_:pdf_mime_type
820
362
  ---------------------------------------------
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
363
+ TRANSACTION (0.0ms) rollback transaction
364
+  (1.3ms) SELECT sqlite_version(*)
365
+  (0.0ms) SELECT sqlite_version(*)
366
+ TRANSACTION (0.0ms) begin transaction
835
367
  --------------------------------------------------------------
836
368
  PrawnRailsTest: test_matches_.PDF_extension_regardless_of_case
837
369
  --------------------------------------------------------------
838
-  (0.1ms) rollback transaction
839
-  (0.1ms) begin transaction
370
+ TRANSACTION (0.0ms) rollback transaction
371
+ TRANSACTION (0.0ms) begin transaction
840
372
  ----------------------------------------------
841
373
  PrawnRailsTest: test_text_can_take_non_strings
842
374
  ----------------------------------------------
843
-  (0.1ms) rollback transaction
844
-  (0.1ms) begin transaction
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
845
404
  ------------------------------------------------------------------------------------
846
405
  NavigationTest: test_Renders_table_pdf_action_using_auto-required_plugin_Prawn-Table
847
406
  ------------------------------------------------------------------------------------
848
- Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
407
+ Started GET "/reports/table?format=pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
849
408
  Processing by ReportsController#table as PDF
850
409
  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
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
882
414
  ------------------------------------------------------------
883
415
  NavigationTest: test_Respects_the_'disposition'_option_alone
884
416
  ------------------------------------------------------------
885
- Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
417
+ Started GET "/reports/custom_disposition.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
886
418
  Processing by ReportsController#custom_disposition as PDF
887
419
  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
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
892
449
  ----------------------------------------
893
450
  NavigationTest: test_Renders_html_action
894
451
  ----------------------------------------
895
- Started GET "/reports/sample" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
452
+ Started GET "/reports/sample" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
896
453
  Processing by ReportsController#sample as HTML
454
+ Rendering layout layouts/application.html.erb
897
455
  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
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
902
461
  ---------------------------------------------------------
903
462
  NavigationTest: test_Respects_the_'filename'_option_alone
904
463
  ---------------------------------------------------------
905
- Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-20 09:12:56 -0700
464
+ Started GET "/reports/custom_filename.pdf" for 127.0.0.1 at 2021-05-26 22:44:19 -0700
906
465
  Processing by ReportsController#custom_filename as PDF
907
466
  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
- -----------------------------------------------
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
925
481
  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
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