diff --git a/Rakefile b/Rakefile index a03d0ea..b1322c8 100644 --- a/Rakefile +++ b/Rakefile @@ -9,7 +9,7 @@ begin gem.email = "nunemaker@gmail.com" gem.homepage = "http://httparty.rubyforge.org" gem.authors = ["John Nunemaker", "Sandro Turriate"] - gem.add_dependency 'crack', '0.1.5' + gem.add_dependency 'crack', '0.1.6' gem.add_development_dependency "activesupport", "~>2.3" gem.add_development_dependency "cucumber", "~>0.4" gem.add_development_dependency "fakeweb", "~>1.2" diff --git a/lib/httparty.rb b/lib/httparty.rb index 5523b88..bdfc2dd 100644 --- a/lib/httparty.rb +++ b/lib/httparty.rb @@ -3,8 +3,8 @@ require 'net/http' require 'net/https' require 'crack' -if (Crack::const_defined?(:VERSION)) && Crack::VERSION != "0.1.5" - warn "warning: HTTParty depends on version 0.1.5 of crack, not #{Crack::VERSION}." +if Crack::VERSION != "0.1.6" + warn "warning: HTTParty depends on version 0.1.6 of crack, not #{Crack::VERSION}." end dir = Pathname(__FILE__).dirname.expand_path