ruboty-slack_rtm 3.2.3 → 3.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
  SHA256:
3
- metadata.gz: a735292c902d7fc4aff589e5729f9b467a948b77bcc09f47e7348c8d60768cc5
4
- data.tar.gz: d318bdcae1a2c3fa09842dc606b8368ac16d2de46225eab88a1ff89b68d89bdf
3
+ metadata.gz: c96957207308373f73b74f1d50e88c08565e1722c3746dc6502f58910a43f910
4
+ data.tar.gz: 2670043fe10f2b2a1bd86e26d6f330f559de72fd51f88399123ee576bd905c94
5
5
  SHA512:
6
- metadata.gz: 53109fa2c2fec6438f59f21f3a4a8af93e715cd0ba6bf665c0e46187adc31fd9e2c13cb080262fe6553d570b7fc8a7df2b8990f3da7c17e08f956950f0da0c5b
7
- data.tar.gz: 7bd7dc7ed0a4fb744a571e8179b1c541d9451b587aa293a26ca8be3a2fcf8c23cfbb964cd29e973bcadacc16563dc82afa41e996a339710eac963a5c47a77488
6
+ metadata.gz: 940050c02305a0122d8cbbff29800ca94f6196ed411fad0f22990eee47f0bc5a4239c0ef9c9ca703decf55231a850a76cba68cb7ebc182eea1ffd1a5ebf17b13
7
+ data.tar.gz: 7806a58b64bbce72faecabed1cea187c71d98d5a9d4abb1fd2f85a0a9c5fa50a6e547cb3af8095720d753978a79c33f135e4853262104af0a5ad4c0fe8730b2e
@@ -246,6 +246,7 @@ module Ruboty
246
246
  end
247
247
 
248
248
  def resolve_send_mention(text)
249
+ return '' if text.nil?
249
250
  text = text.dup.to_s
250
251
  text.gsub!(/@(?<mention>[0-9a-z._-]+)/) do |_|
251
252
  mention = Regexp.last_match[:mention]
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '3.2.3'
3
+ VERSION = '3.2.5'
4
4
  end
5
5
  end
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency 'ruboty', '>= 1.1.4'
26
26
  spec.add_dependency 'slack-api', '~> 1.6'
27
- spec.add_dependency 'websocket-client-simple', '~> 0.3.0'
27
+ spec.add_dependency 'websocket-client-simple', '>= 0.5.0'
28
28
  spec.add_dependency 'faraday', '~> 0.11'
29
29
  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: 3.2.3
4
+ version: 3.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2023-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: websocket-client-simple
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.3.0
89
+ version: 0.5.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.3.0
96
+ version: 0.5.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: faraday
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubygems_version: 3.2.3
150
+ rubygems_version: 3.3.7
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Slack real time messaging adapter for Ruboty