- Add support for listPeopleByActivity API call
- Use the
redirect_uri
that Gplus was initialized with as the default in#get_token
. You now only have to specify an explicitredirect_uri
when calling#get_token
if you overrode your defaultredirect_uri
when you called#authorize_url
.
- Fix file permissions so that gplus's files are world readable
- Rename
#authorize
to#get_token
and change method signature to matchOAuth2::Strategy::AuthCode#get_token
. Convertaccess_token = authorize(params[:code])
toaccess_token = get_token(params[:code])
in your OAuth callback action. - Define new
#authorize
method, for authorization a client instance with a user'stoken
,refresh_token
andtoken_expires_at
after initialization. #search_people
and#search_activities
now take a mandatory query parameter, followed by an options hash. Convertsearch_people(:query => 'Frankie', :maxResults => 5)
tosearch_people('Frankie', :maxResults => 5)
.#authorize_url
now accepts an options hash, instead of just aredirect_uri
parameter. Use the options hash to request a differentaccess_type
amongst other things. Convertauthorize_url('http://example.org/callback')
toauthorize_url(:redirect_uri => 'http://example.org/callback')
.
- Bugfix: Authorized requests with params now call OAuth2 methods correctly
- Bugfix: Fixed access token refreshing
Activity
,Comment
andPerson
are now modules included inClient
- Better YARD documentation
- Files are now autoloaded
- Added link to Rails 3.1 example app
- Fix bug in
#access_token
where@access_token
was not being returned correctly - Fix incorrect method name in README
- Add support for searching for People and Activities
- Full test coverage of People, Activity and Comment methods
- Change
#list_activities
and#list_comments
methods to take an options hash rather than separate :results and :page arguments
- Add support for the Comments API
- Stub out rspec examples
- Improve README
- Handle refreshing of OAuth tokens
- Add YARD documentation for all public methods
- API key based requests for public data
- Bug fixes
- Bug fixes
- Add support for the Activities API
- Add support for OAuth authorization for non-public data
- Add support for the People API