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 hous', '72-48 hours', '96-72 hours ago', 'Last week', 'Week before that',
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 %>
@@ -1,3 +1,3 @@
1
1
  module ActionSmser
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -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
+  (0.0ms) select sqlite_version(*)
58819
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
58820
+  (0.0ms) PRAGMA index_list("schema_migrations")
58821
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
58822
+  (5.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
58823
+ Migrating to CreateActionSmserDeliveryReports (20120102215215)
58824
+  (0.2ms) 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
+  (0.0ms) PRAGMA index_list("action_smser_delivery_reports")
58826
+  (0.1ms) CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
58827
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
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
+  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports"
58835
+  (0.0ms) SAVEPOINT active_record_1
58836
+ SQL (4.7ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58838
+  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports"
58839
+  (0.0ms) SAVEPOINT active_record_1
58840
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58842
+  (0.0ms) SAVEPOINT active_record_1
58843
+  (0.1ms) UPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-07-30 12:44:48.730737' WHERE "action_smser_delivery_reports"."id" = 1
58844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58845
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["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
+  (0.0ms) SAVEPOINT active_record_1
58848
+  (0.1ms) UPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-07-30 12:44:48.732842' WHERE "action_smser_delivery_reports"."id" = 1
58849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58850
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["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
+  (0.0ms) SAVEPOINT active_record_1
58854
+ SQL (0.2ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58856
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1
58857
+ ActionSmser::DeliveryReport Load (0.2ms) 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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1
58859
+  (0.0ms) SAVEPOINT active_record_1
58860
+ SQL (0.4ms) 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]]
58861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58862
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
58863
+  (0.0ms) SAVEPOINT active_record_1
58864
+ SQL (0.4ms) 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: 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58866
+  (0.0ms) SAVEPOINT active_record_1
58867
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58871
+  (0.0ms) SAVEPOINT active_record_1
58872
+ SQL (0.5ms) 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", "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
+  (0.0ms) 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
+ ActionSmser::DeliveryReport Load (0.2ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
58878
+  (0.0ms) SAVEPOINT active_record_1
58879
+  (0.1ms) UPDATE "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
58882
+  (0.0ms) 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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
58887
+  (0.0ms) SAVEPOINT active_record_1
58888
+ SQL (1.4ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58890
+  (0.0ms) SAVEPOINT active_record_1
58891
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
58897
+  (0.0ms) SAVEPOINT active_record_1
58898
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58902
+ ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
58903
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
58904
+  (0.0ms) SAVEPOINT active_record_1
58905
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
58912
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["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
+ ActionSmser::DeliveryReport Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
58923
+ SQL (0.7ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58925
+  (0.0ms) SAVEPOINT active_record_1
58926
+ SQL (0.5ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58928
+ Processing by ActionSmser::DeliveryReportsController#index as HTML
58929
+ Parameters: {"use_route"=>"action_smser"}
58930
+  (0.1ms) SELECT 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')
58931
+  (0.1ms) 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
+  (0.1ms) SELECT 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')
58933
+  (0.1ms) 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
+  (0.0ms) SELECT 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')
58935
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
58938
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
58940
+  (0.0ms) SAVEPOINT active_record_1
58941
+ SQL (0.6ms) 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]]
58942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58943
+ Processing by ActionSmser::DeliveryReportsController#index as HTML
58944
+ Parameters: {"use_route"=>"action_smser"}
58945
+  (0.1ms) SELECT 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')
58946
+  (0.1ms) 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
+  (0.0ms) SELECT 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')
58948
+  (0.1ms) 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
+  (0.0ms) SELECT 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')
58950
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
58956
+ SQL (1.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58958
+  (0.0ms) SAVEPOINT active_record_1
58959
+ SQL (0.6ms) 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]]
58960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58961
+ Processing by ActionSmser::DeliveryReportsController#list as HTML
58962
+ Parameters: {"use_route"=>"action_smser"}
58963
+ ActionSmser::DeliveryReport Load (0.2ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0
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
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
58975
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SAVEPOINT active_record_1
58980
+ SQL (0.3ms) 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", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:44:48 UTC +00:00]]
58981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58982
+  (0.0ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" 
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
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
58993
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58995
+  (0.0ms) SAVEPOINT active_record_1
58996
+ SQL (0.2ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58998
+  (0.0ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" 
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
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59009
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59011
+  (0.0ms) SAVEPOINT active_record_1
59012
+ SQL (0.2ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59014
+  (0.0ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" 
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
+  (0.0ms) select sqlite_version(*)
59022
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
59023
+  (0.0ms) PRAGMA index_list("schema_migrations")
59024
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
59025
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
59026
+ Migrating to CreateActionSmserDeliveryReports (20120102215215)
59027
+  (0.2ms) 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
+  (0.0ms) PRAGMA index_list("action_smser_delivery_reports")
59029
+  (0.1ms) CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
59030
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
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
+  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports"
59038
+  (0.0ms) SAVEPOINT active_record_1
59039
+ SQL (3.8ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59041
+  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports"
59042
+  (0.0ms) SAVEPOINT active_record_1
59043
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59045
+  (0.0ms) SAVEPOINT active_record_1
59046
+  (0.1ms) UPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-07-30 12:47:15.565363' WHERE "action_smser_delivery_reports"."id" = 1
59047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59048
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["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
+  (0.0ms) SAVEPOINT active_record_1
59051
+  (0.1ms) UPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-07-30 12:47:15.567309' WHERE "action_smser_delivery_reports"."id" = 1
59052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59053
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["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
+  (0.0ms) SAVEPOINT active_record_1
59057
+ SQL (0.2ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59059
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1
59060
+ ActionSmser::DeliveryReport Load (0.2ms) 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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1
59062
+  (0.0ms) SAVEPOINT active_record_1
59063
+ SQL (0.3ms) 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]]
59064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59065
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
59066
+  (0.0ms) SAVEPOINT active_record_1
59067
+ SQL (0.4ms) 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: 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59069
+  (0.0ms) SAVEPOINT active_record_1
59070
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59074
+  (0.0ms) SAVEPOINT active_record_1
59075
+ SQL (0.5ms) 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", "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
+  (0.0ms) 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
+ ActionSmser::DeliveryReport Load (0.2ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
59081
+  (0.0ms) SAVEPOINT active_record_1
59082
+  (0.1ms) UPDATE "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
59085
+  (0.0ms) 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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
59090
+  (0.0ms) SAVEPOINT active_record_1
59091
+ SQL (0.5ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59093
+  (0.0ms) SAVEPOINT active_record_1
59094
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
59100
+  (0.0ms) SAVEPOINT active_record_1
59101
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59105
+ ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
59106
+ ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1
59107
+  (0.0ms) SAVEPOINT active_record_1
59108
+  (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
59115
+ ActionSmser::DeliveryReport Load (0.0ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["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
+ ActionSmser::DeliveryReport Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59126
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59128
+  (0.0ms) SAVEPOINT active_record_1
59129
+ SQL (0.5ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59131
+ Processing by ActionSmser::DeliveryReportsController#index as HTML
59132
+ Parameters: {"use_route"=>"action_smser"}
59133
+  (0.1ms) SELECT 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')
59134
+  (0.1ms) 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
+  (0.1ms) SELECT 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')
59136
+  (0.1ms) 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
+  (0.0ms) SELECT 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')
59138
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59141
+ SQL (0.6ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59143
+  (0.0ms) SAVEPOINT active_record_1
59144
+ SQL (0.5ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59146
+ Processing by ActionSmser::DeliveryReportsController#index as HTML
59147
+ Parameters: {"use_route"=>"action_smser"}
59148
+  (0.1ms) SELECT 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')
59149
+  (0.1ms) 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
+  (0.0ms) SELECT 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')
59151
+  (0.1ms) 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
+  (0.0ms) SELECT 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')
59153
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59159
+ SQL (0.6ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59161
+  (0.0ms) SAVEPOINT active_record_1
59162
+ SQL (0.5ms) 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]]
59163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59164
+ Processing by ActionSmser::DeliveryReportsController#list as HTML
59165
+ Parameters: {"use_route"=>"action_smser"}
59166
+ ActionSmser::DeliveryReport Load (0.2ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0
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
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59178
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SAVEPOINT active_record_1
59183
+ SQL (0.3ms) 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", "123555123"], ["updated_at", Tue, 30 Jul 2013 12:47:15 UTC +00:00]]
59184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
59185
+  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" 
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
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59196
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59198
+  (0.0ms) SAVEPOINT active_record_1
59199
+ SQL (0.2ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59201
+  (0.0ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" 
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
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
59212
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59214
+  (0.1ms) SAVEPOINT active_record_1
59215
+ SQL (0.2ms) 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_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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59217
+  (0.0ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" 
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.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-03-05 00:00:00.000000000 Z
12
+ date: 2013-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails