Use latest rubocop version like CircleCI.

This commit is contained in:
iMacTia 2019-05-23 11:02:59 +01:00
parent 91ba32e9d2
commit d4f062a56b
2 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,6 @@ group :test do
gem 'rack-test', '>= 0.6', require: 'rack/test'
gem 'rspec', '~> 3.7'
gem 'rspec_junit_formatter', '~> 0.4'
gem 'rubocop', '~> 0.67.2'
gem 'rubocop-performance', '~> 1.0'
gem 'simplecov'
gem 'typhoeus', '~> 1.3', git: 'https://github.com/typhoeus/typhoeus.git',

View File

@ -68,8 +68,8 @@ module Faraday
end
@app.call env
rescue Timeout::Error, Errno::ETIMEDOUT => err
raise Faraday::TimeoutError, err
rescue Timeout::Error, Errno::ETIMEDOUT => e
raise Faraday::TimeoutError, e
end
private