spec/dummy/log/test.log in opay-1.0.9 vs spec/dummy/log/test.log in opay-1.1.0

- old
+ new

@@ -22208,5 +22208,171 @@  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';  (4.0ms) DELETE FROM "opay_payments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';  (1.3ms) DELETE FROM "orders";  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.3ms) DELETE FROM "opay_payments"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (34.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.0ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (54.2ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:30 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:30 UTC +00:00]] +  (2.2ms) commit transaction + Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.1ms) begin transaction + Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'yYPpJKXnSScyDyyyfsbi' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "yYPpJKXnSScyDyyyfsbi"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.4ms) commit transaction +  (1.9ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.8ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.7ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.8ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.1ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'yyagKmz3W8iGJps2bzqA' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "yyagKmz3W8iGJps2bzqA"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.6ms) commit transaction +  (2.2ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.6ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.7ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.6ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'rLGExXsFrpv8UHhsUV1N' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (1.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "rLGExXsFrpv8UHhsUV1N"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.5ms) commit transaction + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'HtkJAQAXfyNSXvqMZZGW' ORDER BY "opay_payments"."id" ASC LIMIT 1 +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "HtkJAQAXfyNSXvqMZZGW"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.2ms) commit transaction +  (1.6ms) DELETE FROM "opay_payments"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.6ms) commit transaction +  (0.1ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zw6uxVzfqnZtnzMvRUXz' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "zw6uxVzfqnZtnzMvRUXz"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.2ms) commit transaction +  (1.3ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.4ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (3.5ms) DELETE FROM "opay_payments"; +  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (4.5ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.4ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.1ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zyAo8kLQ9Kqz3zFPcsYW' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "zyAo8kLQ9Kqz3zFPcsYW"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.7ms) commit transaction + Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zyAo8kLQ9Kqz3zFPcsYW' ORDER BY "opay_payments"."id" ASC LIMIT 1 + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.4ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]] +  (1.9ms) DELETE FROM "opay_payments"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.5ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.0ms) begin transaction + Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '9BJu1xCFkYvxr4pkf4td' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "9BJu1xCFkYvxr4pkf4td"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (2.3ms) commit transaction +  (2.0ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.5ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.5ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (4.5ms) commit transaction + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? ORDER BY "opay_payments"."id" ASC LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]] +  (0.1ms) begin transaction + Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? ORDER BY "orders"."id" ASC LIMIT 1 [["id", 1]] + Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'yFSApcfzDQyn4fmRSK4y' ORDER BY "opay_payments"."id" ASC LIMIT 1 + SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000.0], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "yFSApcfzDQyn4fmRSK4y"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (2.7ms) commit transaction +  (1.8ms) DELETE FROM "opay_payments"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (2.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (2.2ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (2.0ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (2.0ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 18 Jul 2013 09:26:31 UTC +00:00]] +  (1.5ms) commit transaction +  (4.6ms) DELETE FROM "opay_payments"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.4ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.4ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.6ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.7ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders'; +  (1.6ms) DELETE FROM "opay_payments"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments'; +  (1.3ms) DELETE FROM "orders"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';