action_smser 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/models/action_smser/delivery_report.rb +0 -1
- data/lib/action_smser/version.rb +1 -1
- data/test/dummy/log/test.log +201 -0
- metadata +3 -3
@@ -2,7 +2,6 @@ module ActionSmser
|
|
2
2
|
class DeliveryReport < ActiveRecord::Base
|
3
3
|
|
4
4
|
has_many :re_deliveries, :class_name => self.to_s, :foreign_key => :re_delivery_of_delivery_report_id
|
5
|
-
puts self
|
6
5
|
belongs_to :re_delivery_of, :class_name => self.to_s, :foreign_key => :re_delivery_of_delivery_report_id
|
7
6
|
|
8
7
|
def self.build_from_sms(sms, to, msg_id)
|
data/lib/action_smser/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -35896,4 +35896,205 @@ ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, n
|
|
35896
35896
|
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at Fri Jan 20 23:21:55 +0200 2012
|
35897
35897
|
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
35898
35898
|
Parameters: {"gateway"=>"example_gateway"}
|
35899
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
35900
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
35901
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
35902
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
35903
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
35904
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
35905
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
35906
|
+
[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)
|
35907
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
35908
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
35909
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')[0m
|
35910
|
+
ActionSmser: Sending sms (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
35911
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
35912
|
+
ActionSmser: Sending sms (Sms ActionSmser::BaseTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123", "+358123555123"], Body: "Body with ääkköset end", Valid: true)
|
35913
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
35914
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
35915
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35916
|
+
[1m[35mSQL (7.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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35917
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35918
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
35919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35920
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35921
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35922
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35923
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "updated_at" = '2012-01-20 21:27:55.048534', "gateway" = 'some_delivery' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
35924
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35925
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
35926
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2012-01-20 21:27:55", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2012-01-20 23:27: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: "2012-01-20 21:27:55", updated_at: "2012-01-20 21:27:55">
|
35927
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35928
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2012-01-20 21:27:55.052625' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
35929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35930
|
+
ActionSmser: Sending sms (Sms ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery - From: "555666", To: "123", Body: "Body with ääkköset end", Valid: true)
|
35931
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
35932
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35933
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-01-20 23:27:55: LOCAL_SENT\n"], ["msg_id", "test_array_id_8910755"], ["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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35934
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35935
|
+
[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]]
|
35936
|
+
[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
|
35937
|
+
[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
|
35938
|
+
[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
|
35939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35940
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35941
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35942
|
+
[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]]
|
35943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35944
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", nil], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35946
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35947
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status_updated_at" = '2012-01-20 21:27:55.074312', "updated_at" = '2012-01-20 21:27:55.074686', "status" = 'TEST_2', "log" = '2012-01-20 23:27:55: LOCAL_TEST
|
35948
|
+
2012-01-20 23:27:55: TEST_2
|
35949
|
+
' WHERE "action_smser_delivery_reports"."id" = 1
|
35950
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35952
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", nil], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35953
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35954
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
35955
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "gateway"=>"test_gateway"}
|
35956
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
35957
|
+
[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
|
35958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35959
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status_updated_at" = '2012-01-20 21:27:55.086875', "updated_at" = '2012-01-20 21:27:55.087467', "status" = 'DELIVERED', "log" = '2012-01-20 23:27:55: ORIGINAL_STATUS
|
35960
|
+
2012-01-20 23:27:55: DELIVERED
|
35961
|
+
' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
35962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35963
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
35964
|
+
Rendered text template (0.0ms)
|
35965
|
+
Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.3ms)
|
35966
|
+
[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]]
|
35967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35968
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", nil], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
35970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35971
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", nil], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
35972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35973
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
35974
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}, "gateway"=>"test_gateway"}
|
35975
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
35976
|
+
[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
|
35977
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35978
|
+
[1m[35m (0.1ms)[0m UPDATE "action_smser_delivery_reports" SET "status_updated_at" = '2012-01-20 21:27:55.104998', "updated_at" = '2012-01-20 21:27:55.105503', "status" = 'DELIVERED', "log" = '2012-01-20 23:27:55: ORIGINAL_STATUS
|
35979
|
+
2012-01-20 23:27:55: DELIVERED
|
35980
|
+
' WHERE "action_smser_delivery_reports"."id" = 1
|
35981
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35982
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
35983
|
+
[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
|
35984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35985
|
+
[1m[35m (0.0ms)[0m UPDATE "action_smser_delivery_reports" SET "status_updated_at" = '2012-01-20 21:27:55.106863', "updated_at" = '2012-01-20 21:27:55.107250', "status" = 'DELIVERED', "log" = '2012-01-20 23:27:55: ORIGINAL_STATUS
|
35986
|
+
2012-01-20 23:27:55: DELIVERED
|
35987
|
+
' WHERE "action_smser_delivery_reports"."id" = 2
|
35988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35989
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
35990
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
35991
|
+
[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]]
|
35992
|
+
[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]]
|
35993
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
35994
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "gateway"=>"gateway_not_found"}
|
35995
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
35996
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
35997
|
+
Parameters: {"use_route"=>"action_smser", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}, "gateway"=>"test_gateway"}
|
35998
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
35999
|
+
[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
|
36000
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
36001
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
36002
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36003
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 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", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36004
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36005
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 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", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36008
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
36009
|
+
Parameters: {"use_route"=>"action_smser"}
|
36010
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.128767' AND '2012-01-20 21:17:55.129060')[0m
|
36011
|
+
[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 '2011-12-20 21:27:55.128767' AND '2012-01-20 21:17:55.129060') GROUP BY gateway
|
36012
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.128767' AND '2012-01-20 21:17:55.129060')[0m
|
36013
|
+
[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 '2011-12-20 21:27:55.128767' AND '2012-01-20 21:17:55.129060') GROUP BY status
|
36014
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.128767' AND '2012-01-20 21:17:55.129060')[0m
|
36015
|
+
[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 '2011-12-20 21:27:55.128767' AND '2012-01-20 21:17:55.129060') GROUP BY sms_type
|
36016
|
+
Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.5ms)
|
36017
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36018
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 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", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36019
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36023
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
36024
|
+
Parameters: {"use_route"=>"action_smser"}
|
36025
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.142816' AND '2012-01-20 21:17:55.143032')[0m
|
36026
|
+
[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 '2011-12-20 21:27:55.142816' AND '2012-01-20 21:17:55.143032') GROUP BY gateway
|
36027
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.142816' AND '2012-01-20 21:17:55.143032')[0m
|
36028
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.142816' AND '2012-01-20 21:17:55.143032') GROUP BY status
|
36029
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-20 21:27:55.142816' AND '2012-01-20 21:17:55.143032')[0m
|
36030
|
+
[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 '2011-12-20 21:27:55.142816' AND '2012-01-20 21:17:55.143032') GROUP BY sms_type
|
36031
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
36032
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
36033
|
+
Parameters: {"use_route"=>"action_smser"}
|
36034
|
+
Completed 403 Forbidden in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
36035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36036
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27:55 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", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36037
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36039
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Fri, 20 Jan 2012 21:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36040
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36041
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
36042
|
+
Parameters: {"use_route"=>"action_smser"}
|
36043
|
+
[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
|
36044
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
36045
|
+
ActionSmser: Sending sms (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36046
|
+
ActionSmser: Delivering sms by https
|
36047
|
+
ActionSmser: SimpleHttp delivery ||| /sms/json?username=user&password=pass&ttl=60000&status-report-req=false&from=555666&to=555123555,123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x18fa448>
|
36048
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
36049
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
36050
|
+
ActionSmser: Sending sms (Sms ActionSmser::NexmoTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36051
|
+
ActionSmser: Delivering sms by https
|
36052
|
+
ActionSmser: SimpleHttp delivery ||| /sms/json?username=user&password=pass&ttl=60000&status-report-req=true&from=555666&to=555123555,123555123&text=Body+with+%C3%A4%C3%A4kk%C3%B6set+end ||| #<Mock:0x18e2758>
|
36053
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"},{"error-text":"Message rejected by upstream path","message-price":"0.02500000","status":"6","message-id":"0778D302","remaining-balance":"1.87500000"}]}
|
36054
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36055
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "555123555"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36056
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36058
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2012-01-20 23:27:55: LOCAL_SENT\n2012-01-20 23:27:55: SENT_ERROR_6\nnexmo_error: Message rejected by upstream path"], ["msg_id", "0778D302"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "SENT_ERROR_6"], ["status_updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123555123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36059
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
36060
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
36061
|
+
ActionSmser: Sending sms (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36062
|
+
ActionSmser: Delivering sms by https
|
36063
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x1893ef0>
|
36064
|
+
ActionSmser: id_1234
|
36065
|
+
id_6666
|
36066
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
36067
|
+
ActionSmser: Sending sms (Sms ActionSmser::SimpleHttpTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36068
|
+
ActionSmser: Delivering sms by https
|
36069
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x1878560>
|
36070
|
+
ActionSmser: id_1234
|
36071
|
+
id_6666
|
36072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36073
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "555123555"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36076
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2012-01-20 23:27: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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123555123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36078
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
36079
|
+
ActionSmser: Sending sms (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36080
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
36081
|
+
ActionSmser: Sending sms (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36082
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
36083
|
+
ActionSmser: Sending sms (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36084
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
36085
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
36086
|
+
ActionSmser: Sending sms (Sms ActionSmser::TestArrayTest::MockSms.basic_sms - From: "555666", To: ["555123555", "123555123"], Body: "Body with ääkköset end", Valid: true)
|
36087
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
36088
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36089
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-01-20 23:27:55: LOCAL_SENT\n"], ["msg_id", "test_array_id_96070806"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "555123555"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36090
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36092
|
+
[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", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2012-01-20 23:27:55: LOCAL_SENT\n"], ["msg_id", "test_array_id_83578017"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00], ["to", "123555123"], ["updated_at", Fri, 20 Jan 2012 21:27:55 UTC +00:00]]
|
36093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36094
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
36095
|
+
|
36096
|
+
|
36097
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at Fri Jan 20 23:27:55 +0200 2012
|
36098
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
36099
|
+
Parameters: {"gateway"=>"example_gateway"}
|
35899
36100
|
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_smser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Olli Huotari
|