fix excon adapter version #202

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -5,7 +5,7 @@
end
if defined?(Excon)
- WebMock::VersionChecker.new('Excon', Excon::VERSION, '0.9.6').check_version!
+ WebMock::VersionChecker.new('Excon', Gem.loaded_specs["excon"].version.to_s, '0.9.6').check_version!
module WebMock
module HttpLibAdapters