ruboty-slack_rtm 2.4.1 → 2.4.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: f217d7192d7d8f2175dfb86a77fabcf708811700
4
- data.tar.gz: 026e96f448b87e99c30ffd1d92a4b5ee49235c4b
3
+ metadata.gz: f77e6ea5e7b18b37c9552ff4a2bdd4f49e543ef7
4
+ data.tar.gz: ad5c8c7c9f66110e4b67cffa8fa851d5fada7886
5
5
  SHA512:
6
- metadata.gz: 9a82f7a20511359d57e1915df808380cdf7cecd8ad7e814bcd4e88902c41dd54fdb396add71942fb5c6bdb994057726a25adc56353af0ac715d7d27fb3e1d74a
7
- data.tar.gz: 2602950fc89273c455dd1ce5bf36f17d2bfdd2691b137424b3a670f8c9ede0ce6ff90a32c036efaa8b2814f06d93a5c929435a626145812f7d2be7f9936ebc50
6
+ metadata.gz: f3e6d5f9ca604bacb69ff8bcf0f6b91c95a00c7470d0e5666b5584382c789b9ebf785b2a8202a76f719b594bd0e78495217097876be2e0ac08391f4bf771024a
7
+ data.tar.gz: 2559a3b14c72ff93ca8a0e859a64071cc43e34366da65a78a350a02eed262d6be8051dbbed864f369d67a22e46cf0412ec3894c0cb8ced46f555f48e34516fa8
@@ -126,12 +126,12 @@ module Ruboty
126
126
  time: Time.at(data['ts'].to_f)
127
127
  }
128
128
 
129
- robot.receive(message_info.merge(body: CGI.unescapeHTML(data['text']))
129
+ robot.receive(message_info.merge(body: CGI.unescapeHTML(data['text'])))
130
130
 
131
131
  (data['attachments'] || []).each do |attachment|
132
- body = (attachments['fallback'] || "#{attachment['text']} #{attachment['pretext']}")
132
+ body = attachment['fallback'] || "#{attachment['text']} #{attachment['pretext']}"
133
133
 
134
- robot.receive(message_info.merge(body: CGI.unescapeHTML(body)) unless body.empty?
134
+ robot.receive(message_info.merge(body: CGI.unescapeHTML(body))) unless body.empty?
135
135
  end
136
136
  end
137
137
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '2.4.1'
3
+ VERSION = '2.4.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-slack_rtm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano