Commit Graph

211 Commits

Author SHA1 Message Date
Steven Bazyl e421d1734d Remove embedded version #s, use Gemfile 2012-10-10 14:24:25 -06:00
Steven Bazyl ac5bef80aa Temp disable latitude tests due to discovery bug 2012-10-10 14:24:24 -06:00
Bob Aman 0903702738 Apparently the ||= operator does not work with constants in some versions of Ruby. 2012-10-10 19:59:55 +03:00
Bob Aman c8418d4976 Marked failing tests as pending. 2012-10-10 19:47:02 +03:00
Bob Aman 11155d3c39 Backwards compatibility for MultiJson. 2012-08-30 12:15:59 +03:00
Bob Aman 8d99b5b46c Resolving constant redefinition warnings. 2012-08-01 00:31:24 +03:00
Steven Bazyl 1ff1a8e355 Issue 47 - Improve error handling on result 2012-08-01 00:28:39 +03:00
Bob Aman 3f50b2dcbd Significant performance improvements to the tests. 2012-07-31 23:56:13 +03:00
Bob Aman e5e0118b50 Switched to using RSpec's let method for memoization. 2012-07-31 23:15:45 +03:00
Bob Aman 3bc7d52764 Resolving issues introduced by Faraday dependency upgrade. 2012-07-21 13:51:23 +03:00
Bob Aman 5e751681dd Updating dependencies. 2012-07-21 13:51:23 +03:00
Steven Bazyl aa1eb64332 Fix media test case StringIO 2012-06-06 18:03:23 -07:00
Steven Bazyl a9d46c0359 Resolve merge conflict 2012-06-06 17:32:29 -07:00
Steven Bazyl a7b40becc6 Allow credentials on per-request basis 2012-06-06 17:27:20 -07:00
Steven Bazyl f7a4db959d Initial support for service accounts 2012-06-06 17:25:44 -07:00
Steven Bazyl 1dda547904 More tests for media upload 2012-06-04 16:53:37 -07:00
Steven Bazyl fe410c49eb Add tests for media upload 2012-06-04 16:51:11 -07:00
Sergio Gomes 574cdbd739 Added some more specs for Google::APIClient::Result 2012-05-16 20:26:10 +01:00
Sergio Gomes a666d52770 Adding batch support 2012-05-16 20:05:24 +01:00
Bob Aman 925f2b7278 Fixed issue with UTF-8 characters in code, but no encoding specified. 2012-05-11 12:55:00 +03:00
Sérgio Gomes 44d113131b Resolves issue of validation failing for repeated parameters. 2012-05-11 12:50:18 +03:00
Sérgio Gomes 5626cb4a6e Added spec to ensure next page tokens are escaped. 2012-04-24 14:47:28 +03:00
Bob Aman c651d69674 Updated to avoid deprecation of encode and decode methods in multi_json gem. 2012-04-24 14:39:25 +03:00
Steven Bazyl 772d3a7671 Remove stray requires of deleted files 2012-01-30 20:54:05 -08:00
Bob Aman 06cdb76670 Updated to replace httpadapter with faraday. 2012-01-27 17:57:57 +03:00
Bob Aman 0bc3d4936b Migrated to MultiJson from JSON gem. 2012-01-05 13:05:56 +03:00
Martin Sarsale ed4742d8d4 Test for repeated parameters 2011-12-01 11:04:40 -03:00
Bob Aman 66ed5248ad Merge branch 'schemas'
* Resolved some test failures that showed up during the merge.

Conflicts:
	lib/google/api_client/discovery/api.rb
2011-11-16 16:40:42 +03:00
Bob Aman bb4e15b9f4 Fixed issues with recursive structures and external references. 2011-10-05 14:13:39 +03:00
Bob Aman 15a372cedb Added code to include userIp and key parameters. 2011-09-22 13:49:58 +03:00
Bob Aman ef065ce8d6 Added code to include userIp and key parameters. 2011-09-22 13:49:46 +03:00
Bob Aman 0d2cbe26df Fixed issue with header/options ambiguity. 2011-08-02 16:20:54 -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 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 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 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 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 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 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 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 e26ebaf981 Finished documentation.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@43 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-07 00:02:22 +00:00
Bob Aman 99529740bc Improving testing and coverage.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@39 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-30 21:57:13 +00:00
Bob Aman c7ba3a5df0 Improving testing and coverage.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@38 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-30 21:46:08 +00:00
Bob Aman 7e48c8913c Improving testing and coverage.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@37 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-30 21:33:23 +00:00
Bob Aman bbcc946f33 Improved coverage in tests and fixed a URI join bug.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@36 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-28 23:09:07 +00:00
Bob Aman f96412cf23 Reorganized some of the code and removed unnecessary stuff.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@35 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-18 00:30:02 +00:00
bobaman@google.com 719e576051 Updated to use Signet.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@31 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-13 21:54:43 +00:00
bobaman@google.com 9d68bf115c Removing transport and OAuth code that is no longer needed.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@28 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-09-13 21:54:18 +00:00
mattpok@google.com 003b046116 added more json parser tests
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@24 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-24 19:22:53 +00:00
mattpok@google.com 1b232831c4 added basic json parser support and tests
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@23 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-23 22:07:50 +00:00
bobaman@google.com bc844db311 Initial implementation of HTTP.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@22 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-19 23:21:45 +00:00
mattpok@google.com 831ee13c3a add more comprehensive unit tests for transport parser config
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@20 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-18 22:41:24 +00:00
mattpok@google.com 139302fd5e added basic rspec for transport and fix imports in transport class
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@19 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-18 22:18:21 +00:00
bobaman@google.com e6ba0f6860 Updating code to consistent coding style.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@15 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-17 01:21:17 +00:00
bobaman@google.com 6331247e7a Added some tests for determining the discovery document URI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@14 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-14 01:35:51 +00:00
bobaman@google.com a6d7aa570e Updated the configuration handling code.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@10 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-14 01:16:35 +00:00
bobaman@google.com 0d45cbe27b Updated OAuth1 configuration code. Added docs.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@9 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-14 00:53:57 +00:00
bobaman@google.com e4b6f8528e Updated OAuth to actually perform authorization stuff.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@8 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-12 01:07:35 +00:00
bobaman@google.com 70ed84ffec Added some stubs for OAuth and HTTP.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@3 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-08-10 04:44:14 +00:00