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:
parent
c3cefc223a
commit
27795a6c62
2 changed files with 3 additions and 3 deletions
2
Rakefile
2
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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue