Skip to content

Commit 3c4e318

Browse files
committed
Upgrade Rubocop
1 parent 793e42f commit 3c4e318

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ EmptyLinesAroundAccessModifier:
6464

6565
# Align ends correctly
6666
EndAlignment:
67-
AlignWith: variable
67+
EnforcedStyleAlignWith: variable
6868

6969
# Indentation of when/else
7070
CaseIndentation:
71-
IndentWhenRelativeTo: end
71+
EnforcedStyle: end
7272
IndentOneStep: false
7373

7474
DoubleNegation:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ group :test do
2323
gem "rest-client", "~> 1.6.0", :platforms => [:jruby, :ruby_18]
2424
gem "rspec", ">= 3"
2525
gem "rspec-mocks", ">= 3"
26-
gem "rubocop", ">= 0.19", :platforms => [:ruby_20, :ruby_21, :ruby_22, :ruby_23]
26+
gem "rubocop", ">= 0.47", :platforms => [:ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24]
2727
gem "simplecov", ">= 0.9"
2828
gem "term-ansicolor", "~> 1.3.2" # This is to support Ruby 1.8 and 1.9
2929
gem "tins", "< 1.7" # This is to support Ruby 1.8 and 1.9

0 commit comments

Comments
 (0)