bot_mob 0.1.4 → 0.1.5

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: 52739f89ce08463b88b2a688faebd94f3c56a82b
4
- data.tar.gz: 120cd75ba3bac226aa1389f5219cb85f5f9f34d1
3
+ metadata.gz: 983346edacc2db6076a7ba621d90d7d0d94237e9
4
+ data.tar.gz: 1d755d5d4503e6c9566b2c6216500974a05d8fd0
5
5
  SHA512:
6
- metadata.gz: 5c6e840faada1431c8e7d363e9a46dd957d35316c0d7690ad7124d80680d9701a33321cb3ec0670d1a3e9a86f2fc321e8b4782e9937c0f128885e469328fba68
7
- data.tar.gz: fa005d2dc52f94d7677261d70b320869b9d4d89adaf85d3132333e9966a854b896ed680255a6133849476aee87289165e7c4c022cca195b00b39faf8ab47c192
6
+ metadata.gz: 7cf9f98830e091d36c28e724ed52f8f8c35ba6b38bf0536e92150bff68f5aeb14b37cbf2344bb287befa106c882cddac96b2a89d8498c604468c8d9a40a09a18
7
+ data.tar.gz: 7759297b12eed2c389ae360305063857046f00c32e9ca147057fe61a5c3ed2f5b4adf8dcdc28496a4a1c8515a4a53fd4938c3bc15f94387751f113f89eb02ff5
data/lib/bot_mob/bot.rb CHANGED
@@ -92,9 +92,9 @@ module BotMob
92
92
  def setup
93
93
  @state = :waiting
94
94
 
95
- client.on :hello { set_state(:connected) }
96
- client.on :close { set_state(:disconnecting) }
97
- client.on :closed { set_state(:closed) }
95
+ client.on(:hello) { set_state(:connected) }
96
+ client.on(:close) { set_state(:disconnecting) }
97
+ client.on(:closed) { set_state(:closed) }
98
98
 
99
99
  client.on :message do |data|
100
100
  message = BotMob::InboundMessage.new(:websocket, data)
@@ -1,3 +1,3 @@
1
1
  module BotMob
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bot_mob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Werner