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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e297df40d2a5497ca99cee19dd957965d08527c7
4
- data.tar.gz: 9d7aa6132d70e4f7175378e8388931110f0d33c7
3
+ metadata.gz: e7e5cf6267cb7a72a8a7aaed0f0f36efa28fed7a
4
+ data.tar.gz: 6eedf45362ed115b3a20165e7127ea0ae235b748
5
5
  SHA512:
6
- metadata.gz: 8cf82000943745bb7283efd6116f563f5f7db34fab26fd4403d18c465290370b124e29b087984e712936a0459b8735aff9586767a05d1d5a28e7c9ff7a3f6e78
7
- data.tar.gz: 9b6e6937fa6992eed6cba02187f56cdc050badf9a8712724ceddedbc7ce505f05407914c3a2855a1b2323759f8d435f0502f3d2014b07f6367960ffd2fe53ceb
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
- message = Message.new(robot, message["body_plain"], source)
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
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Idobata
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
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.2.1
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-09 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita