lita-idobata 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/lita/adapters/idobata/connector.rb +1 -1
- data/lib/lita/idobata/version.rb +1 -1
- data/lita-idobata.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5621ed12ff2c081a19803d34da829f8d943e54b1
|
4
|
+
data.tar.gz: 238c6196397826a3ed5ec9a29578289ea19d9459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cfa44a201aee52aa9f878d5b526abfd1f4f296a083d76b76eace55a2e9d1d5a7a9dfb12cf9b5a00b024797d7c42ca9fde6343f3eb1c72b37875d4819d071c1b
|
7
|
+
data.tar.gz: 06bc976e47576a4ec49b79071ea270731c9372a115f4503084cc62ea31c2f2d5e914fff64cbe1d1a8bce8c9d51ddb7525f45c9d604a6df2ce457f5cf40889305
|
data/.gitignore
CHANGED
@@ -42,7 +42,7 @@ module Lita
|
|
42
42
|
message = JSON.parse(data)["message"]
|
43
43
|
if message["sender_id"] != @bot['id']
|
44
44
|
user = find_user(*message.values_at('sender_id', 'sender_name', 'sender_type'))
|
45
|
-
source = Source.new(user: user, room: message["room_id"])
|
45
|
+
source = Source.new(user: user, room: message["room_id"].to_s)
|
46
46
|
# `message["body_plain"]` is nil on image upload
|
47
47
|
message = Message.new(robot, message["body_plain"].to_s, source)
|
48
48
|
robot.receive(message)
|
data/lib/lita/idobata/version.rb
CHANGED
data/lita-idobata.gemspec
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
125
139
|
description: A Idobata adapter for the Lita chat robot.
|
126
140
|
email:
|
127
141
|
- fukayatsu@gmail.com
|