ruboty 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e10e8aca745957633ec85637a57ea122f1153095
4
- data.tar.gz: 2475d3d2cbb95728760937683203e4277e4d46ce
2
+ SHA256:
3
+ metadata.gz: c849b43a23dfc5656b3df4e351668189f309c02fdfd9d73a92ec11acb1d4abae
4
+ data.tar.gz: 908696d5f9db9cdc76a12b327014937fd51392ad5060a9035c4f3244dc0777c1
5
5
  SHA512:
6
- metadata.gz: bbd1d4b688c3af3237e8972f6f301bd8c8aaaab23f635aa4656173c896cfbee5db828b87399a8fc777b55ed8ced5ddfb75a6c0e4ecc613b171e8ec48f82e3279
7
- data.tar.gz: ee168a5e6a60c2f0e1268eff17a16a22b662f663be4760ed37e4a1e0c5a608446663815eeb1b706703326aa4bb166c80375675b871eba89a0180bf176ca66fa8
6
+ metadata.gz: 46f63f32cba30b346c1f355fbf9d520f45826f26308ead65b8c81f9717251e1791fa43418c272cb5512be0ac576fb80d41f365ffff561806cfc119562d0182d3
7
+ data.tar.gz: 3fa8cc9693894534be9a75830522f81d719a9c511c7ef1d59946b396c512368fa60abb48b7b3cc139df787eb6d71a78b669f9699463049a538715428bec747c0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## Unreleased
2
+
3
+ - Use reline gem instead of readline (thx @unasuke)
4
+ - Change required Ruby version from 2.2 to 2.6
5
+
6
+ ## 1.3.1
7
+
8
+ - Support unicode spaces like U+00a0 (thx @sugi)
9
+
1
10
  ## 1.3.0
2
11
 
3
12
  - Add --daemonize option
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Ruboty
2
2
 
3
- [[![Gem](https://img.shields.io/gem/v/formatador.svg)]()](https://rubygems.org/gems/ruboty)
4
- [![Build Status](https://travis-ci.org/r7kamura/ruboty.png)](https://travis-ci.org/r7kamura/ruboty)
3
+ [![Gem](https://img.shields.io/gem/v/ruboty.svg)](https://rubygems.org/gems/ruboty)
4
+ [![Build Status](https://travis-ci.org/r7kamura/ruboty.svg)](https://travis-ci.org/r7kamura/ruboty)
5
5
 
6
6
  Ruby + Bot = Ruboty.
7
7
 
@@ -13,11 +13,14 @@ Ruby + Bot = Ruboty.
13
13
 
14
14
  Adapter hooks up ruboty to chat services.
15
15
 
16
- - [ruboty-slack](https://github.com/r7kamura/ruboty-slack)
16
+ - Slack
17
+ - [ruboty-slack](https://github.com/r7kamura/ruboty-slack) (XMPP gateway)
18
+ - [ruboty-slack_rtm](https://github.com/rosylilly/ruboty-slack_rtm) (Bot RTM API)
17
19
  - [ruboty-twitter](https://github.com/r7kamura/ruboty-twitter)
18
20
  - [ruboty-hipchat](https://github.com/r7kamura/ruboty-hipchat)
19
21
  - [ruboty-idobata](https://github.com/hanachin/ruboty-idobata)
20
22
  - [ruboty-chatwork](https://github.com/mhag/ruboty-chatwork)
23
+ - [ruboty-discord](https://github.com/ykzts/ruboty-discord)
21
24
 
22
25
  ## Brain
23
26
 
data/lib/ruboty/action.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Ruboty
2
2
  class Action
3
3
  def self.prefix_pattern(robot_name)
4
- /\A@?#{Regexp.escape(robot_name)}:?\s+/
4
+ /\A@?#{Regexp.escape(robot_name)}:?[[:space:]]+/
5
5
  end
6
6
 
7
7
  attr_reader :options, :pattern
@@ -1,3 +1,3 @@
1
1
  module Ruboty
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2016-11-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -122,7 +121,6 @@ dependencies:
122
121
  - - ">="
123
122
  - !ruby/object:Gem::Version
124
123
  version: '0'
125
- description:
126
124
  email:
127
125
  - r7kamura@gmail.com
128
126
  executables:
@@ -182,7 +180,6 @@ homepage: https://github.com/r7kamura/ruboty
182
180
  licenses:
183
181
  - MIT
184
182
  metadata: {}
185
- post_install_message:
186
183
  rdoc_options: []
187
184
  require_paths:
188
185
  - lib
@@ -197,9 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
194
  - !ruby/object:Gem::Version
198
195
  version: '0'
199
196
  requirements: []
200
- rubyforge_project:
201
- rubygems_version: 2.4.5.1
202
- signing_key:
197
+ rubygems_version: 3.6.9
203
198
  specification_version: 4
204
199
  summary: Ruby + Bot = Ruboty
205
200
  test_files: