pdfcraft 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91f24b5fbd6a8fcfdb6128e348963df01ba217fc
4
- data.tar.gz: 04e55b4baaaa731fc886c838ec4a2e67de3b08b1
3
+ metadata.gz: 5541805f6b3c24b3e9c5f7e2332579eb5312a062
4
+ data.tar.gz: 42069eeab96193f6e6d502aac44f4c6ff19e28fc
5
5
  SHA512:
6
- metadata.gz: 2cd6190d15a97ef114e1d8513ca95d0fdf5507a8f6ad3ff4f87ed9c635bc9ae5621bf7b17b7507888a33b1f86eceb05366b61cdda3ebf2d0c791846c5ed003bb
7
- data.tar.gz: bf3552703899282d98513a22a40a0ebe8744f5caf4dd32f8b75beda23c7ccc9da9dc65a39003d8b0d3221f8338c4243f9d2bb935132d43706799bd33f37a4bd5
6
+ metadata.gz: 4c3c780474c1045e931e9c8b16ebdea93352ee5ed99da35ab2f11e8063c309a3082fd852a58fb4d619b7b64f806838640a9786bbb4ce8af86212182c367a7fed
7
+ data.tar.gz: d056b75b684cb8350483cce126be6433c683f8912069cb740d7e92e88c632ef344b679d297d48e7ed404acfa72998aec188eaaa5d6d70e43585c9b8db258e9cb
@@ -1,3 +1,3 @@
1
1
  module Pdfcraft
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -13,8 +13,8 @@ Dummy::Application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = "public, max-age=3600"
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
@@ -1070,3 +1070,394 @@ Processing by HomeController#renamed_var as PDF
1070
1070
  Rendered text template (0.0ms)
1071
1071
  Sent data contents.pdf (0.2ms)
1072
1072
  Completed 200 OK in 3ms (Views: 2.8ms)
1073
+ ------------------------
1074
+ PdfcraftTest: test_truth
1075
+ ------------------------
1076
+ ----------------------------------------------------------------
1077
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
1078
+ ----------------------------------------------------------------
1079
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1080
+ Processing by HomeController#renamed_var as PDF
1081
+ Rendered home/renamed_var.pdf.pdfcraft (42.4ms)
1082
+ Rendered text template (0.0ms)
1083
+ Sent data contents.pdf (3.3ms)
1084
+ Completed 200 OK in 56ms (Views: 55.4ms)
1085
+ ---------------------------------------------------------------
1086
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
1087
+ ---------------------------------------------------------------
1088
+ Started GET "/another.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1089
+ Processing by HomeController#another as PDF
1090
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.5ms)
1091
+ Rendered text template (0.0ms)
1092
+ Sent data contents.pdf (0.2ms)
1093
+ Completed 200 OK in 6ms (Views: 5.7ms)
1094
+ ----------------------------------------------------
1095
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
1096
+ ----------------------------------------------------
1097
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1098
+ Processing by HomeController#pdf_layout as PDF
1099
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.5ms)
1100
+ Rendered text template (0.0ms)
1101
+ Sent data contents.pdf (0.2ms)
1102
+ Completed 200 OK in 4ms (Views: 4.0ms)
1103
+ -----------------------------------------------------
1104
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
1105
+ -----------------------------------------------------
1106
+ Started GET "/partials.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1107
+ Processing by HomeController#partials as PDF
1108
+ Rendered home/_the_partial.pdf.pdfcraft (1.4ms)
1109
+ Rendered home/partials.pdf.pdfcraft within layouts/application (6.6ms)
1110
+ Rendered text template (0.0ms)
1111
+ Sent data contents.pdf (0.2ms)
1112
+ Completed 200 OK in 9ms (Views: 9.1ms)
1113
+ ----------------------------------------------------------------------
1114
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
1115
+ ----------------------------------------------------------------------
1116
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1117
+ Processing by HomeController#pdf_layout as PDF
1118
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.5ms)
1119
+ Rendered text template (0.0ms)
1120
+ Sent data contents.pdf (0.2ms)
1121
+ Completed 200 OK in 4ms (Views: 3.8ms)
1122
+ --------------------------------------------------------
1123
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
1124
+ --------------------------------------------------------
1125
+ Started GET "/home.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1126
+ Processing by HomeController#index as PDF
1127
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.5ms)
1128
+ Rendered text template (0.0ms)
1129
+ Sent data contents.pdf (0.8ms)
1130
+ Completed 200 OK in 5ms (Views: 4.6ms)
1131
+ -------------------------------------------------------
1132
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
1133
+ -------------------------------------------------------
1134
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2016-05-27 14:46:09 -0400
1135
+ Processing by HomeController#helpers as PDF
1136
+ Rendered home/helpers.pdf.pdfcraft within layouts/application (1.5ms)
1137
+ Rendered text template (0.0ms)
1138
+ Sent data contents.pdf (0.2ms)
1139
+ Completed 200 OK in 4ms (Views: 4.2ms)
1140
+ ------------------------
1141
+ PdfcraftTest: test_truth
1142
+ ------------------------
1143
+ -------------------------------------------------------
1144
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
1145
+ -------------------------------------------------------
1146
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1147
+ Processing by HomeController#helpers as PDF
1148
+ Rendering home/helpers.pdf.pdfcraft within layouts/application
1149
+ Rendered home/helpers.pdf.pdfcraft within layouts/application (31.0ms)
1150
+ Rendering text template
1151
+ Rendered text template (0.0ms)
1152
+ Sent data contents.pdf (1.4ms)
1153
+ Completed 200 OK in 42ms (Views: 41.7ms)
1154
+ ----------------------------------------------------
1155
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
1156
+ ----------------------------------------------------
1157
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1158
+ Processing by HomeController#pdf_layout as PDF
1159
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1160
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (2.3ms)
1161
+ Rendering text template
1162
+ Rendered text template (0.0ms)
1163
+ Sent data contents.pdf (0.3ms)
1164
+ Completed 200 OK in 8ms (Views: 7.8ms)
1165
+ -----------------------------------------------------
1166
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
1167
+ -----------------------------------------------------
1168
+ Started GET "/partials.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1169
+ Processing by HomeController#partials as PDF
1170
+ Rendering home/partials.pdf.pdfcraft within layouts/application
1171
+ Rendered home/_the_partial.pdf.pdfcraft (1.4ms)
1172
+ Rendered home/partials.pdf.pdfcraft within layouts/application (4.6ms)
1173
+ Rendering text template
1174
+ Rendered text template (0.0ms)
1175
+ Sent data contents.pdf (0.4ms)
1176
+ Completed 200 OK in 16ms (Views: 15.6ms)
1177
+ --------------------------------------------------------
1178
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
1179
+ --------------------------------------------------------
1180
+ Started GET "/home.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1181
+ Processing by HomeController#index as PDF
1182
+ Rendering home/index.pdf.pdfcraft within layouts/application
1183
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.6ms)
1184
+ Rendering text template
1185
+ Rendered text template (0.0ms)
1186
+ Sent data contents.pdf (0.3ms)
1187
+ Completed 200 OK in 7ms (Views: 7.3ms)
1188
+ ---------------------------------------------------------------
1189
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
1190
+ ---------------------------------------------------------------
1191
+ Started GET "/another.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1192
+ Processing by HomeController#another as PDF
1193
+ Rendering home/index.pdf.pdfcraft within layouts/application
1194
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
1195
+ Rendering text template
1196
+ Rendered text template (0.0ms)
1197
+ Sent data contents.pdf (0.3ms)
1198
+ Completed 200 OK in 11ms (Views: 10.6ms)
1199
+ ----------------------------------------------------------------------
1200
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
1201
+ ----------------------------------------------------------------------
1202
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1203
+ Processing by HomeController#pdf_layout as PDF
1204
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1205
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.5ms)
1206
+ Rendering text template
1207
+ Rendered text template (0.0ms)
1208
+ Sent data contents.pdf (0.3ms)
1209
+ Completed 200 OK in 7ms (Views: 6.5ms)
1210
+ ----------------------------------------------------------------
1211
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
1212
+ ----------------------------------------------------------------
1213
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2016-06-03 22:44:04 -0400
1214
+ Processing by HomeController#renamed_var as PDF
1215
+ Rendering home/renamed_var.pdf.pdfcraft
1216
+ Rendered home/renamed_var.pdf.pdfcraft (2.4ms)
1217
+ Rendering text template
1218
+ Rendered text template (0.0ms)
1219
+ Sent data contents.pdf (0.3ms)
1220
+ Completed 200 OK in 5ms (Views: 4.5ms)
1221
+ ----------------------------------------------------------------
1222
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
1223
+ ----------------------------------------------------------------
1224
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2016-06-03 22:47:07 -0400
1225
+ Processing by HomeController#renamed_var as PDF
1226
+ Rendering home/renamed_var.pdf.pdfcraft
1227
+ Rendered home/renamed_var.pdf.pdfcraft (25.8ms)
1228
+ Rendering text template
1229
+ Rendered text template (0.0ms)
1230
+ Sent data contents.pdf (1.1ms)
1231
+ Completed 200 OK in 30ms (Views: 30.2ms)
1232
+ ------------------------
1233
+ PdfcraftTest: test_truth
1234
+ ------------------------
1235
+ ----------------------------------------------------------------------
1236
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
1237
+ ----------------------------------------------------------------------
1238
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-03 22:47:07 -0400
1239
+ Processing by HomeController#pdf_layout as PDF
1240
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1241
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.8ms)
1242
+ Rendering text template
1243
+ Rendered text template (0.0ms)
1244
+ Sent data contents.pdf (0.3ms)
1245
+ Completed 200 OK in 7ms (Views: 6.7ms)
1246
+ -----------------------------------------------------
1247
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
1248
+ -----------------------------------------------------
1249
+ Started GET "/partials.pdf" for 127.0.0.1 at 2016-06-03 22:47:07 -0400
1250
+ Processing by HomeController#partials as PDF
1251
+ Rendering home/partials.pdf.pdfcraft within layouts/application
1252
+ Rendered home/_the_partial.pdf.pdfcraft (1.3ms)
1253
+ Rendered home/partials.pdf.pdfcraft within layouts/application (3.9ms)
1254
+ Rendering text template
1255
+ Rendered text template (0.0ms)
1256
+ Sent data contents.pdf (0.3ms)
1257
+ Completed 200 OK in 9ms (Views: 8.6ms)
1258
+ ---------------------------------------------------------------
1259
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
1260
+ ---------------------------------------------------------------
1261
+ Started GET "/another.pdf" for 127.0.0.1 at 2016-06-03 22:47:07 -0400
1262
+ Processing by HomeController#another as PDF
1263
+ Rendering home/index.pdf.pdfcraft within layouts/application
1264
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
1265
+ Rendering text template
1266
+ Rendered text template (0.0ms)
1267
+ Sent data contents.pdf (0.3ms)
1268
+ Completed 200 OK in 7ms (Views: 7.1ms)
1269
+ -------------------------------------------------------
1270
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
1271
+ -------------------------------------------------------
1272
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2016-06-03 22:47:07 -0400
1273
+ Processing by HomeController#helpers as PDF
1274
+ Rendering home/helpers.pdf.pdfcraft within layouts/application
1275
+ Rendered home/helpers.pdf.pdfcraft within layouts/application (3.4ms)
1276
+ Rendering text template
1277
+ Rendered text template (0.0ms)
1278
+ Sent data contents.pdf (0.3ms)
1279
+ Completed 200 OK in 10ms (Views: 9.4ms)
1280
+ ----------------------------------------------------
1281
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
1282
+ ----------------------------------------------------
1283
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-03 22:47:08 -0400
1284
+ Processing by HomeController#pdf_layout as PDF
1285
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1286
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.6ms)
1287
+ Rendering text template
1288
+ Rendered text template (0.0ms)
1289
+ Sent data contents.pdf (0.3ms)
1290
+ Completed 200 OK in 7ms (Views: 6.8ms)
1291
+ --------------------------------------------------------
1292
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
1293
+ --------------------------------------------------------
1294
+ Started GET "/home.pdf" for 127.0.0.1 at 2016-06-03 22:47:08 -0400
1295
+ Processing by HomeController#index as PDF
1296
+ Rendering home/index.pdf.pdfcraft within layouts/application
1297
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.8ms)
1298
+ Rendering text template
1299
+ Rendered text template (0.0ms)
1300
+ Sent data contents.pdf (0.3ms)
1301
+ Completed 200 OK in 7ms (Views: 6.6ms)
1302
+ --------------------------------------------------------
1303
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
1304
+ --------------------------------------------------------
1305
+ Started GET "/home.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1306
+ Processing by HomeController#index as PDF
1307
+ Rendering home/index.pdf.pdfcraft within layouts/application
1308
+ Rendered home/index.pdf.pdfcraft within layouts/application (30.9ms)
1309
+ Rendering text template
1310
+ Rendered text template (0.0ms)
1311
+ Sent data contents.pdf (1.2ms)
1312
+ Completed 200 OK in 41ms (Views: 40.9ms)
1313
+ ----------------------------------------------------
1314
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
1315
+ ----------------------------------------------------
1316
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1317
+ Processing by HomeController#pdf_layout as PDF
1318
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1319
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.7ms)
1320
+ Rendering text template
1321
+ Rendered text template (0.0ms)
1322
+ Sent data contents.pdf (0.3ms)
1323
+ Completed 200 OK in 7ms (Views: 7.1ms)
1324
+ -------------------------------------------------------
1325
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
1326
+ -------------------------------------------------------
1327
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1328
+ Processing by HomeController#helpers as PDF
1329
+ Rendering home/helpers.pdf.pdfcraft within layouts/application
1330
+ Rendered home/helpers.pdf.pdfcraft within layouts/application (1.4ms)
1331
+ Rendering text template
1332
+ Rendered text template (0.0ms)
1333
+ Sent data contents.pdf (0.5ms)
1334
+ Completed 200 OK in 7ms (Views: 6.8ms)
1335
+ -----------------------------------------------------
1336
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
1337
+ -----------------------------------------------------
1338
+ Started GET "/partials.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1339
+ Processing by HomeController#partials as PDF
1340
+ Rendering home/partials.pdf.pdfcraft within layouts/application
1341
+ Rendered home/_the_partial.pdf.pdfcraft (1.4ms)
1342
+ Rendered home/partials.pdf.pdfcraft within layouts/application (4.7ms)
1343
+ Rendering text template
1344
+ Rendered text template (0.0ms)
1345
+ Sent data contents.pdf (0.3ms)
1346
+ Completed 200 OK in 10ms (Views: 9.8ms)
1347
+ ---------------------------------------------------------------
1348
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
1349
+ ---------------------------------------------------------------
1350
+ Started GET "/another.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1351
+ Processing by HomeController#another as PDF
1352
+ Rendering home/index.pdf.pdfcraft within layouts/application
1353
+ Rendered home/index.pdf.pdfcraft within layouts/application (2.3ms)
1354
+ Rendering text template
1355
+ Rendered text template (0.0ms)
1356
+ Sent data contents.pdf (0.3ms)
1357
+ Completed 200 OK in 8ms (Views: 7.5ms)
1358
+ ----------------------------------------------------------------------
1359
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
1360
+ ----------------------------------------------------------------------
1361
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1362
+ Processing by HomeController#pdf_layout as PDF
1363
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1364
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.6ms)
1365
+ Rendering text template
1366
+ Rendered text template (0.0ms)
1367
+ Sent data contents.pdf (0.4ms)
1368
+ Completed 200 OK in 8ms (Views: 7.6ms)
1369
+ ----------------------------------------------------------------
1370
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
1371
+ ----------------------------------------------------------------
1372
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2016-06-04 07:42:11 -0400
1373
+ Processing by HomeController#renamed_var as PDF
1374
+ Rendering home/renamed_var.pdf.pdfcraft
1375
+ Rendered home/renamed_var.pdf.pdfcraft (1.8ms)
1376
+ Rendering text template
1377
+ Rendered text template (0.0ms)
1378
+ Sent data contents.pdf (0.3ms)
1379
+ Completed 200 OK in 4ms (Views: 3.9ms)
1380
+ ------------------------
1381
+ PdfcraftTest: test_truth
1382
+ ------------------------
1383
+ ----------------------------------------------------------------
1384
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
1385
+ ----------------------------------------------------------------
1386
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1387
+ Processing by HomeController#renamed_var as PDF
1388
+ Rendering home/renamed_var.pdf.pdfcraft
1389
+ Rendered home/renamed_var.pdf.pdfcraft (30.2ms)
1390
+ Rendering text template
1391
+ Rendered text template (0.0ms)
1392
+ Sent data contents.pdf (0.9ms)
1393
+ Completed 200 OK in 35ms (Views: 34.5ms)
1394
+ --------------------------------------------------------
1395
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
1396
+ --------------------------------------------------------
1397
+ Started GET "/home.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1398
+ Processing by HomeController#index as PDF
1399
+ Rendering home/index.pdf.pdfcraft within layouts/application
1400
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms)
1401
+ Rendering text template
1402
+ Rendered text template (0.0ms)
1403
+ Sent data contents.pdf (0.3ms)
1404
+ Completed 200 OK in 7ms (Views: 6.9ms)
1405
+ -------------------------------------------------------
1406
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
1407
+ -------------------------------------------------------
1408
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1409
+ Processing by HomeController#helpers as PDF
1410
+ Rendering home/helpers.pdf.pdfcraft within layouts/application
1411
+ Rendered home/helpers.pdf.pdfcraft within layouts/application (1.5ms)
1412
+ Rendering text template
1413
+ Rendered text template (0.0ms)
1414
+ Sent data contents.pdf (0.3ms)
1415
+ Completed 200 OK in 7ms (Views: 6.6ms)
1416
+ ----------------------------------------------------------------------
1417
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
1418
+ ----------------------------------------------------------------------
1419
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1420
+ Processing by HomeController#pdf_layout as PDF
1421
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1422
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.8ms)
1423
+ Rendering text template
1424
+ Rendered text template (0.0ms)
1425
+ Sent data contents.pdf (0.3ms)
1426
+ Completed 200 OK in 7ms (Views: 7.2ms)
1427
+ ----------------------------------------------------
1428
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
1429
+ ----------------------------------------------------
1430
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1431
+ Processing by HomeController#pdf_layout as PDF
1432
+ Rendering home/pdf_layout.pdf.pdfcraft within layouts/application
1433
+ Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.7ms)
1434
+ Rendering text template
1435
+ Rendered text template (0.1ms)
1436
+ Sent data contents.pdf (1.1ms)
1437
+ Completed 200 OK in 8ms (Views: 7.6ms)
1438
+ -----------------------------------------------------
1439
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
1440
+ -----------------------------------------------------
1441
+ Started GET "/partials.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1442
+ Processing by HomeController#partials as PDF
1443
+ Rendering home/partials.pdf.pdfcraft within layouts/application
1444
+ Rendered home/_the_partial.pdf.pdfcraft (1.2ms)
1445
+ Rendered home/partials.pdf.pdfcraft within layouts/application (3.8ms)
1446
+ Rendering text template
1447
+ Rendered text template (0.0ms)
1448
+ Sent data contents.pdf (0.3ms)
1449
+ Completed 200 OK in 9ms (Views: 8.5ms)
1450
+ ---------------------------------------------------------------
1451
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
1452
+ ---------------------------------------------------------------
1453
+ Started GET "/another.pdf" for 127.0.0.1 at 2016-06-04 07:44:59 -0400
1454
+ Processing by HomeController#another as PDF
1455
+ Rendering home/index.pdf.pdfcraft within layouts/application
1456
+ Rendered home/index.pdf.pdfcraft within layouts/application (1.5ms)
1457
+ Rendering text template
1458
+ Rendered text template (0.0ms)
1459
+ Sent data contents.pdf (0.3ms)
1460
+ Completed 200 OK in 6ms (Views: 6.1ms)
1461
+ ------------------------
1462
+ PdfcraftTest: test_truth
1463
+ ------------------------
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfcraft
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan L. Bell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-27 00:00:00.000000000 Z
11
+ date: 2016-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.0.rc1
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '4.0'
22
+ version: '5.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 5.0.0.rc1
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '4.0'
32
+ version: '5.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: prawn
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -179,3 +185,4 @@ test_files:
179
185
  - test/integration/pdf_rendering_test.rb
180
186
  - test/pdfcraft_test.rb
181
187
  - test/test_helper.rb
188
+ has_rdoc: