Releasing the Typhoeus version constraint
This commit is contained in:
3
Gemfile
3
Gemfile
@@ -1,8 +1,7 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
# Seg fault in Typhoeus 0.6.3 (and ethon > 0.5.11) with rspec
|
# Seg fault in Typhoeus 0.6.3 (and ethon > 0.5.11) with rspec
|
||||||
gem "typhoeus", "=0.6.2"
|
gem "typhoeus", ">=0.6.3"
|
||||||
gem "ethon", "=0.5.10"
|
|
||||||
gem "nokogiri"
|
gem "nokogiri"
|
||||||
gem "json"
|
gem "json"
|
||||||
gem "terminal-table"
|
gem "terminal-table"
|
||||||
|
|||||||
@@ -47,20 +47,6 @@ module Typhoeus
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
module Ethon
|
|
||||||
class Easy
|
|
||||||
module Options
|
|
||||||
def cookiejar=(value)
|
|
||||||
Curl.set_option(:cookiejar, value_for(value, :string), handle)
|
|
||||||
end
|
|
||||||
|
|
||||||
def cookiefile=(value)
|
|
||||||
Curl.set_option(:cookiefile, value_for(value, :string), handle)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Override for puts to enable logging
|
# Override for puts to enable logging
|
||||||
def puts(o = '')
|
def puts(o = '')
|
||||||
# remove color for logging
|
# remove color for logging
|
||||||
|
|||||||
Reference in New Issue
Block a user