1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Update Crack to version 0.1.6

Crack now supports the VERSION constant so we no longer have to ask if
it exists before checking against it.
This commit is contained in:
Sandro Turriate 2010-01-31 17:37:51 -05:00
parent c3cefc223a
commit 27795a6c62
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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