Skip to content
Browse files

use HTTMultiParty to support file upload

  • Loading branch information...
1 parent 9aed628 commit 48e80b64bc6bc936ea88f5078b3a01651f38c03a @taweili taweili committed Oct 12, 2011
Showing with 4 additions and 2 deletions.
  1. +1 −0 init.rb
  2. +1 −1 lib/mogli.rb
  3. +1 −1 lib/mogli/client.rb
  4. +1 −0 mogli.gemspec
View
1 init.rb
@@ -1,3 +1,4 @@
require "httparty"
+require "httmultiparty"
require "hashie"
require "mogli"
View
2 lib/mogli.rb
@@ -2,7 +2,7 @@ module Mogli
end
require "httparty"
-
+require "httmultiparty"
require "mogli/authenticator"
require "mogli/model"
View
2 lib/mogli/client.rb
@@ -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
View
1 mogli.gemspec
@@ -10,6 +10,7 @@ spec = Gem::Specification.new do |s|
s.email = 'mmangino@elevatedrails.com'
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'

0 comments on commit 48e80b6

Please sign in to comment.
Something went wrong with that request. Please try again.