bot 0.0.45 → 0.0.46

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: 7b1843598210c65e8b51b3b49668a9e8ccfa971f
4
- data.tar.gz: 21e06efdea5806491025527ecf64f70aeea95861
3
+ metadata.gz: 1d373376833c5840047d87f2b49525b50e520190
4
+ data.tar.gz: 77a06db1b12a375b28f83f7e812035aea0d4ff8c
5
5
  SHA512:
6
- metadata.gz: e728adceb3d0f3808ca92c161cc3b3aa20206478630820caf203f0562d826621c930c5eda60e5ee9820f219ae1207744b04cb2cfa7c3cc0f18d66e780dda8fc8
7
- data.tar.gz: c75ded2c8f46043af37f1c848585049755a8d7c81fd0b10a9248aadfac4ab7a42397441285d34b09c056688a5495ea32421eef7e9aa74612dcbd446fa88b4ded
6
+ metadata.gz: 9f84188cbdc6c6fafe98844f993186b4e32a8ebc9dc5e2f76b2e6c443632ca6f40d6ccc7daaffd27c527c9abe41b3d25aff54600e5904d2a236917c4edde6fea
7
+ data.tar.gz: 832c6675039e7ce5d5ce5091a550c028bdaf375622604fe6e3c919ed0463b4d5db9b92223e8c34b8e9245569e4155dcf1f16884f936eafc0ad9eaf03e2cff73f
@@ -67,7 +67,6 @@ module Bot
67
67
  'picUrl' => photo_url
68
68
  }
69
69
 
70
- photo_response['chatId'] = message['chatId'] if message['chatId']
71
70
  photo_response['suggestedResponses'] = suggested_responses if suggested_responses
72
71
  photo_response
73
72
  end
@@ -87,7 +86,6 @@ module Bot
87
86
 
88
87
  card['picUrl'] = icon if icon
89
88
  card['attribution']['iconUrl'] = icon if icon
90
- card['chatId'] = message['chatId'] if message['chatId']
91
89
 
92
90
  [
93
91
  card
@@ -102,7 +100,6 @@ module Bot
102
100
  'muted' => true,
103
101
  'autoplay' => true
104
102
  }
105
- video_response['chatId'] = message['chatId'] if message['chatId']
106
103
  video_response['suggestedResponses'] = suggested_responses if suggested_responses
107
104
  video_response
108
105
  end
@@ -1,3 +1,3 @@
1
1
  module Bot
2
- VERSION = "0.0.45"
2
+ VERSION = "0.0.46"
3
3
  end
@@ -3723,3 +3723,46 @@ Processing by Bot::BotController#notify as HTML
3723
3723
  Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3724
3724
  Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
3725
3725
   (0.1ms) rollback transaction
3726
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3727
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
3728
+  (0.1ms) select sqlite_version(*)
3729
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3730
+  (0.1ms) SELECT version FROM "schema_migrations"
3731
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
3732
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3733
+  (0.1ms) begin transaction
3734
+ -------------------
3735
+ BotTest: test_truth
3736
+ -------------------
3737
+  (0.1ms) rollback transaction
3738
+  (0.1ms) begin transaction
3739
+ -----------------------------------------
3740
+ NavigationTest: test_notify_special_types
3741
+ -----------------------------------------
3742
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:37:49 -0400
3743
+ Processing by Bot::BotController#notify as HTML
3744
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3745
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
3746
+  (0.1ms) rollback transaction
3747
+  (0.1ms) begin transaction
3748
+ ---------------------------
3749
+ NavigationTest: test_notify
3750
+ ---------------------------
3751
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:37:49 -0400
3752
+ Processing by Bot::BotController#notify as HTML
3753
+ Parameters: {"bot"=>ApplicationHandler}
3754
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3755
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:37:49 -0400
3756
+ Processing by Bot::BotController#notify as HTML
3757
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"text", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3758
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
3759
+  (0.0ms) rollback transaction
3760
+  (0.1ms) begin transaction
3761
+ ---------------------------------------
3762
+ NavigationTest: test_notify_multi_types
3763
+ ---------------------------------------
3764
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:37:49 -0400
3765
+ Processing by Bot::BotController#notify as HTML
3766
+ Parameters: {"messages"=>[{"body"=>"multi", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3767
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
3768
+  (0.0ms) 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.45
4
+ version: 0.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Morris