mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
Use latest rubocop version like CircleCI.
This commit is contained in:
parent
91ba32e9d2
commit
d4f062a56b
1
Gemfile
1
Gemfile
@ -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',
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user