Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Commits on Sep 23, 2011
@tadruj tadruj removed .parsed_response e29fd7a
Commits on Sep 30, 2011
@mmangino mmangino Bump version 1db5371
@mmangino mmangino merge b58af15
Commits on Oct 12, 2011
@mmangino mmangino Merge pull request #85 from taweili/master
Support file upload with httmultiparty
91c726c
@mmangino mmangino Add info to readme for creating photos c7ac4e1
@mmangino mmangino Merge branch 'master' of github.com:mmangino/mogli c71b52d
Commits on Oct 15, 2011
@stupied4ever stupied4ever Update lib/mogli/profile.rb 0a55d20
Commits on Oct 17, 2011
@mmangino mmangino Merge pull request #86 from stupied4ever/patch-1
Update lib/mogli/profile.rb
a42bcec
@mmangino mmangino Merge branch 'master' of github.com:mmangino/mogli 5f8bc41
@mmangino mmangino Clean up profile image code 2989e21
Commits on Oct 18, 2011
@herval herval publish_actions 4032aa0
Commits on Oct 20, 2011
@jfeng jfeng enable SessionInvalidatedDueToPasswordChange raised 70e9114
Commits on Oct 21, 2011
@mmangino mmangino Merge pull request #89 from jfeng/raise_oauth_error
enable data.code == 400 raise SessionInvalidatedDueToPasswordChange exception
4391368
Commits on Nov 02, 2011
@mmangino mmangino Merge branch 'master' of github.com:mmangino/mogli 8936d63
Commits on Nov 20, 2011
Patrick Check Facebook error first before throwing a HTTPException 833fbd3
Commits on Nov 21, 2011
@mmangino mmangino Merge pull request #92 from s1kx/master
Fix HTTPException to not be thrown on every Facebook error
4795a4e
Commits on Dec 01, 2011
@mmangino mmangino Merge pull request #77 from tadruj/patch-1
removed .parsed_response
1ab9b78
Commits on Dec 05, 2011
@herval herval friends likes perm 7da769c
@mmangino mmangino Merge pull request #93 from herval/master
missing perms added to user class
d55c3b5
Commits on Dec 19, 2011
Giovanni Intini adding comments and likes to statuses f7931c4
Giovanni Intini adding missing fields to comments 12cf200
Giovanni Intini Revert "adding missing fields to comments"
This reverts commit 12cf200.
a776856
Giovanni Intini Revert "Revert "adding missing fields to comments""
This reverts commit a776856.
39646ed
Giovanni Intini user likes 1a428a6
Commits on Dec 20, 2011
Giovanni Intini adding application 04f74c7
@mmangino mmangino Merge pull request #96 from intinig/master
Added a lot of missing attributes on Comment / App / Status
fa7b72d
Commits on Jan 13, 2012
@leckylao leckylao add subscription model 14cd054
@mmangino mmangino Merge pull request #98 from lecky/master
Add subscription model
46d0c32
Commits on Feb 07, 2012
@mperice mperice Just deleted the get_and_map method which causes an OAuthException wh…
…en using create_and_authenticate_as_application for an AppRequest. Travis needs to implement it differently for his TestUser class.
3a0c5aa
Commits on Feb 12, 2012
@adahmash adahmash Upgraded hashtie version for dependency 9b812aa
@adahmash adahmash Added Events assocation to mogli user 90d2a14
Commits on Feb 15, 2012
@mmangino mmangino Merge pull request #101 from adahmash/master
Added events association to User model
79bb3fc
Commits on Mar 29, 2012
@ckbhodge ckbhodge added property for 'interested_in' which should be valid: https://dev… b8aa965
@mmangino mmangino Merge pull request #104 from ckbhodge/patch-1
added property for 'interested_in' for User
cd9fc21
Commits on Apr 01, 2012
@shwing shwing daily_active_users to application, likes to photos 4101888
Commits on Apr 02, 2012
@mmangino mmangino Merge pull request #106 from shwing/master
Added missing properties to Application and Photos
86dde11
@mmangino mmangino Gemspec change bccb36b
@mmangino mmangino Merge branch 'master' of github.com:mmangino/mogli 9c11855
Commits on Apr 10, 2012
@jonasfa jonasfa Adding the 'installed' field to User b241486
@mmangino mmangino Merge pull request #108 from jonasfa/master
Adding the 'installed' field to User
cf14773
Commits on Apr 17, 2012
@derwiki derwiki Mogli client is more resilient to Facebook's JSON
Facebook APIs return numbers, "true" and "false" as valid JSON, even though the
JSON RFC defines JSON objects as starting with "[" or "{". As such, when the
client is looking at parsed JSON returned from a Facebook API call, it will
crash on numbers and booleans because they don't respond to the :has_keys?
method.
b4fc719
@mmangino mmangino Merge pull request #109 from derwiki/master
Mogli client is more resilient to Facebook's JSON
2b6158d
Russell Pickett Check for the case where FB sends "count: 0" and no "data:"
Mogli, when creating new Mogli::* objects, can be passed:

-- a hash of key => value pairs, which it will pass to new() to create an object;
-- an array of hashes, from which it will create a list of objects;
-- a hash containing {:count => X, :data => [...]} which will climb down into
the "data" value to get the list of hashes to make a list of objects from.

In the case where there are no comments on a post (possibly in any case where
:count is zero), Facebook does not send a :data key -at-all-.  Mogli then
faithfully detects the first case, and tries to make a single comment out
of {:count => 0}.

This detects that case and steps around it.
7942b59
Russell Pickett fbl_multiquery return values fail gracefully.
We were expecting the return of fbl_multiquery to always return a hash, which it
doesn't. This commit will have it fail gracefully if it's not a hash.
410402e
Lilia Markham Store total counts on FetchingArray when fb returns a "count" attribute
Previously we were accessing the FetchingArray.count method, which was
returning the number of entries currently in the array, rather than the
total number of available entries. When displaying statistics, this
makes our numbers look small and sad.

When building a fetching array we now store a "count" attribute if
present in the total_count attribute.
5348148
Adam Derewecki Fix typo in is_fetching_array?
:has_key?, not :has_key
94c189f
Adam Derewecki determine_class doesn't crash on .key? for some inputs
determine_class was calling .key? on data, and some data inputs don't respond_to
:key?. This commit gates a call to .has_key? around responds_to :has_key?.
8673500
@mmangino mmangino Merge pull request #110 from derwiki/causes
Commits from causes/mogli
408b19b
@mmangino mmangino Merge pull request #112 from derwiki/8673500a188a248d02992b76666cdb51…
…519c5bb0

determine_class doesn't crash on .key? for some inputs
dd15edf
Adam Derewecki `responds_to' => `respond_to'
Typo that was missed by the author, code reviewer, and merger.
54dc43a
Commits on Apr 18, 2012
@mmangino mmangino Merge pull request #113 from derwiki/master
responds_to => respond_to
b1d58ca
Something went wrong with that request. Please try again.