action_smser 1.2.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -1
- data/app/views/action_smser/delivery_reports/index.html.erb +10 -3
- data/lib/action_smser/base.rb +5 -3
- data/lib/action_smser/delivery_methods/simple_http.rb +0 -1
- data/lib/action_smser/version.rb +1 -1
- data/test/dummy/log/development.log +205 -0
- data/test/dummy/log/test.log +2220 -0
- data/test/unit/action_smser/base_test.rb +3 -0
- metadata +78 -86
data/test/dummy/log/test.log
CHANGED
@@ -56595,3 +56595,2223 @@ Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for
|
|
56595
56595
|
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56596
56596
|
Parameters: {"gateway"=>"example_gateway"}
|
56597
56597
|
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
56598
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
56599
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
56600
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
56601
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
56602
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
56603
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
56604
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
56605
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
56606
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
56607
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
56608
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
56609
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56610
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
56611
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56612
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56613
|
+
ActionSmser: Delivering sms by delayed_job
|
56614
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56615
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56616
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56617
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56618
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56619
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56620
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56621
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56622
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56623
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "updated_at" = '2012-09-27 08:03:17.335952', "gateway" = 'some_delivery' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
56624
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56625
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56626
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2012-09-27 08:03:17", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2012-09-27 11:03:17: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2012-09-27 08:03:17", updated_at: "2012-09-27 08:03:17">
|
56627
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56628
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "updated_at" = '2012-09-27 08:03:17.338080', "re_delivered" = 't' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
56629
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56630
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56631
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
56632
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56633
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56634
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "test_array_id_9110687"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56635
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56636
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
56637
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
56638
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
56639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56640
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56642
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56644
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-09-27 11:03:17: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56647
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "log" = '2012-09-27 11:03:17: LOCAL_TEST
|
56648
|
+
2012-09-27 11:03:17: TEST_2
|
56649
|
+
', "updated_at" = '2012-09-27 08:03:17.356490', "status_updated_at" = '2012-09-27 08:03:17.356206', "status" = 'TEST_2' WHERE "action_smser_delivery_reports"."id" = 1
|
56650
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56652
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-09-27 11:03:17: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56654
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56655
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "gateway"=>"test_gateway"}
|
56656
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
56657
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
56658
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56659
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "log" = '2012-09-27 11:03:17: ORIGINAL_STATUS
|
56660
|
+
2012-09-27 11:03:17: DELIVERED
|
56661
|
+
', "updated_at" = '2012-09-27 08:03:17.366432', "status_updated_at" = '2012-09-27 08:03:17.365990', "status" = 'DELIVERED' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
56662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56663
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
56664
|
+
Rendered text template (0.0ms)
|
56665
|
+
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms)
|
56666
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56668
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-09-27 11:03:17: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-09-27 11:03:17: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56673
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56674
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "gateway"=>"test_gateway"}
|
56675
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
56676
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
56677
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56678
|
+
[1m[35m (0.0ms)[0m UPDATE "action_smser_delivery_reports" SET "log" = '2012-09-27 11:03:17: ORIGINAL_STATUS
|
56679
|
+
2012-09-27 11:03:17: DELIVERED
|
56680
|
+
', "updated_at" = '2012-09-27 08:03:17.379664', "status_updated_at" = '2012-09-27 08:03:17.379318', "status" = 'DELIVERED' WHERE "action_smser_delivery_reports"."id" = 1
|
56681
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56682
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
56683
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
56684
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56685
|
+
[1m[35m (0.0ms)[0m UPDATE "action_smser_delivery_reports" SET "log" = '2012-09-27 11:03:17: ORIGINAL_STATUS
|
56686
|
+
2012-09-27 11:03:17: DELIVERED
|
56687
|
+
', "updated_at" = '2012-09-27 08:03:17.381117', "status_updated_at" = '2012-09-27 08:03:17.380828', "status" = 'DELIVERED' WHERE "action_smser_delivery_reports"."id" = 2
|
56688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56689
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
56690
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
56691
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
56692
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
56693
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56694
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "gateway"=>"gateway_not_found"}
|
56695
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
56696
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56697
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "gateway"=>"test_gateway"}
|
56698
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
56699
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
56700
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
56701
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
56702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56703
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56705
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56706
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_5"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56707
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56708
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
56709
|
+
Parameters: {"use_route"=>"action_smser"}
|
56710
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.394552' AND '2012-09-27 07:53:17.394714')[0m
|
56711
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.394552' AND '2012-09-27 07:53:17.394714') GROUP BY gateway
|
56712
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.394552' AND '2012-09-27 07:53:17.394714')[0m
|
56713
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.394552' AND '2012-09-27 07:53:17.394714') GROUP BY status
|
56714
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.394552' AND '2012-09-27 07:53:17.394714')[0m
|
56715
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.394552' AND '2012-09-27 07:53:17.394714') GROUP BY sms_type
|
56716
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.3ms)
|
56717
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56718
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56719
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56720
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56721
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56722
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56723
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
56724
|
+
Parameters: {"use_route"=>"action_smser"}
|
56725
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.406647' AND '2012-09-27 07:53:17.406797')[0m
|
56726
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.406647' AND '2012-09-27 07:53:17.406797') GROUP BY gateway
|
56727
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.406647' AND '2012-09-27 07:53:17.406797')[0m
|
56728
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.406647' AND '2012-09-27 07:53:17.406797') GROUP BY status
|
56729
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.406647' AND '2012-09-27 07:53:17.406797')[0m
|
56730
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2012-09-20 08:03:17.406647' AND '2012-09-27 07:53:17.406797') GROUP BY sms_type
|
56731
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.3ms)
|
56732
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
56733
|
+
Parameters: {"use_route"=>"action_smser"}
|
56734
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
56735
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56736
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56737
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56738
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56739
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_0"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56740
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56741
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
56742
|
+
Parameters: {"use_route"=>"action_smser"}
|
56743
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
56744
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)
|
56745
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56746
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x3607a68>
|
56747
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56748
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x3607a68>
|
56749
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56750
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56751
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56752
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x35fb998>
|
56753
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56754
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56755
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56757
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x35fb998>
|
56758
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56760
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56762
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
56763
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56764
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x35bd288>
|
56765
|
+
ActionSmser: id_1234
|
56766
|
+
id_6666
|
56767
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56768
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56769
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x35b3468>
|
56770
|
+
ActionSmser: id_1234
|
56771
|
+
id_6666
|
56772
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56773
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56774
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56776
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56778
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
56779
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56780
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56781
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56782
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56783
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56784
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56785
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56786
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56787
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56789
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "test_array_id_37762064"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56792
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-09-27 11:03:17: LOCAL_SENT\n"], ["msg_id", "test_array_id_11508106"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 27 Sep 2012 08:03:17 UTC +00:00]]
|
56793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56794
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
56795
|
+
|
56796
|
+
|
56797
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at Thu Sep 27 11:03:17 +0300 2012
|
56798
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56799
|
+
Parameters: {"gateway"=>"example_gateway"}
|
56800
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
56801
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
56802
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
56803
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
56804
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
56805
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
56806
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
56807
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
56808
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
56809
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
56810
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
56811
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
56812
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56813
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
56814
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56815
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56816
|
+
ActionSmser: Delivering sms by delayed_job
|
56817
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56819
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56821
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56822
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56823
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56825
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56826
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 02:44:00.463887' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
56827
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56828
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56829
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 02:44:00", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 12:44:00: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 02:44:00", updated_at: "2013-03-05 02:44:00">
|
56830
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56831
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 02:44:00.466194' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
56832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56833
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56834
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
56835
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56837
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "test_array_id_70916826"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56839
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
56840
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
56841
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
56842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56843
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56845
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56846
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56847
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 12:44:00: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56848
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56849
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56850
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 02:44:00.490455', "log" = '2013-03-05 12:44:00: LOCAL_TEST
|
56851
|
+
2013-03-05 12:44:00: TEST_2
|
56852
|
+
', "updated_at" = '2013-03-05 02:44:00.490757' WHERE "action_smser_delivery_reports"."id" = 1
|
56853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56855
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 12:44:00: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56856
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56857
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56858
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
56859
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
56860
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
56861
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56862
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 02:44:00.502864', "log" = '2013-03-05 12:44:00: ORIGINAL_STATUS
|
56863
|
+
2013-03-05 12:44:00: DELIVERED
|
56864
|
+
', "updated_at" = '2013-03-05 02:44:00.503304' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
56865
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56866
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
56867
|
+
Rendered text template (0.0ms)
|
56868
|
+
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.2ms)
|
56869
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
56870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56871
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 12:44:00: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56872
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56874
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 12:44:00: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56875
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56876
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56877
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
56878
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
56879
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
56880
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56881
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 02:44:00.518996', "log" = '2013-03-05 12:44:00: ORIGINAL_STATUS
|
56882
|
+
2013-03-05 12:44:00: DELIVERED
|
56883
|
+
', "updated_at" = '2013-03-05 02:44:00.519381' WHERE "action_smser_delivery_reports"."id" = 1
|
56884
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56885
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
56886
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
56887
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56888
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 02:44:00.520581', "log" = '2013-03-05 12:44:00: ORIGINAL_STATUS
|
56889
|
+
2013-03-05 12:44:00: DELIVERED
|
56890
|
+
', "updated_at" = '2013-03-05 02:44:00.520853' WHERE "action_smser_delivery_reports"."id" = 2
|
56891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56892
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
56893
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
56894
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
56895
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
56896
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56897
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
56898
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
56899
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56900
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
56901
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
56902
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
56903
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
56904
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
56905
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56906
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56907
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56908
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56909
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56910
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56911
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
56912
|
+
Parameters: {"use_route"=>"action_smser"}
|
56913
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.534979' AND '2013-03-05 02:34:00.535135')[0m
|
56914
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.534979' AND '2013-03-05 02:34:00.535135') GROUP BY gateway
|
56915
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.534979' AND '2013-03-05 02:34:00.535135')[0m
|
56916
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.534979' AND '2013-03-05 02:34:00.535135') GROUP BY status
|
56917
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.534979' AND '2013-03-05 02:34:00.535135')[0m
|
56918
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.534979' AND '2013-03-05 02:34:00.535135') GROUP BY sms_type
|
56919
|
+
Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.4ms)
|
56920
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56921
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_0"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56922
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56923
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56924
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56926
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
56927
|
+
Parameters: {"use_route"=>"action_smser"}
|
56928
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.550641' AND '2013-03-05 02:34:00.550761')[0m
|
56929
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.550641' AND '2013-03-05 02:34:00.550761') GROUP BY gateway
|
56930
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.550641' AND '2013-03-05 02:34:00.550761')[0m
|
56931
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.550641' AND '2013-03-05 02:34:00.550761') GROUP BY status
|
56932
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.550641' AND '2013-03-05 02:34:00.550761')[0m
|
56933
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 02:44:00.550641' AND '2013-03-05 02:34:00.550761') GROUP BY sms_type
|
56934
|
+
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.4ms)
|
56935
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
56936
|
+
Parameters: {"use_route"=>"action_smser"}
|
56937
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
56938
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56939
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56942
|
+
[1m[36mSQL (17.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56944
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
56945
|
+
Parameters: {"use_route"=>"action_smser"}
|
56946
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
56947
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
56948
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56949
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x37c7538>
|
56950
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56951
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x37c7538>
|
56952
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56953
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56954
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56955
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x37bccf0>
|
56956
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56957
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56958
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56959
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56960
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x37bccf0>
|
56961
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
56962
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56963
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56964
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56965
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
56966
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56967
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56968
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56969
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56970
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56971
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56972
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56973
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56974
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56975
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
56976
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
56977
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
56978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
56979
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "test_array_id_85260096"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56980
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56981
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
56982
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 12:44:00: LOCAL_SENT\n"], ["msg_id", "test_array_id_92974919"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 02:44:00 UTC +00:00]]
|
56983
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56984
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
56985
|
+
|
56986
|
+
|
56987
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 12:44:00 +1000
|
56988
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
56989
|
+
Parameters: {"gateway"=>"example_gateway"}
|
56990
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
56991
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
56992
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
56993
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
56994
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
56995
|
+
[1m[36m (19.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
56996
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
56997
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
56998
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
56999
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
57000
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
57001
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57002
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57003
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57004
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57005
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57006
|
+
ActionSmser: Delivering sms by delayed_job
|
57007
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57009
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57010
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57011
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57013
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57015
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57016
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 03:21:04.744283' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57017
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57018
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57019
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 03:21:04", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 13:21:04: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 03:21:04", updated_at: "2013-03-05 03:21:04">
|
57020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57021
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 03:21:04.746338' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57023
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57024
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
57025
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57027
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "test_array_id_21777926"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57029
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
57030
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
57031
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
57032
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57033
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57034
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57035
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57037
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:04: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57040
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 03:21:04.808881', "log" = '2013-03-05 13:21:04: LOCAL_TEST
|
57041
|
+
2013-03-05 13:21:04: TEST_2
|
57042
|
+
', "updated_at" = '2013-03-05 03:21:04.809165' WHERE "action_smser_delivery_reports"."id" = 1
|
57043
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57044
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57045
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:04: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57046
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57047
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57048
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57049
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57050
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
57051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57052
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:21:04.820519', "log" = '2013-03-05 13:21:04: ORIGINAL_STATUS
|
57053
|
+
2013-03-05 13:21:04: DELIVERED
|
57054
|
+
', "updated_at" = '2013-03-05 03:21:04.820948' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57055
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57056
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57057
|
+
Rendered text template (0.0ms)
|
57058
|
+
Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.3ms)
|
57059
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57061
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:04: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57062
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57063
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57064
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:04: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57065
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57066
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57067
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
57068
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57069
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
57070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57071
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:21:04.855474', "log" = '2013-03-05 13:21:04: ORIGINAL_STATUS
|
57072
|
+
2013-03-05 13:21:04: DELIVERED
|
57073
|
+
', "updated_at" = '2013-03-05 03:21:04.855819' WHERE "action_smser_delivery_reports"."id" = 1
|
57074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57075
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57076
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
57077
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57078
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:21:04.856949', "log" = '2013-03-05 13:21:04: ORIGINAL_STATUS
|
57079
|
+
2013-03-05 13:21:04: DELIVERED
|
57080
|
+
', "updated_at" = '2013-03-05 03:21:04.857252' WHERE "action_smser_delivery_reports"."id" = 2
|
57081
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57082
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
57083
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
57084
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
57085
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
57086
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57087
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57088
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
57089
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57090
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57091
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57092
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
57093
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
57094
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
57095
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57096
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57097
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57098
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57099
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_6"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57100
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57101
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57102
|
+
Parameters: {"use_route"=>"action_smser"}
|
57103
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.889996' AND '2013-03-05 03:11:04.890156')[0m
|
57104
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.889996' AND '2013-03-05 03:11:04.890156') GROUP BY gateway
|
57105
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.889996' AND '2013-03-05 03:11:04.890156')[0m
|
57106
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.889996' AND '2013-03-05 03:11:04.890156') GROUP BY status
|
57107
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.889996' AND '2013-03-05 03:11:04.890156')[0m
|
57108
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.889996' AND '2013-03-05 03:11:04.890156') GROUP BY sms_type
|
57109
|
+
Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.4ms)
|
57110
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57111
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57112
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57114
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57115
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57116
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57117
|
+
Parameters: {"use_route"=>"action_smser"}
|
57118
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.904780' AND '2013-03-05 03:11:04.904886')[0m
|
57119
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.904780' AND '2013-03-05 03:11:04.904886') GROUP BY gateway
|
57120
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.904780' AND '2013-03-05 03:11:04.904886')[0m
|
57121
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.904780' AND '2013-03-05 03:11:04.904886') GROUP BY status
|
57122
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.904780' AND '2013-03-05 03:11:04.904886')[0m
|
57123
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:04.904780' AND '2013-03-05 03:11:04.904886') GROUP BY sms_type
|
57124
|
+
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.4ms)
|
57125
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57126
|
+
Parameters: {"use_route"=>"action_smser"}
|
57127
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57128
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57129
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_5"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57132
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57133
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57134
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
57135
|
+
Parameters: {"use_route"=>"action_smser"}
|
57136
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
57137
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
57138
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57139
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x46c3fa0>
|
57140
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57141
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x46c3fa0>
|
57142
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57143
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57144
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57145
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x46cb728>
|
57146
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57148
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57149
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57150
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x46cb728>
|
57151
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57153
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57155
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57156
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57157
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x46f6e78>
|
57158
|
+
ActionSmser: id_1234
|
57159
|
+
id_6666
|
57160
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57161
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57162
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x46f95d8>
|
57163
|
+
ActionSmser: id_1234
|
57164
|
+
id_6666
|
57165
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57166
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57167
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57169
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57171
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57172
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57173
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57174
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57175
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57176
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57177
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57178
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57179
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57180
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57181
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57182
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "test_array_id_45860916"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57183
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57184
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:04: LOCAL_SENT\n"], ["msg_id", "test_array_id_46884871"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:21:04 UTC +00:00]]
|
57186
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57187
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57188
|
+
|
57189
|
+
|
57190
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 13:21:04 +1000
|
57191
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57192
|
+
Parameters: {"gateway"=>"example_gateway"}
|
57193
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57194
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
57195
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
57196
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
57197
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57198
|
+
[1m[36m (19.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
57199
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
57200
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
57201
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
57202
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
57203
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
57204
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57205
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57206
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57207
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57208
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57209
|
+
ActionSmser: Delivering sms by delayed_job
|
57210
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57211
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57212
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57213
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57214
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57216
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57217
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57218
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57219
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 03:21:48.691691' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57220
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57221
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57222
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 03:21:48", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 13:21:48: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 03:21:48", updated_at: "2013-03-05 03:21:48">
|
57223
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57224
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 03:21:48.693700' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57226
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57227
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
57228
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57229
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57230
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "test_array_id_78519033"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57232
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
57233
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
57234
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
57235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57236
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57238
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57239
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57240
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:48: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57243
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 03:21:48.755290', "log" = '2013-03-05 13:21:48: LOCAL_TEST
|
57244
|
+
2013-03-05 13:21:48: TEST_2
|
57245
|
+
', "updated_at" = '2013-03-05 03:21:48.755576' WHERE "action_smser_delivery_reports"."id" = 1
|
57246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57248
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:48: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57250
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57251
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57252
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57253
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
57254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57255
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:21:48.766789', "log" = '2013-03-05 13:21:48: ORIGINAL_STATUS
|
57256
|
+
2013-03-05 13:21:48: DELIVERED
|
57257
|
+
', "updated_at" = '2013-03-05 03:21:48.767205' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57259
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57260
|
+
Rendered text template (0.0ms)
|
57261
|
+
Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.3ms)
|
57262
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57263
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57264
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:48: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57265
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57267
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:21:48: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57269
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57270
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
57271
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57272
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
57273
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57274
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:21:48.801817', "log" = '2013-03-05 13:21:48: ORIGINAL_STATUS
|
57275
|
+
2013-03-05 13:21:48: DELIVERED
|
57276
|
+
', "updated_at" = '2013-03-05 03:21:48.802167' WHERE "action_smser_delivery_reports"."id" = 1
|
57277
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57278
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57279
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
57280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57281
|
+
[1m[35m (0.0ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:21:48.803271', "log" = '2013-03-05 13:21:48: ORIGINAL_STATUS
|
57282
|
+
2013-03-05 13:21:48: DELIVERED
|
57283
|
+
', "updated_at" = '2013-03-05 03:21:48.803559' WHERE "action_smser_delivery_reports"."id" = 2
|
57284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57285
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
57286
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
57287
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
57288
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
57289
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57290
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57291
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
57292
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57293
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57294
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57295
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
57296
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
57297
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
57298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57299
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57302
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57303
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57304
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57305
|
+
Parameters: {"use_route"=>"action_smser"}
|
57306
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.836137' AND '2013-03-05 03:11:48.836307')[0m
|
57307
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.836137' AND '2013-03-05 03:11:48.836307') GROUP BY gateway
|
57308
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.836137' AND '2013-03-05 03:11:48.836307')[0m
|
57309
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.836137' AND '2013-03-05 03:11:48.836307') GROUP BY status
|
57310
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.836137' AND '2013-03-05 03:11:48.836307')[0m
|
57311
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.836137' AND '2013-03-05 03:11:48.836307') GROUP BY sms_type
|
57312
|
+
Completed 200 OK in 33ms (Views: 31.9ms | ActiveRecord: 0.4ms)
|
57313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57314
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57315
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57317
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57319
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57320
|
+
Parameters: {"use_route"=>"action_smser"}
|
57321
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.850951' AND '2013-03-05 03:11:48.851056')[0m
|
57322
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.850951' AND '2013-03-05 03:11:48.851056') GROUP BY gateway
|
57323
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.850951' AND '2013-03-05 03:11:48.851056')[0m
|
57324
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.850951' AND '2013-03-05 03:11:48.851056') GROUP BY status
|
57325
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.850951' AND '2013-03-05 03:11:48.851056')[0m
|
57326
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:21:48.850951' AND '2013-03-05 03:11:48.851056') GROUP BY sms_type
|
57327
|
+
Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.4ms)
|
57328
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57329
|
+
Parameters: {"use_route"=>"action_smser"}
|
57330
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57332
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57334
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57335
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57336
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57337
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
57338
|
+
Parameters: {"use_route"=>"action_smser"}
|
57339
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
57340
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)
|
57341
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57342
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4436120>
|
57343
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57344
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4436120>
|
57345
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57346
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57347
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57348
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x443d8a8>
|
57349
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57350
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57351
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57352
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57353
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x443d8a8>
|
57354
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57356
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57358
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57359
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57360
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4468ff8>
|
57361
|
+
ActionSmser: id_1234
|
57362
|
+
id_6666
|
57363
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57364
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57365
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x446b758>
|
57366
|
+
ActionSmser: id_1234
|
57367
|
+
id_6666
|
57368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57369
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57372
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57374
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57375
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57376
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57377
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57378
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57379
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57380
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57381
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57382
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57383
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57385
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "test_array_id_90036944"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57388
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:21:48: LOCAL_SENT\n"], ["msg_id", "test_array_id_61531322"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:21:48 UTC +00:00]]
|
57389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57390
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57391
|
+
|
57392
|
+
|
57393
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 13:21:48 +1000
|
57394
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57395
|
+
Parameters: {"gateway"=>"example_gateway"}
|
57396
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57397
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
57398
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
57399
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
57400
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57401
|
+
[1m[36m (19.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
57402
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
57403
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
57404
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
57405
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
57406
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
57407
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57408
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57409
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57410
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57411
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57412
|
+
ActionSmser: Delivering sms by delayed_job
|
57413
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57414
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57415
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57417
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57419
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57422
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 03:22:18.669539' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57424
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57425
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 03:22:18", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 13:22:18: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 03:22:18", updated_at: "2013-03-05 03:22:18">
|
57426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57427
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 03:22:18.671590' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57428
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57429
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57430
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
57431
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57432
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57433
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "test_array_id_60253259"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57434
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57435
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
57436
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
57437
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
57438
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57439
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57440
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57441
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57442
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57443
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:22:18: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57445
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57446
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 03:22:18.697477', "log" = '2013-03-05 13:22:18: LOCAL_TEST
|
57447
|
+
2013-03-05 13:22:18: TEST_2
|
57448
|
+
', "updated_at" = '2013-03-05 03:22:18.697775' WHERE "action_smser_delivery_reports"."id" = 1
|
57449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57451
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:22:18: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57453
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57454
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57455
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57456
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
57457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57458
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:22:18.710760', "log" = '2013-03-05 13:22:18: ORIGINAL_STATUS
|
57459
|
+
2013-03-05 13:22:18: DELIVERED
|
57460
|
+
', "updated_at" = '2013-03-05 03:22:18.711201' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57462
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57463
|
+
Rendered text template (0.0ms)
|
57464
|
+
Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.3ms)
|
57465
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57466
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57467
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:22:18: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57468
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57470
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 13:22:18: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57471
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57472
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57473
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
57474
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57475
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
57476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57477
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:22:18.728634', "log" = '2013-03-05 13:22:18: ORIGINAL_STATUS
|
57478
|
+
2013-03-05 13:22:18: DELIVERED
|
57479
|
+
', "updated_at" = '2013-03-05 03:22:18.728985' WHERE "action_smser_delivery_reports"."id" = 1
|
57480
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57481
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57482
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
57483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57484
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 03:22:18.730067', "log" = '2013-03-05 13:22:18: ORIGINAL_STATUS
|
57485
|
+
2013-03-05 13:22:18: DELIVERED
|
57486
|
+
', "updated_at" = '2013-03-05 03:22:18.730338' WHERE "action_smser_delivery_reports"."id" = 2
|
57487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57488
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
57489
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
57490
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
57491
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
57492
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57493
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57494
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
57495
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57496
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57497
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57498
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
57499
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
57500
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
57501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57502
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57505
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57507
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57508
|
+
Parameters: {"use_route"=>"action_smser"}
|
57509
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.743977' AND '2013-03-05 03:12:18.744142')[0m
|
57510
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.743977' AND '2013-03-05 03:12:18.744142') GROUP BY gateway
|
57511
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.743977' AND '2013-03-05 03:12:18.744142')[0m
|
57512
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.743977' AND '2013-03-05 03:12:18.744142') GROUP BY status
|
57513
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.743977' AND '2013-03-05 03:12:18.744142')[0m
|
57514
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.743977' AND '2013-03-05 03:12:18.744142') GROUP BY sms_type
|
57515
|
+
Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.4ms)
|
57516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57517
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_0"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57518
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57520
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_6"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57521
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57522
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57523
|
+
Parameters: {"use_route"=>"action_smser"}
|
57524
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.758483' AND '2013-03-05 03:12:18.758587')[0m
|
57525
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.758483' AND '2013-03-05 03:12:18.758587') GROUP BY gateway
|
57526
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.758483' AND '2013-03-05 03:12:18.758587')[0m
|
57527
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.758483' AND '2013-03-05 03:12:18.758587') GROUP BY status
|
57528
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.758483' AND '2013-03-05 03:12:18.758587')[0m
|
57529
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 03:22:18.758483' AND '2013-03-05 03:12:18.758587') GROUP BY sms_type
|
57530
|
+
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.4ms)
|
57531
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57532
|
+
Parameters: {"use_route"=>"action_smser"}
|
57533
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57535
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57538
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57540
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
57541
|
+
Parameters: {"use_route"=>"action_smser"}
|
57542
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
57543
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
57544
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57545
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4b38158>
|
57546
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57547
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4b38158>
|
57548
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57549
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57550
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57551
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4b40420>
|
57552
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57554
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57555
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57556
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4b40420>
|
57557
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57558
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57559
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57560
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57561
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57562
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57563
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4b6b788>
|
57564
|
+
ActionSmser: id_1234
|
57565
|
+
id_6666
|
57566
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57567
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57568
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4b6e028>
|
57569
|
+
ActionSmser: id_1234
|
57570
|
+
id_6666
|
57571
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57572
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57573
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57575
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57576
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57577
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57578
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57579
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57580
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57581
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57582
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57583
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57584
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57585
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57586
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57587
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57588
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "test_array_id_71503197"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57589
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57590
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57591
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 13:22:18: LOCAL_SENT\n"], ["msg_id", "test_array_id_98957634"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 03:22:18 UTC +00:00]]
|
57592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57593
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57594
|
+
|
57595
|
+
|
57596
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 13:22:18 +1000
|
57597
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57598
|
+
Parameters: {"gateway"=>"example_gateway"}
|
57599
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57600
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
57601
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
57602
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
57603
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57604
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
57605
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
57606
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
57607
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
57608
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
57609
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
57610
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57611
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57612
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57613
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57614
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57615
|
+
ActionSmser: Delivering sms by delayed_job
|
57616
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57618
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57619
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57620
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57622
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57625
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 04:43:02.366301' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57626
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57627
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57628
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 04:43:02", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 14:43:02: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 04:43:02", updated_at: "2013-03-05 04:43:02">
|
57629
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57630
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 04:43:02.368469' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57631
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57632
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57633
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
57634
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57636
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "test_array_id_98676588"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57638
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
57639
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
57640
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
57641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57642
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57644
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57645
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57646
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:02: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57647
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57648
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57649
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 04:43:02.394180', "log" = '2013-03-05 14:43:02: LOCAL_TEST
|
57650
|
+
2013-03-05 14:43:02: TEST_2
|
57651
|
+
', "updated_at" = '2013-03-05 04:43:02.394480' WHERE "action_smser_delivery_reports"."id" = 1
|
57652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57654
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:02: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57655
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57656
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57657
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57658
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57659
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
57660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57661
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:43:02.406436', "log" = '2013-03-05 14:43:02: ORIGINAL_STATUS
|
57662
|
+
2013-03-05 14:43:02: DELIVERED
|
57663
|
+
', "updated_at" = '2013-03-05 04:43:02.406890' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57664
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57665
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57666
|
+
Rendered text template (0.0ms)
|
57667
|
+
Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.3ms)
|
57668
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57669
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57670
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:02: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57671
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57672
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57673
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:02: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57674
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57675
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57676
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
57677
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57678
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
57679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57680
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:43:02.422719', "log" = '2013-03-05 14:43:02: ORIGINAL_STATUS
|
57681
|
+
2013-03-05 14:43:02: DELIVERED
|
57682
|
+
', "updated_at" = '2013-03-05 04:43:02.423110' WHERE "action_smser_delivery_reports"."id" = 1
|
57683
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57684
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57685
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
57686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57687
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:43:02.424268', "log" = '2013-03-05 14:43:02: ORIGINAL_STATUS
|
57688
|
+
2013-03-05 14:43:02: DELIVERED
|
57689
|
+
', "updated_at" = '2013-03-05 04:43:02.424564' WHERE "action_smser_delivery_reports"."id" = 2
|
57690
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57691
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
57692
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
57693
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
57694
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
57695
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57696
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57697
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
57698
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57699
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57700
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57701
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
57702
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
57703
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
57704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57705
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57706
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57707
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57708
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57710
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57711
|
+
Parameters: {"use_route"=>"action_smser"}
|
57712
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.438237' AND '2013-03-05 04:33:02.438389')[0m
|
57713
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.438237' AND '2013-03-05 04:33:02.438389') GROUP BY gateway
|
57714
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.438237' AND '2013-03-05 04:33:02.438389')[0m
|
57715
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.438237' AND '2013-03-05 04:33:02.438389') GROUP BY status
|
57716
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.438237' AND '2013-03-05 04:33:02.438389')[0m
|
57717
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.438237' AND '2013-03-05 04:33:02.438389') GROUP BY sms_type
|
57718
|
+
Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.4ms)
|
57719
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57720
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57721
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57723
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57725
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57726
|
+
Parameters: {"use_route"=>"action_smser"}
|
57727
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.454588' AND '2013-03-05 04:33:02.454696')[0m
|
57728
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.454588' AND '2013-03-05 04:33:02.454696') GROUP BY gateway
|
57729
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.454588' AND '2013-03-05 04:33:02.454696')[0m
|
57730
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.454588' AND '2013-03-05 04:33:02.454696') GROUP BY status
|
57731
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.454588' AND '2013-03-05 04:33:02.454696')[0m
|
57732
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:02.454588' AND '2013-03-05 04:33:02.454696') GROUP BY sms_type
|
57733
|
+
Completed 200 OK in 27ms (Views: 26.7ms | ActiveRecord: 0.4ms)
|
57734
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57735
|
+
Parameters: {"use_route"=>"action_smser"}
|
57736
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57737
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57738
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57739
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57740
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57741
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57742
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57743
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
57744
|
+
Parameters: {"use_route"=>"action_smser"}
|
57745
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
57746
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
57747
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57748
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x3c77e20>
|
57749
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57750
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x3c77e20>
|
57751
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57752
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57753
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57754
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x3c6a220>
|
57755
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57756
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57757
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57759
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x3c6a220>
|
57760
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57761
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57762
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57763
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57764
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57765
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57766
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3c1e398>
|
57767
|
+
ActionSmser: id_1234
|
57768
|
+
id_6666
|
57769
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57770
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57771
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3c15a68>
|
57772
|
+
ActionSmser: id_1234
|
57773
|
+
id_6666
|
57774
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57775
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57778
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57779
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57780
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57781
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57782
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57783
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57784
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57785
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57786
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57787
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57788
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57789
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57791
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "test_array_id_94638849"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57792
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57793
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57794
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:02: LOCAL_SENT\n"], ["msg_id", "test_array_id_96729918"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:43:02 UTC +00:00]]
|
57795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57796
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57797
|
+
|
57798
|
+
|
57799
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 14:43:02 +1000
|
57800
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57801
|
+
Parameters: {"gateway"=>"example_gateway"}
|
57802
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57803
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
57804
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
57805
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
57806
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57807
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
57808
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
57809
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
57810
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
57811
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
57812
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
57813
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57814
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57815
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
57816
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57817
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57818
|
+
ActionSmser: Delivering sms by delayed_job
|
57819
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57821
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:29 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:29: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:29 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:29 UTC +00:00]]
|
57822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57823
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57824
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57825
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:29 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:29: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:29 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:29 UTC +00:00]]
|
57826
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57828
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 04:43:29.999902' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57829
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57830
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57831
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 04:43:29", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 14:43:29: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 04:43:29", updated_at: "2013-03-05 04:43:29">
|
57832
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57833
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 04:43:30.002096' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57834
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
57835
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57836
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
57837
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57838
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57839
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "test_array_id_91609011"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57840
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57841
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
57842
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
57843
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
57844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57845
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57846
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57847
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57848
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57849
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:30: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57852
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 04:43:30.026007', "log" = '2013-03-05 14:43:30: LOCAL_TEST
|
57853
|
+
2013-03-05 14:43:30: TEST_2
|
57854
|
+
', "updated_at" = '2013-03-05 04:43:30.026311' WHERE "action_smser_delivery_reports"."id" = 1
|
57855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57856
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57857
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:30: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57858
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57859
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57860
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57861
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57862
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
57863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57864
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:43:30.056599', "log" = '2013-03-05 14:43:30: ORIGINAL_STATUS
|
57865
|
+
2013-03-05 14:43:30: DELIVERED
|
57866
|
+
', "updated_at" = '2013-03-05 04:43:30.057048' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
57867
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57868
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57869
|
+
Rendered text template (0.0ms)
|
57870
|
+
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.3ms)
|
57871
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
57872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57873
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:30: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57874
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57875
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57876
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:43:30: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57878
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57879
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
57880
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57881
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
57882
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57883
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:43:30.072439', "log" = '2013-03-05 14:43:30: ORIGINAL_STATUS
|
57884
|
+
2013-03-05 14:43:30: DELIVERED
|
57885
|
+
', "updated_at" = '2013-03-05 04:43:30.072877' WHERE "action_smser_delivery_reports"."id" = 1
|
57886
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57887
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
57888
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
57889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57890
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:43:30.074023', "log" = '2013-03-05 14:43:30: ORIGINAL_STATUS
|
57891
|
+
2013-03-05 14:43:30: DELIVERED
|
57892
|
+
', "updated_at" = '2013-03-05 04:43:30.074333' WHERE "action_smser_delivery_reports"."id" = 2
|
57893
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57894
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
57895
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
57896
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
57897
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
57898
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57899
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57900
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
57901
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
57902
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
57903
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
57904
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
57905
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
57906
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
57907
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57908
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_5"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57909
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57911
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57913
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57914
|
+
Parameters: {"use_route"=>"action_smser"}
|
57915
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.087958' AND '2013-03-05 04:33:30.088115')[0m
|
57916
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.087958' AND '2013-03-05 04:33:30.088115') GROUP BY gateway
|
57917
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.087958' AND '2013-03-05 04:33:30.088115')[0m
|
57918
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.087958' AND '2013-03-05 04:33:30.088115') GROUP BY status
|
57919
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.087958' AND '2013-03-05 04:33:30.088115')[0m
|
57920
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.087958' AND '2013-03-05 04:33:30.088115') GROUP BY sms_type
|
57921
|
+
Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.4ms)
|
57922
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57923
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57925
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57926
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57927
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57928
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57929
|
+
Parameters: {"use_route"=>"action_smser"}
|
57930
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.104235' AND '2013-03-05 04:33:30.104342')[0m
|
57931
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.104235' AND '2013-03-05 04:33:30.104342') GROUP BY gateway
|
57932
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.104235' AND '2013-03-05 04:33:30.104342')[0m
|
57933
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.104235' AND '2013-03-05 04:33:30.104342') GROUP BY status
|
57934
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.104235' AND '2013-03-05 04:33:30.104342')[0m
|
57935
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:43:30.104235' AND '2013-03-05 04:33:30.104342') GROUP BY sms_type
|
57936
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.4ms)
|
57937
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
57938
|
+
Parameters: {"use_route"=>"action_smser"}
|
57939
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
57940
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57941
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57942
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57944
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_6"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57946
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
57947
|
+
Parameters: {"use_route"=>"action_smser"}
|
57948
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
57949
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
57950
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57951
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4ec68b0>
|
57952
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57953
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4ec68b0>
|
57954
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57955
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57956
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57957
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4eb9868>
|
57958
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57960
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57962
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4eb9868>
|
57963
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
57964
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57965
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57966
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57967
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57968
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57969
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4e75b18>
|
57970
|
+
ActionSmser: id_1234
|
57971
|
+
id_6666
|
57972
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57973
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57974
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4e6e8e0>
|
57975
|
+
ActionSmser: id_1234
|
57976
|
+
id_6666
|
57977
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57978
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57979
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57980
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57981
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57982
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57983
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
57984
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57985
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57986
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57987
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57988
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57989
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57990
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
57991
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
57992
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
57993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
57994
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "test_array_id_14515071"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57997
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:43:30: LOCAL_SENT\n"], ["msg_id", "test_array_id_78234481"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:43:30 UTC +00:00]]
|
57998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57999
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58000
|
+
|
58001
|
+
|
58002
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 14:43:30 +1000
|
58003
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58004
|
+
Parameters: {"gateway"=>"example_gateway"}
|
58005
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58006
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
58007
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
58008
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
58009
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
58010
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58011
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
58012
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
58013
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
58014
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
58015
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
58016
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58017
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58018
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58019
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58020
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58021
|
+
ActionSmser: Delivering sms by delayed_job
|
58022
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58024
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58026
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58027
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58028
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58029
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58031
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 04:44:07.138693' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58033
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58034
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 04:44:07", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 14:44:07: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 04:44:07", updated_at: "2013-03-05 04:44:07">
|
58035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58036
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 04:44:07.141271' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58037
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58038
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58039
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
58040
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58042
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "test_array_id_29078437"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58044
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
58045
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
58046
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
58047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58048
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58049
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58050
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58052
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:44:07: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58053
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58054
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58055
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 04:44:07.164570', "log" = '2013-03-05 14:44:07: LOCAL_TEST
|
58056
|
+
2013-03-05 14:44:07: TEST_2
|
58057
|
+
', "updated_at" = '2013-03-05 04:44:07.164865' WHERE "action_smser_delivery_reports"."id" = 1
|
58058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58060
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:44:07: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58062
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58063
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58064
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58065
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
58066
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58067
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:44:07.195033', "log" = '2013-03-05 14:44:07: ORIGINAL_STATUS
|
58068
|
+
2013-03-05 14:44:07: DELIVERED
|
58069
|
+
', "updated_at" = '2013-03-05 04:44:07.195506' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58070
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58071
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58072
|
+
Rendered text template (0.0ms)
|
58073
|
+
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.3ms)
|
58074
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58076
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:44:07: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58079
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 14:44:07: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58081
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58082
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
58083
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58084
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
58085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58086
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:44:07.211033', "log" = '2013-03-05 14:44:07: ORIGINAL_STATUS
|
58087
|
+
2013-03-05 14:44:07: DELIVERED
|
58088
|
+
', "updated_at" = '2013-03-05 04:44:07.211391' WHERE "action_smser_delivery_reports"."id" = 1
|
58089
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58090
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58091
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
58092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58093
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 04:44:07.212520', "log" = '2013-03-05 14:44:07: ORIGINAL_STATUS
|
58094
|
+
2013-03-05 14:44:07: DELIVERED
|
58095
|
+
', "updated_at" = '2013-03-05 04:44:07.212820' WHERE "action_smser_delivery_reports"."id" = 2
|
58096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58097
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
58098
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
58099
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
58100
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
58101
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58102
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58103
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
58104
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58105
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58106
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58107
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
58108
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
58109
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
58110
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58111
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58112
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58114
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58115
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58116
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58117
|
+
Parameters: {"use_route"=>"action_smser"}
|
58118
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.226532' AND '2013-03-05 04:34:07.226684')[0m
|
58119
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.226532' AND '2013-03-05 04:34:07.226684') GROUP BY gateway
|
58120
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.226532' AND '2013-03-05 04:34:07.226684')[0m
|
58121
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.226532' AND '2013-03-05 04:34:07.226684') GROUP BY status
|
58122
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.226532' AND '2013-03-05 04:34:07.226684')[0m
|
58123
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.226532' AND '2013-03-05 04:34:07.226684') GROUP BY sms_type
|
58124
|
+
Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.4ms)
|
58125
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58126
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58127
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58129
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_6"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58130
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58131
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58132
|
+
Parameters: {"use_route"=>"action_smser"}
|
58133
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.242709' AND '2013-03-05 04:34:07.242819')[0m
|
58134
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.242709' AND '2013-03-05 04:34:07.242819') GROUP BY gateway
|
58135
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.242709' AND '2013-03-05 04:34:07.242819')[0m
|
58136
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.242709' AND '2013-03-05 04:34:07.242819') GROUP BY status
|
58137
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.242709' AND '2013-03-05 04:34:07.242819')[0m
|
58138
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:44:07.242709' AND '2013-03-05 04:34:07.242819') GROUP BY sms_type
|
58139
|
+
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.4ms)
|
58140
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58141
|
+
Parameters: {"use_route"=>"action_smser"}
|
58142
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
58143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
58144
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58146
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
58147
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58148
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58149
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
58150
|
+
Parameters: {"use_route"=>"action_smser"}
|
58151
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
58152
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
58153
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58154
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4666b20>
|
58155
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58156
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4666b20>
|
58157
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58158
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58159
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58160
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x465a988>
|
58161
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58163
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58165
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x465a988>
|
58166
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58168
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58169
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58170
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58171
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58172
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4614bb8>
|
58173
|
+
ActionSmser: id_1234
|
58174
|
+
id_6666
|
58175
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58176
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58177
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x460ae60>
|
58178
|
+
ActionSmser: id_1234
|
58179
|
+
id_6666
|
58180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58181
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58184
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58186
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58187
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58188
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58189
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58190
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58191
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58192
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58193
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58194
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58195
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58197
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "test_array_id_13907985"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58200
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 14:44:07: LOCAL_SENT\n"], ["msg_id", "test_array_id_43094849"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 04:44:07 UTC +00:00]]
|
58201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58202
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58203
|
+
|
58204
|
+
|
58205
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 14:44:07 +1000
|
58206
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58207
|
+
Parameters: {"gateway"=>"example_gateway"}
|
58208
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58209
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
58210
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
58211
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
58212
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
58213
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58214
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
58215
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
58216
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
58217
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
58218
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
58219
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58220
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58221
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58222
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58223
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58224
|
+
ActionSmser: Delivering sms by delayed_job
|
58225
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58227
|
+
[1m[35mSQL (10.0ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58228
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58229
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58231
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58234
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 05:43:13.131769' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58236
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58237
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 05:43:13", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 15:43:13: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 05:43:13", updated_at: "2013-03-05 05:43:13">
|
58238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
58239
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 05:43:13.134324' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58240
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58241
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58242
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
58243
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58244
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58245
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "test_array_id_55078273"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58246
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58247
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
58248
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
58249
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
58250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58251
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58253
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58255
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:43:13: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58258
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 05:43:13.162858', "log" = '2013-03-05 15:43:13: LOCAL_TEST
|
58259
|
+
2013-03-05 15:43:13: TEST_2
|
58260
|
+
', "updated_at" = '2013-03-05 05:43:13.163179' WHERE "action_smser_delivery_reports"."id" = 1
|
58261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58263
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:43:13: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58265
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58266
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58267
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58268
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
58269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58270
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 05:43:13.193548', "log" = '2013-03-05 15:43:13: ORIGINAL_STATUS
|
58271
|
+
2013-03-05 15:43:13: DELIVERED
|
58272
|
+
', "updated_at" = '2013-03-05 05:43:13.194016' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58274
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58275
|
+
Rendered text template (0.0ms)
|
58276
|
+
Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.3ms)
|
58277
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58278
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58279
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:43:13: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58282
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:43:13: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58283
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58284
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58285
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
58286
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58287
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
58288
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58289
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 05:43:13.209939', "log" = '2013-03-05 15:43:13: ORIGINAL_STATUS
|
58290
|
+
2013-03-05 15:43:13: DELIVERED
|
58291
|
+
', "updated_at" = '2013-03-05 05:43:13.210350' WHERE "action_smser_delivery_reports"."id" = 1
|
58292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58293
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58294
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
58295
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58296
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 05:43:13.211582', "log" = '2013-03-05 15:43:13: ORIGINAL_STATUS
|
58297
|
+
2013-03-05 15:43:13: DELIVERED
|
58298
|
+
', "updated_at" = '2013-03-05 05:43:13.211865' WHERE "action_smser_delivery_reports"."id" = 2
|
58299
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58300
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
58301
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
58302
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
58303
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
58304
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58305
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58306
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
58307
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58308
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58309
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58310
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
58311
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
58312
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
58313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58314
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58315
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58317
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58319
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58320
|
+
Parameters: {"use_route"=>"action_smser"}
|
58321
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.225860' AND '2013-03-05 05:33:13.226003')[0m
|
58322
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.225860' AND '2013-03-05 05:33:13.226003') GROUP BY gateway
|
58323
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.225860' AND '2013-03-05 05:33:13.226003')[0m
|
58324
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.225860' AND '2013-03-05 05:33:13.226003') GROUP BY status
|
58325
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.225860' AND '2013-03-05 05:33:13.226003')[0m
|
58326
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.225860' AND '2013-03-05 05:33:13.226003') GROUP BY sms_type
|
58327
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.4ms)
|
58328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58329
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58332
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58334
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58335
|
+
Parameters: {"use_route"=>"action_smser"}
|
58336
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.242250' AND '2013-03-05 05:33:13.242397')[0m
|
58337
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.242250' AND '2013-03-05 05:33:13.242397') GROUP BY gateway
|
58338
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.242250' AND '2013-03-05 05:33:13.242397')[0m
|
58339
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.242250' AND '2013-03-05 05:33:13.242397') GROUP BY status
|
58340
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.242250' AND '2013-03-05 05:33:13.242397')[0m
|
58341
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:43:13.242250' AND '2013-03-05 05:33:13.242397') GROUP BY sms_type
|
58342
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.5ms)
|
58343
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58344
|
+
Parameters: {"use_route"=>"action_smser"}
|
58345
|
+
Completed 403 Forbidden in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
58346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58347
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58348
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58349
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58350
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_4"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58352
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
58353
|
+
Parameters: {"use_route"=>"action_smser"}
|
58354
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
58355
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.2ms)
|
58356
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58357
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x50c29e8>
|
58358
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58359
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x50c29e8>
|
58360
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58361
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58362
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58363
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x50b5a68>
|
58364
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58365
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58366
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58367
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58368
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x50b5a68>
|
58369
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58371
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58373
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58374
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58375
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x50718b8>
|
58376
|
+
ActionSmser: id_1234
|
58377
|
+
id_6666
|
58378
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58379
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58380
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x506a838>
|
58381
|
+
ActionSmser: id_1234
|
58382
|
+
id_6666
|
58383
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58384
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58385
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58387
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58388
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58389
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58390
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58391
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58392
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58393
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58394
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58395
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58396
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58397
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58398
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58399
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58400
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "test_array_id_98602824"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58403
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:43:13: LOCAL_SENT\n"], ["msg_id", "test_array_id_74578845"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 05:43:13 UTC +00:00]]
|
58404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58405
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58406
|
+
|
58407
|
+
|
58408
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 15:43:13 +1000
|
58409
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58410
|
+
Parameters: {"gateway"=>"example_gateway"}
|
58411
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58412
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
58413
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
58414
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
58415
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
58416
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58417
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
58418
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
58419
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
58420
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
58421
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
58422
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58423
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58424
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58425
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58426
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58427
|
+
ActionSmser: Delivering sms by delayed_job
|
58428
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58430
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58431
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58432
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58434
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58436
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58437
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 05:44:15.753511' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58439
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58440
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 05:44:15", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 15:44:15: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 05:44:15", updated_at: "2013-03-05 05:44:15">
|
58441
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58442
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 05:44:15.756724' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58443
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58444
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58445
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
58446
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58448
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_47568662"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58450
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
58451
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
58452
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
58453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58454
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58456
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58458
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:44:15: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58461
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 05:44:15.781684', "log" = '2013-03-05 15:44:15: LOCAL_TEST
|
58462
|
+
2013-03-05 15:44:15: TEST_2
|
58463
|
+
', "updated_at" = '2013-03-05 05:44:15.781962' WHERE "action_smser_delivery_reports"."id" = 1
|
58464
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58465
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58466
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:44:15: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58467
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58468
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58469
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58470
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58471
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
58472
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58473
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 05:44:15.793908', "log" = '2013-03-05 15:44:15: ORIGINAL_STATUS
|
58474
|
+
2013-03-05 15:44:15: DELIVERED
|
58475
|
+
', "updated_at" = '2013-03-05 05:44:15.794360' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58476
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58477
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58478
|
+
Rendered text template (0.0ms)
|
58479
|
+
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.3ms)
|
58480
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58481
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58482
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:44:15: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58484
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58485
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 15:44:15: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58486
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58487
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58488
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
58489
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58490
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
58491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58492
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 05:44:15.810008', "log" = '2013-03-05 15:44:15: ORIGINAL_STATUS
|
58493
|
+
2013-03-05 15:44:15: DELIVERED
|
58494
|
+
', "updated_at" = '2013-03-05 05:44:15.810398' WHERE "action_smser_delivery_reports"."id" = 1
|
58495
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58496
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58497
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
58498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58499
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 05:44:15.811582', "log" = '2013-03-05 15:44:15: ORIGINAL_STATUS
|
58500
|
+
2013-03-05 15:44:15: DELIVERED
|
58501
|
+
', "updated_at" = '2013-03-05 05:44:15.811889' WHERE "action_smser_delivery_reports"."id" = 2
|
58502
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58503
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
58504
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
58505
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
58506
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
58507
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58508
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58509
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
58510
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58511
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58512
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58513
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
58514
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
58515
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
58516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58517
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_5"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58518
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58520
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58521
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58522
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58523
|
+
Parameters: {"use_route"=>"action_smser"}
|
58524
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.825749' AND '2013-03-05 05:34:15.825888')[0m
|
58525
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.825749' AND '2013-03-05 05:34:15.825888') GROUP BY gateway
|
58526
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.825749' AND '2013-03-05 05:34:15.825888')[0m
|
58527
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.825749' AND '2013-03-05 05:34:15.825888') GROUP BY status
|
58528
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.825749' AND '2013-03-05 05:34:15.825888')[0m
|
58529
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.825749' AND '2013-03-05 05:34:15.825888') GROUP BY sms_type
|
58530
|
+
Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.5ms)
|
58531
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58532
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58534
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58535
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58537
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58538
|
+
Parameters: {"use_route"=>"action_smser"}
|
58539
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.842047' AND '2013-03-05 05:34:15.842157')[0m
|
58540
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.842047' AND '2013-03-05 05:34:15.842157') GROUP BY gateway
|
58541
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.842047' AND '2013-03-05 05:34:15.842157')[0m
|
58542
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.842047' AND '2013-03-05 05:34:15.842157') GROUP BY status
|
58543
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.842047' AND '2013-03-05 05:34:15.842157')[0m
|
58544
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 05:44:15.842047' AND '2013-03-05 05:34:15.842157') GROUP BY sms_type
|
58545
|
+
Completed 200 OK in 27ms (Views: 26.5ms | ActiveRecord: 0.4ms)
|
58546
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58547
|
+
Parameters: {"use_route"=>"action_smser"}
|
58548
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58550
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58552
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58553
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_3"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58555
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
58556
|
+
Parameters: {"use_route"=>"action_smser"}
|
58557
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
58558
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
58559
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58560
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x5083e00>
|
58561
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58562
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x5083e00>
|
58563
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58564
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58565
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58566
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x50763b8>
|
58567
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58568
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58569
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58570
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58571
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x50763b8>
|
58572
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58574
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58575
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58576
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58577
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58578
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x502a3c8>
|
58579
|
+
ActionSmser: id_1234
|
58580
|
+
id_6666
|
58581
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58582
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58583
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x5021a20>
|
58584
|
+
ActionSmser: id_1234
|
58585
|
+
id_6666
|
58586
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58587
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58588
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58590
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58591
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58592
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58593
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58594
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58595
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58596
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58597
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58598
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58599
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58600
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58601
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58603
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_71196922"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58606
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 15:44:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_64482045"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 05:44:15 UTC +00:00]]
|
58607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58608
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58609
|
+
|
58610
|
+
|
58611
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 15:44:15 +1000
|
58612
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58613
|
+
Parameters: {"gateway"=>"example_gateway"}
|
58614
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58615
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
58616
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
58617
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
58618
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
58619
|
+
[1m[36m (3.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58620
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
58621
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "gateway" varchar(255), "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
|
58622
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
58623
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
58624
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
58625
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58626
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58627
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
58628
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58629
|
+
ActionSmser: Sending sms - Delivery_method: delayed_job - Sms: (Sms ActionSmser::DelayedJobTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58630
|
+
ActionSmser: Delivering sms by delayed_job
|
58631
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58632
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58633
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58634
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58635
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58636
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58637
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58640
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-03-05 06:01:43.402617' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58642
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58643
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-03-05 06:01:43", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-03-05 16:01:43: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-03-05 06:01:43", updated_at: "2013-03-05 06:01:43">
|
58644
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58645
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-03-05 06:01:43.404799' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58646
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58647
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58648
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
58649
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58651
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "test_array_id_18027261"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58652
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58653
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
58654
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1
|
58655
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
58656
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58657
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58658
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58659
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58661
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 16:01:43: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58663
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58664
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-03-05 06:01:43.428961', "log" = '2013-03-05 16:01:43: LOCAL_TEST
|
58665
|
+
2013-03-05 16:01:43: TEST_2
|
58666
|
+
', "updated_at" = '2013-03-05 06:01:43.429234' WHERE "action_smser_delivery_reports"."id" = 1
|
58667
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58668
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58669
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 16:01:43: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58670
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58671
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58672
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58673
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58674
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
58675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58676
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 06:01:43.441130', "log" = '2013-03-05 16:01:43: ORIGINAL_STATUS
|
58677
|
+
2013-03-05 16:01:43: DELIVERED
|
58678
|
+
', "updated_at" = '2013-03-05 06:01:43.441601' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58679
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58680
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58681
|
+
Rendered text template (0.0ms)
|
58682
|
+
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.3ms)
|
58683
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
58684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58685
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 16:01:43: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58686
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58687
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58688
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-03-05 16:01:43: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58689
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58690
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58691
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
58692
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58693
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
58694
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58695
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 06:01:43.457501', "log" = '2013-03-05 16:01:43: ORIGINAL_STATUS
|
58696
|
+
2013-03-05 16:01:43: DELIVERED
|
58697
|
+
', "updated_at" = '2013-03-05 06:01:43.457906' WHERE "action_smser_delivery_reports"."id" = 1
|
58698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58699
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58700
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
58701
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58702
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-03-05 06:01:43.459059', "log" = '2013-03-05 16:01:43: ORIGINAL_STATUS
|
58703
|
+
2013-03-05 16:01:43: DELIVERED
|
58704
|
+
', "updated_at" = '2013-03-05 06:01:43.459360' WHERE "action_smser_delivery_reports"."id" = 2
|
58705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58706
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
58707
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
58708
|
+
[1m[35mActionSmser::DeliveryReport Load (0.0ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
58709
|
+
[1m[36mActionSmser::DeliveryReport Load (0.0ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
58710
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58711
|
+
Parameters: {"gateway"=>"gateway_not_found", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58712
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
58713
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58714
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "use_route"=>"action_smser"}
|
58715
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58716
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1
|
58717
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
58718
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
58719
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58720
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58721
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58723
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58725
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58726
|
+
Parameters: {"use_route"=>"action_smser"}
|
58727
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.472921' AND '2013-03-05 05:51:43.473064')[0m
|
58728
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.472921' AND '2013-03-05 05:51:43.473064') GROUP BY gateway
|
58729
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.472921' AND '2013-03-05 05:51:43.473064')[0m
|
58730
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.472921' AND '2013-03-05 05:51:43.473064') GROUP BY status
|
58731
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.472921' AND '2013-03-05 05:51:43.473064')[0m
|
58732
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.472921' AND '2013-03-05 05:51:43.473064') GROUP BY sms_type
|
58733
|
+
Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.4ms)
|
58734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58735
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58737
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58738
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58739
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58740
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58741
|
+
Parameters: {"use_route"=>"action_smser"}
|
58742
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.489352' AND '2013-03-05 05:51:43.489465')[0m
|
58743
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.489352' AND '2013-03-05 05:51:43.489465') GROUP BY gateway
|
58744
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.489352' AND '2013-03-05 05:51:43.489465')[0m
|
58745
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.489352' AND '2013-03-05 05:51:43.489465') GROUP BY status
|
58746
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.489352' AND '2013-03-05 05:51:43.489465')[0m
|
58747
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 06:01:43.489352' AND '2013-03-05 05:51:43.489465') GROUP BY sms_type
|
58748
|
+
Completed 200 OK in 27ms (Views: 26.9ms | ActiveRecord: 0.4ms)
|
58749
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58750
|
+
Parameters: {"use_route"=>"action_smser"}
|
58751
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58753
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_0"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58754
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58755
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58756
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58757
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58758
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
58759
|
+
Parameters: {"use_route"=>"action_smser"}
|
58760
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
58761
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
58762
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58763
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4788af8>
|
58764
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58765
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=false&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x4788af8>
|
58766
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58767
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58768
|
+
ActionSmser: Sending sms - Delivery_method: nexmo - Sms: (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58769
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=555123555&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x477ae58>
|
58770
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58771
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58772
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58773
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58774
|
+
ActionSmser: Nexmo delivery http ||| /sms/json?username=user&password=pass&ttl=86400000&status-report-req=true&from=555666&to=123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x477ae58>
|
58775
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58777
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58778
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58779
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58780
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58781
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x472ef08>
|
58782
|
+
ActionSmser: id_1234
|
58783
|
+
id_6666
|
58784
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58785
|
+
ActionSmser: Sending sms - Delivery_method: simple_http - Sms: (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58786
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x47265b0>
|
58787
|
+
ActionSmser: id_1234
|
58788
|
+
id_6666
|
58789
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58790
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58791
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58792
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58793
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58794
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58795
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58796
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58797
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58798
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58799
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58800
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58801
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58802
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58803
|
+
ActionSmser: Sending sms - Delivery_method: test_array - Sms: (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
58804
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58805
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58806
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "test_array_id_53955525"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58807
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58808
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58809
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-03-05 16:01:43: LOCAL_SENT\n"], ["msg_id", "test_array_id_52642152"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 05 Mar 2013 06:01:43 UTC +00:00]]
|
58810
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58811
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58812
|
+
|
58813
|
+
|
58814
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 16:01:43 +1000
|
58815
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58816
|
+
Parameters: {"gateway"=>"example_gateway"}
|
58817
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|