Skip to content

Commit

Permalink
Revert "Use latest excon."
Browse files Browse the repository at this point in the history
This reverts commit 6e13de0.

It worked for me locally but it broke the Travis build :(.
  • Loading branch information
myronmarston committed Nov 28, 2011
1 parent 869467f commit b63b3a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/vcr/library_hooks/excon.rb
Expand Up @@ -2,7 +2,7 @@
require 'vcr/request_handler'
require 'excon'

VCR::VersionChecker.new('Excon', Excon::VERSION, '0.6.5', '0.7').check_version!
VCR::VersionChecker.new('Excon', Excon::VERSION, '0.6.5', '0.6').check_version!

module VCR
class LibraryHooks
Expand Down
4 changes: 2 additions & 2 deletions spec/vcr/library_hooks/excon_spec.rb
Expand Up @@ -4,9 +4,9 @@
it_behaves_like 'a hook into an HTTP library', :excon, 'excon', :status_message_not_exposed

it_performs('version checking', 'Excon',
:valid => %w[ 0.6.5 0.7.8 ],
:valid => %w[ 0.6.5 0.6.99 ],
:too_low => %w[ 0.5.99 0.6.4 ],
:too_high => %w[ 0.8.0 1.0.0 ]
:too_high => %w[ 0.7.0 1.0.0 ]
) do
before(:each) { @orig_version = Excon::VERSION }
after(:each) { Excon::VERSION = @orig_version }
Expand Down
2 changes: 1 addition & 1 deletion vcr.gemspec
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |s|

'faraday' => '~> 0.7.2',
'httpclient' => '~> 2.1.5.2',
'excon' => '~> 0.7.8',
'excon' => '~> 0.6.5',

'timecop' => '~> 0.3.5',
'rack' => '1.1.0',
Expand Down

0 comments on commit b63b3a4

Please sign in to comment.