bot 0.0.29 → 0.0.30

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: 3ccf186eafc433707ebd2f1d0c01baf5f7df80f0
4
- data.tar.gz: 6282e89eb93a1d0a846a6c5e452630495b4ad989
3
+ metadata.gz: 7724eda17ad00e4c7ede23730925e738fb1b6646
4
+ data.tar.gz: 7a1e9905946fac5cf7f3274636c449e97a90c0df
5
5
  SHA512:
6
- metadata.gz: cd7d122593fb198370ebffb9beaeceb08192abd8c4caab112e12b01c2b001525ca337fe428a3ba28f3864dac8dd3cdb0fc1c6b07f384a0fb826d2c0095f3a2dd
7
- data.tar.gz: db8eff5f04113b0133bac6f9e49898a6644ca53a20fd94e4817fc91e72cbe6bb5e10dbf75cb250d2e33839a04735d067ec21fe3d59dcb258dea587c09ba3d9b9
6
+ metadata.gz: cbe135b48c802a4bcb5b8df2bea5556989a80550f6d2f42814f9aed711205de9151442ebd51c12fae49fb3f643b088bb1abd97f2e3140fb5b2292532fb1bd1d9
7
+ data.tar.gz: cf20441dbd5a455238e5f5b4e9c6ea9748c8aa8e175cb6820742a842d240e020fedba41defe448aca874bafec0ee85d571f8b6c662ff83316fa5f67c65fe6898
@@ -1,3 +1,5 @@
1
+ require 'redis'
2
+
1
3
  module Bot
2
4
  class Context
3
5
  attr_accessor :redis_client, :user
@@ -1,3 +1,3 @@
1
1
  module Bot
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  end
@@ -2947,5 +2947,91 @@ NavigationTest: test_notify_special_types
2947
2947
  Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:12:56 -0400
2948
2948
  Processing by Bot::BotController#notify as HTML
2949
2949
  Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2950
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2951
+  (0.1ms) rollback transaction
2952
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2953
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2954
+  (0.1ms) select sqlite_version(*)
2955
+  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2956
+  (0.2ms) SELECT version FROM "schema_migrations"
2957
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
2958
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2959
+  (0.1ms) begin transaction
2960
+ -------------------
2961
+ BotTest: test_truth
2962
+ -------------------
2963
+  (0.0ms) rollback transaction
2964
+  (0.0ms) begin transaction
2965
+ ---------------------------
2966
+ NavigationTest: test_notify
2967
+ ---------------------------
2968
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:20 -0400
2969
+ Processing by Bot::BotController#notify as HTML
2970
+ Parameters: {"bot"=>ApplicationHandler}
2971
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2972
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:20 -0400
2973
+ Processing by Bot::BotController#notify as HTML
2974
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"text", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2975
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2976
+  (0.1ms) rollback transaction
2977
+  (0.0ms) begin transaction
2978
+ -----------------------------------------
2979
+ NavigationTest: test_notify_special_types
2980
+ -----------------------------------------
2981
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:20 -0400
2982
+ Processing by Bot::BotController#notify as HTML
2983
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2984
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2985
+  (0.1ms) rollback transaction
2986
+  (0.1ms) begin transaction
2987
+ ---------------------------------------
2988
+ NavigationTest: test_notify_multi_types
2989
+ ---------------------------------------
2990
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:20 -0400
2991
+ Processing by Bot::BotController#notify as HTML
2992
+ Parameters: {"messages"=>[{"body"=>"multi", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2993
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2994
+  (0.1ms) rollback transaction
2995
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2996
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2997
+  (0.1ms) select sqlite_version(*)
2998
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2999
+  (0.2ms) SELECT version FROM "schema_migrations"
3000
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
3001
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3002
+  (0.1ms) begin transaction
3003
+ -------------------
3004
+ BotTest: test_truth
3005
+ -------------------
3006
+  (0.0ms) rollback transaction
3007
+  (0.0ms) begin transaction
3008
+ ---------------------------------------
3009
+ NavigationTest: test_notify_multi_types
3010
+ ---------------------------------------
3011
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:47 -0400
3012
+ Processing by Bot::BotController#notify as HTML
3013
+ Parameters: {"messages"=>[{"body"=>"multi", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3014
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3015
+  (0.1ms) rollback transaction
3016
+  (0.1ms) begin transaction
3017
+ -----------------------------------------
3018
+ NavigationTest: test_notify_special_types
3019
+ -----------------------------------------
3020
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:47 -0400
3021
+ Processing by Bot::BotController#notify as HTML
3022
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"scan-data", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
3023
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3024
+  (0.1ms) rollback transaction
3025
+  (0.0ms) begin transaction
3026
+ ---------------------------
3027
+ NavigationTest: test_notify
3028
+ ---------------------------
3029
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:47 -0400
3030
+ Processing by Bot::BotController#notify as HTML
3031
+ Parameters: {"bot"=>ApplicationHandler}
3032
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3033
+ Started POST "/bot/notify" for 127.0.0.1 at 2016-04-27 21:49:47 -0400
3034
+ Processing by Bot::BotController#notify as HTML
3035
+ Parameters: {"messages"=>[{"body"=>"Hello", "readReceiptRequested"=>"true", "from"=>"bnmrrs", "timestamp"=>"1452785908454", "type"=>"text", "id"=>"2af0d873-d157-4627-b863-8be11b0dfd86"}], "bot"=>ApplicationHandler}
2950
3036
  Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2951
3037
   (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.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Morris