Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6deb2b2

Browse files
committed
Upgrade RuboCop dependency to >= v0.60.0
1 parent 62e7259 commit 6deb2b2

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
gem 'rubocop', '< 0.60.0'
6-
75
local_gemfile = 'Gemfile.local'
86

97
if File.exist?(local_gemfile)

rubocop-rspec.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
3737
'documentation_uri' => 'https://rubocop-rspec.readthedocs.io/'
3838
}
3939

40-
spec.add_runtime_dependency 'rubocop', '>= 0.58.0'
40+
spec.add_runtime_dependency 'rubocop', '>= 0.60.0'
4141

4242
spec.add_development_dependency 'rack'
4343
spec.add_development_dependency 'rake'

spec/rubocop/cop/rspec/multiple_expectations_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,6 @@
229229
end
230230
RUBY
231231

232-
expect(cop.config_to_allow_offenses).to eq('Max' => 3)
232+
expect(cop.config_to_allow_offenses[:exclude_limit]).to eq('Max' => 3)
233233
end
234234
end

spec/rubocop/cop/rspec/nested_groups_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
end
3535
RUBY
3636

37-
expect(cop.config_to_allow_offenses).to eq('Max' => 4)
37+
expect(cop.config_to_allow_offenses[:exclude_limit]).to eq('Max' => 4)
3838
end
3939

4040
it 'ignores non-spec context methods' do

0 commit comments

Comments
 (0)