action_smser 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
<%
|
3
2
|
params['time_span'] ||= 'Last week'
|
4
3
|
params['redeliveries'] ||= 'Include normally'
|
@@ -46,7 +45,7 @@
|
|
46
45
|
|
47
46
|
<p class="selection_links">
|
48
47
|
<strong>Show summary:</strong>
|
49
|
-
<% ['Last 24 hours', '48-24
|
48
|
+
<% ['Last 24 hours', '48-24 hours', '72-48 hours', '96-72 hours ago', 'Last week', 'Week before that',
|
50
49
|
'Last 30 days', 'This month', '1 month ago', '2 months ago'].each do |key| %>
|
51
50
|
<%= link_to key, dr_summary_url(:time_span => key), :class => (key == params['time_span'] ? 'selected' : 'not_selected') %>
|
52
51
|
<% end %>
|
data/lib/action_smser/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -58814,4 +58814,410 @@ ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, n
|
|
58814
58814
|
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-03-05 16:01:43 +1000
|
58815
58815
|
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58816
58816
|
Parameters: {"gateway"=>"example_gateway"}
|
58817
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58818
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
58819
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
58820
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
58821
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
58822
|
+
[1m[36m (5.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58823
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
58824
|
+
[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)
|
58825
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
58826
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
58827
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
58828
|
+
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)
|
58829
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58830
|
+
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)
|
58831
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58832
|
+
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)
|
58833
|
+
ActionSmser: Delivering sms by delayed_job
|
58834
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58835
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58836
|
+
[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", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58837
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58838
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58839
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58840
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58841
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58843
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-07-30 12:44:48.730737' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58845
|
+
[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]]
|
58846
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-07-30 12:44:48", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-07-30 15:44:48: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-07-30 12:44:48", updated_at: "2013-07-30 12:44:48">
|
58847
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58848
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-07-30 12:44:48.732842' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58849
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58850
|
+
[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]]
|
58851
|
+
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)
|
58852
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
58853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "test_array_id_1404551"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58855
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58856
|
+
[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
|
58857
|
+
[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
|
58858
|
+
[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
|
58859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58860
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58861
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58862
|
+
[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]]
|
58863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58864
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:44:48: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58865
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58866
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58867
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-07-30 12:44:48.760561', "log" = '2013-07-30 15:44:48: LOCAL_TEST
|
58868
|
+
2013-07-30 15:44:48: TEST_2
|
58869
|
+
', "updated_at" = '2013-07-30 12:44:48.760934' WHERE "action_smser_delivery_reports"."id" = 1
|
58870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58872
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:44:48: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58873
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58874
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58875
|
+
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"}
|
58876
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58877
|
+
[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
|
58878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58879
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-07-30 12:44:48.777936', "log" = '2013-07-30 15:44:48: ORIGINAL_STATUS
|
58880
|
+
2013-07-30 15:44:48: DELIVERED
|
58881
|
+
', "updated_at" = '2013-07-30 12:44:48.778478' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
58882
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58883
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58884
|
+
Rendered text template (0.0ms)
|
58885
|
+
Completed 200 OK in 21ms (Views: 15.3ms | ActiveRecord: 0.3ms)
|
58886
|
+
[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]]
|
58887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58888
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:44:48: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58889
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58890
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58891
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:44:48: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58892
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58893
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58894
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
58895
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58896
|
+
[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
|
58897
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58898
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-07-30 12:44:48.803931', "log" = '2013-07-30 15:44:48: ORIGINAL_STATUS
|
58899
|
+
2013-07-30 15:44:48: DELIVERED
|
58900
|
+
', "updated_at" = '2013-07-30 12:44:48.804305' WHERE "action_smser_delivery_reports"."id" = 1
|
58901
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58902
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
58903
|
+
[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
|
58904
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58905
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-07-30 12:44:48.805521', "log" = '2013-07-30 15:44:48: ORIGINAL_STATUS
|
58906
|
+
2013-07-30 15:44:48: DELIVERED
|
58907
|
+
', "updated_at" = '2013-07-30 12:44:48.805830' WHERE "action_smser_delivery_reports"."id" = 2
|
58908
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58909
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
58910
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
58911
|
+
[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]]
|
58912
|
+
[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]]
|
58913
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58914
|
+
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"}
|
58915
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
58916
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
58917
|
+
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"}
|
58918
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
58919
|
+
[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
|
58920
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
58921
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
58922
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58923
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58925
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58926
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_0"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58927
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58928
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58929
|
+
Parameters: {"use_route"=>"action_smser"}
|
58930
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:44:48.822317' AND '2013-07-30 12:34:48.826367')[0m
|
58931
|
+
[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-07-23 12:44:48.822317' AND '2013-07-30 12:34:48.826367') GROUP BY gateway
|
58932
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:44:48.822317' AND '2013-07-30 12:34:48.826367')[0m
|
58933
|
+
[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-07-23 12:44:48.822317' AND '2013-07-30 12:34:48.826367') GROUP BY status
|
58934
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:44:48.822317' AND '2013-07-30 12:34:48.826367')[0m
|
58935
|
+
[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-07-23 12:44:48.822317' AND '2013-07-30 12:34:48.826367') GROUP BY sms_type
|
58936
|
+
Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.4ms)
|
58937
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58938
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_2"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58939
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58940
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58941
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58942
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58943
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58944
|
+
Parameters: {"use_route"=>"action_smser"}
|
58945
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:44:48.869388' AND '2013-07-30 12:34:48.869490')[0m
|
58946
|
+
[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-07-23 12:44:48.869388' AND '2013-07-30 12:34:48.869490') GROUP BY gateway
|
58947
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:44:48.869388' AND '2013-07-30 12:34:48.869490')[0m
|
58948
|
+
[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-07-23 12:44:48.869388' AND '2013-07-30 12:34:48.869490') GROUP BY status
|
58949
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:44:48.869388' AND '2013-07-30 12:34:48.869490')[0m
|
58950
|
+
[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-07-23 12:44:48.869388' AND '2013-07-30 12:34:48.869490') GROUP BY sms_type
|
58951
|
+
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.4ms)
|
58952
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
58953
|
+
Parameters: {"use_route"=>"action_smser"}
|
58954
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
58955
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58956
|
+
[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", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58957
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58959
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58960
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58961
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
58962
|
+
Parameters: {"use_route"=>"action_smser"}
|
58963
|
+
[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
|
58964
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
58965
|
+
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)
|
58966
|
+
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:0x340a120>
|
58967
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58968
|
+
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:0x340a120>
|
58969
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58970
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58971
|
+
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)
|
58972
|
+
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:0x3402128>
|
58973
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58975
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58977
|
+
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:0x3402128>
|
58978
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
58979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58980
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58982
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58983
|
+
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)
|
58984
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x33d4f20>
|
58985
|
+
ActionSmser: id_1234
|
58986
|
+
id_6666
|
58987
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
58988
|
+
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)
|
58989
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x33cf5e8>
|
58990
|
+
ActionSmser: id_1234
|
58991
|
+
id_6666
|
58992
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
58993
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58996
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
58997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
58998
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
58999
|
+
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)
|
59000
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59001
|
+
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)
|
59002
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59003
|
+
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)
|
59004
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59005
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59006
|
+
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)
|
59007
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59009
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "test_array_id_62801298"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
59010
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59012
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:44:48: LOCAL_SENT\n"], ["msg_id", "test_array_id_44250200"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
|
59013
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59014
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59015
|
+
|
59016
|
+
|
59017
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-07-30 15:44:48 +0300
|
59018
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59019
|
+
Parameters: {"gateway"=>"example_gateway"}
|
59020
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59021
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
59022
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
59023
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
59024
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
59025
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59026
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
59027
|
+
[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)
|
59028
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
59029
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
59030
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
59031
|
+
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)
|
59032
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59033
|
+
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)
|
59034
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59035
|
+
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)
|
59036
|
+
ActionSmser: Delivering sms by delayed_job
|
59037
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59038
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59039
|
+
[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", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59040
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59041
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59042
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59043
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59044
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59045
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59046
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-07-30 12:47:15.565363' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59047
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59048
|
+
[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]]
|
59049
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-07-30 12:47:15", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-07-30 15:47:15: LOCAL_SENT\n", to: "123", from: "555666", body: "Body with ääkköset end", gateway: "some_delivery", re_delivery_of_delivery_report_id: nil, re_delivered: nil, created_at: "2013-07-30 12:47:15", updated_at: "2013-07-30 12:47:15">
|
59050
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59051
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-07-30 12:47:15.567309' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59052
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59053
|
+
[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]]
|
59054
|
+
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)
|
59055
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59057
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_38207144"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59059
|
+
[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
|
59060
|
+
[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
|
59061
|
+
[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
|
59062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59063
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59065
|
+
[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]]
|
59066
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59067
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:47:15: LOCAL_TEST\n"], ["msg_id", nil], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "LOCAL_TEST"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59068
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59069
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59070
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-07-30 12:47:15.593200', "log" = '2013-07-30 15:47:15: LOCAL_TEST
|
59071
|
+
2013-07-30 15:47:15: TEST_2
|
59072
|
+
', "updated_at" = '2013-07-30 12:47:15.593474' WHERE "action_smser_delivery_reports"."id" = 1
|
59073
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59074
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59075
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:47:15: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59077
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59078
|
+
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"}
|
59079
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59080
|
+
[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
|
59081
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59082
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-07-30 12:47:15.606095', "log" = '2013-07-30 15:47:15: ORIGINAL_STATUS
|
59083
|
+
2013-07-30 15:47:15: DELIVERED
|
59084
|
+
', "updated_at" = '2013-07-30 12:47:15.606561' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
59085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59086
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59087
|
+
Rendered text template (0.0ms)
|
59088
|
+
Completed 200 OK in 13ms (Views: 9.3ms | ActiveRecord: 0.3ms)
|
59089
|
+
[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]]
|
59090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59091
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:47:15: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59092
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59093
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59094
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-07-30 15:47:15: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59096
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59097
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "use_route"=>"action_smser"}
|
59098
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59099
|
+
[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
|
59100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59101
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-07-30 12:47:15.623281', "log" = '2013-07-30 15:47:15: ORIGINAL_STATUS
|
59102
|
+
2013-07-30 15:47:15: DELIVERED
|
59103
|
+
', "updated_at" = '2013-07-30 12:47:15.623594' WHERE "action_smser_delivery_reports"."id" = 1
|
59104
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59105
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
59106
|
+
[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
|
59107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59108
|
+
[1m[35m (0.0ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-07-30 12:47:15.624582', "log" = '2013-07-30 15:47:15: ORIGINAL_STATUS
|
59109
|
+
2013-07-30 15:47:15: DELIVERED
|
59110
|
+
', "updated_at" = '2013-07-30 12:47:15.624826' WHERE "action_smser_delivery_reports"."id" = 2
|
59111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59112
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
59113
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
59114
|
+
[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]]
|
59115
|
+
[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]]
|
59116
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59117
|
+
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"}
|
59118
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
59119
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59120
|
+
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"}
|
59121
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
59122
|
+
[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
|
59123
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
59124
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
59125
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59126
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59127
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59129
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_7"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59130
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59131
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59132
|
+
Parameters: {"use_route"=>"action_smser"}
|
59133
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:47:15.637952' AND '2013-07-30 12:37:15.638109')[0m
|
59134
|
+
[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-07-23 12:47:15.637952' AND '2013-07-30 12:37:15.638109') GROUP BY gateway
|
59135
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:47:15.637952' AND '2013-07-30 12:37:15.638109')[0m
|
59136
|
+
[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-07-23 12:47:15.637952' AND '2013-07-30 12:37:15.638109') GROUP BY status
|
59137
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:47:15.637952' AND '2013-07-30 12:37:15.638109')[0m
|
59138
|
+
[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-07-23 12:47:15.637952' AND '2013-07-30 12:37:15.638109') GROUP BY sms_type
|
59139
|
+
Completed 200 OK in 31ms (Views: 30.3ms | ActiveRecord: 0.4ms)
|
59140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59141
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_0"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59142
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59144
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_9"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59146
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59147
|
+
Parameters: {"use_route"=>"action_smser"}
|
59148
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:47:15.670314' AND '2013-07-30 12:37:15.670413')[0m
|
59149
|
+
[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-07-23 12:47:15.670314' AND '2013-07-30 12:37:15.670413') GROUP BY gateway
|
59150
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:47:15.670314' AND '2013-07-30 12:37:15.670413')[0m
|
59151
|
+
[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-07-23 12:47:15.670314' AND '2013-07-30 12:37:15.670413') GROUP BY status
|
59152
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-07-23 12:47:15.670314' AND '2013-07-30 12:37:15.670413')[0m
|
59153
|
+
[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-07-23 12:47:15.670314' AND '2013-07-30 12:37:15.670413') GROUP BY sms_type
|
59154
|
+
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.4ms)
|
59155
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
59156
|
+
Parameters: {"use_route"=>"action_smser"}
|
59157
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
59158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59159
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_8"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59160
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59162
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_1"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59164
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
59165
|
+
Parameters: {"use_route"=>"action_smser"}
|
59166
|
+
[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
|
59167
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
59168
|
+
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)
|
59169
|
+
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:0x4912c48>
|
59170
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59171
|
+
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:0x4912c48>
|
59172
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59174
|
+
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)
|
59175
|
+
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:0x490ac78>
|
59176
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59178
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59180
|
+
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:0x490ac78>
|
59181
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
59182
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59183
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
59185
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59186
|
+
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)
|
59187
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x48dda48>
|
59188
|
+
ActionSmser: id_1234
|
59189
|
+
id_6666
|
59190
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59191
|
+
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)
|
59192
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x48d8110>
|
59193
|
+
ActionSmser: id_1234
|
59194
|
+
id_6666
|
59195
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59196
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59197
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59198
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
59199
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59200
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59201
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59202
|
+
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)
|
59203
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59204
|
+
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)
|
59205
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59206
|
+
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)
|
59207
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59208
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
59209
|
+
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)
|
59210
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
59211
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
59212
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_99315584"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "555123555"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59213
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59214
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
59215
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-07-30 15:47:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_4158844"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00], ["to", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
|
59216
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59217
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
59218
|
+
|
59219
|
+
|
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
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
59222
|
+
Parameters: {"gateway"=>"example_gateway"}
|
58817
59223
|
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_smser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|