mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Update version of Crack
This commit is contained in:
parent
5e96290ee2
commit
f5358e221f
2 changed files with 5 additions and 1 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.1'
|
||||
gem.add_dependency 'crack', '0.1.5'
|
||||
gem.add_development_dependency "activesupport", "~>2.3"
|
||||
gem.add_development_dependency "cucumber", "~>0.4"
|
||||
gem.add_development_dependency "fakeweb", "~>1.2"
|
||||
|
|
|
@ -3,6 +3,10 @@ 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}."
|
||||
end
|
||||
|
||||
dir = Pathname(__FILE__).dirname.expand_path
|
||||
|
||||
require dir + 'httparty/module_inheritable_attributes'
|
||||
|
|
Loading…
Reference in a new issue