Skip to content

Commit 45a4df1

Browse files
authored
Merge branch 'master' into patch-1
2 parents 84fd921 + 3e254f8 commit 45a4df1

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require: rubocop-performance
2+
13
AllCops:
24
TargetRubyVersion: 2.4
35
Exclude:

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ group :test do
55
gem "minitest"
66
gem "rake"
77
gem "rubocop"
8+
gem "rubocop-performance"
89
gem "safe_yaml"
910
end

test/topics_test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
def invalid_topic_message(topic)
2222
"'#{topic}' must be between 1-#{MAX_TOPIC_LENGTH} characters, start with a letter or number, " \
23-
"and may include hyphens"
23+
"include only lowercase letters, and may include hyphens"
2424
end
2525

2626
def valid_topic?(raw_topic)

0 commit comments

Comments
 (0)