Permalink
Browse files

Updated typhoeus to latest 0.2.1 release.

The latest includes a new ignore_hosts option.
  • Loading branch information...
1 parent 356eca4 commit bdabbb34ae248a7514f4dcedf2b2e429faf6aa88 @myronmarston committed Jan 16, 2011
View
@@ -7,7 +7,7 @@ group :development do
gem 'patron', '~> 0.4.6'
gem 'em-http-request', '~> 0.2.7'
gem 'curb', '~> 0.7.8'
- gem 'typhoeus', '~> 0.2.0'
+ gem 'typhoeus', '~> 0.2.1'
end
platforms :jruby do
View
@@ -113,7 +113,8 @@ GEM
thor (0.14.6)
tilt (1.1)
timecop (0.3.5)
- typhoeus (0.2.0)
+ typhoeus (0.2.1)
+ mime-types
webmock (1.6.2)
addressable (>= 2.2.2)
crack (>= 0.1.7)
@@ -149,6 +150,6 @@ DEPENDENCIES
shoulda (~> 2.9.2)
sinatra (~> 1.1.0)
timecop (~> 0.3.5)
- typhoeus (~> 0.2.0)
+ typhoeus (~> 0.2.1)
vcr!
webmock (~> 1.6.0)
@@ -6,7 +6,7 @@ module Typhoeus
include VCR::HttpStubbingAdapters::Common
extend self
- MINIMUM_VERSION = '0.2.0'
+ MINIMUM_VERSION = '0.2.1'
MAXIMUM_VERSION = '0.2'
def http_connections_allowed=(value)
View
@@ -31,7 +31,7 @@ module HeaderNormalizer
'connection' => %w[ close Keep-Alive ],
'accept' => %w[ */* ],
'expect' => [''],
- 'user-agent' => ["Typhoeus - http://github.com/pauldix/typhoeus/tree/master", 'Ruby']
+ 'user-agent' => ["Typhoeus - http://github.com/dbalatero/typhoeus/tree/master", 'Ruby']
}
def initialize(*args)
@@ -11,8 +11,8 @@
it_behaves_like 'an http stubbing adapter', ['typhoeus'], [:method, :uri, :host, :path, :body, :headers]
it_performs('version checking',
- :valid => %w[ 0.2.0 0.2.99 ],
- :too_low => %w[ 0.1.0 0.1.31 ],
+ :valid => %w[ 0.2.1 0.2.99 ],
+ :too_low => %w[ 0.1.0 0.1.31 0.2.0 ],
:too_high => %w[ 0.3.0 1.0.0 ]
) do
disable_warnings
View
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
'patron' => '~> 0.4.6',
'em-http-request' => '~> 0.2.7',
'curb' => '~> 0.7.8',
- 'typhoeus' => '~> 0.2.0'
+ 'typhoeus' => '~> 0.2.1'
}.each do |lib, version|
s.add_development_dependency lib, version
end unless RUBY_PLATFORM == 'java'

0 comments on commit bdabbb3

Please sign in to comment.