lita-idobata 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/adapters/idobata/connector.rb +2 -1
- data/lib/lita/idobata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7e5cf6267cb7a72a8a7aaed0f0f36efa28fed7a
|
4
|
+
data.tar.gz: 6eedf45362ed115b3a20165e7127ea0ae235b748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be8ddcc2d9e63d3bcba6bac5220e3f9c802cef76c4cfadc04d8ff29b3e38ad9f2b93976da79723d32a2508408a4c2cd9e0d65abc9b46a5835f6f93281d662b39
|
7
|
+
data.tar.gz: f83564a622e4e22a4c3bc165091dbf8d95de0b486260c4fb60e7797e698a4c4a2e1842da2dee9ffcc31f72bd16719412c8b9ba422b9c27050cba8be0ea118b96
|
@@ -44,7 +44,8 @@ module Lita
|
|
44
44
|
if message["sender_id"] != @bot['id']
|
45
45
|
user = User.new(message["sender_id"], name: message["sender_name"])
|
46
46
|
source = Source.new(user: user, room: message["room_id"])
|
47
|
-
|
47
|
+
# `message["body_plain"]` is nil on image upload
|
48
|
+
message = Message.new(robot, message["body_plain"].to_s, source)
|
48
49
|
robot.receive(message)
|
49
50
|
end
|
50
51
|
end
|
data/lib/lita/idobata/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|