lita-idobata 0.1.0 → 0.2.0

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: 376307dc64431d85e96f0b57d7eb4f6617429e83
4
- data.tar.gz: 2d8c1a0239af765f6bc6258f21dfd3dd77899ef7
3
+ metadata.gz: bf51744de53b2debd0bd879c1190ef97946d5e22
4
+ data.tar.gz: 582ca4d6596a8b1da8f61a445cb210700e61b00e
5
5
  SHA512:
6
- metadata.gz: 7d7ff1d87baa7e404d8a31cbbbf6635e55c8fdb78c3e082823a69193f2e0e5aed8828c92231cecf3c8f4d150f2cce269fb3eeb1f2c25b2c4559136fd5ba5bd8e
7
- data.tar.gz: 420f2c7426e51a753d1ffbd74dd822ee09f3b2e071135726bfc82ae419881552b62624cf33a5827f39e0edf1f0182877befc0c3452bbf0047bcf2995216c303c
6
+ metadata.gz: 4c6387d32c6bb894191e89c59374a7cb01b73fdcbe1000610e69df76099463a944a60c4dfc2466fa1afd997aa72b150a55f979e331fd3543e41045709f81ded0
7
+ data.tar.gz: 8405cb7768de64c1c56cb46fe27db6f8f98a3b16a45050e9e6b73511b4753b40d48d0089850a3fdb6019060c94a7f0c9c5100863fea303488fcf7488c68f185c
data/README.md CHANGED
@@ -2,8 +2,10 @@
2
2
 
3
3
  **lita-idobata** is an adapter for [Lita](https://github.com/jimmycuadra/lita) that allows you to use the robot with [Idobata](https://idobata.io).
4
4
 
5
- **v0.1.x** for lita >= 4.0
6
- **v0.0.x** for ltia >= 2.5
5
+ - **v0.2.x** for lita >= 4.0 and new idobata
6
+ - http://blog.idobata.io/post/115181024997
7
+ - **v0.1.x** for lita >= 4.0
8
+ - **v0.0.x** for ltia >= 2.5
7
9
 
8
10
  ## Installation
9
11
 
@@ -39,7 +39,7 @@ module Lita
39
39
  socket.subscribe(channel_name, socket_id)
40
40
  end
41
41
 
42
- socket.bind('message_created') do |data|
42
+ socket.bind('message:created') do |data|
43
43
  message = JSON.parse(data)["message"]
44
44
  if message["sender_id"] != @bot['id']
45
45
  user = User.new(message["sender_id"], name: message["sender_name"])
@@ -85,4 +85,4 @@ module Lita
85
85
  end
86
86
  end
87
87
  end
88
- end
88
+ end
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Idobata
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-idobata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita