Update rubocop dependency to >= 0.27

This commit is contained in:
Erik Michaels-Ober 2014-10-31 13:58:15 +01:00
parent e8aaf525fd
commit 69b705d256
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ group :test do
gem 'backports'
gem 'coveralls'
gem 'rspec', '>= 2.14'
gem 'rubocop', '>= 0.25'
gem 'rubocop', '>= 0.27'
gem 'simplecov'
gem 'webmock'
gem 'yardstick'

View File

@ -54,7 +54,7 @@ module MLB
File.new(File.expand_path('../../../cache', __FILE__) + '/' + file_name)
end
def self.results_to_team(results) # rubocop:disable CyclomaticComplexity, MethodLength, PerceivedComplexity
def self.results_to_team(results) # rubocop:disable AbcSize, CyclomaticComplexity, MethodLength, PerceivedComplexity
results['result'].map do |result|
league = result['league']
division = result['division']