Skip to content

Commit a920e9c

Browse files
committed
Upgraded RuboCop to 0.58.2.
1 parent 865a24b commit a920e9c

File tree

5 files changed

+4
-13
lines changed

5 files changed

+4
-13
lines changed

.rubocop_todo.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2018-08-21 19:45:36 -0400 using RuboCop version 0.55.0.
3+
# on 2018-08-22 08:29:35 -0400 using RuboCop version 0.58.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -16,14 +16,6 @@ Layout/IndentHeredoc:
1616
- 'sample_apps/sample_app_activerecord/commands/help.rb'
1717
- 'sample_apps/sample_app_mongoid/commands/help.rb'
1818

19-
# Offense count: 2
20-
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
21-
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
22-
Naming/FileName:
23-
Exclude:
24-
- 'lib/slack-ruby-bot-server.rb'
25-
- 'lib/slack-ruby-bot-server/ext/slack-ruby-bot.rb'
26-
2719
# Offense count: 3
2820
# Configuration parameters: Blacklist.
2921
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ group :development, :test do
3232
gem 'rack-test'
3333
gem 'rake'
3434
gem 'rspec'
35-
gem 'rubocop', '0.55.0'
35+
gem 'rubocop', '0.58.2'
3636
gem 'selenium-webdriver', '~> 3.4.4'
3737
gem 'vcr'
3838
gem 'webmock'

sample_apps/sample_app_activerecord/commands/help.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Help < SlackRubyBot::Commands::Base
1010
whoami - print your username
1111
1212
```
13-
EOS
13+
EOS
1414
def self.call(client, data, _match)
1515
client.say(channel: data.channel, text: [HELP, SlackRubyBotServer::INFO].join("\n"))
1616
client.say(channel: data.channel, gif: 'help')

sample_apps/sample_app_mongoid/commands/help.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Help < SlackRubyBot::Commands::Base
1010
whoami - print your username
1111
1212
```
13-
EOS
13+
EOS
1414
def self.call(client, data, _match)
1515
client.say(channel: data.channel, text: [HELP, SlackRubyBotServer::INFO].join("\n"))
1616
client.say(channel: data.channel, gif: 'help')

slack-ruby-bot-server.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
lib = File.expand_path('lib', __dir__)
32
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
43
require 'slack-ruby-bot-server/version'

0 commit comments

Comments
 (0)