action_smser 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/action_smser/base.rb +1 -1
- data/lib/action_smser/delivery_methods/nexmo.rb +4 -1
- data/lib/action_smser/version.rb +1 -1
- data/test/dummy/log/test.log +2015 -0
- metadata +2 -2
data/test/dummy/log/test.log
CHANGED
@@ -59220,4 +59220,2019 @@ ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, n
|
|
59220
59220
|
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-07-30 15:47:15 +0300
|
59221
59221
|
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59222
59222
|
Parameters: {"gateway"=>"example_gateway"}
|
59223
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59224
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
59225
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
59226
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
59227
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
59228
|
+
[1m[36m (4.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59229
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
59230
|
+
[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)
|
59231
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
59232
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
59233
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
59234
|
+
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)
|
59235
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59236
|
+
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)
|
59237
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59238
|
+
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)
|
59239
|
+
ActionSmser: Delivering sms by delayed_job
|
59240
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59241
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59242
|
+
[1m[35mSQL (4.8ms)[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59243
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59244
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59245
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59246
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59247
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59249
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 15:59:10.473494' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59251
|
+
[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]]
|
59252
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 15:59:10", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 18:59:10: 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-08-15 15:59:10", updated_at: "2013-08-15 15:59:10">
|
59253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59254
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 15:59:10.475668' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59256
|
+
[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]]
|
59257
|
+
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)
|
59258
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59260
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 18:59:10: LOCAL_SENT\n"], ["msg_id", "test_array_id_82803"], ["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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59262
|
+
[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
|
59263
|
+
[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
|
59264
|
+
[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
|
59265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59266
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59268
|
+
[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]]
|
59269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59270
|
+
[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", Thu, 15 Aug 2013 15:59:10 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59273
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 15:59:10.505628', "log" = '2013-08-15 18:59:10: LOCAL_TEST
|
59274
|
+
2013-08-15 18:59:10: TEST_2
|
59275
|
+
', "updated_at" = '2013-08-15 15:59:10.505909' WHERE "action_smser_delivery_reports"."id" = 1
|
59276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59278
|
+
[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", Thu, 15 Aug 2013 15:59:10 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59280
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59281
|
+
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"}
|
59282
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59283
|
+
[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
|
59284
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59285
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 15:59:10.520381', "log" = '2013-08-15 18:59:10: ORIGINAL_STATUS
|
59286
|
+
2013-08-15 18:59:10: DELIVERED
|
59287
|
+
', "updated_at" = '2013-08-15 15:59:10.520852' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59288
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59289
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59290
|
+
Rendered text template (0.0ms)
|
59291
|
+
Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.3ms)
|
59292
|
+
[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]]
|
59293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59294
|
+
[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", Thu, 15 Aug 2013 15:59:10 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59297
|
+
[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", Thu, 15 Aug 2013 15:59:10 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59299
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59300
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
59301
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59302
|
+
[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
|
59303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59304
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 15:59:10.556458', "log" = '2013-08-15 18:59:10: ORIGINAL_STATUS
|
59305
|
+
2013-08-15 18:59:10: DELIVERED
|
59306
|
+
', "updated_at" = '2013-08-15 15:59:10.556877' WHERE "action_smser_delivery_reports"."id" = 1
|
59307
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59308
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59309
|
+
[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
|
59310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59311
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 15:59:10.558101', "log" = '2013-08-15 18:59:10: ORIGINAL_STATUS
|
59312
|
+
2013-08-15 18:59:10: DELIVERED
|
59313
|
+
', "updated_at" = '2013-08-15 15:59:10.558417' WHERE "action_smser_delivery_reports"."id" = 2
|
59314
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59315
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
59316
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
59317
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
59318
|
+
[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]]
|
59319
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59320
|
+
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"}
|
59321
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
59322
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59323
|
+
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"}
|
59324
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59325
|
+
[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
|
59326
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
59327
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
59328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59329
|
+
[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", Thu, 15 Aug 2013 15:59:10 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, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59332
|
+
[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", Thu, 15 Aug 2013 15:59:10 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, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59334
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59335
|
+
Parameters: {"use_route"=>"action_smser"}
|
59336
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 15:59:10.574045' AND '2013-08-15 15:49:10.577244')[0m
|
59337
|
+
[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-08-08 15:59:10.574045' AND '2013-08-15 15:49:10.577244') GROUP BY gateway
|
59338
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 15:59:10.574045' AND '2013-08-15 15:49:10.577244')[0m
|
59339
|
+
[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-08-08 15:59:10.574045' AND '2013-08-15 15:49:10.577244') GROUP BY status
|
59340
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 15:59:10.574045' AND '2013-08-15 15:49:10.577244')[0m
|
59341
|
+
[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-08-08 15:59:10.574045' AND '2013-08-15 15:49:10.577244') GROUP BY sms_type
|
59342
|
+
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.5ms)
|
59343
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59344
|
+
[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", Thu, 15 Aug 2013 15:59:10 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", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59347
|
+
[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", Thu, 15 Aug 2013 15:59:10 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, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59349
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59350
|
+
Parameters: {"use_route"=>"action_smser"}
|
59351
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 15:59:10.593852' AND '2013-08-15 15:49:10.593993')[0m
|
59352
|
+
[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-08-08 15:59:10.593852' AND '2013-08-15 15:49:10.593993') GROUP BY gateway
|
59353
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 15:59:10.593852' AND '2013-08-15 15:49:10.593993')[0m
|
59354
|
+
[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-08-08 15:59:10.593852' AND '2013-08-15 15:49:10.593993') GROUP BY status
|
59355
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 15:59:10.593852' AND '2013-08-15 15:49:10.593993')[0m
|
59356
|
+
[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-08-08 15:59:10.593852' AND '2013-08-15 15:49:10.593993') GROUP BY sms_type
|
59357
|
+
Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.4ms)
|
59358
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59359
|
+
Parameters: {"use_route"=>"action_smser"}
|
59360
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59361
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59362
|
+
[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", Thu, 15 Aug 2013 15:59:10 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, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59363
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59365
|
+
[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", Thu, 15 Aug 2013 15:59:10 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", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59367
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
59368
|
+
Parameters: {"use_route"=>"action_smser"}
|
59369
|
+
[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
|
59370
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
59371
|
+
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)
|
59372
|
+
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:0x3475c18>
|
59373
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59374
|
+
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:0x3475c18>
|
59375
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59376
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59377
|
+
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)
|
59378
|
+
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:0x346d928>
|
59379
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59380
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59381
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59382
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59383
|
+
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:0x346d928>
|
59384
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59386
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59388
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59389
|
+
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)
|
59390
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3441f58>
|
59391
|
+
ActionSmser: id_1234
|
59392
|
+
id_6666
|
59393
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59394
|
+
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)
|
59395
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x343c2d8>
|
59396
|
+
ActionSmser: id_1234
|
59397
|
+
id_6666
|
59398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59399
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59400
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59402
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 18:59:10: 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, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59403
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59404
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59405
|
+
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)
|
59406
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59407
|
+
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)
|
59408
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59409
|
+
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)
|
59410
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59411
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59412
|
+
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)
|
59413
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59414
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59415
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 18:59:10: LOCAL_SENT\n"], ["msg_id", "test_array_id_70156225"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59417
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59418
|
+
[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, 15 Aug 2013 15:59:10 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 18:59:10: LOCAL_SENT\n"], ["msg_id", "test_array_id_20719314"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 15:59:10 UTC +00:00]]
|
59419
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59420
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59421
|
+
|
59422
|
+
|
59423
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 18:59:10 +0300
|
59424
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59425
|
+
Parameters: {"gateway"=>"example_gateway"}
|
59426
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59427
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
59428
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
59429
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
59430
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
59431
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59432
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
59433
|
+
[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)
|
59434
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
59435
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
59436
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
59437
|
+
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)
|
59438
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59439
|
+
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)
|
59440
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59441
|
+
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)
|
59442
|
+
ActionSmser: Delivering sms by delayed_job
|
59443
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59445
|
+
[1m[35mSQL (4.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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15: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", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:02 UTC +00:00]]
|
59446
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59447
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59449
|
+
[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, 15 Aug 2013 16:15:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15: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", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:02 UTC +00:00]]
|
59450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59452
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:15:02.965570' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59454
|
+
[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]]
|
59455
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:15:02", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:15: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-08-15 16:15:02", updated_at: "2013-08-15 16:15:02">
|
59456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59457
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:15:02.968020' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59459
|
+
[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]]
|
59460
|
+
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)
|
59461
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59463
|
+
[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, 15 Aug 2013 16:15:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:02: LOCAL_SENT\n"], ["msg_id", "test_array_id_79597812"], ["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, 15 Aug 2013 16:15:02 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:02 UTC +00:00]]
|
59464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59465
|
+
[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
|
59466
|
+
[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
|
59467
|
+
[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
|
59468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59469
|
+
[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", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15: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", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:02 UTC +00:00]]
|
59470
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59471
|
+
[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]]
|
59472
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59473
|
+
[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", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15: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", Thu, 15 Aug 2013 16:15:02 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:02 UTC +00:00]]
|
59474
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59475
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59476
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:15:03.001201', "log" = '2013-08-15 19:15:02: LOCAL_TEST
|
59477
|
+
2013-08-15 19:15:03: TEST_2
|
59478
|
+
', "updated_at" = '2013-08-15 16:15:03.001491' WHERE "action_smser_delivery_reports"."id" = 1
|
59479
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59481
|
+
[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", Thu, 15 Aug 2013 16:15:03 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59483
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59484
|
+
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"}
|
59485
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59486
|
+
[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
|
59487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59488
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:15:03.016191', "log" = '2013-08-15 19:15:03: ORIGINAL_STATUS
|
59489
|
+
2013-08-15 19:15:03: DELIVERED
|
59490
|
+
', "updated_at" = '2013-08-15 16:15:03.016636' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59491
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59492
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59493
|
+
Rendered text template (0.0ms)
|
59494
|
+
Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 0.3ms)
|
59495
|
+
[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]]
|
59496
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59497
|
+
[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", Thu, 15 Aug 2013 16:15:03 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59499
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59500
|
+
[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", Thu, 15 Aug 2013 16:15:03 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59501
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59502
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59503
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
59504
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59505
|
+
[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
|
59506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59507
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:15:03.052533', "log" = '2013-08-15 19:15:03: ORIGINAL_STATUS
|
59508
|
+
2013-08-15 19:15:03: DELIVERED
|
59509
|
+
', "updated_at" = '2013-08-15 16:15:03.052877' WHERE "action_smser_delivery_reports"."id" = 1
|
59510
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59511
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59512
|
+
[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
|
59513
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59514
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:15:03.054150', "log" = '2013-08-15 19:15:03: ORIGINAL_STATUS
|
59515
|
+
2013-08-15 19:15:03: DELIVERED
|
59516
|
+
', "updated_at" = '2013-08-15 16:15:03.054439' WHERE "action_smser_delivery_reports"."id" = 2
|
59517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59518
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
59519
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
59520
|
+
[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]]
|
59521
|
+
[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]]
|
59522
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59523
|
+
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"}
|
59524
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
59525
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59526
|
+
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"}
|
59527
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59528
|
+
[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
|
59529
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
59530
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
59531
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59532
|
+
[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", Thu, 15 Aug 2013 16:15:03 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, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59534
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59535
|
+
[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", Thu, 15 Aug 2013 16:15:03 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", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59537
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59538
|
+
Parameters: {"use_route"=>"action_smser"}
|
59539
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:03.068859' AND '2013-08-15 16:05:03.069021')[0m
|
59540
|
+
[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-08-08 16:15:03.068859' AND '2013-08-15 16:05:03.069021') GROUP BY gateway
|
59541
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:03.068859' AND '2013-08-15 16:05:03.069021')[0m
|
59542
|
+
[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-08-08 16:15:03.068859' AND '2013-08-15 16:05:03.069021') GROUP BY status
|
59543
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:03.068859' AND '2013-08-15 16:05:03.069021')[0m
|
59544
|
+
[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-08-08 16:15:03.068859' AND '2013-08-15 16:05:03.069021') GROUP BY sms_type
|
59545
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.4ms)
|
59546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59547
|
+
[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", Thu, 15 Aug 2013 16:15:03 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, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59550
|
+
[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", Thu, 15 Aug 2013 16:15:03 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", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59552
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59553
|
+
Parameters: {"use_route"=>"action_smser"}
|
59554
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:03.084510' AND '2013-08-15 16:05:03.084615')[0m
|
59555
|
+
[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-08-08 16:15:03.084510' AND '2013-08-15 16:05:03.084615') GROUP BY gateway
|
59556
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:03.084510' AND '2013-08-15 16:05:03.084615')[0m
|
59557
|
+
[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-08-08 16:15:03.084510' AND '2013-08-15 16:05:03.084615') GROUP BY status
|
59558
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:03.084510' AND '2013-08-15 16:05:03.084615')[0m
|
59559
|
+
[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-08-08 16:15:03.084510' AND '2013-08-15 16:05:03.084615') GROUP BY sms_type
|
59560
|
+
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.4ms)
|
59561
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59562
|
+
Parameters: {"use_route"=>"action_smser"}
|
59563
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59565
|
+
[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", Thu, 15 Aug 2013 16:15:03 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, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59568
|
+
[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", Thu, 15 Aug 2013 16:15:03 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, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59570
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
59571
|
+
Parameters: {"use_route"=>"action_smser"}
|
59572
|
+
[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
|
59573
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
59574
|
+
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)
|
59575
|
+
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:0x50d0278>
|
59576
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59577
|
+
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:0x50d0278>
|
59578
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59579
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59580
|
+
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)
|
59581
|
+
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:0x50c8258>
|
59582
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59583
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59584
|
+
[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, 15 Aug 2013 16:15:03 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59585
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59586
|
+
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:0x50c8258>
|
59587
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59588
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59589
|
+
[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, 15 Aug 2013 16:15:03 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59591
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59592
|
+
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)
|
59593
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x509c518>
|
59594
|
+
ActionSmser: id_1234
|
59595
|
+
id_6666
|
59596
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59597
|
+
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)
|
59598
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x5096aa0>
|
59599
|
+
ActionSmser: id_1234
|
59600
|
+
id_6666
|
59601
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59602
|
+
[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, 15 Aug 2013 16:15:03 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59603
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59605
|
+
[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, 15 Aug 2013 16:15:03 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:15:03: 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, 15 Aug 2013 16:15:03 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59607
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59608
|
+
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)
|
59609
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59610
|
+
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)
|
59611
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59612
|
+
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)
|
59613
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59614
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59615
|
+
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)
|
59616
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59618
|
+
[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, 15 Aug 2013 16:15:03 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:03: LOCAL_SENT\n"], ["msg_id", "test_array_id_34000512"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59619
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59621
|
+
[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, 15 Aug 2013 16:15:03 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:03: LOCAL_SENT\n"], ["msg_id", "test_array_id_7871309"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:15:03 UTC +00:00]]
|
59622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59623
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59624
|
+
|
59625
|
+
|
59626
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:15:03 +0300
|
59627
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59628
|
+
Parameters: {"gateway"=>"example_gateway"}
|
59629
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59630
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
59631
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
59632
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
59633
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
59634
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59635
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
59636
|
+
[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)
|
59637
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
59638
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
59639
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
59640
|
+
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)
|
59641
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59642
|
+
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)
|
59643
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59644
|
+
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)
|
59645
|
+
ActionSmser: Delivering sms by delayed_job
|
59646
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59648
|
+
[1m[35mSQL (3.8ms)[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59650
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59652
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59654
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59655
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:15:08.491866' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59657
|
+
[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]]
|
59658
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:15:08", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:15:08: 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-08-15 16:15:08", updated_at: "2013-08-15 16:15:08">
|
59659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59660
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:15:08.493969' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59662
|
+
[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]]
|
59663
|
+
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)
|
59664
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59665
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59666
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:08: LOCAL_SENT\n"], ["msg_id", "test_array_id_14328914"], ["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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59668
|
+
[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
|
59669
|
+
[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
|
59670
|
+
[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
|
59671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59672
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59674
|
+
[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]]
|
59675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59676
|
+
[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", Thu, 15 Aug 2013 16:15:08 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59678
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59679
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:15:08.520572', "log" = '2013-08-15 19:15:08: LOCAL_TEST
|
59680
|
+
2013-08-15 19:15:08: TEST_2
|
59681
|
+
', "updated_at" = '2013-08-15 16:15:08.520854' WHERE "action_smser_delivery_reports"."id" = 1
|
59682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59683
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59684
|
+
[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", Thu, 15 Aug 2013 16:15:08 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59685
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59686
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59687
|
+
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"}
|
59688
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59689
|
+
[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
|
59690
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59691
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:15:08.533527', "log" = '2013-08-15 19:15:08: ORIGINAL_STATUS
|
59692
|
+
2013-08-15 19:15:08: DELIVERED
|
59693
|
+
', "updated_at" = '2013-08-15 16:15:08.533950' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59694
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59695
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59696
|
+
Rendered text template (0.0ms)
|
59697
|
+
Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 0.3ms)
|
59698
|
+
[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]]
|
59699
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59700
|
+
[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", Thu, 15 Aug 2013 16:15:08 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59703
|
+
[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", Thu, 15 Aug 2013 16:15:08 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59705
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59706
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
59707
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59708
|
+
[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
|
59709
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59710
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:15:08.568001', "log" = '2013-08-15 19:15:08: ORIGINAL_STATUS
|
59711
|
+
2013-08-15 19:15:08: DELIVERED
|
59712
|
+
', "updated_at" = '2013-08-15 16:15:08.568369' WHERE "action_smser_delivery_reports"."id" = 1
|
59713
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59714
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59715
|
+
[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
|
59716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59717
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:15:08.569598', "log" = '2013-08-15 19:15:08: ORIGINAL_STATUS
|
59718
|
+
2013-08-15 19:15:08: DELIVERED
|
59719
|
+
', "updated_at" = '2013-08-15 16:15:08.569907' WHERE "action_smser_delivery_reports"."id" = 2
|
59720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59721
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
59722
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
59723
|
+
[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]]
|
59724
|
+
[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]]
|
59725
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59726
|
+
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"}
|
59727
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
59728
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59729
|
+
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"}
|
59730
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59731
|
+
[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
|
59732
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
59733
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
59734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59735
|
+
[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", Thu, 15 Aug 2013 16:15:08 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, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59737
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59738
|
+
[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", Thu, 15 Aug 2013 16:15:08 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, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59739
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59740
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59741
|
+
Parameters: {"use_route"=>"action_smser"}
|
59742
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:08.584250' AND '2013-08-15 16:05:08.584377')[0m
|
59743
|
+
[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-08-08 16:15:08.584250' AND '2013-08-15 16:05:08.584377') GROUP BY gateway
|
59744
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:08.584250' AND '2013-08-15 16:05:08.584377')[0m
|
59745
|
+
[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-08-08 16:15:08.584250' AND '2013-08-15 16:05:08.584377') GROUP BY status
|
59746
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:08.584250' AND '2013-08-15 16:05:08.584377')[0m
|
59747
|
+
[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-08-08 16:15:08.584250' AND '2013-08-15 16:05:08.584377') GROUP BY sms_type
|
59748
|
+
Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.4ms)
|
59749
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59750
|
+
[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", Thu, 15 Aug 2013 16:15:08 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, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59751
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59753
|
+
[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", Thu, 15 Aug 2013 16:15:08 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, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59755
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59756
|
+
Parameters: {"use_route"=>"action_smser"}
|
59757
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:08.600029' AND '2013-08-15 16:05:08.600122')[0m
|
59758
|
+
[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-08-08 16:15:08.600029' AND '2013-08-15 16:05:08.600122') GROUP BY gateway
|
59759
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:08.600029' AND '2013-08-15 16:05:08.600122')[0m
|
59760
|
+
[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-08-08 16:15:08.600029' AND '2013-08-15 16:05:08.600122') GROUP BY status
|
59761
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:15:08.600029' AND '2013-08-15 16:05:08.600122')[0m
|
59762
|
+
[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-08-08 16:15:08.600029' AND '2013-08-15 16:05:08.600122') GROUP BY sms_type
|
59763
|
+
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.4ms)
|
59764
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59765
|
+
Parameters: {"use_route"=>"action_smser"}
|
59766
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59768
|
+
[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", Thu, 15 Aug 2013 16:15:08 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, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59771
|
+
[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", Thu, 15 Aug 2013 16:15:08 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, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59773
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
59774
|
+
Parameters: {"use_route"=>"action_smser"}
|
59775
|
+
[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
|
59776
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
59777
|
+
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)
|
59778
|
+
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:0x33b2ba0>
|
59779
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59780
|
+
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:0x33b2ba0>
|
59781
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59782
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59783
|
+
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)
|
59784
|
+
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:0x33aac48>
|
59785
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59786
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59787
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59788
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59789
|
+
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:0x33aac48>
|
59790
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59792
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59794
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59795
|
+
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)
|
59796
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x337eeb8>
|
59797
|
+
ActionSmser: id_1234
|
59798
|
+
id_6666
|
59799
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59800
|
+
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)
|
59801
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3379468>
|
59802
|
+
ActionSmser: id_1234
|
59803
|
+
id_6666
|
59804
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
59805
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59808
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:15:08: 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, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59810
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59811
|
+
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)
|
59812
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59813
|
+
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)
|
59814
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59815
|
+
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)
|
59816
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59817
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59818
|
+
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)
|
59819
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59821
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:08: LOCAL_SENT\n"], ["msg_id", "test_array_id_75428322"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59824
|
+
[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, 15 Aug 2013 16:15:08 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:15:08: LOCAL_SENT\n"], ["msg_id", "test_array_id_89294539"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:15:08 UTC +00:00]]
|
59825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59826
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59827
|
+
|
59828
|
+
|
59829
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:15:08 +0300
|
59830
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59831
|
+
Parameters: {"gateway"=>"example_gateway"}
|
59832
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59833
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
59834
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
59835
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
59836
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
59837
|
+
[1m[36m (0.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59838
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
59839
|
+
[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)
|
59840
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
59841
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
59842
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
59843
|
+
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)
|
59844
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59845
|
+
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)
|
59846
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59847
|
+
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)
|
59848
|
+
ActionSmser: Delivering sms by delayed_job
|
59849
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59850
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59851
|
+
[1m[35mSQL (23.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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59852
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59853
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59855
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59856
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59858
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:21:21.577523' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59860
|
+
[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]]
|
59861
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:21:21", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:21:21: 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-08-15 16:21:21", updated_at: "2013-08-15 16:21:21">
|
59862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59863
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:21:21.579625' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59865
|
+
[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]]
|
59866
|
+
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)
|
59867
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59869
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:21: LOCAL_SENT\n"], ["msg_id", "test_array_id_69524321"], ["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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59870
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59871
|
+
[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
|
59872
|
+
[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
|
59873
|
+
[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
|
59874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59875
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59876
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59877
|
+
[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]]
|
59878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59879
|
+
[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", Thu, 15 Aug 2013 16:21:21 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59882
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:21:21.621853', "log" = '2013-08-15 19:21:21: LOCAL_TEST
|
59883
|
+
2013-08-15 19:21:21: TEST_2
|
59884
|
+
', "updated_at" = '2013-08-15 16:21:21.622134' WHERE "action_smser_delivery_reports"."id" = 1
|
59885
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59886
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59887
|
+
[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", Thu, 15 Aug 2013 16:21:21 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59888
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59889
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59890
|
+
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"}
|
59891
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59892
|
+
[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
|
59893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59894
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:21:21.653104', "log" = '2013-08-15 19:21:21: ORIGINAL_STATUS
|
59895
|
+
2013-08-15 19:21:21: DELIVERED
|
59896
|
+
', "updated_at" = '2013-08-15 16:21:21.653584' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59898
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59899
|
+
Rendered text template (0.0ms)
|
59900
|
+
Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.3ms)
|
59901
|
+
[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]]
|
59902
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59903
|
+
[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", Thu, 15 Aug 2013 16:21:21 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59904
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59905
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59906
|
+
[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", Thu, 15 Aug 2013 16:21:21 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59907
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59908
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59909
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
59910
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59911
|
+
[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
|
59912
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59913
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:21:21.688149', "log" = '2013-08-15 19:21:21: ORIGINAL_STATUS
|
59914
|
+
2013-08-15 19:21:21: DELIVERED
|
59915
|
+
', "updated_at" = '2013-08-15 16:21:21.688500' WHERE "action_smser_delivery_reports"."id" = 1
|
59916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59917
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59918
|
+
[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
|
59919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59920
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:21:21.689688', "log" = '2013-08-15 19:21:21: ORIGINAL_STATUS
|
59921
|
+
2013-08-15 19:21:21: DELIVERED
|
59922
|
+
', "updated_at" = '2013-08-15 16:21:21.689960' WHERE "action_smser_delivery_reports"."id" = 2
|
59923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59924
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
59925
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
59926
|
+
[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]]
|
59927
|
+
[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]]
|
59928
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59929
|
+
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"}
|
59930
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
59931
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59932
|
+
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"}
|
59933
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59934
|
+
[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
|
59935
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
59936
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
59937
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59938
|
+
[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", Thu, 15 Aug 2013 16:21:21 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, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59939
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59940
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59941
|
+
[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", Thu, 15 Aug 2013 16:21:21 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", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59942
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59943
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59944
|
+
Parameters: {"use_route"=>"action_smser"}
|
59945
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:21.702940' AND '2013-08-15 16:11:21.703071')[0m
|
59946
|
+
[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-08-08 16:21:21.702940' AND '2013-08-15 16:11:21.703071') GROUP BY gateway
|
59947
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:21.702940' AND '2013-08-15 16:11:21.703071')[0m
|
59948
|
+
[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-08-08 16:21:21.702940' AND '2013-08-15 16:11:21.703071') GROUP BY status
|
59949
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:21.702940' AND '2013-08-15 16:11:21.703071')[0m
|
59950
|
+
[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-08-08 16:21:21.702940' AND '2013-08-15 16:11:21.703071') GROUP BY sms_type
|
59951
|
+
Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.4ms)
|
59952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59953
|
+
[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", Thu, 15 Aug 2013 16:21:21 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, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59956
|
+
[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", Thu, 15 Aug 2013 16:21:21 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, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59958
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59959
|
+
Parameters: {"use_route"=>"action_smser"}
|
59960
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:21.738010' AND '2013-08-15 16:11:21.738109')[0m
|
59961
|
+
[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-08-08 16:21:21.738010' AND '2013-08-15 16:11:21.738109') GROUP BY gateway
|
59962
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:21.738010' AND '2013-08-15 16:11:21.738109')[0m
|
59963
|
+
[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-08-08 16:21:21.738010' AND '2013-08-15 16:11:21.738109') GROUP BY status
|
59964
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:21.738010' AND '2013-08-15 16:11:21.738109')[0m
|
59965
|
+
[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-08-08 16:21:21.738010' AND '2013-08-15 16:11:21.738109') GROUP BY sms_type
|
59966
|
+
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.4ms)
|
59967
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59968
|
+
Parameters: {"use_route"=>"action_smser"}
|
59969
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59971
|
+
[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", Thu, 15 Aug 2013 16:21:21 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, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59974
|
+
[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", Thu, 15 Aug 2013 16:21:21 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, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59976
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
59977
|
+
Parameters: {"use_route"=>"action_smser"}
|
59978
|
+
[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
|
59979
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
59980
|
+
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)
|
59981
|
+
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:0x3d1d780>
|
59982
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59983
|
+
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:0x3d1d780>
|
59984
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59985
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59986
|
+
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)
|
59987
|
+
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:0x3d25a48>
|
59988
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59990
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59992
|
+
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:0x3d25a48>
|
59993
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59994
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59995
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
59996
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59997
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59998
|
+
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)
|
59999
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3d518c8>
|
60000
|
+
ActionSmser: id_1234
|
60001
|
+
id_6666
|
60002
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60003
|
+
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)
|
60004
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3d5c110>
|
60005
|
+
ActionSmser: id_1234
|
60006
|
+
id_6666
|
60007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60008
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
60009
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60010
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60011
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:21:21: 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, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
60012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60013
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60014
|
+
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)
|
60015
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60016
|
+
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)
|
60017
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60018
|
+
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)
|
60019
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60020
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60021
|
+
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)
|
60022
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60024
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:21: LOCAL_SENT\n"], ["msg_id", "test_array_id_57330703"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
60025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60027
|
+
[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, 15 Aug 2013 16:21:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:21: LOCAL_SENT\n"], ["msg_id", "test_array_id_14809312"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:21:21 UTC +00:00]]
|
60028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60029
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60030
|
+
|
60031
|
+
|
60032
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:21:21 +0300
|
60033
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60034
|
+
Parameters: {"gateway"=>"example_gateway"}
|
60035
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60036
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
60037
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
60038
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
60039
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
60040
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60041
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
60042
|
+
[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)
|
60043
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
60044
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
60045
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
60046
|
+
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)
|
60047
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60048
|
+
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)
|
60049
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60050
|
+
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)
|
60051
|
+
ActionSmser: Delivering sms by delayed_job
|
60052
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60053
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60054
|
+
[1m[35mSQL (24.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, 15 Aug 2013 16:21:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60055
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60056
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60058
|
+
[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, 15 Aug 2013 16:21:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60061
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:21:30.829890' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60062
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60063
|
+
[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]]
|
60064
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:21:30", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:21:30: 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-08-15 16:21:30", updated_at: "2013-08-15 16:21:30">
|
60065
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60066
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:21:30.831964' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60067
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60068
|
+
[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]]
|
60069
|
+
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)
|
60070
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60072
|
+
[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, 15 Aug 2013 16:21:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:30: LOCAL_SENT\n"], ["msg_id", "test_array_id_25292387"], ["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, 15 Aug 2013 16:21:30 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60073
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60074
|
+
[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
|
60075
|
+
[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
|
60076
|
+
[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
|
60077
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60078
|
+
[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, 15 Aug 2013 16:21:30 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60079
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60080
|
+
[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]]
|
60081
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60082
|
+
[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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60083
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60085
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:21:30.874170', "log" = '2013-08-15 19:21:30: LOCAL_TEST
|
60086
|
+
2013-08-15 19:21:30: TEST_2
|
60087
|
+
', "updated_at" = '2013-08-15 16:21:30.874438' WHERE "action_smser_delivery_reports"."id" = 1
|
60088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60090
|
+
[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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60091
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60092
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60093
|
+
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"}
|
60094
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60095
|
+
[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
|
60096
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60097
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:21:30.905383', "log" = '2013-08-15 19:21:30: ORIGINAL_STATUS
|
60098
|
+
2013-08-15 19:21:30: DELIVERED
|
60099
|
+
', "updated_at" = '2013-08-15 16:21:30.905812' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60100
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60101
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60102
|
+
Rendered text template (0.0ms)
|
60103
|
+
Completed 200 OK in 30ms (Views: 26.5ms | ActiveRecord: 0.3ms)
|
60104
|
+
[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]]
|
60105
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60106
|
+
[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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60107
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60108
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60109
|
+
[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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60110
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60111
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60112
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
60113
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60114
|
+
[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
|
60115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60116
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:21:30.940089', "log" = '2013-08-15 19:21:30: ORIGINAL_STATUS
|
60117
|
+
2013-08-15 19:21:30: DELIVERED
|
60118
|
+
', "updated_at" = '2013-08-15 16:21:30.940436' WHERE "action_smser_delivery_reports"."id" = 1
|
60119
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60120
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60121
|
+
[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
|
60122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60123
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:21:30.941575', "log" = '2013-08-15 19:21:30: ORIGINAL_STATUS
|
60124
|
+
2013-08-15 19:21:30: DELIVERED
|
60125
|
+
', "updated_at" = '2013-08-15 16:21:30.941841' WHERE "action_smser_delivery_reports"."id" = 2
|
60126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60127
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
60128
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
60129
|
+
[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]]
|
60130
|
+
[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]]
|
60131
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60132
|
+
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"}
|
60133
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60134
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60135
|
+
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"}
|
60136
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60137
|
+
[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
|
60138
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
60139
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
60140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60141
|
+
[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", Thu, 15 Aug 2013 16:21:30 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, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60142
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60144
|
+
[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", Thu, 15 Aug 2013 16:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60146
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60147
|
+
Parameters: {"use_route"=>"action_smser"}
|
60148
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:30.954645' AND '2013-08-15 16:11:30.954779')[0m
|
60149
|
+
[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-08-08 16:21:30.954645' AND '2013-08-15 16:11:30.954779') GROUP BY gateway
|
60150
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:30.954645' AND '2013-08-15 16:11:30.954779')[0m
|
60151
|
+
[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-08-08 16:21:30.954645' AND '2013-08-15 16:11:30.954779') GROUP BY status
|
60152
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:30.954645' AND '2013-08-15 16:11:30.954779')[0m
|
60153
|
+
[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-08-08 16:21:30.954645' AND '2013-08-15 16:11:30.954779') GROUP BY sms_type
|
60154
|
+
Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.5ms)
|
60155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60156
|
+
[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", Thu, 15 Aug 2013 16:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60159
|
+
[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", Thu, 15 Aug 2013 16:21: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", Thu, 15 Aug 2013 16:21:30 UTC +00:00]]
|
60160
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60161
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60162
|
+
Parameters: {"use_route"=>"action_smser"}
|
60163
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:30.989548' AND '2013-08-15 16:11:30.989651')[0m
|
60164
|
+
[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-08-08 16:21:30.989548' AND '2013-08-15 16:11:30.989651') GROUP BY gateway
|
60165
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:30.989548' AND '2013-08-15 16:11:30.989651')[0m
|
60166
|
+
[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-08-08 16:21:30.989548' AND '2013-08-15 16:11:30.989651') GROUP BY status
|
60167
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:21:30.989548' AND '2013-08-15 16:11:30.989651')[0m
|
60168
|
+
[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-08-08 16:21:30.989548' AND '2013-08-15 16:11:30.989651') GROUP BY sms_type
|
60169
|
+
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.4ms)
|
60170
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60171
|
+
Parameters: {"use_route"=>"action_smser"}
|
60172
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60173
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60174
|
+
[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", Thu, 15 Aug 2013 16:21:31 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, 15 Aug 2013 16:21:31 UTC +00:00]]
|
60175
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60176
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60177
|
+
[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", Thu, 15 Aug 2013 16:21:31 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", Thu, 15 Aug 2013 16:21:31 UTC +00:00]]
|
60178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60179
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
60180
|
+
Parameters: {"use_route"=>"action_smser"}
|
60181
|
+
[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
|
60182
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
60183
|
+
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)
|
60184
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60185
|
+
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)
|
60186
|
+
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)
|
60187
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x42d9660>
|
60188
|
+
ActionSmser: id_1234
|
60189
|
+
id_6666
|
60190
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60191
|
+
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)
|
60192
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x42e2008>
|
60193
|
+
ActionSmser: id_1234
|
60194
|
+
id_6666
|
60195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60196
|
+
[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, 15 Aug 2013 16:21:31 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:21:31: 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, 15 Aug 2013 16:21:31 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:21:31 UTC +00:00]]
|
60197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60198
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60199
|
+
[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, 15 Aug 2013 16:21:31 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:21:31: 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, 15 Aug 2013 16:21:31 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:21:31 UTC +00:00]]
|
60200
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60201
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60202
|
+
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)
|
60203
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60204
|
+
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)
|
60205
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60206
|
+
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)
|
60207
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60208
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60209
|
+
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)
|
60210
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60212
|
+
[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, 15 Aug 2013 16:21:31 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:31: LOCAL_SENT\n"], ["msg_id", "test_array_id_8302827"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:21:31 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:21:31 UTC +00:00]]
|
60213
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60214
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60215
|
+
[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, 15 Aug 2013 16:21:31 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:21:31: LOCAL_SENT\n"], ["msg_id", "test_array_id_98881040"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:21:31 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:21:31 UTC +00:00]]
|
60216
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60217
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60218
|
+
|
60219
|
+
|
60220
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:21:31 +0300
|
60221
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60222
|
+
Parameters: {"gateway"=>"example_gateway"}
|
60223
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60224
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
60225
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
60226
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
60227
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
60228
|
+
[1m[36m (1.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60229
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
60230
|
+
[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)
|
60231
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
60232
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
60233
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
60234
|
+
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)
|
60235
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60236
|
+
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)
|
60237
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60238
|
+
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)
|
60239
|
+
ActionSmser: Delivering sms by delayed_job
|
60240
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60241
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60242
|
+
[1m[35mSQL (26.9ms)[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60244
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60246
|
+
[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60247
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60249
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:22:43.547273' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60251
|
+
[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]]
|
60252
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:22:43", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:22: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-08-15 16:22:43", updated_at: "2013-08-15 16:22:43">
|
60253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60254
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:22:43.550128' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60256
|
+
[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]]
|
60257
|
+
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)
|
60258
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60260
|
+
[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:22:43: LOCAL_SENT\n"], ["msg_id", "test_array_id_35980371"], ["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, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60262
|
+
[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
|
60263
|
+
[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
|
60264
|
+
[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
|
60265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60266
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60268
|
+
[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]]
|
60269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60270
|
+
[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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60273
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:22:43.602639', "log" = '2013-08-15 19:22:43: LOCAL_TEST
|
60274
|
+
2013-08-15 19:22:43: TEST_2
|
60275
|
+
', "updated_at" = '2013-08-15 16:22:43.602952' WHERE "action_smser_delivery_reports"."id" = 1
|
60276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60277
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60278
|
+
[1m[36mSQL (0.7ms)[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60280
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60281
|
+
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"}
|
60282
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60283
|
+
[1m[36mActionSmser::DeliveryReport Load (0.3ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
60284
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60285
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:22:43.643022', "log" = '2013-08-15 19:22:43: ORIGINAL_STATUS
|
60286
|
+
2013-08-15 19:22:43: DELIVERED
|
60287
|
+
', "updated_at" = '2013-08-15 16:22:43.644386' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60288
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60289
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60290
|
+
Rendered text template (0.0ms)
|
60291
|
+
Completed 200 OK in 39ms (Views: 32.8ms | ActiveRecord: 0.5ms)
|
60292
|
+
[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]]
|
60293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60294
|
+
[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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60297
|
+
[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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60299
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60300
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
60301
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60302
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
60303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60304
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:22:43.687484', "log" = '2013-08-15 19:22:43: ORIGINAL_STATUS
|
60305
|
+
2013-08-15 19:22:43: DELIVERED
|
60306
|
+
', "updated_at" = '2013-08-15 16:22:43.687897' WHERE "action_smser_delivery_reports"."id" = 1
|
60307
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60308
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60309
|
+
[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
|
60310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60311
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:22:43.689283', "log" = '2013-08-15 19:22:43: ORIGINAL_STATUS
|
60312
|
+
2013-08-15 19:22:43: DELIVERED
|
60313
|
+
', "updated_at" = '2013-08-15 16:22:43.689624' WHERE "action_smser_delivery_reports"."id" = 2
|
60314
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60315
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
60316
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
60317
|
+
[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]]
|
60318
|
+
[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]]
|
60319
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60320
|
+
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"}
|
60321
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
60322
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60323
|
+
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"}
|
60324
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60325
|
+
[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
|
60326
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
60327
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
60328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60329
|
+
[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", Thu, 15 Aug 2013 16:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60332
|
+
[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", Thu, 15 Aug 2013 16:22:43 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", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60334
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60335
|
+
Parameters: {"use_route"=>"action_smser"}
|
60336
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.705953' AND '2013-08-15 16:12:43.706155')[0m
|
60337
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.705953' AND '2013-08-15 16:12:43.706155') GROUP BY gateway
|
60338
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.705953' AND '2013-08-15 16:12:43.706155')[0m
|
60339
|
+
[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-08-08 16:22:43.705953' AND '2013-08-15 16:12:43.706155') GROUP BY status
|
60340
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.705953' AND '2013-08-15 16:12:43.706155')[0m
|
60341
|
+
[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-08-08 16:22:43.705953' AND '2013-08-15 16:12:43.706155') GROUP BY sms_type
|
60342
|
+
Completed 200 OK in 40ms (Views: 39.0ms | ActiveRecord: 0.7ms)
|
60343
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60344
|
+
[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", Thu, 15 Aug 2013 16:22:43 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", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60347
|
+
[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", Thu, 15 Aug 2013 16:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60349
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60350
|
+
Parameters: {"use_route"=>"action_smser"}
|
60351
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.747031' AND '2013-08-15 16:12:43.747136')[0m
|
60352
|
+
[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-08-08 16:22:43.747031' AND '2013-08-15 16:12:43.747136') GROUP BY gateway
|
60353
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.747031' AND '2013-08-15 16:12:43.747136')[0m
|
60354
|
+
[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-08-08 16:22:43.747031' AND '2013-08-15 16:12:43.747136') GROUP BY status
|
60355
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:22:43.747031' AND '2013-08-15 16:12:43.747136')[0m
|
60356
|
+
[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-08-08 16:22:43.747031' AND '2013-08-15 16:12:43.747136') GROUP BY sms_type
|
60357
|
+
Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.4ms)
|
60358
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60359
|
+
Parameters: {"use_route"=>"action_smser"}
|
60360
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60361
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60362
|
+
[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", Thu, 15 Aug 2013 16:22:43 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, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60363
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60365
|
+
[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", Thu, 15 Aug 2013 16:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60367
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
60368
|
+
Parameters: {"use_route"=>"action_smser"}
|
60369
|
+
[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
|
60370
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
60371
|
+
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)
|
60372
|
+
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:0x4eacc58>
|
60373
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60374
|
+
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:0x4eacc58>
|
60375
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60376
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60377
|
+
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)
|
60378
|
+
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:0x4eb4ea8>
|
60379
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60380
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60381
|
+
[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60382
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60383
|
+
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:0x4eb4ea8>
|
60384
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60386
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60388
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60389
|
+
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)
|
60390
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4ee0b98>
|
60391
|
+
ActionSmser: id_1234
|
60392
|
+
id_6666
|
60393
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60394
|
+
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)
|
60395
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4ee33c0>
|
60396
|
+
ActionSmser: id_1234
|
60397
|
+
id_6666
|
60398
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60399
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60400
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60402
|
+
[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:22: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", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60403
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60404
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60405
|
+
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)
|
60406
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60407
|
+
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)
|
60408
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60409
|
+
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)
|
60410
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60411
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60412
|
+
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)
|
60413
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60414
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60415
|
+
[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:22:43: LOCAL_SENT\n"], ["msg_id", "test_array_id_882051"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60417
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60418
|
+
[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, 15 Aug 2013 16:22:43 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:22:43: LOCAL_SENT\n"], ["msg_id", "test_array_id_75195519"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:22:43 UTC +00:00]]
|
60419
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60420
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60421
|
+
|
60422
|
+
|
60423
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:22:43 +0300
|
60424
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60425
|
+
Parameters: {"gateway"=>"example_gateway"}
|
60426
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60427
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
60428
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
60429
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
60430
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
60431
|
+
[1m[36m (1.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60432
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
60433
|
+
[1m[35m (0.3ms)[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)
|
60434
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
60435
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
60436
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
60437
|
+
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)
|
60438
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60439
|
+
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)
|
60440
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60441
|
+
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)
|
60442
|
+
ActionSmser: Delivering sms by delayed_job
|
60443
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60445
|
+
[1m[35mSQL (28.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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60447
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60449
|
+
[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", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60452
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:47:27.334500' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60454
|
+
[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]]
|
60455
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:47:27", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:47:27: 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-08-15 16:47:27", updated_at: "2013-08-15 16:47:27">
|
60456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60457
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:47:27.337211' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60459
|
+
[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]]
|
60460
|
+
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)
|
60461
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60463
|
+
[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", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:27: LOCAL_SENT\n"], ["msg_id", "test_array_id_2815053"], ["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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60464
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60465
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
60466
|
+
[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
|
60467
|
+
[1m[36mActionSmser::DeliveryReport Load (0.3ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1[0m
|
60468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60469
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60471
|
+
[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]]
|
60472
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60473
|
+
[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", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60474
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60475
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60476
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:47:27.397438', "log" = '2013-08-15 19:47:27: LOCAL_TEST
|
60477
|
+
2013-08-15 19:47:27: TEST_2
|
60478
|
+
', "updated_at" = '2013-08-15 16:47:27.397790' WHERE "action_smser_delivery_reports"."id" = 1
|
60479
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60481
|
+
[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", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60482
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60483
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60484
|
+
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"}
|
60485
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60486
|
+
[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
|
60487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60488
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:47:27.432599', "log" = '2013-08-15 19:47:27: ORIGINAL_STATUS
|
60489
|
+
2013-08-15 19:47:27: DELIVERED
|
60490
|
+
', "updated_at" = '2013-08-15 16:47:27.433090' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60491
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60492
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60493
|
+
Rendered text template (0.0ms)
|
60494
|
+
Completed 200 OK in 34ms (Views: 29.9ms | ActiveRecord: 0.4ms)
|
60495
|
+
[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]]
|
60496
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60497
|
+
[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", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60499
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60500
|
+
[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", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60501
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60502
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60503
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
60504
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60505
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
60506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60507
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:47:27.473727', "log" = '2013-08-15 19:47:27: ORIGINAL_STATUS
|
60508
|
+
2013-08-15 19:47:27: DELIVERED
|
60509
|
+
', "updated_at" = '2013-08-15 16:47:27.474340' WHERE "action_smser_delivery_reports"."id" = 1
|
60510
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60511
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60512
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
|
60513
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60514
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:47:27.476588', "log" = '2013-08-15 19:47:27: ORIGINAL_STATUS
|
60515
|
+
2013-08-15 19:47:27: DELIVERED
|
60516
|
+
', "updated_at" = '2013-08-15 16:47:27.477171' WHERE "action_smser_delivery_reports"."id" = 2
|
60517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60518
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
60519
|
+
Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
60520
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
60521
|
+
[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]]
|
60522
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60523
|
+
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"}
|
60524
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60525
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60526
|
+
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"}
|
60527
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60528
|
+
[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
|
60529
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
60530
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
60531
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60532
|
+
[1m[35mSQL (0.9ms)[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, 15 Aug 2013 16:47:27 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", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60534
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60535
|
+
[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", Thu, 15 Aug 2013 16:47:27 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", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60537
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60538
|
+
Parameters: {"use_route"=>"action_smser"}
|
60539
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:27.494118' AND '2013-08-15 16:37:27.494276')[0m
|
60540
|
+
[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-08-08 16:47:27.494118' AND '2013-08-15 16:37:27.494276') GROUP BY gateway
|
60541
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:27.494118' AND '2013-08-15 16:37:27.494276')[0m
|
60542
|
+
[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-08-08 16:47:27.494118' AND '2013-08-15 16:37:27.494276') GROUP BY status
|
60543
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:27.494118' AND '2013-08-15 16:37:27.494276')[0m
|
60544
|
+
[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-08-08 16:47:27.494118' AND '2013-08-15 16:37:27.494276') GROUP BY sms_type
|
60545
|
+
Completed 200 OK in 36ms (Views: 35.7ms | ActiveRecord: 0.5ms)
|
60546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60547
|
+
[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", Thu, 15 Aug 2013 16:47:27 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", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60550
|
+
[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", Thu, 15 Aug 2013 16:47:27 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, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60552
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60553
|
+
Parameters: {"use_route"=>"action_smser"}
|
60554
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:27.532369' AND '2013-08-15 16:37:27.532473')[0m
|
60555
|
+
[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-08-08 16:47:27.532369' AND '2013-08-15 16:37:27.532473') GROUP BY gateway
|
60556
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:27.532369' AND '2013-08-15 16:37:27.532473')[0m
|
60557
|
+
[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-08-08 16:47:27.532369' AND '2013-08-15 16:37:27.532473') GROUP BY status
|
60558
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:27.532369' AND '2013-08-15 16:37:27.532473')[0m
|
60559
|
+
[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-08-08 16:47:27.532369' AND '2013-08-15 16:37:27.532473') GROUP BY sms_type
|
60560
|
+
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.4ms)
|
60561
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60562
|
+
Parameters: {"use_route"=>"action_smser"}
|
60563
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60565
|
+
[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", Thu, 15 Aug 2013 16:47:27 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", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60568
|
+
[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", Thu, 15 Aug 2013 16:47:27 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", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60570
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
60571
|
+
Parameters: {"use_route"=>"action_smser"}
|
60572
|
+
[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
|
60573
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
60574
|
+
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)
|
60575
|
+
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:0x3a91818>
|
60576
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60577
|
+
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:0x3a91818>
|
60578
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60579
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60580
|
+
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)
|
60581
|
+
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:0x3a99ab8>
|
60582
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60583
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60584
|
+
[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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60585
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60586
|
+
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:0x3a99ab8>
|
60587
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60588
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60589
|
+
[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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60591
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60592
|
+
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)
|
60593
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3ac5960>
|
60594
|
+
ActionSmser: id_1234
|
60595
|
+
id_6666
|
60596
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60597
|
+
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)
|
60598
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3ac81b0>
|
60599
|
+
ActionSmser: id_1234
|
60600
|
+
id_6666
|
60601
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60602
|
+
[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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60603
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60605
|
+
[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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:47:27: 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, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60607
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60608
|
+
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)
|
60609
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60610
|
+
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)
|
60611
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60612
|
+
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)
|
60613
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60614
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60615
|
+
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)
|
60616
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60618
|
+
[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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:27: LOCAL_SENT\n"], ["msg_id", "test_array_id_70889599"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60619
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60621
|
+
[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, 15 Aug 2013 16:47:27 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:27: LOCAL_SENT\n"], ["msg_id", "test_array_id_97985333"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:47:27 UTC +00:00]]
|
60622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60623
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60624
|
+
|
60625
|
+
|
60626
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:47:27 +0300
|
60627
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60628
|
+
Parameters: {"gateway"=>"example_gateway"}
|
60629
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60630
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
60631
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
60632
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
60633
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
60634
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60635
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
60636
|
+
[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)
|
60637
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
60638
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
60639
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
60640
|
+
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)
|
60641
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60642
|
+
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)
|
60643
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60644
|
+
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)
|
60645
|
+
ActionSmser: Delivering sms by delayed_job
|
60646
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60648
|
+
[1m[35mSQL (23.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, 15 Aug 2013 16:47:51 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60650
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60652
|
+
[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, 15 Aug 2013 16:47:51 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60654
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60655
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:47:51.744492' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60657
|
+
[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]]
|
60658
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:47:51", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:47:51: 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-08-15 16:47:51", updated_at: "2013-08-15 16:47:51">
|
60659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60660
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:47:51.746589' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60662
|
+
[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]]
|
60663
|
+
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)
|
60664
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60665
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60666
|
+
[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, 15 Aug 2013 16:47:51 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:51: LOCAL_SENT\n"], ["msg_id", "test_array_id_50786201"], ["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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60668
|
+
[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
|
60669
|
+
[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
|
60670
|
+
[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
|
60671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60672
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60674
|
+
[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]]
|
60675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60676
|
+
[1m[36mSQL (0.9ms)[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, 15 Aug 2013 16:47:51 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60677
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60678
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60679
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:47:51.809016', "log" = '2013-08-15 19:47:51: LOCAL_TEST
|
60680
|
+
2013-08-15 19:47:51: TEST_2
|
60681
|
+
', "updated_at" = '2013-08-15 16:47:51.809552' WHERE "action_smser_delivery_reports"."id" = 1
|
60682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60683
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60684
|
+
[1m[36mSQL (0.9ms)[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, 15 Aug 2013 16:47:51 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60685
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60686
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60687
|
+
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"}
|
60688
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60689
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
60690
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60691
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:47:51.858337', "log" = '2013-08-15 19:47:51: ORIGINAL_STATUS
|
60692
|
+
2013-08-15 19:47:51: DELIVERED
|
60693
|
+
', "updated_at" = '2013-08-15 16:47:51.859467' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60694
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60695
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60696
|
+
Rendered text template (0.0ms)
|
60697
|
+
Completed 200 OK in 44ms (Views: 37.6ms | ActiveRecord: 0.7ms)
|
60698
|
+
[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]]
|
60699
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60700
|
+
[1m[36mSQL (0.8ms)[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, 15 Aug 2013 16:47:51 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60703
|
+
[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", Thu, 15 Aug 2013 16:47:51 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60705
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60706
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
60707
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60708
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
60709
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60710
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:47:51.907618', "log" = '2013-08-15 19:47:51: ORIGINAL_STATUS
|
60711
|
+
2013-08-15 19:47:51: DELIVERED
|
60712
|
+
', "updated_at" = '2013-08-15 16:47:51.908016' WHERE "action_smser_delivery_reports"."id" = 1
|
60713
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60714
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60715
|
+
[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
|
60716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60717
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:47:51.909260', "log" = '2013-08-15 19:47:51: ORIGINAL_STATUS
|
60718
|
+
2013-08-15 19:47:51: DELIVERED
|
60719
|
+
', "updated_at" = '2013-08-15 16:47:51.909543' WHERE "action_smser_delivery_reports"."id" = 2
|
60720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60721
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
60722
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
60723
|
+
[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]]
|
60724
|
+
[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]]
|
60725
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60726
|
+
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"}
|
60727
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
60728
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60729
|
+
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"}
|
60730
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60731
|
+
[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
|
60732
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
60733
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
60734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60735
|
+
[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", Thu, 15 Aug 2013 16:47:51 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", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60737
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60738
|
+
[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", Thu, 15 Aug 2013 16:47:51 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, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60739
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60740
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60741
|
+
Parameters: {"use_route"=>"action_smser"}
|
60742
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:51.923418' AND '2013-08-15 16:37:51.923566')[0m
|
60743
|
+
[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-08-08 16:47:51.923418' AND '2013-08-15 16:37:51.923566') GROUP BY gateway
|
60744
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:51.923418' AND '2013-08-15 16:37:51.923566')[0m
|
60745
|
+
[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-08-08 16:47:51.923418' AND '2013-08-15 16:37:51.923566') GROUP BY status
|
60746
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:51.923418' AND '2013-08-15 16:37:51.923566')[0m
|
60747
|
+
[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-08-08 16:47:51.923418' AND '2013-08-15 16:37:51.923566') GROUP BY sms_type
|
60748
|
+
Completed 200 OK in 38ms (Views: 37.5ms | ActiveRecord: 0.4ms)
|
60749
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60750
|
+
[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", Thu, 15 Aug 2013 16:47:51 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", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60751
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60753
|
+
[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", Thu, 15 Aug 2013 16:47:51 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", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60755
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60756
|
+
Parameters: {"use_route"=>"action_smser"}
|
60757
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:51.965292' AND '2013-08-15 16:37:51.965419')[0m
|
60758
|
+
[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-08-08 16:47:51.965292' AND '2013-08-15 16:37:51.965419') GROUP BY gateway
|
60759
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:51.965292' AND '2013-08-15 16:37:51.965419')[0m
|
60760
|
+
[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-08-08 16:47:51.965292' AND '2013-08-15 16:37:51.965419') GROUP BY status
|
60761
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:47:51.965292' AND '2013-08-15 16:37:51.965419')[0m
|
60762
|
+
[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-08-08 16:47:51.965292' AND '2013-08-15 16:37:51.965419') GROUP BY sms_type
|
60763
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.4ms)
|
60764
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60765
|
+
Parameters: {"use_route"=>"action_smser"}
|
60766
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60768
|
+
[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", Thu, 15 Aug 2013 16:47:51 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, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60771
|
+
[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", Thu, 15 Aug 2013 16:47:51 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", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60773
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
60774
|
+
Parameters: {"use_route"=>"action_smser"}
|
60775
|
+
[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
|
60776
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
60777
|
+
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)
|
60778
|
+
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:0x448dab0>
|
60779
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60780
|
+
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:0x448dab0>
|
60781
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60782
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60783
|
+
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)
|
60784
|
+
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:0x4495d00>
|
60785
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60786
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60787
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60788
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60789
|
+
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:0x4495d00>
|
60790
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60791
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60792
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:47:51: 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, 15 Aug 2013 16:47:51 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:47:51 UTC +00:00]]
|
60793
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60794
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60795
|
+
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)
|
60796
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x44c19f0>
|
60797
|
+
ActionSmser: id_1234
|
60798
|
+
id_6666
|
60799
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60800
|
+
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)
|
60801
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x44c4218>
|
60802
|
+
ActionSmser: id_1234
|
60803
|
+
id_6666
|
60804
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60805
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:47:52: 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, 15 Aug 2013 16:47:52 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00]]
|
60806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60808
|
+
[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", Thu, 15 Aug 2013 16:47:52 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:47:52: 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, 15 Aug 2013 16:47:52 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00]]
|
60809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60810
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60811
|
+
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)
|
60812
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60813
|
+
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)
|
60814
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60815
|
+
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)
|
60816
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60817
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60818
|
+
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)
|
60819
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60821
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:52: LOCAL_SENT\n"], ["msg_id", "test_array_id_2673700"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00]]
|
60822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60824
|
+
[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", Thu, 15 Aug 2013 16:47:52 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:47:52: LOCAL_SENT\n"], ["msg_id", "test_array_id_84375091"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:47:52 UTC +00:00]]
|
60825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60826
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60827
|
+
|
60828
|
+
|
60829
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:47:52 +0300
|
60830
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60831
|
+
Parameters: {"gateway"=>"example_gateway"}
|
60832
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
60833
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
60834
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
60835
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
60836
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
60837
|
+
[1m[36m (3.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60838
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
60839
|
+
[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)
|
60840
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
60841
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
60842
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
60843
|
+
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)
|
60844
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60845
|
+
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)
|
60846
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60847
|
+
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)
|
60848
|
+
ActionSmser: Delivering sms by delayed_job
|
60849
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60850
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60851
|
+
[1m[35mSQL (31.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, 15 Aug 2013 16:53:20 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60852
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60853
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60855
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60858
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:53:20.782653' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60860
|
+
[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]]
|
60861
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:53:20", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:53:20: 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-08-15 16:53:20", updated_at: "2013-08-15 16:53:20">
|
60862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60863
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:53:20.785117' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60865
|
+
[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]]
|
60866
|
+
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)
|
60867
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
60868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60869
|
+
[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, 15 Aug 2013 16:53:20 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:20: LOCAL_SENT\n"], ["msg_id", "test_array_id_65499007"], ["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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60870
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60871
|
+
[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
|
60872
|
+
[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
|
60873
|
+
[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
|
60874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60875
|
+
[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, 15 Aug 2013 16:53:20 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60876
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60877
|
+
[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]]
|
60878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60879
|
+
[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", Thu, 15 Aug 2013 16:53:20 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60882
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:53:20.834609', "log" = '2013-08-15 19:53:20: LOCAL_TEST
|
60883
|
+
2013-08-15 19:53:20: TEST_2
|
60884
|
+
', "updated_at" = '2013-08-15 16:53:20.834926' WHERE "action_smser_delivery_reports"."id" = 1
|
60885
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60886
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60887
|
+
[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", Thu, 15 Aug 2013 16:53:20 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60888
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60889
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60890
|
+
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"}
|
60891
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60892
|
+
[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
|
60893
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60894
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:53:20.877864', "log" = '2013-08-15 19:53:20: ORIGINAL_STATUS
|
60895
|
+
2013-08-15 19:53:20: DELIVERED
|
60896
|
+
', "updated_at" = '2013-08-15 16:53:20.878766' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
60897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60898
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60899
|
+
Rendered text template (0.0ms)
|
60900
|
+
Completed 200 OK in 42ms (Views: 32.5ms | ActiveRecord: 0.5ms)
|
60901
|
+
[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]]
|
60902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
60903
|
+
[1m[36mSQL (0.9ms)[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, 15 Aug 2013 16:53:20 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60904
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60905
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60906
|
+
[1m[35mSQL (0.9ms)[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, 15 Aug 2013 16:53:20 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:20: 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, 15 Aug 2013 16:53:20 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60907
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60908
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60909
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
60910
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60911
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
60912
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60913
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:53:20.925511', "log" = '2013-08-15 19:53:20: ORIGINAL_STATUS
|
60914
|
+
2013-08-15 19:53:20: DELIVERED
|
60915
|
+
', "updated_at" = '2013-08-15 16:53:20.925903' WHERE "action_smser_delivery_reports"."id" = 1
|
60916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60917
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
60918
|
+
[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
|
60919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60920
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:53:20.927233', "log" = '2013-08-15 19:53:20: ORIGINAL_STATUS
|
60921
|
+
2013-08-15 19:53:20: DELIVERED
|
60922
|
+
', "updated_at" = '2013-08-15 16:53:20.927559' WHERE "action_smser_delivery_reports"."id" = 2
|
60923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60924
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
60925
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
60926
|
+
[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]]
|
60927
|
+
[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]]
|
60928
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60929
|
+
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"}
|
60930
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60931
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
60932
|
+
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"}
|
60933
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
60934
|
+
[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
|
60935
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
60936
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
60937
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60938
|
+
[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", Thu, 15 Aug 2013 16:53:20 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, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60939
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60940
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60941
|
+
[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", Thu, 15 Aug 2013 16:53:20 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", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60942
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60943
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60944
|
+
Parameters: {"use_route"=>"action_smser"}
|
60945
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.943820' AND '2013-08-15 16:43:20.944039')[0m
|
60946
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.943820' AND '2013-08-15 16:43:20.944039') GROUP BY gateway
|
60947
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.943820' AND '2013-08-15 16:43:20.944039')[0m
|
60948
|
+
[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-08-08 16:53:20.943820' AND '2013-08-15 16:43:20.944039') GROUP BY status
|
60949
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.943820' AND '2013-08-15 16:43:20.944039')[0m
|
60950
|
+
[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-08-08 16:53:20.943820' AND '2013-08-15 16:43:20.944039') GROUP BY sms_type
|
60951
|
+
Completed 200 OK in 52ms (Views: 50.8ms | ActiveRecord: 0.8ms)
|
60952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60953
|
+
[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", Thu, 15 Aug 2013 16:53:20 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", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60956
|
+
[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", Thu, 15 Aug 2013 16:53:20 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", Thu, 15 Aug 2013 16:53:20 UTC +00:00]]
|
60957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60958
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60959
|
+
Parameters: {"use_route"=>"action_smser"}
|
60960
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.996339' AND '2013-08-15 16:43:20.996477')[0m
|
60961
|
+
[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-08-08 16:53:20.996339' AND '2013-08-15 16:43:20.996477') GROUP BY gateway
|
60962
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.996339' AND '2013-08-15 16:43:20.996477')[0m
|
60963
|
+
[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-08-08 16:53:20.996339' AND '2013-08-15 16:43:20.996477') GROUP BY status
|
60964
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:20.996339' AND '2013-08-15 16:43:20.996477')[0m
|
60965
|
+
[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-08-08 16:53:20.996339' AND '2013-08-15 16:43:20.996477') GROUP BY sms_type
|
60966
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.5ms)
|
60967
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
60968
|
+
Parameters: {"use_route"=>"action_smser"}
|
60969
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
60970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60971
|
+
[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", Thu, 15 Aug 2013 16:53:21 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", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
60972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60974
|
+
[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", Thu, 15 Aug 2013 16:53:21 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, 15 Aug 2013 16:53:21 UTC +00:00]]
|
60975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
60976
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
60977
|
+
Parameters: {"use_route"=>"action_smser"}
|
60978
|
+
[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
|
60979
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
60980
|
+
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)
|
60981
|
+
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:0x4c45550>
|
60982
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60983
|
+
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:0x4c45550>
|
60984
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60985
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
60986
|
+
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)
|
60987
|
+
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:0x4c4d7c8>
|
60988
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60989
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60990
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:53:21: 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, 15 Aug 2013 16:53:21 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
60991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60992
|
+
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:0x4c4d7c8>
|
60993
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
60994
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60995
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:53:21: 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, 15 Aug 2013 16:53:21 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
60996
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
60997
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
60998
|
+
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)
|
60999
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4c79698>
|
61000
|
+
ActionSmser: id_1234
|
61001
|
+
id_6666
|
61002
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61003
|
+
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)
|
61004
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4c7bee8>
|
61005
|
+
ActionSmser: id_1234
|
61006
|
+
id_6666
|
61007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61008
|
+
[1m[35mSQL (1.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, 15 Aug 2013 16:53:21 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:53:21: 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, 15 Aug 2013 16:53:21 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
61009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61010
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
61011
|
+
[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", "Body with ääkköset end"], ["created_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:53:21: 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, 15 Aug 2013 16:53:21 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
61012
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61013
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61014
|
+
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)
|
61015
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61016
|
+
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)
|
61017
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61018
|
+
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)
|
61019
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61020
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61021
|
+
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)
|
61022
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61024
|
+
[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, 15 Aug 2013 16:53:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:21: LOCAL_SENT\n"], ["msg_id", "test_array_id_17932662"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
61025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61027
|
+
[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, 15 Aug 2013 16:53:21 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:21: LOCAL_SENT\n"], ["msg_id", "test_array_id_66657234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:53:21 UTC +00:00]]
|
61028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61029
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61030
|
+
|
61031
|
+
|
61032
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:53:21 +0300
|
61033
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61034
|
+
Parameters: {"gateway"=>"example_gateway"}
|
61035
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
61036
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
61037
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
61038
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
61039
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
61040
|
+
[1m[36m (1.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
61041
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
61042
|
+
[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)
|
61043
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
61044
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
61045
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
61046
|
+
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)
|
61047
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61048
|
+
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)
|
61049
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61050
|
+
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)
|
61051
|
+
ActionSmser: Delivering sms by delayed_job
|
61052
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61053
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61054
|
+
[1m[35mSQL (36.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", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61055
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61056
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61058
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61061
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-08-15 16:53:55.589285' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
61062
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61063
|
+
[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]]
|
61064
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-08-15 16:53:55", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-08-15 19:53:55: 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-08-15 16:53:55", updated_at: "2013-08-15 16:53:55">
|
61065
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61066
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-08-15 16:53:55.591628' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
61067
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61068
|
+
[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]]
|
61069
|
+
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)
|
61070
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61072
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:55: LOCAL_SENT\n"], ["msg_id", "test_array_id_8464925"], ["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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61073
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61074
|
+
[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
|
61075
|
+
[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
|
61076
|
+
[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
|
61077
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61078
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61079
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61080
|
+
[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]]
|
61081
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61082
|
+
[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", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61083
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61085
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-08-15 16:53:55.637411', "log" = '2013-08-15 19:53:55: LOCAL_TEST
|
61086
|
+
2013-08-15 19:53:55: TEST_2
|
61087
|
+
', "updated_at" = '2013-08-15 16:53:55.637711' WHERE "action_smser_delivery_reports"."id" = 1
|
61088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61090
|
+
[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", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61091
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61092
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61093
|
+
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"}
|
61094
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
61095
|
+
[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
|
61096
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61097
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:53:55.676574', "log" = '2013-08-15 19:53:55: ORIGINAL_STATUS
|
61098
|
+
2013-08-15 19:53:55: DELIVERED
|
61099
|
+
', "updated_at" = '2013-08-15 16:53:55.677088' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
61100
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61101
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
61102
|
+
Rendered text template (0.0ms)
|
61103
|
+
Completed 200 OK in 31ms (Views: 26.9ms | ActiveRecord: 0.3ms)
|
61104
|
+
[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]]
|
61105
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61106
|
+
[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", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61107
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61108
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61109
|
+
[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", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", nil], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61110
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61111
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61112
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
61113
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
61114
|
+
[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
|
61115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61116
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:53:55.712190', "log" = '2013-08-15 19:53:55: ORIGINAL_STATUS
|
61117
|
+
2013-08-15 19:53:55: DELIVERED
|
61118
|
+
', "updated_at" = '2013-08-15 16:53:55.712572' WHERE "action_smser_delivery_reports"."id" = 1
|
61119
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61120
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
61121
|
+
[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
|
61122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61123
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-08-15 16:53:55.713836', "log" = '2013-08-15 19:53:55: ORIGINAL_STATUS
|
61124
|
+
2013-08-15 19:53:55: DELIVERED
|
61125
|
+
', "updated_at" = '2013-08-15 16:53:55.714150' WHERE "action_smser_delivery_reports"."id" = 2
|
61126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61127
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
61128
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
61129
|
+
[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]]
|
61130
|
+
[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]]
|
61131
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61132
|
+
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"}
|
61133
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
61134
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61135
|
+
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"}
|
61136
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
61137
|
+
[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
|
61138
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
61139
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
61140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61141
|
+
[1m[35mSQL (1.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", nil], ["created_at", Thu, 15 Aug 2013 16:53:55 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, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61142
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61144
|
+
[1m[36mSQL (0.9ms)[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, 15 Aug 2013 16:53:55 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", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61146
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
61147
|
+
Parameters: {"use_route"=>"action_smser"}
|
61148
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.736150' AND '2013-08-15 16:43:55.736376')[0m
|
61149
|
+
[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-08-08 16:53:55.736150' AND '2013-08-15 16:43:55.736376') GROUP BY gateway
|
61150
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.736150' AND '2013-08-15 16:43:55.736376')[0m
|
61151
|
+
[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-08-08 16:53:55.736150' AND '2013-08-15 16:43:55.736376') GROUP BY status
|
61152
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.736150' AND '2013-08-15 16:43:55.736376')[0m
|
61153
|
+
[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-08-08 16:53:55.736150' AND '2013-08-15 16:43:55.736376') GROUP BY sms_type
|
61154
|
+
Completed 200 OK in 61ms (Views: 59.5ms | ActiveRecord: 0.7ms)
|
61155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61156
|
+
[1m[35mSQL (1.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, 15 Aug 2013 16:53:55 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", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61157
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61159
|
+
[1m[36mSQL (1.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, 15 Aug 2013 16:53:55 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, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61160
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61161
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
61162
|
+
Parameters: {"use_route"=>"action_smser"}
|
61163
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.800834' AND '2013-08-15 16:43:55.801009')[0m
|
61164
|
+
[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-08-08 16:53:55.800834' AND '2013-08-15 16:43:55.801009') GROUP BY gateway
|
61165
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.800834' AND '2013-08-15 16:43:55.801009')[0m
|
61166
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.800834' AND '2013-08-15 16:43:55.801009') GROUP BY status
|
61167
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-08-08 16:53:55.800834' AND '2013-08-15 16:43:55.801009')[0m
|
61168
|
+
[1m[35m (0.2ms)[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-08-08 16:53:55.800834' AND '2013-08-15 16:43:55.801009') GROUP BY sms_type
|
61169
|
+
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.8ms)
|
61170
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
61171
|
+
Parameters: {"use_route"=>"action_smser"}
|
61172
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
61173
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61174
|
+
[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", Thu, 15 Aug 2013 16:53:55 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, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61175
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61176
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61177
|
+
[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", Thu, 15 Aug 2013 16:53:55 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, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61179
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
61180
|
+
Parameters: {"use_route"=>"action_smser"}
|
61181
|
+
[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
|
61182
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
61183
|
+
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)
|
61184
|
+
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:0x3a156a0>
|
61185
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61186
|
+
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:0x3a156a0>
|
61187
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61188
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61189
|
+
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)
|
61190
|
+
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:0x3a1d918>
|
61191
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61193
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61195
|
+
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:0x3a1d918>
|
61196
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61198
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61200
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61201
|
+
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)
|
61202
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3a497e8>
|
61203
|
+
ActionSmser: id_1234
|
61204
|
+
id_6666
|
61205
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61206
|
+
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)
|
61207
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x3a4c038>
|
61208
|
+
ActionSmser: id_1234
|
61209
|
+
id_6666
|
61210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61211
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61212
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61214
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-08-15 19:53:55: 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, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61216
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61217
|
+
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)
|
61218
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61219
|
+
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)
|
61220
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61221
|
+
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)
|
61222
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61223
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61224
|
+
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)
|
61225
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61227
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:55: LOCAL_SENT\n"], ["msg_id", "test_array_id_43068930"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "555123555"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61228
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61229
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
61230
|
+
[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, 15 Aug 2013 16:53:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-08-15 19:53:55: LOCAL_SENT\n"], ["msg_id", "test_array_id_19549570"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00], ["to", "123555123"], ["updated_at", Thu, 15 Aug 2013 16:53:55 UTC +00:00]]
|
61231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
61232
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61233
|
+
|
61234
|
+
|
61235
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-08-15 19:53:55 +0300
|
61236
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61237
|
+
Parameters: {"gateway"=>"example_gateway"}
|
59223
61238
|
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|