mirror of
https://github.com/lostisland/faraday.git
synced 2025-12-04 00:03:34 -05: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 'rack-test', '>= 0.6', require: 'rack/test'
|
||||||
gem 'rspec', '~> 3.7'
|
gem 'rspec', '~> 3.7'
|
||||||
gem 'rspec_junit_formatter', '~> 0.4'
|
gem 'rspec_junit_formatter', '~> 0.4'
|
||||||
gem 'rubocop', '~> 0.67.2'
|
|
||||||
gem 'rubocop-performance', '~> 1.0'
|
gem 'rubocop-performance', '~> 1.0'
|
||||||
gem 'simplecov'
|
gem 'simplecov'
|
||||||
gem 'typhoeus', '~> 1.3', git: 'https://github.com/typhoeus/typhoeus.git',
|
gem 'typhoeus', '~> 1.3', git: 'https://github.com/typhoeus/typhoeus.git',
|
||||||
|
|||||||
@ -68,8 +68,8 @@ module Faraday
|
|||||||
end
|
end
|
||||||
|
|
||||||
@app.call env
|
@app.call env
|
||||||
rescue Timeout::Error, Errno::ETIMEDOUT => err
|
rescue Timeout::Error, Errno::ETIMEDOUT => e
|
||||||
raise Faraday::TimeoutError, err
|
raise Faraday::TimeoutError, e
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user