action_smser 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/config/routes.rb +1 -1
- data/lib/action_smser/version.rb +1 -1
- data/test/dummy/config/application.rb +1 -7
- data/test/dummy/log/test.log +1064 -0
- metadata +2 -2
data/config/routes.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
ActionSmser::Engine.routes.draw do
|
2
2
|
|
3
|
-
match 'delivery_reports/gateway_commit/:gateway' => 'delivery_reports#gateway_commit'
|
3
|
+
match 'delivery_reports/gateway_commit/:gateway' => 'delivery_reports#gateway_commit', via: [:get, :post]
|
4
4
|
|
5
5
|
resources :delivery_reports, :only => :index do
|
6
6
|
get 'list', :on => :collection
|
data/lib/action_smser/version.rb
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
|
-
|
4
|
-
require "active_record/railtie"
|
5
|
-
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "active_resource/railtie"
|
8
|
-
# require "sprockets/railtie"
|
9
|
-
require "rails/test_unit/railtie"
|
3
|
+
require 'rails/all'
|
10
4
|
|
11
5
|
Bundler.require
|
12
6
|
require "action_smser"
|
data/test/dummy/log/test.log
CHANGED
@@ -61672,3 +61672,1067 @@ Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for
|
|
61672
61672
|
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61673
61673
|
Parameters: {"gateway"=>"example_gateway"}
|
61674
61674
|
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
61675
|
+
Connecting to database specified by database.yml
|
61676
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
61677
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
61678
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
61679
|
+
[1m[35m (3.6ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
61680
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
61681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61682
|
+
[1m[35m (0.8ms)[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 NOT NULL, "updated_at" datetime NOT NULL)
|
61683
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")[0m
|
61684
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
|
61685
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
61686
|
+
[1m[35m (0.2ms)[0m begin transaction
|
61687
|
+
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)
|
61688
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61689
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61690
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61691
|
+
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)
|
61692
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61693
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61695
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61696
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61697
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61699
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61701
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61703
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61704
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61705
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61707
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61709
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61711
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61713
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61714
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61715
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61716
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61717
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61719
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61721
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61722
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61723
|
+
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)
|
61724
|
+
ActionSmser: Delivering sms by delayed_job
|
61725
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61726
|
+
[1m[35m (0.2ms)[0m begin transaction
|
61727
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
61728
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61729
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
61730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61731
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61732
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61733
|
+
[1m[36mSQL (13.3ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61734
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61735
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61736
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
61737
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61738
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61739
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61740
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61741
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61742
|
+
[1m[35m (0.3ms)[0m UPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-12-09 16:22:50.440627' WHERE "action_smser_delivery_reports"."id" = 1
|
61743
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61744
|
+
[1m[35mActionSmser::DeliveryReport Load (0.4ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
61745
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-12-09 16:22:50", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-12-09 18:22:50: 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-12-09 16:22:50", updated_at: "2013-12-09 16:22:50">
|
61746
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61747
|
+
[1m[35m (0.3ms)[0m UPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-12-09 16:22:50.451047' WHERE "action_smser_delivery_reports"."id" = 1
|
61748
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61749
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
61750
|
+
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)
|
61751
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61752
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61753
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:22:50: LOCAL_SENT\n"], ["msg_id", "test_array_id_51970642"], ["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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61754
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61755
|
+
[1m[35mActionSmser::DeliveryReport Load (0.3ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1
|
61756
|
+
[1m[36mActionSmser::DeliveryReport Load (0.5ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1[0m
|
61757
|
+
[1m[35mActionSmser::DeliveryReport Load (0.4ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1
|
61758
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61761
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61762
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61763
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
61764
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61766
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61767
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61768
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61770
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-12-09 16:22:50.590643', "log" = '2013-12-09 18:22:50: LOCAL_TEST
|
61771
|
+
2013-12-09 18:22:50: TEST_2
|
61772
|
+
', "updated_at" = '2013-12-09 16:22:50.591922' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
61773
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61774
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61775
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61776
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61777
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61778
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61779
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61780
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}}
|
61781
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
61782
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
61783
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
61784
|
+
[1m[35m (0.3ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-12-09 16:22:50.639265', "log" = '2013-12-09 18:22:50: ORIGINAL_STATUS
|
61785
|
+
2013-12-09 18:22:50: DELIVERED
|
61786
|
+
', "updated_at" = '2013-12-09 16:22:50.641346' WHERE "action_smser_delivery_reports"."id" = 1
|
61787
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61788
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
61789
|
+
Rendered text template (0.0ms)
|
61790
|
+
Completed 200 OK in 40.3ms (Views: 26.1ms | ActiveRecord: 1.0ms)
|
61791
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
61792
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
61793
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61794
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61795
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61797
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61798
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61799
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61800
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61801
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}}
|
61802
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
61803
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
61804
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61805
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-12-09 16:22:50.696850', "log" = '2013-12-09 18:22:50: ORIGINAL_STATUS
|
61806
|
+
2013-12-09 18:22:50: DELIVERED
|
61807
|
+
', "updated_at" = '2013-12-09 16:22:50.698421' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
61808
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61809
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
61810
|
+
[1m[36mActionSmser::DeliveryReport Load (0.5ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1[0m
|
61811
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61812
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-12-09 16:22:50.703579', "log" = '2013-12-09 18:22:50: ORIGINAL_STATUS
|
61813
|
+
2013-12-09 18:22:50: DELIVERED
|
61814
|
+
', "updated_at" = '2013-12-09 16:22:50.705061' WHERE "action_smser_delivery_reports"."id" = 2[0m
|
61815
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61816
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
61817
|
+
Completed 200 OK in 14.9ms (Views: 0.9ms | ActiveRecord: 1.8ms)
|
61818
|
+
[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]]
|
61819
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 2]]
|
61820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61822
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61823
|
+
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"}}}
|
61824
|
+
Completed 200 OK in 0.7ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
61825
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61827
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61828
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}}
|
61829
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
61830
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1[0m
|
61831
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
61832
|
+
Completed 200 OK in 2.7ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
61833
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
61834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61835
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61836
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61837
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61838
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61839
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61840
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61841
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
61842
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.758368' AND '2013-12-09 16:12:50.762552')
|
61843
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.758368' AND '2013-12-09 16:12:50.762552') GROUP BY gateway[0m
|
61844
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.758368' AND '2013-12-09 16:12:50.762552')
|
61845
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.758368' AND '2013-12-09 16:12:50.762552') GROUP BY status[0m
|
61846
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.758368' AND '2013-12-09 16:12:50.762552')
|
61847
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.758368' AND '2013-12-09 16:12:50.762552') GROUP BY sms_type[0m
|
61848
|
+
Completed 200 OK in 54.6ms (Views: 51.8ms | ActiveRecord: 1.7ms)
|
61849
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
61850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61851
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61852
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61853
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61854
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61855
|
+
[1m[35mSQL (39.8ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61857
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
61858
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.856210' AND '2013-12-09 16:12:50.856618')
|
61859
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.856210' AND '2013-12-09 16:12:50.856618') GROUP BY gateway[0m
|
61860
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.856210' AND '2013-12-09 16:12:50.856618')
|
61861
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.856210' AND '2013-12-09 16:12:50.856618') GROUP BY status[0m
|
61862
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.856210' AND '2013-12-09 16:12:50.856618')
|
61863
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:22:50.856210' AND '2013-12-09 16:12:50.856618') GROUP BY sms_type[0m
|
61864
|
+
Completed 200 OK in 26.9ms (Views: 24.9ms | ActiveRecord: 1.5ms)
|
61865
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
61866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61867
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
61868
|
+
Filter chain halted as :admin_access_only rendered or redirected
|
61869
|
+
Completed 403 Forbidden in 1.2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
61870
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
61871
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
61872
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61873
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61875
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61876
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_5"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61878
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
61879
|
+
[1m[35mActionSmser::DeliveryReport Load (0.7ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0
|
61880
|
+
Completed 200 OK in 14.3ms (Views: 12.7ms | ActiveRecord: 0.7ms)
|
61881
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
61882
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61883
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61884
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61885
|
+
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)
|
61886
|
+
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:0x3a3a450>
|
61887
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61888
|
+
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:0x3a3a450>
|
61889
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61890
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61891
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61892
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61893
|
+
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)
|
61894
|
+
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:0x3a240d8>
|
61895
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61896
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
61897
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61898
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61899
|
+
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:0x3a240d8>
|
61900
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
61901
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61902
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61903
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61904
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61905
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61906
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61907
|
+
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)
|
61908
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x39d2508>
|
61909
|
+
ActionSmser: id_1234
|
61910
|
+
id_6666
|
61911
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61912
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61913
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61914
|
+
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)
|
61915
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x39c5178>
|
61916
|
+
ActionSmser: id_1234
|
61917
|
+
id_6666
|
61918
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61919
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61922
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-12-09 18:22:50: 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", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61923
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61924
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61925
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61926
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61927
|
+
ActionSmser: Sending sms - Delivery_method: smstrade - Sms: (Sms ActionSmser::SmstradeTest::MockSms.basic_sms - From: "4917212341234", To: ["4915112341234", "4917812341234"], Body: "Body with ümläüts.", Valid: true)
|
61928
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4915112341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3971be0>
|
61929
|
+
ActionSmser: 100
|
61930
|
+
123456789
|
61931
|
+
0.064
|
61932
|
+
1
|
61933
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4917812341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3971be0>
|
61934
|
+
ActionSmser: 100
|
61935
|
+
123456789
|
61936
|
+
0.064
|
61937
|
+
1
|
61938
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61940
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61941
|
+
ActionSmser: Sending sms - Delivery_method: smstrade - Sms: (Sms ActionSmser::SmstradeTest::MockSms.basic_sms - From: "4917212341234", To: ["4915112341234", "4917812341234"], Body: "Body with ümläüts.", Valid: true)
|
61942
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4915112341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3960250>
|
61943
|
+
ActionSmser: 100
|
61944
|
+
123456789
|
61945
|
+
0.064
|
61946
|
+
1
|
61947
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
61948
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ümläüts."], ["created_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["from", "4917212341234"], ["gateway", "smstrade"], ["log", "2013-12-09 18:22:50: LOCAL_SENT\n"], ["msg_id", "123456789"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SmstradeTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00], ["to", "4915112341234"], ["updated_at", Mon, 09 Dec 2013 16:22:50 UTC +00:00]]
|
61949
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61950
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4917812341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3960250>
|
61951
|
+
ActionSmser: 100
|
61952
|
+
123456789
|
61953
|
+
0.064
|
61954
|
+
1
|
61955
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61956
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ümläüts."], ["created_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00], ["from", "4917212341234"], ["gateway", "smstrade"], ["log", "2013-12-09 18:22:51: LOCAL_SENT\n"], ["msg_id", "123456789"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SmstradeTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00], ["to", "4917812341234"], ["updated_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00]]
|
61957
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61958
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61959
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61961
|
+
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)
|
61962
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61963
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61965
|
+
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)
|
61966
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61967
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61969
|
+
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)
|
61970
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61971
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
61972
|
+
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)
|
61973
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
61974
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
61975
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:22:51: LOCAL_SENT\n"], ["msg_id", "test_array_id_24861927"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00]]
|
61976
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
61977
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61978
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:22:51: LOCAL_SENT\n"], ["msg_id", "test_array_id_97205736"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:22:51 UTC +00:00]]
|
61979
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61980
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
61981
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61982
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61983
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61984
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61985
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-12-09 18:22:51 +0200
|
61986
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
61987
|
+
Parameters: {"gateway"=>"example_gateway"}
|
61988
|
+
Completed 200 OK in 1.2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
61989
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
61990
|
+
Connecting to database specified by database.yml
|
61991
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
61992
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
61993
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
61994
|
+
[1m[35m (3.5ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
61995
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
61996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61997
|
+
[1m[35m (0.8ms)[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 NOT NULL, "updated_at" datetime NOT NULL)
|
61998
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")[0m
|
61999
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
|
62000
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
62001
|
+
[1m[35m (0.2ms)[0m begin transaction
|
62002
|
+
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)
|
62003
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62004
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62006
|
+
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)
|
62007
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62008
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62009
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62010
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62011
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62012
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62013
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62014
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62018
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62020
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62022
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62023
|
+
[1m[35m (0.2ms)[0m begin transaction
|
62024
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62025
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62026
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62028
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62030
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62031
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62032
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62034
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62036
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62038
|
+
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)
|
62039
|
+
ActionSmser: Delivering sms by delayed_job
|
62040
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62041
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62044
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62046
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
62047
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62048
|
+
[1m[36mSQL (11.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62050
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
62051
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62052
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62054
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62056
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62057
|
+
[1m[35m (0.3ms)[0m UPDATE "action_smser_delivery_reports" SET "gateway" = 'some_delivery', "updated_at" = '2013-12-09 16:24:44.379508' WHERE "action_smser_delivery_reports"."id" = 1
|
62058
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62059
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
62060
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-12-09 16:24:44", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-12-09 18:24:44: 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-12-09 16:24:44", updated_at: "2013-12-09 16:24:44">
|
62061
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62062
|
+
[1m[35m (0.2ms)[0m UPDATE "action_smser_delivery_reports" SET "re_delivered" = 't', "updated_at" = '2013-12-09 16:24:44.389765' WHERE "action_smser_delivery_reports"."id" = 1
|
62063
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62064
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
62065
|
+
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)
|
62066
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62067
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62068
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:24:44: LOCAL_SENT\n"], ["msg_id", "test_array_id_10143761"], ["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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62069
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62070
|
+
[1m[35mActionSmser::DeliveryReport Load (0.4ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1
|
62071
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = 1 LIMIT 1[0m
|
62072
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = 1 LIMIT 1
|
62073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62075
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62076
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62077
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62078
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
62079
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
62080
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62081
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62082
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62083
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62084
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62085
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'TEST_2', "status_updated_at" = '2013-12-09 16:24:44.484079', "log" = '2013-12-09 18:24:44: LOCAL_TEST
|
62086
|
+
2013-12-09 18:24:44: TEST_2
|
62087
|
+
', "updated_at" = '2013-12-09 16:24:44.485509' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
62088
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62089
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62091
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62092
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62093
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62094
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62095
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}}
|
62096
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
62097
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1
|
62098
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62099
|
+
[1m[35m (0.2ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-12-09 16:24:44.531157', "log" = '2013-12-09 18:24:44: ORIGINAL_STATUS
|
62100
|
+
2013-12-09 18:24:44: DELIVERED
|
62101
|
+
', "updated_at" = '2013-12-09 16:24:44.533040' WHERE "action_smser_delivery_reports"."id" = 1
|
62102
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62103
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
62104
|
+
Rendered text template (0.0ms)
|
62105
|
+
Completed 200 OK in 39.3ms (Views: 26.1ms | ActiveRecord: 0.9ms)
|
62106
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
62107
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62110
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62111
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62112
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62113
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", nil], ["gateway", nil], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62114
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62115
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62116
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}}
|
62117
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
62118
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' LIMIT 1[0m
|
62119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62120
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-12-09 16:24:44.627158', "log" = '2013-12-09 18:24:44: ORIGINAL_STATUS
|
62121
|
+
2013-12-09 18:24:44: DELIVERED
|
62122
|
+
', "updated_at" = '2013-12-09 16:24:44.628819' WHERE "action_smser_delivery_reports"."id" = 1[0m
|
62123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62124
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
62125
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' LIMIT 1[0m
|
62126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62127
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = 'DELIVERED', "status_updated_at" = '2013-12-09 16:24:44.633766', "log" = '2013-12-09 18:24:44: ORIGINAL_STATUS
|
62128
|
+
2013-12-09 18:24:44: DELIVERED
|
62129
|
+
', "updated_at" = '2013-12-09 16:24:44.635169' WHERE "action_smser_delivery_reports"."id" = 2[0m
|
62130
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62131
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
62132
|
+
Completed 200 OK in 15.0ms (Views: 0.8ms | ActiveRecord: 1.7ms)
|
62133
|
+
[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]]
|
62134
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 2]]
|
62135
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62137
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62138
|
+
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"}}}
|
62139
|
+
Completed 200 OK in 0.7ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
62140
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62142
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62143
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}}
|
62144
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
62145
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' LIMIT 1[0m
|
62146
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
62147
|
+
Completed 200 OK in 2.6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
62148
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62150
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62151
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", nil], ["gateway", nil], ["log", nil], ["msg_id", "idtest_5"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", nil], ["status", nil], ["status_updated_at", nil], ["to", nil], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62152
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62154
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62155
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62156
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
62157
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.685378' AND '2013-12-09 16:14:44.685809')
|
62158
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.685378' AND '2013-12-09 16:14:44.685809') GROUP BY gateway[0m
|
62159
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.685378' AND '2013-12-09 16:14:44.685809')
|
62160
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.685378' AND '2013-12-09 16:14:44.685809') GROUP BY status[0m
|
62161
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.685378' AND '2013-12-09 16:14:44.685809')
|
62162
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.685378' AND '2013-12-09 16:14:44.685809') GROUP BY sms_type[0m
|
62163
|
+
Completed 200 OK in 46.4ms (Views: 43.8ms | ActiveRecord: 1.6ms)
|
62164
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62166
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62167
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62168
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62169
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62170
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62171
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62172
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
62173
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.735097' AND '2013-12-09 16:14:44.735410')
|
62174
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.735097' AND '2013-12-09 16:14:44.735410') GROUP BY gateway[0m
|
62175
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.735097' AND '2013-12-09 16:14:44.735410')
|
62176
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.735097' AND '2013-12-09 16:14:44.735410') GROUP BY status[0m
|
62177
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.735097' AND '2013-12-09 16:14:44.735410')
|
62178
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:24:44.735097' AND '2013-12-09 16:14:44.735410') GROUP BY sms_type[0m
|
62179
|
+
Completed 200 OK in 26.9ms (Views: 24.9ms | ActiveRecord: 1.6ms)
|
62180
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62181
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62182
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
62183
|
+
Filter chain halted as :admin_access_only rendered or redirected
|
62184
|
+
Completed 403 Forbidden in 1.2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
62185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62186
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62188
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62191
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 09 Dec 2013 16:24:44 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62193
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
62194
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0
|
62195
|
+
Completed 200 OK in 13.4ms (Views: 12.0ms | ActiveRecord: 0.5ms)
|
62196
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62198
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62200
|
+
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)
|
62201
|
+
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:0x388b3c0>
|
62202
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62203
|
+
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:0x388b3c0>
|
62204
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62207
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
62208
|
+
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)
|
62209
|
+
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:0x3867d08>
|
62210
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62211
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62212
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62214
|
+
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:0x3867d08>
|
62215
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62217
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62219
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62220
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62222
|
+
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)
|
62223
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x37d83d8>
|
62224
|
+
ActionSmser: id_1234
|
62225
|
+
id_6666
|
62226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62228
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
62229
|
+
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)
|
62230
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x37c4630>
|
62231
|
+
ActionSmser: id_1234
|
62232
|
+
id_6666
|
62233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62234
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62237
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-12-09 18:24:44: 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", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62239
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62240
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62242
|
+
ActionSmser: Sending sms - Delivery_method: smstrade - Sms: (Sms ActionSmser::SmstradeTest::MockSms.basic_sms - From: "4917212341234", To: ["4915112341234", "4917812341234"], Body: "Body with ümläüts.", Valid: true)
|
62243
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4915112341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x374c8b0>
|
62244
|
+
ActionSmser: 100
|
62245
|
+
123456789
|
62246
|
+
0.064
|
62247
|
+
1
|
62248
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4917812341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x374c8b0>
|
62249
|
+
ActionSmser: 100
|
62250
|
+
123456789
|
62251
|
+
0.064
|
62252
|
+
1
|
62253
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62254
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62255
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
62256
|
+
ActionSmser: Sending sms - Delivery_method: smstrade - Sms: (Sms ActionSmser::SmstradeTest::MockSms.basic_sms - From: "4917212341234", To: ["4915112341234", "4917812341234"], Body: "Body with ümläüts.", Valid: true)
|
62257
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4915112341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3726908>
|
62258
|
+
ActionSmser: 100
|
62259
|
+
123456789
|
62260
|
+
0.064
|
62261
|
+
1
|
62262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62263
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ümläüts."], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "4917212341234"], ["gateway", "smstrade"], ["log", "2013-12-09 18:24:44: LOCAL_SENT\n"], ["msg_id", "123456789"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SmstradeTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "4915112341234"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62264
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62265
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4917812341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3726908>
|
62266
|
+
ActionSmser: 100
|
62267
|
+
123456789
|
62268
|
+
0.064
|
62269
|
+
1
|
62270
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62271
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ümläüts."], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "4917212341234"], ["gateway", "smstrade"], ["log", "2013-12-09 18:24:44: LOCAL_SENT\n"], ["msg_id", "123456789"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::SmstradeTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "4917812341234"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62272
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62273
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62274
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62275
|
+
[1m[35m (0.4ms)[0m begin transaction
|
62276
|
+
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)
|
62277
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62278
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62279
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62280
|
+
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)
|
62281
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62282
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62284
|
+
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)
|
62285
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62286
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" [0m
|
62287
|
+
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)
|
62288
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62289
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62290
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:24:44: LOCAL_SENT\n"], ["msg_id", "test_array_id_10377036"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62291
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62293
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "re_delivered", "re_delivery_of_delivery_report_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:24:44: LOCAL_SENT\n"], ["msg_id", "test_array_id_39007616"], ["re_delivered", nil], ["re_delivery_of_delivery_report_id", nil], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:24:44 UTC +00:00]]
|
62294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62295
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62298
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62299
|
+
[1m[35m (0.2ms)[0m begin transaction
|
62300
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-12-09 18:24:44 +0200
|
62301
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62302
|
+
Parameters: {"gateway"=>"example_gateway"}
|
62303
|
+
Completed 200 OK in 1.2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
62304
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62305
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
62306
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
62307
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62308
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
62309
|
+
[1m[35m (0.2ms)[0m begin transaction
|
62310
|
+
[1m[36m (0.8ms)[0m [1mCREATE 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) [0m
|
62311
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
|
62312
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20120102215215"]]
|
62313
|
+
[1m[35m (0.2ms)[0m commit transaction
|
62314
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62315
|
+
---------------------------------------------------------------------------
|
62316
|
+
ActionSmser::BaseTest: test_after_delivery_should_be_called_if_it's_present
|
62317
|
+
---------------------------------------------------------------------------
|
62318
|
+
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)
|
62319
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62320
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62321
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
62322
|
+
----------------------------------------------------------------------------
|
62323
|
+
ActionSmser::BaseTest: test_before_delivery_should_be_called_if_it's_present
|
62324
|
+
----------------------------------------------------------------------------
|
62325
|
+
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)
|
62326
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62327
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62328
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62329
|
+
--------------------------------------------------------------------------------------------
|
62330
|
+
ActionSmser::BaseTest: test_body_should_be_cropped_to_500_chars,_limit_extra_looong_messages
|
62331
|
+
--------------------------------------------------------------------------------------------
|
62332
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62333
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62334
|
+
-------------------------------------------------------------
|
62335
|
+
ActionSmser::BaseTest: test_body_should_be_possible_to_encode
|
62336
|
+
-------------------------------------------------------------
|
62337
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62338
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62339
|
+
----------------------------------------------------------------------
|
62340
|
+
ActionSmser::BaseTest: test_from_encoded_should_remove_leading_+_and_0
|
62341
|
+
----------------------------------------------------------------------
|
62342
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62344
|
+
--------------------------------------------------------------------------------------------------------
|
62345
|
+
ActionSmser::BaseTest: test_message_real_crop_should_return_cropped_message_with_sms_chars_taken_account
|
62346
|
+
--------------------------------------------------------------------------------------------------------
|
62347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62348
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62349
|
+
-----------------------------------------------------------------------------
|
62350
|
+
ActionSmser::BaseTest: test_message_real_length_should_return_real_sms_lenght
|
62351
|
+
-----------------------------------------------------------------------------
|
62352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62353
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62354
|
+
----------------------------------------------------------------
|
62355
|
+
ActionSmser::BaseTest: test_receivers_should_be_joined_by_commas
|
62356
|
+
----------------------------------------------------------------
|
62357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62358
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62359
|
+
--------------------------------------------------------
|
62360
|
+
ActionSmser::BaseTest: test_should_be_able_to_change_ttl
|
62361
|
+
--------------------------------------------------------
|
62362
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62364
|
+
--------------------------------------------------------------
|
62365
|
+
ActionSmser::BaseTest: test_should_be_ok_with_single_receivers
|
62366
|
+
--------------------------------------------------------------
|
62367
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62369
|
+
-----------------------------------------------
|
62370
|
+
ActionSmser::BaseTest: test_should_be_valid_sms
|
62371
|
+
-----------------------------------------------
|
62372
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62374
|
+
-------------------------------------------------------------------------------------
|
62375
|
+
ActionSmser::BaseTest: test_should_have_copied_the_delivery_options_when_initializing
|
62376
|
+
-------------------------------------------------------------------------------------
|
62377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62378
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62379
|
+
------------------------------------------------------
|
62380
|
+
ActionSmser::BaseTest: test_should_have_saved_sms_type
|
62381
|
+
------------------------------------------------------
|
62382
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62384
|
+
---------------------------------------------------------------------
|
62385
|
+
ActionSmser::BaseTest: test_should_have_test_array_as_delivery_method
|
62386
|
+
---------------------------------------------------------------------
|
62387
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62389
|
+
----------------------------------------------------------------
|
62390
|
+
ActionSmser::BaseTest: test_should_not_be_valid_if_no_recipients
|
62391
|
+
----------------------------------------------------------------
|
62392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62394
|
+
-------------------------------------------------------------
|
62395
|
+
ActionSmser::BaseTest: test_ttl_should_be_24_hours_by_default
|
62396
|
+
-------------------------------------------------------------
|
62397
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62399
|
+
----------------------------------------------------------------------------------------------
|
62400
|
+
ActionSmser::DelayedJobTest: test_should_be_able_to_deliver_and_call_enqueue_for_all_receivers
|
62401
|
+
----------------------------------------------------------------------------------------------
|
62402
|
+
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)
|
62403
|
+
ActionSmser: Delivering sms by delayed_job
|
62404
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62406
|
+
-------------------------------------------------------------
|
62407
|
+
ActionSmser::DelayedJobTest: test_test_that_serializing_is_ok
|
62408
|
+
-------------------------------------------------------------
|
62409
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62410
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62411
|
+
-------------------------------------------------------------------
|
62412
|
+
ActionSmser::DeliveryReportTest: test_build_DeliveryReport_from_sms
|
62413
|
+
-------------------------------------------------------------------
|
62414
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62415
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62416
|
+
------------------------------------------------------
|
62417
|
+
ActionSmser::DeliveryReportTest: test_create_from_save
|
62418
|
+
------------------------------------------------------
|
62419
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62420
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62421
|
+
[1m[35mSQL (12.0ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:37:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62422
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62423
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62424
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62426
|
+
-----------------------------------------------------------------
|
62427
|
+
ActionSmser::DeliveryReportTest: test_re_deliver_with_simple_http
|
62428
|
+
-----------------------------------------------------------------
|
62429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62430
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:37:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62431
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62432
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62433
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "gateway" = ?, "updated_at" = ? WHERE "action_smser_delivery_reports"."id" = 1[0m [["gateway", "some_delivery"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62434
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
62435
|
+
[1m[36mActionSmser::DeliveryReport Load (0.5ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
62436
|
+
ActionSmser: Re_delivering: #<ActionSmser::DeliveryReport id: 1, msg_id: "msg_id_a", status: "LOCAL_SENT", status_updated_at: "2013-12-09 16:37:15", sms_type: "ActionSmser::DeliveryReportTest::MockSms.basic_sms", log: "2013-12-09 18:37: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-12-09 16:37:15", updated_at: "2013-12-09 16:37:15">
|
62437
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62438
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "re_delivered" = ?, "updated_at" = ? WHERE "action_smser_delivery_reports"."id" = 1[0m [["re_delivered", true], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62439
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62440
|
+
[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]]
|
62441
|
+
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)
|
62442
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62443
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62444
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "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", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:37:15: LOCAL_SENT\n"], ["msg_id", "test_array_id_93177784"], ["re_delivery_of_delivery_report_id", 1], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms.re_delivery"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62445
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62446
|
+
[1m[36mActionSmser::DeliveryReport Load (0.4ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY "action_smser_delivery_reports"."id" DESC LIMIT 1[0m
|
62447
|
+
[1m[35mActionSmser::DeliveryReport Load (0.7ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."re_delivery_of_delivery_report_id" = ? ORDER BY "action_smser_delivery_reports"."id" ASC LIMIT 1 [["re_delivery_of_delivery_report_id", 1]]
|
62448
|
+
[1m[36mActionSmser::DeliveryReport Load (0.6ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? ORDER BY "action_smser_delivery_reports"."id" ASC LIMIT 1[0m [["id", 1]]
|
62449
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62451
|
+
--------------------------------------------
|
62452
|
+
ActionSmser::DeliveryReportTest: test_to_sms
|
62453
|
+
--------------------------------------------
|
62454
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62455
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:37:15: LOCAL_SENT\n"], ["msg_id", "msg_id_a"], ["sms_type", "ActionSmser::DeliveryReportTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["to", "123"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62456
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62457
|
+
[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]]
|
62458
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62459
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62460
|
+
-----------------------------------------------------
|
62461
|
+
ActionSmser::DeliveryReportTest: test_updating_status
|
62462
|
+
-----------------------------------------------------
|
62463
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62464
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("created_at", "log", "status", "status_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: LOCAL_TEST\n"], ["status", "LOCAL_TEST"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62465
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62467
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = ?, "status_updated_at" = ?, "log" = ?, "updated_at" = ? WHERE "action_smser_delivery_reports"."id" = 1 [["status", "TEST_2"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: LOCAL_TEST\n2013-12-09 18:37:15: TEST_2\n"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62468
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62471
|
+
--------------------------------------------------------------------------------
|
62472
|
+
ActionSmser::DeliveryReportsControllerTest: test_gateway_commit_with_existing_dr
|
62473
|
+
--------------------------------------------------------------------------------
|
62474
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62475
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("created_at", "log", "msg_id", "status", "status_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62476
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
62477
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62478
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"102010314204056202", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}}
|
62479
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
62480
|
+
[1m[36mActionSmser::DeliveryReport Load (0.5ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' ORDER BY "action_smser_delivery_reports"."id" ASC LIMIT 1[0m
|
62481
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62482
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "action_smser_delivery_reports" SET "status" = ?, "status_updated_at" = ?, "log" = ?, "updated_at" = ? WHERE "action_smser_delivery_reports"."id" = 1[0m [["status", "DELIVERED"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: ORIGINAL_STATUS\n2013-12-09 18:37:15: DELIVERED\n"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62483
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
62484
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
62485
|
+
Rendered text template (0.1ms)
|
62486
|
+
Completed 200 OK in 55ms (Views: 1.9ms | ActiveRecord: 1.7ms)
|
62487
|
+
[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]]
|
62488
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
62489
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62490
|
+
-------------------------------------------------------------------------------------
|
62491
|
+
ActionSmser::DeliveryReportsControllerTest: test_gateway_commit_with_multiple_records
|
62492
|
+
-------------------------------------------------------------------------------------
|
62493
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62494
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("created_at", "log", "msg_id", "status", "status_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: ORIGINAL_STATUS\n"], ["msg_id", "102010314204056202"], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62495
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62496
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62497
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "action_smser_delivery_reports" ("created_at", "log", "msg_id", "status", "status_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: ORIGINAL_STATUS\n"], ["msg_id", "99999999999999999"], ["status", "ORIGINAL_STATUS"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62498
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62499
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62500
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>[{"id"=>"102010314204056202", "status"=>"DELIVERED"}, {"id"=>"99999999999999999", "status"=>"DELIVERED"}]}}
|
62501
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
62502
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '102010314204056202' ORDER BY "action_smser_delivery_reports"."id" ASC LIMIT 1
|
62503
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
62504
|
+
[1m[35mSQL (0.8ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = ?, "status_updated_at" = ?, "log" = ?, "updated_at" = ? WHERE "action_smser_delivery_reports"."id" = 1 [["status", "DELIVERED"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: ORIGINAL_STATUS\n2013-12-09 18:37:15: DELIVERED\n"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62505
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62506
|
+
ActionSmser: Gateway_commit updated item with id: 102010314204056202, params: {"msg_id"=>"102010314204056202", "status"=>"DELIVERED"}
|
62507
|
+
[1m[35mActionSmser::DeliveryReport Load (0.4ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = '99999999999999999' ORDER BY "action_smser_delivery_reports"."id" ASC LIMIT 1
|
62508
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62509
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "action_smser_delivery_reports" SET "status" = ?, "status_updated_at" = ?, "log" = ?, "updated_at" = ? WHERE "action_smser_delivery_reports"."id" = 2 [["status", "DELIVERED"], ["status_updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["log", "2013-12-09 18:37:15: ORIGINAL_STATUS\n2013-12-09 18:37:15: DELIVERED\n"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62510
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62511
|
+
ActionSmser: Gateway_commit updated item with id: 99999999999999999, params: {"msg_id"=>"99999999999999999", "status"=>"DELIVERED"}
|
62512
|
+
Completed 200 OK in 17ms (Views: 0.8ms | ActiveRecord: 2.8ms)
|
62513
|
+
[1m[35mActionSmser::DeliveryReport Load (0.2ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", 1]]
|
62514
|
+
[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", 2]]
|
62515
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62517
|
+
----------------------------------------------------------------------------------
|
62518
|
+
ActionSmser::DeliveryReportsControllerTest: test_gateway_commit_without_any_parser
|
62519
|
+
----------------------------------------------------------------------------------
|
62520
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62521
|
+
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"}}}
|
62522
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
62523
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62525
|
+
--------------------------------------------------------------------------
|
62526
|
+
ActionSmser::DeliveryReportsControllerTest: test_gateway_commit_without_dr
|
62527
|
+
--------------------------------------------------------------------------
|
62528
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62529
|
+
Parameters: {"gateway"=>"test_gateway", "DeliveryReport"=>{"message"=>{"id"=>"wrongid", "donedate"=>"2012/01/03 14:20:45", "sentdate"=>"2012/01/03 14:20:40", "status"=>"DELIVERED"}}}
|
62530
|
+
ActionSmser: Gateway_commit found parser for gateway: test_gateway
|
62531
|
+
[1m[35mActionSmser::DeliveryReport Load (0.5ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."msg_id" = 'wrongid' ORDER BY "action_smser_delivery_reports"."id" ASC LIMIT 1
|
62532
|
+
ActionSmser: Gateway_commit not found item with id: wrongid, params: {"msg_id"=>"wrongid", "status"=>"DELIVERED"}
|
62533
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
62534
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62536
|
+
-----------------------------------------------------------------------------------------------------
|
62537
|
+
ActionSmser::DeliveryReportsControllerTest: test_index_with_admin_access_lambda_with_right_login_info
|
62538
|
+
-----------------------------------------------------------------------------------------------------
|
62539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62540
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("created_at", "msg_id", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["msg_id", "idtest_5"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62541
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62543
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("created_at", "msg_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["msg_id", "idtest_6"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62544
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62545
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
62546
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.499393' AND '2013-12-09 16:27:15.499819')[0m
|
62547
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.499393' AND '2013-12-09 16:27:15.499819') GROUP BY gateway
|
62548
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.499393' AND '2013-12-09 16:27:15.499819')[0m
|
62549
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.499393' AND '2013-12-09 16:27:15.499819') GROUP BY status
|
62550
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.499393' AND '2013-12-09 16:27:15.499819')[0m
|
62551
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.499393' AND '2013-12-09 16:27:15.499819') GROUP BY sms_type
|
62552
|
+
Completed 200 OK in 43ms (Views: 40.2ms | ActiveRecord: 1.8ms)
|
62553
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62554
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62555
|
+
--------------------------------------------------------------------------------
|
62556
|
+
ActionSmser::DeliveryReportsControllerTest: test_index_with_always_enabled_admin
|
62557
|
+
--------------------------------------------------------------------------------
|
62558
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
62559
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("created_at", "msg_id", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["msg_id", "idtest_1"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62561
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62562
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("created_at", "msg_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["msg_id", "idtest_7"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62563
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62564
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
62565
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.551817' AND '2013-12-09 16:27:15.552166')[0m
|
62566
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.551817' AND '2013-12-09 16:27:15.552166') GROUP BY gateway
|
62567
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.551817' AND '2013-12-09 16:27:15.552166')[0m
|
62568
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.551817' AND '2013-12-09 16:27:15.552166') GROUP BY status
|
62569
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.551817' AND '2013-12-09 16:27:15.552166')[0m
|
62570
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-12-02 16:37:15.551817' AND '2013-12-09 16:27:15.552166') GROUP BY sms_type
|
62571
|
+
Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 1.9ms)
|
62572
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62574
|
+
--------------------------------------------------------------------------------------------------------
|
62575
|
+
ActionSmser::DeliveryReportsControllerTest: test_index_with_forbidden_admin_access_(default_access_mode)
|
62576
|
+
--------------------------------------------------------------------------------------------------------
|
62577
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
62578
|
+
Filter chain halted as :admin_access_only rendered or redirected
|
62579
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
62580
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62582
|
+
-------------------------------------------------------------------------------
|
62583
|
+
ActionSmser::DeliveryReportsControllerTest: test_list_with_always_enabled_admin
|
62584
|
+
-------------------------------------------------------------------------------
|
62585
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62586
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "action_smser_delivery_reports" ("created_at", "msg_id", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["msg_id", "idtest_4"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62587
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62588
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62589
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("created_at", "msg_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00], ["msg_id", "idtest_9"], ["updated_at", Mon, 09 Dec 2013 16:37:15 UTC +00:00]]
|
62590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62591
|
+
Processing by ActionSmser::DeliveryReportsController#list as HTML
|
62592
|
+
[1m[36mActionSmser::DeliveryReport Load (0.6ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" ORDER BY created_at DESC LIMIT 20 OFFSET 0[0m
|
62593
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.6ms)
|
62594
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62596
|
+
--------------------------------------------------------------------
|
62597
|
+
ActionSmser::NexmoTest: test_gateway_process_delivery_report(params)
|
62598
|
+
--------------------------------------------------------------------
|
62599
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62601
|
+
------------------------------------------------------
|
62602
|
+
ActionSmser::NexmoTest: test_should_be_able_to_deliver
|
62603
|
+
------------------------------------------------------
|
62604
|
+
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)
|
62605
|
+
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:0x447c1c0>
|
62606
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62607
|
+
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:0x447c1c0>
|
62608
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62609
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
62610
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62611
|
+
---------------------------------------------------------
|
62612
|
+
ActionSmser::NexmoTest: test_with_saving_delivery_reports
|
62613
|
+
---------------------------------------------------------
|
62614
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62615
|
+
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)
|
62616
|
+
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:0x61e1030>
|
62617
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62618
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
62619
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62620
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62621
|
+
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:0x61e1030>
|
62622
|
+
ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778DE88","remaining-balance":"1.77500000"}]}
|
62623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62624
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "555666"], ["gateway", "nexmo"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "0778DE88"], ["sms_type", "ActionSmser::NexmoTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62625
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
62626
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports"[0m
|
62627
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62628
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62629
|
+
-----------------------------------------------------------
|
62630
|
+
ActionSmser::SimpleHttpTest: test_should_be_able_to_deliver
|
62631
|
+
-----------------------------------------------------------
|
62632
|
+
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)
|
62633
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x30d8f88>
|
62634
|
+
ActionSmser: id_1234
|
62635
|
+
id_6666
|
62636
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62638
|
+
--------------------------------------------------------------
|
62639
|
+
ActionSmser::SimpleHttpTest: test_with_saving_delivery_reports
|
62640
|
+
--------------------------------------------------------------
|
62641
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62642
|
+
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)
|
62643
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=user&password=pass&sender=555666&SMSText=Body+with+%E4%E4kk%F6set+end&GSM=555123555,123555123 ||| #<Mock:0x4450340>
|
62644
|
+
ActionSmser: id_1234
|
62645
|
+
id_6666
|
62646
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
62647
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "id_1234"], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62648
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62649
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62650
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "555666"], ["gateway", "simple_http"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "id_6666"], ["sms_type", "ActionSmser::SimpleHttpTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62651
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62652
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports"[0m
|
62653
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62654
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62655
|
+
---------------------------------------------------------
|
62656
|
+
ActionSmser::SmstradeTest: test_should_be_able_to_deliver
|
62657
|
+
---------------------------------------------------------
|
62658
|
+
ActionSmser: Sending sms - Delivery_method: smstrade - Sms: (Sms ActionSmser::SmstradeTest::MockSms.basic_sms - From: "4917212341234", To: ["4915112341234", "4917812341234"], Body: "Body with ümläüts.", Valid: true)
|
62659
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4915112341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x50ec518>
|
62660
|
+
ActionSmser: 100
|
62661
|
+
123456789
|
62662
|
+
0.064
|
62663
|
+
1
|
62664
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4917812341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x50ec518>
|
62665
|
+
ActionSmser: 100
|
62666
|
+
123456789
|
62667
|
+
0.064
|
62668
|
+
1
|
62669
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62671
|
+
------------------------------------------------------------
|
62672
|
+
ActionSmser::SmstradeTest: test_with_saving_delivery_reports
|
62673
|
+
------------------------------------------------------------
|
62674
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62675
|
+
ActionSmser: Sending sms - Delivery_method: smstrade - Sms: (Sms ActionSmser::SmstradeTest::MockSms.basic_sms - From: "4917212341234", To: ["4915112341234", "4917812341234"], Body: "Body with ümläüts.", Valid: true)
|
62676
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4915112341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3eb5b60>
|
62677
|
+
ActionSmser: 100
|
62678
|
+
123456789
|
62679
|
+
0.064
|
62680
|
+
1
|
62681
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
62682
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ümläüts."], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "4917212341234"], ["gateway", "smstrade"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "123456789"], ["sms_type", "ActionSmser::SmstradeTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "4915112341234"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62683
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62684
|
+
ActionSmser: Smstrade delivery http ||| /?key=api-key-here&from=4917212341234&to=4917812341234&message=Body+with+%C3%BCml%C3%A4%C3%BCts.&route=gold&debug=1&cost=1&message_id=1&count=1&charset=utf-8 ||| #<Mock:0x3eb5b60>
|
62685
|
+
ActionSmser: 100
|
62686
|
+
123456789
|
62687
|
+
0.064
|
62688
|
+
1
|
62689
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62690
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ümläüts."], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "4917212341234"], ["gateway", "smstrade"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "123456789"], ["sms_type", "ActionSmser::SmstradeTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "4917812341234"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62691
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
62692
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports"[0m
|
62693
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62694
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62695
|
+
--------------------------------------------------------
|
62696
|
+
ActionSmser::TestArrayTest: test_should_add_to_TestArray
|
62697
|
+
--------------------------------------------------------
|
62698
|
+
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)
|
62699
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62700
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62701
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62702
|
+
----------------------------------------------------------
|
62703
|
+
ActionSmser::TestArrayTest: test_should_be_able_to_deliver
|
62704
|
+
----------------------------------------------------------
|
62705
|
+
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)
|
62706
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62707
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62709
|
+
-------------------------------------------------------------
|
62710
|
+
ActionSmser::TestArrayTest: test_with_saving_delivery_reports
|
62711
|
+
-------------------------------------------------------------
|
62712
|
+
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)
|
62713
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62714
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "action_smser_delivery_reports"
|
62715
|
+
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)
|
62716
|
+
ActionSmser: ActionSmser::DeliveryMethods::TestArray.deliveries added message, no real delivery.
|
62717
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62718
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "test_array_id_26595464"], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "555123555"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62719
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62720
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62721
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "action_smser_delivery_reports" ("body", "created_at", "from", "gateway", "log", "msg_id", "sms_type", "status", "status_updated_at", "to", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Body with ääkköset end"], ["created_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["from", "555666"], ["gateway", "test_array"], ["log", "2013-12-09 18:37:16: LOCAL_SENT\n"], ["msg_id", "test_array_id_83627851"], ["sms_type", "ActionSmser::TestArrayTest::MockSms.basic_sms"], ["status", "LOCAL_SENT"], ["status_updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00], ["to", "123555123"], ["updated_at", Mon, 09 Dec 2013 16:37:16 UTC +00:00]]
|
62722
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62723
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "action_smser_delivery_reports"[0m
|
62724
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62726
|
+
---------------------------
|
62727
|
+
ActionSmserTest: test_truth
|
62728
|
+
---------------------------
|
62729
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
62730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62731
|
+
---------------------------------------------------------
|
62732
|
+
NavigationTest: test_basic_gateway_commit_delivery_report
|
62733
|
+
---------------------------------------------------------
|
62734
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/example_gateway" for 127.0.0.1 at 2013-12-09 18:37:16 +0200
|
62735
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
62736
|
+
Parameters: {"gateway"=>"example_gateway"}
|
62737
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
62738
|
+
[1m[35m (0.2ms)[0m rollback transaction
|