ruboty-slack_rtm 1.3.0 → 1.3.1

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: a6af23e91d8c040f4b3c9143a5cf61474005c322
4
- data.tar.gz: e55ee6a99c6f7e4c1f6ca82a845000e69071e058
3
+ metadata.gz: 6759957c3bf95c5967f5b63e915bf0977f178162
4
+ data.tar.gz: bd8c2d47ed3fa3ca0cd0a4607a42deb6e9fda03d
5
5
  SHA512:
6
- metadata.gz: a74459fdc1c6a8bf9dd7275b6c6f0f5514049a9aedf4a8ab5f42dd855016eeb8952dbf02c079841521c973d58704beebaad8c82fd80ce1ac3cc11fb7063a099c
7
- data.tar.gz: 0a5ba19b31de2fed0825f21f26751806e5f6f35b1d29094130808bc1f384497a6ea6b0daff25206cf3ede3e30b1b329493fad54bc2e4af7181f4849b8e9996a9
6
+ metadata.gz: 6043a3c9e140a419d7888ee2f8c503094b9550ab2140efd72de556714b2e0cca21c85c4113369e3f3f8f1a918628e2d39ae2b8c9a1f69e6b71ffe4fb427df873
7
+ data.tar.gz: f938480d9e3295375d7e6d45d39164ea0fc88d6a05a9c5fe13ac089282033ae5efea9148cb91369df61bf2b84709075c357886d985d47c0f892dd34aaf85e2de
@@ -1,3 +1,4 @@
1
+ require 'cgi'
1
2
  require 'time'
2
3
  require 'slack'
3
4
  require 'slack-rtmapi'
@@ -100,7 +101,7 @@ module Ruboty
100
101
  end
101
102
 
102
103
  robot.receive(
103
- body: data['text'],
104
+ body: CGI.unescapeHTML(data['text']),
104
105
  from: data['channel'],
105
106
  from_name: user['name'],
106
107
  to: channel_to,
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '1.3.0'
3
+ VERSION = '1.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-slack_rtm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-23 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.4.6
134
+ rubygems_version: 2.4.5
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Slack real time messaging adapter for Ruboty