bot 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3919a9aaff7d3aaa526001db8ddb4e1ddfc0c1d0
4
- data.tar.gz: c775963934e8edc02c5ec5448274c227487625d1
3
+ metadata.gz: 7b1843598210c65e8b51b3b49668a9e8ccfa971f
4
+ data.tar.gz: 21e06efdea5806491025527ecf64f70aeea95861
5
5
  SHA512:
6
- metadata.gz: e5e8d88f31d55834bc37d9c3052bb93e13bea16a15d15fdf6fec65ab20a134fca9ad0236a1f348ed92c81c38b8bda570c14ef9ce018564f3093e5fd3c4dab925
7
- data.tar.gz: 362202e750e9adc71881f0c92868138cbf1cc96a7ea0c7d2dd938f152cc9a3e89cf9931d83d9adab828786f24737326e5155013ec61bf173b564b145ed971d6c
6
+ metadata.gz: e728adceb3d0f3808ca92c161cc3b3aa20206478630820caf203f0562d826621c930c5eda60e5ee9820f219ae1207744b04cb2cfa7c3cc0f18d66e780dda8fc8
7
+ data.tar.gz: c75ded2c8f46043af37f1c848585049755a8d7c81fd0b10a9248aadfac4ab7a42397441285d34b09c056688a5495ea32421eef7e9aa74612dcbd446fa88b4ded
@@ -66,6 +66,8 @@ module Bot
66
66
  'to' => message['from'],
67
67
  'picUrl' => photo_url
68
68
  }
69
+
70
+ photo_response['chatId'] = message['chatId'] if message['chatId']
69
71
  photo_response['suggestedResponses'] = suggested_responses if suggested_responses
70
72
  photo_response
71
73
  end
@@ -85,6 +87,7 @@ module Bot
85
87
 
86
88
  card['picUrl'] = icon if icon
87
89
  card['attribution']['iconUrl'] = icon if icon
90
+ card['chatId'] = message['chatId'] if message['chatId']
88
91
 
89
92
  [
90
93
  card
@@ -99,6 +102,7 @@ module Bot
99
102
  'muted' => true,
100
103
  'autoplay' => true
101
104
  }
105
+ video_response['chatId'] = message['chatId'] if message['chatId']
102
106
  video_response['suggestedResponses'] = suggested_responses if suggested_responses
103
107
  video_response
104
108
  end
@@ -1,3 +1,3 @@
1
1
  module Bot
2
- VERSION = "0.0.44"
2
+ VERSION = "0.0.45"
3
3
  end
@@ -3680,3 +3680,46 @@ Processing by Bot::BotController#notify as HTML
3680
3680
  Parameters: {"messages"=>[{"body"=>"multi", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3681
3681
  Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
3682
3682
   (0.1ms) rollback transaction
3683
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3684
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
3685
+  (0.1ms) select sqlite_version(*)
3686
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3687
+  (0.1ms) SELECT version FROM "schema_migrations"
3688
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
3689
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3690
+  (0.2ms) begin transaction
3691
+ -------------------
3692
+ BotTest: test_truth
3693
+ -------------------
3694
+  (0.0ms) rollback transaction
3695
+  (0.0ms) begin transaction
3696
+ ---------------------------
3697
+ NavigationTest: test_notify
3698
+ ---------------------------
3699
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:16:35 -0400
3700
+ Processing by Bot::BotController#notify as HTML
3701
+ Parameters: {"bot"=>ApplicationHandler}
3702
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
3703
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:16:35 -0400
3704
+ Processing by Bot::BotController#notify as HTML
3705
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"text", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3706
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
3707
+  (0.2ms) rollback transaction
3708
+  (0.1ms) begin transaction
3709
+ ---------------------------------------
3710
+ NavigationTest: test_notify_multi_types
3711
+ ---------------------------------------
3712
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:16:35 -0400
3713
+ Processing by Bot::BotController#notify as HTML
3714
+ Parameters: {"messages"=>[{"body"=>"multi", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3715
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
3716
+  (0.1ms) rollback transaction
3717
+  (0.0ms) begin transaction
3718
+ -----------------------------------------
3719
+ NavigationTest: test_notify_special_types
3720
+ -----------------------------------------
3721
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-05-13 16:16:35 -0400
3722
+ Processing by Bot::BotController#notify as HTML
3723
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3724
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
3725
+  (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.44
4
+ version: 0.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Morris