Commit Graph

3015 Commits

Author SHA1 Message Date
Bob Aman 105dbd64f2 Fixed a bug in the method definition closures. 2011-08-10 16:59:55 -04:00
Bob Aman 27ae32d2e7 Basic structure of schema parsing complete.
* Note that additionalProperties fields are not currently supported and may
  only be accessed in raw form. Shouldn't be a big deal because only the Buzz
  API uses them extensively.
2011-08-10 16:48:22 -04:00
Bob Aman d9a108415b Added method to expose API property descriptions. 2011-08-08 18:04:48 -04:00
Bob Aman 9a2217a6bb Added support for API feature lists. 2011-08-08 17:28:21 -04:00
Bob Aman b8bd8e3964 Added support for API feature lists. 2011-08-08 17:23:59 -04:00
Bob Aman 547034d1e3 Adding missing require. 2011-08-05 17:00:36 -04:00
Bob Aman 75ee556a99 Moved dynamic method definitions into the APIObject class. 2011-08-05 16:55:40 -04:00
Bob Aman 960796d23d Added default values. 2011-08-05 14:44:29 -04:00
Bob Aman 13d590631b Added API#schema_for_kind method to allow schema lookups by kind. 2011-08-05 14:43:56 -04:00
Bob Aman 1fa3fb25d9 Better way to handle automatic parsing using the schemas in the discovery document. 2011-08-04 23:36:36 -04:00
Bob Aman b4745890f5 Separated out the discovery classes into individual files. 2011-08-04 18:32:00 -04:00
Bob Aman fea9f00597 Merge pull request #3 from robertkaplow/master
second revision
2011-08-02 14:15:09 -07:00
Robert Kaplow 320b049354 read 2011-08-02 17:06:06 -04:00
Robert Kaplow 3affee9bc0 patch 2011-08-02 16:26:51 -04:00
Bob Aman 0d2cbe26df Fixed issue with header/options ambiguity. 2011-08-02 16:20:54 -04:00
Bob Aman a281c1bcf5 Merge pull request #2 from robertkaplow/master
Prediction sample
2011-08-02 11:49:20 -07:00
Bob Aman aae60143cb Gem spec requires author to be supplied. 2011-08-02 14:39:46 -04:00
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