Robert Kaplow
9682ef3971
add prediction sample
2011-08-02 12:44:56 -04:00
Bob Aman
f336ab34a7
Major update, primarily to add pagination support.
...
* Added Reference objects to encapsulate API calls.
* Added Result objects to encapsulate API responses.
* Changed the return value of APIClient#execute to Result.
* Changed the method signature of APIClient#execute to support named params.
* Added APIClient#execute! which throws exceptions on error.
* Added automatic parsing code to better allow for complex nested structures.
* Added error parser.
* Added module for pagination in parsers.
2011-07-29 18:07:04 -04:00
Bob Aman
a656c13862
Fixed handling of expired access tokens.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@163 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-21 00:05:05 +00:00
Bob Aman
af87738e06
Excluding environment setup file from code coverage.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@161 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-20 23:39:47 +00:00
Bob Aman
ccade868a9
Updated to handle expiration of access tokens.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@160 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-20 23:39:42 +00:00
Bob Aman
f962346722
Fixed rcov exclude options.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@159 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-20 23:12:44 +00:00
Bob Aman
029b296f25
Fixed another stray dependency.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@158 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 20:27:41 +00:00
Bob Aman
c7e96763c7
Lowered requirements for json gem
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@157 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 20:23:18 +00:00
Bob Aman
ee64afa019
Updated CHANGELOG.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@156 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 20:23:12 +00:00
Bob Aman
ef2abc0493
Updated to use v1 of the discovery API.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@155 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 20:14:15 +00:00
Bob Aman
7d370c6d10
Updated documentation on User-Agent.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@154 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 17:12:15 +00:00
Bob Aman
d91ddd752f
Updated examples.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@153 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 17:12:09 +00:00
Bob Aman
eb78080080
Fixed unnecessary dependency issue.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@134 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-04 22:43:52 +00:00
Bob Aman
4d56bb8b1b
Added User-Agent improvements.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@133 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-04 22:43:33 +00:00
Bob Aman
286a7152f2
A significant update of the client functionality.
...
* updated to use v0.3 of the discovery API
* updated to use httpadapter 1.0.0
* added OAuth 2 support to the command line tool
* renamed some switches in the command line tool
* added additional configuration capabilities
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@128 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-04 11:44:35 +00:00
Bob Aman
1dee705828
Fixed extlib/activesupport conflict. Seriously people, thou shalt not monkey-patch!
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@127 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-01-19 23:41:37 +00:00
Yaniv Inbar
b9dddedc96
Add a very simple example for Google Buzz API
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@109 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-01-06 14:49:58 +00:00
Bob Aman
b4c37949dc
Command line client no longer checks for an exact match on the buzz scopes.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@108 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-01-05 01:09:57 +00:00
Bob Aman
0b49c3fd2e
Added User-Agent header.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@107 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-01-05 01:09:52 +00:00
Bob Aman
76fe65a650
Incrementing the version.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@104 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-11-04 20:00:03 +00:00
Bob Aman
9af308a5f8
Updated install error message for rcov.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@103 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 23:11:59 +00:00
Bob Aman
38f5bc5baf
Added ability to update the base URI in services, resources, and methods.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@102 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 22:56:01 +00:00
Bob Aman
f63bf8199f
Added option to support manually specified discovery URI.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@101 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 22:21:26 +00:00
Bob Aman
b0846efa4a
Added support for xoauth_requestor_id.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@100 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 19:15:05 +00:00
Bob Aman
d6ed864b0a
Fixed version specifier.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@94 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 17:15:22 +00:00
Bob Aman
316f1c6bd4
Updated dependencies.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@93 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 17:14:02 +00:00
Bob Aman
20eff1df7d
Added support for two-legged OAuth.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@92 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:23 +00:00
Bob Aman
d346426d4d
Making the commands line up in the --help screen.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@91 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:20 +00:00
Bob Aman
00eb093580
Significant improvements to the CLI.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@90 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:15 +00:00
Bob Aman
0986b4e64f
Refactored CLI tool to be more maintainable.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@89 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-20 23:49:15 +00:00
Bob Aman
7a343496ac
Added redirect to buzz explore page.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@88 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-19 21:23:57 +00:00
Bob Aman
2140cbf244
Excluding .rvm from code coverage.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@78 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-14 00:15:52 +00:00
Bob Aman
0246ecf1f5
Updating README with installation instructions.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@77 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-14 00:05:32 +00:00
Bob Aman
c3ad4f3498
Updating README with installation instructions.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@76 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-14 00:04:36 +00:00
Bob Aman
9114d45e53
Improving the handling of missing dependencies.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@75 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 21:28:58 +00:00
Bob Aman
f92c552460
Added rack dependency.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@72 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 21:17:16 +00:00
Bob Aman
5572a73fdf
Fixed incompatibilities with Ruby 1.8.6
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@71 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 21:16:07 +00:00
Bob Aman
61fc497f2c
Added interactive session command.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@69 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 00:57:04 +00:00
Bob Aman
3eb108acc9
RSpec had a new major release. We're not ready to upgrade yet.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@68 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:40:25 +00:00
Bob Aman
6b9c146ebc
Fixing dependency issues.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@67 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:26:41 +00:00
Bob Aman
73002ccc14
Updating addressable dependency.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@66 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:07:40 +00:00
Bob Aman
be265da6d4
Updating CLI and explorer to match recent changes.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@65 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:07:36 +00:00
Bob Aman
ecf330f177
Added check for major.minor.tiny version format.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@61 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 20:41:14 +00:00
Bob Aman
3bd7056e86
Updated version sorting code and added authorization shortcuts.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@60 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 20:39:09 +00:00
Bob Aman
c183d6ddfd
Updated to handle content types correctly.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@54 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 02:09:14 +00:00
Bob Aman
733655684a
First pass at CLI for Ruby client.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@53 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 01:53:40 +00:00
Bob Aman
4b7fd4490c
Added Sinatra API explorer example app.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@52 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-09 02:41:47 +00:00
Bob Aman
e50442091c
Fixed issue with invalid type checking.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@51 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-09 02:41:38 +00:00
Bob Aman
638f8a810c
Extra indentation removed.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@50 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-07 22:44:14 +00:00
Bob Aman
35d35f49ed
Whoops, example was on the wrong method.
...
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@49 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-07 22:38:51 +00:00