Skip to content

Commit

Permalink
use HTTMultiParty to support file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
taweili committed Oct 12, 2011
1 parent 9aed628 commit 48e80b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "httparty"
require "httmultiparty"
require "hashie"
require "mogli"
2 changes: 1 addition & 1 deletion lib/mogli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Mogli
end

require "httparty"

require "httmultiparty"

require "mogli/authenticator"
require "mogli/model"
Expand Down
2 changes: 1 addition & 1 deletion lib/mogli/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Client
attr_reader :default_params
attr_reader :expiration

include HTTParty
include HTTMultiParty
include Mogli::Client::Event
include Mogli::Client::User

Expand Down
1 change: 1 addition & 0 deletions mogli.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec = Gem::Specification.new do |s|
s.email = '[email protected]'
s.homepage = 'http://developers.facebook.com/docs/api'
s.add_dependency 'hashie', '~> 1.1.0'
s.add_dependency 'httmultiparty', '>= 0.3.6'
s.add_dependency 'httparty', '>= 0.4.3'
s.add_dependency 'multi_json', '~> 1.0.3'
s.add_development_dependency 'json'
Expand Down

0 comments on commit 48e80b6

Please sign in to comment.