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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbb4674a010bd7c6214700f517b0adc5fa8b7437
4
- data.tar.gz: d74be035944f31efe6ef413e1cc535d07cab0af6
3
+ metadata.gz: 5621ed12ff2c081a19803d34da829f8d943e54b1
4
+ data.tar.gz: 238c6196397826a3ed5ec9a29578289ea19d9459
5
5
  SHA512:
6
- metadata.gz: 2b539faef10cb76a218304afb10648829649558f063c9c6ddcf2c32026d3bfe5c8fdda4239a7d9e68baba3ae7b6a7be030f845014540d7352c347c0a6fc981fd
7
- data.tar.gz: 72297d51941a535c3825c53fc550e67e105b09ad607f98c287b8af676c4190cf333062f1fb4c84d4777662c657df0798e7231ddb76489138cb8b36484e1e0330
6
+ metadata.gz: 9cfa44a201aee52aa9f878d5b526abfd1f4f296a083d76b76eace55a2e9d1d5a7a9dfb12cf9b5a00b024797d7c42ca9fde6343f3eb1c72b37875d4819d071c1b
7
+ data.tar.gz: 06bc976e47576a4ec49b79071ea270731c9372a115f4503084cc62ea31c2f2d5e914fff64cbe1d1a8bce8c9d51ddb7525f45c9d604a6df2ce457f5cf40889305
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ lita_config.rb
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Idobata
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
data/lita-idobata.gemspec CHANGED
@@ -28,4 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "rspec", ">= 3.1.0"
29
29
  spec.add_development_dependency "simplecov"
30
30
  spec.add_development_dependency "coveralls"
31
+ spec.add_development_dependency 'pry'
31
32
  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.4
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-05-28 00:00:00.000000000 Z
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