From b63b3a47f8bdf174bf2be5ae33b3b77f29ccb471 Mon Sep 17 00:00:00 2001 From: Myron Marston Date: Sun, 27 Nov 2011 23:02:12 -0800 Subject: [PATCH] Revert "Use latest excon." This reverts commit 6e13de0244ee65138a2e0e3da0059cb89d56736f. It worked for me locally but it broke the Travis build :(. --- lib/vcr/library_hooks/excon.rb | 2 +- spec/vcr/library_hooks/excon_spec.rb | 4 ++-- vcr.gemspec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/vcr/library_hooks/excon.rb b/lib/vcr/library_hooks/excon.rb index 4d456653..6b94357a 100644 --- a/lib/vcr/library_hooks/excon.rb +++ b/lib/vcr/library_hooks/excon.rb @@ -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 diff --git a/spec/vcr/library_hooks/excon_spec.rb b/spec/vcr/library_hooks/excon_spec.rb index 1997803a..18993b62 100644 --- a/spec/vcr/library_hooks/excon_spec.rb +++ b/spec/vcr/library_hooks/excon_spec.rb @@ -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 } diff --git a/vcr.gemspec b/vcr.gemspec index a37c99ef..28b09f78 100644 --- a/vcr.gemspec +++ b/vcr.gemspec @@ -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',