witch_doctor 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/witch_doctor/antivirus_concern.rb +2 -2
- data/lib/witch_doctor/version.rb +1 -1
- data/spec/dummy/log/development.log +2 -0
- data/spec/dummy/log/test.log +622 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6079a878bbb06c4752daeddf1651c6a756ea6deb
|
|
4
|
+
data.tar.gz: 2cabaccfb3ce1e8028f8879e045a78d102643299
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcc75c462abc0943796f8a79c926fbee6ca9ed5afe7e611b8887d7374c938f8904ab8ff041cb824118060568d635a85845983c5e4f9a7d9b7f1dddfd11e3868e
|
|
7
|
+
data.tar.gz: ff254adb6f2c6d1911c4f2cc433474a79a163aa7ba8a4e835dc4d660573038cc49c7f893a01d6b4ab059c5ee4a850faa48a760890d2de39a02cc1ea9c0894f4f
|
|
@@ -14,8 +14,8 @@ module WitchDoctor
|
|
|
14
14
|
def schedule_virus_scan(options)
|
|
15
15
|
mount_point = options.fetch(:on)
|
|
16
16
|
|
|
17
|
-
after_save "schedule_#{mount_point}_virus_scan", if: ["schedule_#{mount_point}_virus_scan?", :virus_scan_scheduling_on?]
|
|
18
|
-
after_destroy "unschedule_#{mount_point}_virus_scan"
|
|
17
|
+
after_save :"schedule_#{mount_point}_virus_scan", if: ["schedule_#{mount_point}_virus_scan?", :virus_scan_scheduling_on?]
|
|
18
|
+
after_destroy :"unschedule_#{mount_point}_virus_scan"
|
|
19
19
|
|
|
20
20
|
define_method("unschedule_#{mount_point}_virus_scan") do
|
|
21
21
|
virus_scans.where(mount_point: mount_point.to_s).each {|vs| vs.destroy}
|
data/lib/witch_doctor/version.rb
CHANGED
|
@@ -12,3 +12,5 @@ Migrating to CreateWitchDoctorVirusScans (20150209121818)
|
|
|
12
12
|
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150209121818"]]
|
|
13
13
|
[1m[36m (23.7ms)[0m [1mcommit transaction[0m
|
|
14
14
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
15
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
16
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
data/spec/dummy/log/test.log
CHANGED
|
@@ -2486,3 +2486,625 @@ Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
|
|
2486
2486
|
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2487
2487
|
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2488
2488
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
2489
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
2490
|
+
Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
|
2491
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2492
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2493
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2494
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2495
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2496
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2497
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2499
|
+
Unpermitted parameters: resource_type, resource_id, mount_point, scanned_at
|
|
2500
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2501
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2502
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2503
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2504
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2505
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2506
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2507
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2508
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2509
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2510
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2511
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2512
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2513
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2514
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2516
|
+
[1m[35m (0.5ms)[0m DELETE FROM "documents";
|
|
2517
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2518
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2519
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2520
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2521
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2522
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2524
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2525
|
+
[1m[36mSQL (7.8ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00]]
|
|
2526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2527
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2528
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00]]
|
|
2529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2531
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00]]
|
|
2532
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2533
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2534
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:16 UTC +00:00]]
|
|
2535
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2536
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
|
2537
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2538
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2539
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2540
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2541
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2542
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2543
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2544
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2545
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2547
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2552
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2553
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2555
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2556
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2557
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2558
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
|
2559
|
+
Parameters: {"token"=>999}
|
|
2560
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2561
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2562
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2563
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2564
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2565
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2566
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2567
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2568
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2569
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2570
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2571
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2573
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2574
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2575
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2576
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2579
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2580
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2582
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2583
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2584
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2585
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2586
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2587
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
|
2588
|
+
Parameters: {"token"=>"1234"}
|
|
2589
|
+
[1m[35mWitchDoctor::VirusScan Load (0.2ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL LIMIT 10
|
|
2590
|
+
[1m[36mDocument Load (0.2ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2591
|
+
[1m[35mDocument Load (0.0ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 3]]
|
|
2592
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
|
2593
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
|
2594
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2595
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
|
2596
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
|
2597
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2598
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
|
2599
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
2600
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2601
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2602
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2603
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2605
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2608
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2609
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2610
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2611
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2612
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2613
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2614
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2616
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2617
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2618
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2619
|
+
Processing by WitchDoctor::VirusScansController#index as JSON
|
|
2620
|
+
[1m[36mWitchDoctor::VirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL LIMIT 10[0m
|
|
2621
|
+
[1m[35mDocument Load (0.0ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
|
2622
|
+
[1m[36mDocument Load (0.0ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 3]]
|
|
2623
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
|
2624
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2625
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2626
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2627
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2628
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2629
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2630
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2631
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2633
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2634
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2635
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2636
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2637
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2638
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2639
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2640
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2641
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2643
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2644
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2645
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2646
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2648
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2650
|
+
Processing by WitchDoctor::VirusScansController#index as HTML
|
|
2651
|
+
Parameters: {"token"=>"1234"}
|
|
2652
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2653
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2654
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2655
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2656
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2657
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2658
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2659
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2661
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2662
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2663
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2664
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2665
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2666
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2674
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2675
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2677
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 3], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2679
|
+
Processing by WitchDoctor::VirusScansController#index as HTML
|
|
2680
|
+
Parameters: {"token"=>"1234"}
|
|
2681
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2682
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2683
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2684
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2685
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2686
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2687
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2688
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2689
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2690
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2691
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2692
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2693
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2694
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2695
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2696
|
+
[1m[35mVirusScan Load (0.4ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
|
2697
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
|
2698
|
+
Parameters: {"id"=>"1"}
|
|
2699
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2700
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2701
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2702
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2703
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2704
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2705
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2706
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2709
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2710
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2711
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2713
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2715
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
|
2716
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
|
2717
|
+
Parameters: {"token"=>"999", "id"=>"1"}
|
|
2718
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2719
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2720
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2721
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2722
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2723
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2724
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2725
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2726
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2728
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2729
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2730
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2731
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2732
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2733
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2734
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
|
2735
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
|
2736
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Clean"}, "id"=>"1"}
|
|
2737
|
+
[1m[36mWitchDoctor::VirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1[0m [["id", "1"]]
|
|
2738
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2739
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "virus_scans" SET "scan_result" = ?, "updated_at" = ?, "scanned_at" = ? WHERE "virus_scans"."id" = 1[0m [["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["scanned_at", Fri, 30 Dec 2016 00:00:00 UTC +00:00]]
|
|
2740
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2741
|
+
[1m[36mWitchDoctor::VirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2742
|
+
[1m[35mDocument Load (0.0ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
|
2743
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
2744
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2745
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2746
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2747
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2748
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2749
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2750
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2751
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2753
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2754
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2755
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2756
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2757
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2759
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
|
2760
|
+
Processing by WitchDoctor::VirusScansController#update as HTML
|
|
2761
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Clean"}, "id"=>"1"}
|
|
2762
|
+
Completed 406 Not Acceptable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2763
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2764
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2765
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2766
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2767
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2768
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2769
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2771
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2772
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2773
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2774
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2775
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2776
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2777
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2778
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
|
2779
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
|
2780
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{}, "id"=>"1"}
|
|
2781
|
+
[1m[36mWitchDoctor::VirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1[0m [["id", "1"]]
|
|
2782
|
+
Completed 406 Not Acceptable in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
|
2783
|
+
[1m[35mVirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1 [["id", 1]]
|
|
2784
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "documents";[0m
|
|
2785
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2786
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
|
2787
|
+
[1m[35m (0.1ms)[0m DELETE FROM "virus_scans";
|
|
2788
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2789
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
|
2790
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2791
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2793
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2794
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2795
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2796
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2797
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2798
|
+
[1m[36mVirusScan Load (0.0ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2799
|
+
Processing by WitchDoctor::VirusScansController#update as JSON
|
|
2800
|
+
Parameters: {"token"=>"1234", "virus_scan"=>{"scan_result"=>"Wazaaap"}, "id"=>"1"}
|
|
2801
|
+
[1m[35mWitchDoctor::VirusScan Load (0.0ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL AND "virus_scans"."id" = ? LIMIT 1 [["id", "1"]]
|
|
2802
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2803
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2804
|
+
Completed 400 Bad Request in 6ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
|
2805
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2806
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2807
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2808
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2809
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2810
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2811
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2812
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2814
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2815
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2816
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2817
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2818
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2819
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2821
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2822
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2823
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2824
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2825
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2826
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2827
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2828
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2830
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2831
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2832
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2833
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2834
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2835
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2838
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2839
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2840
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2841
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2842
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2843
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2844
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2845
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2846
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2847
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2848
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2849
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2850
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2851
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2852
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2855
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2856
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2857
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2859
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "scan_result", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2860
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2862
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2863
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2865
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2866
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 2], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2868
|
+
[1m[35mVirusScan Load (0.1ms)[0m SELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL
|
|
2869
|
+
[1m[36mVirusScan Load (0.2ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."scan_result" IS NULL[0m
|
|
2870
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2871
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2872
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2873
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2874
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2875
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2876
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2878
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2879
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2880
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2881
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2882
|
+
[1m[35m (0.1ms)[0m DELETE FROM "documents";
|
|
2883
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2884
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2885
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2886
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2887
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2888
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2890
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2891
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2892
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2894
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "virus_scans"
|
|
2895
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2896
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 1]]
|
|
2897
|
+
[1m[36mVirusScan Load (0.1ms)[0m [1mSELECT "virus_scans".* FROM "virus_scans" WHERE "virus_scans"."resource_id" = ? AND "virus_scans"."resource_type" = ? AND "virus_scans"."mount_point" = 'attachment'[0m [["resource_id", 1], ["resource_type", "Document"]]
|
|
2898
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "virus_scans" WHERE "virus_scans"."id" = ? [["id", 1]]
|
|
2899
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2900
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "virus_scans"
|
|
2901
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "documents";[0m
|
|
2902
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2903
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
|
2904
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
|
2905
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2906
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
|
2907
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2910
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2911
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2913
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2914
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2916
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2917
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "virus_scans" SET "scan_result" = ?, "updated_at" = ?, "scanned_at" = ? WHERE "virus_scans"."id" = 2[0m [["scan_result", "Clean"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["scanned_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2918
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2919
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "documents";[0m
|
|
2920
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2921
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'documents';[0m
|
|
2922
|
+
[1m[35m (0.0ms)[0m DELETE FROM "virus_scans";
|
|
2923
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2924
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'virus_scans';
|
|
2925
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2926
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2927
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2928
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("attachment", "created_at", "updated_at") VALUES (?, ?, ?) [["attachment", "blank_pdf.pdf"], ["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2929
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2930
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2931
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2932
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "virus_scans" ("created_at", "mount_point", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00], ["mount_point", "attachment"], ["resource_id", 1], ["resource_type", "Document"], ["updated_at", Fri, 30 Dec 2016 12:19:17 UTC +00:00]]
|
|
2933
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2934
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2935
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2936
|
+
[1m[35m (0.0ms)[0m DELETE FROM "documents";
|
|
2937
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2938
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2939
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2940
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2941
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2944
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
2945
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2946
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2947
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2948
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2949
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2952
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2953
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2954
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2955
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2956
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2957
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2958
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2960
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2961
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2962
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2963
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2964
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2965
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2966
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2968
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2969
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2970
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2971
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2972
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2973
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2974
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2976
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2977
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2978
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2979
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2980
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2981
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2982
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2984
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2985
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2986
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2987
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2988
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2989
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2992
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
2993
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
2994
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
2995
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
2996
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
2997
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
2998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3000
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3001
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3002
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3003
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3004
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3005
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3008
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3009
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3010
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3011
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3012
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3013
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3014
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3016
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3017
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3018
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3019
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3020
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3021
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3022
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3024
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3025
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3026
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3027
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3028
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3029
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3032
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3033
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3034
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3035
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3036
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3037
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3040
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3041
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3042
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3043
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3044
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3045
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3046
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3048
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3049
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3050
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3051
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3052
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3053
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3054
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3056
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3057
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3058
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3059
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3060
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3061
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3064
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
3065
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3066
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3067
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3068
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3069
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3072
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
3073
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3074
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3075
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3076
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3077
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3078
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3080
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3081
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3082
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3083
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3084
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3085
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3088
|
+
[1m[35m (0.3ms)[0m DELETE FROM "documents";
|
|
3089
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3090
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3091
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3092
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3093
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3094
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3096
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3097
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3098
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3099
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3100
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3101
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3104
|
+
[1m[35m (0.2ms)[0m DELETE FROM "documents";
|
|
3105
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
|
3106
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'documents';
|
|
3107
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "virus_scans";[0m
|
|
3108
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
3109
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'virus_scans';[0m
|
|
3110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: witch_doctor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomas Valent
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
204
204
|
version: '0'
|
|
205
205
|
requirements: []
|
|
206
206
|
rubyforge_project:
|
|
207
|
-
rubygems_version: 2.
|
|
207
|
+
rubygems_version: 2.6.7
|
|
208
208
|
signing_key:
|
|
209
209
|
specification_version: 4
|
|
210
210
|
summary: Rails engine for virus scaning
|