bot 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd59c7cd67ef8163737e929f767d231739b1c719
4
- data.tar.gz: 138781ab7994b69048a088c2fc914b3650c8a914
3
+ metadata.gz: 477549a5e3cab73d97f3f868de4ef46469da1d1a
4
+ data.tar.gz: f98c7bab34d326e5fbc300a353a8b81982438ca2
5
5
  SHA512:
6
- metadata.gz: 9d47e8dcb91cc65962d33207ab513ee0718548475e8dbee1bc65346173a445eac5963c00e9b7c767b2a0119a6a3251a02982ce30a684abdc8c1d6361c0dd1a45
7
- data.tar.gz: e45d1bb8c7e21010b5686aa4ba7fb1ffda40a2af5db0422599c412c756005979552562934dbe6c8e5baeee3e6bba6c3b8a1957739ddf716e6d7687e2bebaafc9
6
+ metadata.gz: 456568f2f5e841557d200c2bd7c988f5b046e7df3ab89c91e0847afbb6c201fdd9fa6123c8c372a6c5093912a1312a39681dd3cde18273b87f9d150a0719873c
7
+ data.tar.gz: 3672df288eb41dff4b2bef5d4ad3683992f89ebbadccedaafbed21d3841b4b0e5d27454a43e2984643906e4595e3680d0d2425cd22086560302fd970c17ce7d8
@@ -20,6 +20,11 @@ module Bot
20
20
  payload: { messages: messages }.to_json,
21
21
  headers: { content_type: :json }
22
22
  })
23
+ rescue Exception => e
24
+ Rails.logger.error "\n\n\nError:\n"
25
+ Rails.logger.error e.response
26
+ Rails.logger.error "\n\n\n"
27
+ raise e
23
28
  end
24
29
  end
25
30
  end
data/lib/bot/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bot
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
@@ -2476,3 +2476,46 @@ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2476
2476
  BotTest: test_truth
2477
2477
  -------------------
2478
2478
   (0.0ms) rollback transaction
2479
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2480
+  (13.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2481
+  (0.1ms) select sqlite_version(*)
2482
+  (18.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2483
+  (0.2ms) SELECT version FROM "schema_migrations"
2484
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
2485
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2486
+  (0.1ms) begin transaction
2487
+ -------------------
2488
+ BotTest: test_truth
2489
+ -------------------
2490
+  (0.1ms) rollback transaction
2491
+  (0.1ms) begin transaction
2492
+ ---------------------------
2493
+ NavigationTest: test_notify
2494
+ ---------------------------
2495
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-03-30 13:38:55 -0400
2496
+ Processing by Bot::BotController#notify as HTML
2497
+ Parameters: {"bot"=>ApplicationHandler}
2498
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2499
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-03-30 13:38:55 -0400
2500
+ Processing by Bot::BotController#notify as HTML
2501
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"text", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2502
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2503
+  (0.1ms) rollback transaction
2504
+  (0.1ms) begin transaction
2505
+ ---------------------------------------
2506
+ NavigationTest: test_notify_multi_types
2507
+ ---------------------------------------
2508
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-03-30 13:38:55 -0400
2509
+ Processing by Bot::BotController#notify as HTML
2510
+ Parameters: {"messages"=>[{"body"=>"multi", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2511
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2512
+  (0.1ms) rollback transaction
2513
+  (0.1ms) begin transaction
2514
+ -----------------------------------------
2515
+ NavigationTest: test_notify_special_types
2516
+ -----------------------------------------
2517
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-03-30 13:38:55 -0400
2518
+ Processing by Bot::BotController#notify as HTML
2519
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2520
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2521
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Morris