903e568a65 
								
							 
						 
						
							
							
								
								No longer buffer chunks/files when using resumable upload  
							
							
							
						 
						
							2013-06-18 12:15:02 -07:00  
				
					
						
							
							
								 
						
							
								f7307ec35d 
								
							 
						 
						
							
							
								
								Remove unnecessary require  
							
							
							
						 
						
							2013-05-31 17:22:18 -07:00  
				
					
						
							
							
								 
						
							
								ef4e924a5c 
								
							 
						 
						
							
							
								
								Merge pull request  #52  from jeffposnick/master  
							
							... 
							
							
							
							Added support for caching OAuth 2 credentials to disk 
							
						 
						
							2013-05-31 15:43:03 -07:00  
				
					
						
							
							
								 
						
							
								d68dc4d27e 
								
							 
						 
						
							
							
								
								Don't attempt resumable upload if initial response failed (Issue  #32 )  
							
							
							
						 
						
							2013-05-31 15:41:00 -07:00  
				
					
						
							
							
								 
						
							
								fb67a021e7 
								
							 
						 
						
							
							
								
								Added Google::APIClient::FileStorage, to save OAuth 2 credentials to disk  
							
							... 
							
							
							
							This is a (potentially rough) bit of code to persist OAuth 2
credentials to disk, similar to
http://google-api-python-client.googlecode.com/hg/docs/epy/oauth2client .
file.Storage-class.html
It can be used in the following manner, which roughly translates to
what the Python client library code looks like.
  file_storage = Google::APIClient::FileStorage.new("#{$0}-oauth2.json")
  if file_storage.authorization.nil?
    client_secrets = Google::APIClient::ClientSecrets.load
    flow = Google::APIClient::InstalledAppFlow.new(
      :client_id => client_secrets.client_id,
      :client_secret => client_secrets.client_secret,
      :scope => [SCOPE1, SCOPE2]
    )
    client.authorization = flow.authorize(file_storage)
  else
    client.authorization = file_storage.authorization
  end 
							
						 
						
							2013-05-29 15:31:44 -04:00  
				
					
						
							
							
								 
						
							
								794c6a90f7 
								
							 
						 
						
							
							
								
								Upgrade to Faraday 0.9 (fixes params encoding problems)  
							
							
							
						 
						
							2013-05-13 14:03:49 -07:00  
				
					
						
							
							
								 
						
							
								bfafe1b0c8 
								
							 
						 
						
							
							
								
								Minor release  
							
							
							
						 
						
							2013-03-25 21:37:52 -07:00  
				
					
						
							
							
								 
						
							
								ef4c5c1f2f 
								
							 
						 
						
							
							
								
								Fix URI in batched request to allow query parameters  
							
							
							
						 
						
							2013-02-15 13:13:58 -08:00  
				
					
						
							
							
								 
						
							
								f421551018 
								
							 
						 
						
							
							
								
								Fix duplication of parameters in qeuery string  
							
							
							
						 
						
							2013-01-22 22:14:50 -08:00  
				
					
						
							
							
								 
						
							
								0dafa5e4ee 
								
							 
						 
						
							
							
								
								Minor release for updating signet  
							
							
							
						 
						
							2013-01-18 09:21:13 -08:00  
				
					
						
							
							
								 
						
							
								f369139b32 
								
							 
						 
						
							
							
								
								Minor release to fix service account impersonation  
							
							
							
						 
						
							2013-01-14 17:00:58 -08:00  
				
					
						
							
							
								 
						
							
								7d204ac507 
								
							 
						 
						
							
							
								
								fix for  #22  impersonation  
							
							
							
						 
						
							2013-01-12 10:29:47 -05:00  
				
					
						
							
							
								 
						
							
								8ce4d052fe 
								
							 
						 
						
							
							
								
								Add oauth helper for installed apps, update CLI  
							
							
							
						 
						
							2013-01-04 16:14:59 -08:00  
				
					
						
							
							
								 
						
							
								1d7315ee9b 
								
							 
						 
						
							
							
								
								Sprinkle of logging  
							
							
							
						 
						
							2013-01-04 16:14:14 -08:00  
				
					
						
							
							
								 
						
							
								31a78788bd 
								
							 
						 
						
							
							
								
								Add railtie  
							
							
							
						 
						
							2013-01-02 20:07:17 -08:00  
				
					
						
							
							
								 
						
							
								7e3cacdb0e 
								
							 
						 
						
							
							
								
								Define custom load/dump for serializing API instances  
							
							
							
						 
						
							2013-01-02 16:13:26 -08:00  
				
					
						
							
							
								 
						
							
								be3b436f58 
								
							 
						 
						
							
							
								
								Fix JWT example in docs  
							
							
							
						 
						
							2013-01-02 16:12:47 -08:00  
				
					
						
							
							
								 
						
							
								a631c4003a 
								
							 
						 
						
							
							
								
								Read keyfile in binary mode  
							
							
							
						 
						
							2013-01-02 12:59:43 -08:00  
				
					
						
							
							
								 
						
							
								1f0ea6338e 
								
							 
						 
						
							
							
								
								Remove stray output to STDOUT  
							
							
							
						 
						
							2013-01-02 12:55:52 -08:00  
				
					
						
							
							
								 
						
							
								250e9e7b2d 
								
							 
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/google/google-api-ruby-client  
							
							
							
						 
						
							2013-01-02 11:51:15 -08:00  
				
					
						
							
							
								 
						
							
								71fbe4a825 
								
							 
						 
						
							
							
								
								Use JWT support in signet, ignore broken PKCS12 tests on jruby  
							
							
							
						 
						
							2013-01-02 11:50:45 -08:00  
				
					
						
							
							
								 
						
							
								8f453134d7 
								
							 
						 
						
							
							
								
								Initial logging support  
							
							
							
						 
						
							2012-12-30 11:26:18 -08:00  
				
					
						
							
							
								 
						
							
								bd04489a43 
								
							 
						 
						
							
							
								
								Ranjib| there is n method/instance variable named options inside serialize, to_hash should be invoke on 'body' instead  
							
							
							
						 
						
							2012-12-27 13:36:08 -08:00  
				
					
						
							
							
								 
						
							
								b0b03cc363 
								
							 
						 
						
							
							
								
								Fix stackoverflow tag, minor doc cleanup for batch API  
							
							
							
						 
						
							2012-11-05 11:05:48 -08:00  
				
					
						
							
							
								 
						
							
								1c849c7e7a 
								
							 
						 
						
							
							
								
								Refactor key loading to support PEM + fix issue  #62  
							
							
							
						 
						
							2012-11-02 13:56:53 -07:00  
				
					
						
							
							
								 
						
							
								01fc90b3fc 
								
							 
						 
						
							
							
								
								Fix sample for JWTAsserter (missing .new)  
							
							
							
						 
						
							2012-11-02 12:50:06 -07:00  
				
					
						
							
							
								 
						
							
								3d157007f6 
								
							 
						 
						
							
							
								
								Auto-refresh OAuth 2 tokens & retry request on 401 response  
							
							
							
						 
						
							2012-10-30 13:18:12 -07:00  
				
					
						
							
							
								 
						
							
								5fea10a1d7 
								
							 
						 
						
							
							
								
								Re-org service account support  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								8799e3a689 
								
							 
						 
						
							
							
								
								Move request class to its own file  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								30d0ffc698 
								
							 
						 
						
							
							
								
								Issue 59 - handle 204 responses more gracefully  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								cd37e4bfea 
								
							 
						 
						
							
							
								
								Doc improvements  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								3dcd88a884 
								
							 
						 
						
							
							
								
								Expose discovery doc in prep for future doc changes  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								000fedfbfb 
								
							 
						 
						
							
							
								
								Add method for checking if upload can be resumed  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								83ab4a681f 
								
							 
						 
						
							
							
								
								More documentation cleanup  
							
							
							
						 
						
							2012-10-10 14:28:46 -06:00  
				
					
						
							
							
								 
						
							
								9bd9ceb75c 
								
							 
						 
						
							
							
								
								More documentation cleanup  
							
							
							
						 
						
							2012-10-10 14:28:45 -06:00  
				
					
						
							
							
								 
						
							
								1fca089d62 
								
							 
						 
						
							
							
								
								Mostly doc updates, +remove support for method as string  
							
							
							
						 
						
							2012-10-10 14:28:45 -06:00  
				
					
						
							
							
								 
						
							
								b425658f2f 
								
							 
						 
						
							
							
								
								Allow adjusting issued-at time to minimize clock skew issues  
							
							
							
						 
						
							2012-10-10 14:28:45 -06:00  
				
					
						
							
							
								 
						
							
								fc45135fcd 
								
							 
						 
						
							
							
								
								Continue internal shuffling...  
							
							
							
						 
						
							2012-10-10 14:28:45 -06:00  
				
					
						
							
							
								 
						
							
								2c6bf97b20 
								
							 
						 
						
							
							
								
								Unify processing of api/resumable/batch requests  
							
							
							
						 
						
							2012-10-10 14:25:43 -06:00  
				
					
						
							
							
								 
						
							
								5d2a6d4842 
								
							 
						 
						
							
							
								
								Begin consolidation of request building in reference. Further changes coming to simplify batch + media handling  
							
							
							
						 
						
							2012-10-10 14:24:25 -06:00  
				
					
						
							
							
								 
						
							
								e421d1734d 
								
							 
						 
						
							
							
								
								Remove embedded version #s, use Gemfile  
							
							
							
						 
						
							2012-10-10 14:24:25 -06:00  
				
					
						
							
							
								 
						
							
								6a37993df7 
								
							 
						 
						
							
							
								
								Remove unnecessary normalization/fix addressable bug  
							
							
							
						 
						
							2012-10-10 14:24:25 -06:00  
				
					
						
							
							
								 
						
							
								2c567fd720 
								
							 
						 
						
							
							
								
								Added the ability to create an authorization object from client secrets.  
							
							
							
						 
						
							2012-10-05 12:07:42 +03:00  
				
					
						
							
							
								 
						
							
								2f630f6c1d 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:google/google-api-ruby-client  
							
							
							
						 
						
							2012-08-30 12:16:49 +03:00  
				
					
						
							
							
								 
						
							
								11155d3c39 
								
							 
						 
						
							
							
								
								Backwards compatibility for MultiJson.  
							
							
							
						 
						
							2012-08-30 12:15:59 +03:00  
				
					
						
							
							
								 
						
							
								0e5070c356 
								
							 
						 
						
							
							
								
								Syntax change to satisfy pull request  
							
							
							
						 
						
							2012-08-18 21:12:54 -07:00  
				
					
						
							
							
								 
						
							
								6795eeece9 
								
							 
						 
						
							
							
								
								Fixed an issue where the code was expecting parameters as a hash when in fact they are previously converted to an array  
							
							
							
						 
						
							2012-08-18 16:43:57 -07:00  
				
					
						
							
							
								 
						
							
								1ff1a8e355 
								
							 
						 
						
							
							
								
								Issue 47 - Improve error handling on result  
							
							
							
						 
						
							2012-08-01 00:28:39 +03:00  
				
					
						
							
							
								 
						
							
								9e55284329 
								
							 
						 
						
							
							
								
								Some debug statements snuck into the commit.  
							
							
							
						 
						
							2012-08-01 00:20:29 +03:00  
				
					
						
							
							
								 
						
							
								992a698b0a 
								
							 
						 
						
							
							
								
								Two failing tests, neither of which I can do much about.  
							
							
							
						 
						
							2012-08-01 00:16:26 +03:00  
				
					
						
							
							
								 
						
							
								45bc8f4898 
								
							 
						 
						
							
							
								
								Removed trailing whitespace.  
							
							
							
						 
						
							2012-07-31 23:57:45 +03:00  
				
					
						
							
							
								 
						
							
								10856af027 
								
							 
						 
						
							
							
								
								Updating version.  
							
							
							
						 
						
							2012-07-31 16:56:54 +03:00  
				
					
						
							
							
								 
						
							
								3bc7d52764 
								
							 
						 
						
							
							
								
								Resolving issues introduced by Faraday dependency upgrade.  
							
							
							
						 
						
							2012-07-21 13:51:23 +03:00  
				
					
						
							
							
								 
						
							
								5e751681dd 
								
							 
						 
						
							
							
								
								Updating dependencies.  
							
							
							
						 
						
							2012-07-21 13:51:23 +03:00  
				
					
						
							
							
								 
						
							
								47ed766eea 
								
							 
						 
						
							
							
								
								New version of client lib  
							
							
							
						 
						
							2012-06-11 15:59:29 -07:00  
				
					
						
							
							
								 
						
							
								a9d46c0359 
								
							 
						 
						
							
							
								
								Resolve merge conflict  
							
							
							
						 
						
							2012-06-06 17:32:29 -07:00  
				
					
						
							
							
								 
						
							
								a7b40becc6 
								
							 
						 
						
							
							
								
								Allow credentials on per-request basis  
							
							
							
						 
						
							2012-06-06 17:27:20 -07:00  
				
					
						
							
							
								 
						
							
								f7a4db959d 
								
							 
						 
						
							
							
								
								Initial support for service accounts  
							
							
							
						 
						
							2012-06-06 17:25:44 -07:00  
				
					
						
							
							
								 
						
							
								2666acc24a 
								
							 
						 
						
							
							
								
								Moving BatchError to errors.rb  
							
							
							
						 
						
							2012-05-18 10:45:54 +01:00  
				
					
						
							
							
								 
						
							
								a666d52770 
								
							 
						 
						
							
							
								
								Adding batch support  
							
							
							
						 
						
							2012-05-16 20:05:24 +01:00  
				
					
						
							
							
								 
						
							
								44d113131b 
								
							 
						 
						
							
							
								
								Resolves issue of validation failing for repeated parameters.  
							
							
							
						 
						
							2012-05-11 12:50:18 +03:00  
				
					
						
							
							
								 
						
							
								c651d69674 
								
							 
						 
						
							
							
								
								Updated to avoid deprecation of encode and decode methods in multi_json gem.  
							
							
							
						 
						
							2012-04-24 14:39:25 +03:00  
				
					
						
							
							
								 
						
							
								9dfd8a132d 
								
							 
						 
						
							
							
								
								Update changelog & API version  
							
							
							
						 
						
							2012-03-27 11:10:56 -07:00  
				
					
						
							
							
								 
						
							
								33ea36ca46 
								
							 
						 
						
							
							
								
								Fixed formatting issue with OS version number in Java.  
							
							
							
						 
						
							2012-03-14 17:11:19 +01:00  
				
					
						
							
							
								 
						
							
								11bae1fde0 
								
							 
						 
						
							
							
								
								Multipart upload compatibility with 1.8.7  
							
							
							
						 
						
							2012-03-14 17:10:36 +01:00  
				
					
						
							
							
								 
						
							
								eec8c167cb 
								
							 
						 
						
							
							
								
								When running in a jvm, get the OK name and version from java's system properties, to avoid exec'ing uname.  
							
							
							
						 
						
							2012-03-13 14:41:58 -04:00  
				
					
						
							
							
								 
						
							
								2599184e88 
								
							 
						 
						
							
							
								
								Merge branch 'master' of  https://code.google.com/p/google-api-ruby-client  
							
							
							
						 
						
							2012-03-02 17:07:02 +01:00  
				
					
						
							
							
								 
						
							
								8eea813905 
								
							 
						 
						
							
							
								
								Initial pass at parsing and handling client_secrets.json.  
							
							
							
						 
						
							2012-03-02 17:06:08 +01:00  
				
					
						
							
							
								 
						
							
								1121bb7fe6 
								
							 
						 
						
							
							
								
								Merge branch 'master' of  https://code.google.com/p/google-api-ruby-client  
							
							
							
						 
						
							2012-03-01 17:24:14 -08:00  
				
					
						
							
							
								 
						
							
								b8301b0dd5 
								
							 
						 
						
							
							
								
								Media upload support  
							
							
							
						 
						
							2012-03-01 17:23:36 -08:00  
				
					
						
							
							
								 
						
							
								2b9ac92b7e 
								
							 
						 
						
							
							
								
								More carefully resolving the discovery-of-discovery issue.  
							
							
							
						 
						
							2012-02-27 12:23:33 +01:00  
				
					
						
							
							
								 
						
							
								1e5f09a594 
								
							 
						 
						
							
							
								
								Cleaning up the changes made by @vapir.  
							
							
							
						 
						
							2012-02-27 12:14:11 +01:00  
				
					
						
							
							
								 
						
							
								af61568cbe 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:sporkmonger/google-api-ruby-client  
							
							
							
						 
						
							2012-02-27 11:29:16 +01:00  
				
					
						
							
							
								 
						
							
								0f25fbe793 
								
							 
						 
						
							
							
								
								Updated version and CHANGELOG.  
							
							
							
						 
						
							2012-02-22 15:40:33 +03:00  
				
					
						
							
							
								 
						
							
								1632e98a05 
								
							 
						 
						
							
							
								
								Patch to solve Ruby 1.8.7 incompatibility.  
							
							
							
						 
						
							2012-02-22 15:09:35 +03:00  
				
					
						
							
							
								 
						
							
								b866e07d70 
								
							 
						 
						
							
							
								
								rescue any error invoking external commands attempting to determine OS_VERSION; just return RUBY_PLATFORM on failure.  
							
							
							
						 
						
							2012-02-22 03:31:17 -05:00  
				
					
						
							
							
								 
						
							
								80c41c99fc 
								
							 
						 
						
							
							
								
								minor whitespace touchup  
							
							... 
							
							
							
							gedit's syntax highlighting breaks on the previous 
							
						 
						
							2012-02-22 03:31:17 -05:00  
				
					
						
							
							
								 
						
							
								b6ef9b00ad 
								
							 
						 
						
							
							
								
								fix schema to not choke when '$ref' is specifying what the '$ref' property actually is, rather than invoking it, and is therefore not a string.  
							
							... 
							
							
							
							this applies to the schema JsonSchema, specified in the document for the discovery service itself 
							
						 
						
							2012-02-22 03:30:59 -05:00  
				
					
						
							
							
								 
						
							
								2eb6da99d3 
								
							 
						 
						
							
							
								
								Fixed parameters encoding (should be urlencoded)  
							
							
							
						 
						
							2012-02-15 16:25:48 +03:00  
				
					
						
							
							
								 
						
							
								17e540d0de 
								
							 
						 
						
							
							
								
								Added ID token verification against server certificate.  
							
							
							
						 
						
							2012-02-15 15:23:54 +03:00  
				
					
						
							
							
								 
						
							
								f1c5b65baf 
								
							 
						 
						
							
							
								
								Updated version and CHANGELOG with recent fixes.  
							
							
							
						 
						
							2012-02-10 17:32:58 +03:00  
				
					
						
							
							
								 
						
							
								1a381ab963 
								
							 
						 
						
							
							
								
								Method renames to be consistent with change to resources.  
							
							
							
						 
						
							2012-02-10 17:26:44 +03:00  
				
					
						
							
							
								 
						
							
								c02f2ce6a4 
								
							 
						 
						
							
							
								
								Don't traverse ancestors when checking if schema is defined  
							
							
							
						 
						
							2012-02-08 11:35:39 -08:00  
				
					
						
							
							
								 
						
							
								5b45f8f351 
								
							 
						 
						
							
							
								
								Rename 'resources' method due to conflict with one of the APIs.  
							
							
							
						 
						
							2012-01-30 23:28:55 -08:00  
				
					
						
							
							
								 
						
							
								06cdb76670 
								
							 
						 
						
							
							
								
								Updated to replace httpadapter with faraday.  
							
							
							
						 
						
							2012-01-27 17:57:57 +03:00  
				
					
						
							
							
								 
						
							
								0bc3d4936b 
								
							 
						 
						
							
							
								
								Migrated to MultiJson from JSON gem.  
							
							
							
						 
						
							2012-01-05 13:05:56 +03:00  
				
					
						
							
							
								 
						
							
								04ec835ca1 
								
							 
						 
						
							
							
								
								Merge branch 'master' of ../martinsarsale-support-for-repeats  
							
							
							
						 
						
							2011-12-02 17:27:13 +03:00  
				
					
						
							
							
								 
						
							
								321533455c 
								
							 
						 
						
							
							
								
								Fixed some YARD documentation issues and changed how the user-agent is built.  
							
							
							
						 
						
							2011-12-02 16:43:55 +03:00  
				
					
						
							
							
								 
						
							
								f736ac4d97 
								
							 
						 
						
							
							
								
								Merge remote branch 'remotes/upstream/master'  
							
							
							
						 
						
							2011-11-30 11:39:28 -03:00  
				
					
						
							
							
								 
						
							
								e0afbdaf05 
								
							 
						 
						
							
							
								
								Attempting to fix some Windows issues and update deprecated library calls.  
							
							
							
						 
						
							2011-11-16 11:44:55 +03:00  
				
					
						
							
							
								 
						
							
								01229ff710 
								
							 
						 
						
							
							
								
								Accept repeated parameters  
							
							
							
						 
						
							2011-11-02 15:18:03 -03:00  
				
					
						
							
							
								 
						
							
								ba38697528 
								
							 
						 
						
							
							
								
								Fixed environment check for Windows.  
							
							
							
						 
						
							2011-10-31 13:33:22 +03:00  
				
					
						
							
							
								 
						
							
								4b6e032e1b 
								
							 
						 
						
							
							
								
								Updated to match change to AutoParse.  
							
							
							
						 
						
							2011-10-20 17:58:00 +03:00  
				
					
						
							
							
								 
						
							
								abf64d5314 
								
							 
						 
						
							
							
								
								Added task for wiki autogeneration.  
							
							
							
						 
						
							2011-10-15 11:22:59 +03:00  
				
					
						
							
							
								 
						
							
								92ad3a293a 
								
							 
						 
						
							
							
								
								Fixed issue with version and moved version back to 0.3.0.  
							
							
							
						 
						
							2011-10-15 11:22:50 +03:00  
				
					
						
							
							
								 
						
							
								4db326a3ed 
								
							 
						 
						
							
							
								
								Added task for wiki autogeneration.  
							
							
							
						 
						
							2011-10-15 11:22:36 +03:00  
				
					
						
							
							
								 
						
							
								2dcdec1191 
								
							 
						 
						
							
							
								
								Fixed issue with version and moved version back to 0.3.0.  
							
							
							
						 
						
							2011-10-15 11:21:21 +03:00  
				
					
						
							
							
								 
						
							
								bb4e15b9f4 
								
							 
						 
						
							
							
								
								Fixed issues with recursive structures and external references.  
							
							
							
						 
						
							2011-10-05 14:13:39 +03:00  
				
					
						
							
							
								 
						
							
								06af19a112 
								
							 
						 
						
							
							
								
								Switched to using AutoParse for schemas.  
							
							
							
						 
						
							2011-09-22 16:27:24 +03:00  
				
					
						
							
							
								 
						
							
								af104f8c5f 
								
							 
						 
						
							
							
								
								Fixed issue with ambiguous reference.  
							
							
							
						 
						
							2011-09-22 16:26:33 +03:00  
				
					
						
							
							
								 
						
							
								15a372cedb 
								
							 
						 
						
							
							
								
								Added code to include userIp and key parameters.  
							
							
							
						 
						
							2011-09-22 13:49:58 +03:00  
				
					
						
							
							
								 
						
							
								ef065ce8d6 
								
							 
						 
						
							
							
								
								Added code to include userIp and key parameters.  
							
							
							
						 
						
							2011-09-22 13:49:46 +03:00  
				
					
						
							
							
								 
						
							
								d2907c9d79 
								
							 
						 
						
							
							
								
								Added better support for user IP and developer key across all APIs.  
							
							
							
						 
						
							2011-09-21 10:52:15 +03:00  
				
					
						
							
							
								 
						
							
								e399dd76b0 
								
							 
						 
						
							
							
								
								Added better support for user IP and developer key across all APIs.  
							
							
							
						 
						
							2011-09-21 10:51:51 +03:00  
				
					
						
							
							
								 
						
							
								6fc526bd21 
								
							 
						 
						
							
							
								
								Partial solution to the issue of generating JSON.  
							
							
							
						 
						
							2011-08-19 11:59:53 +03:00  
				
					
						
							
							
								 
						
							
								5c4323b11c 
								
							 
						 
						
							
							
								
								Introduced the ability to pass in an API object instead of a raw body when making requests.  
							
							
							
						 
						
							2011-08-17 21:42:24 -04:00  
				
					
						
							
							
								 
						
							
								f159ab7285 
								
							 
						 
						
							
							
								
								Introduced the ability to pass in an API object instead of a raw body when making requests.  
							
							
							
						 
						
							2011-08-17 21:42:03 -04:00  
				
					
						
							
							
								 
						
							
								105dbd64f2 
								
							 
						 
						
							
							
								
								Fixed a bug in the method definition closures.  
							
							
							
						 
						
							2011-08-10 16:59:55 -04:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								d9a108415b 
								
							 
						 
						
							
							
								
								Added method to expose API property descriptions.  
							
							
							
						 
						
							2011-08-08 18:04:48 -04:00  
				
					
						
							
							
								 
						
							
								9a2217a6bb 
								
							 
						 
						
							
							
								
								Added support for API feature lists.  
							
							
							
						 
						
							2011-08-08 17:28:21 -04:00  
				
					
						
							
							
								 
						
							
								b8bd8e3964 
								
							 
						 
						
							
							
								
								Added support for API feature lists.  
							
							
							
						 
						
							2011-08-08 17:23:59 -04:00  
				
					
						
							
							
								 
						
							
								547034d1e3 
								
							 
						 
						
							
							
								
								Adding missing require.  
							
							
							
						 
						
							2011-08-05 17:00:36 -04:00  
				
					
						
							
							
								 
						
							
								75ee556a99 
								
							 
						 
						
							
							
								
								Moved dynamic method definitions into the APIObject class.  
							
							
							
						 
						
							2011-08-05 16:55:40 -04:00  
				
					
						
							
							
								 
						
							
								960796d23d 
								
							 
						 
						
							
							
								
								Added default values.  
							
							
							
						 
						
							2011-08-05 14:44:29 -04:00  
				
					
						
							
							
								 
						
							
								13d590631b 
								
							 
						 
						
							
							
								
								Added API#schema_for_kind method to allow schema lookups by kind.  
							
							
							
						 
						
							2011-08-05 14:43:56 -04:00  
				
					
						
							
							
								 
						
							
								1fa3fb25d9 
								
							 
						 
						
							
							
								
								Better way to handle automatic parsing using the schemas in the discovery document.  
							
							
							
						 
						
							2011-08-04 23:36:36 -04:00  
				
					
						
							
							
								 
						
							
								b4745890f5 
								
							 
						 
						
							
							
								
								Separated out the discovery classes into individual files.  
							
							
							
						 
						
							2011-08-04 18:32:00 -04:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								3fe9fec711 
								
							 
						 
						
							
							
								
								Added example to Service#to_h method.  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@48  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-10-07 22:37:57 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								61c4c034b4 
								
							 
						 
						
							
							
								
								Removed :nodoc: directives, as they are not understood by YARD.  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@41  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-10-05 23:49:00 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								3a9d58108a 
								
							 
						 
						
							
							
								
								Signed requests can now be generated and transmitted by the client.  
							
							... 
							
							
							
							Example code:
    require 'google/api_client'
    client = Google::APIClient.new(:service => 'buzz')
    client.authorization.fetch_temporary_credential!(
      :additional_parameters => {
        'scope' => 'https://www.googleapis.com/auth/buzz '
      }
    )
    client.authorization.authorization_uri
    # Redirect user here
    client.authorization.fetch_token_credential!(:verifier => '12345')
    response = client.execute(
      'buzz.activities.list',
      'scope' => '@self', 'userId' => '@me', 'alt' => 'json'
    )
    status, headers, body = response
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@34  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-09-16 23:40:08 +00:00  
				
					
						
							
							
								 
						
							
								f462322be5 
								
							 
						 
						
							
							
								
								URI template expansion works.  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@33  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-09-16 19:12:52 +00:00  
				
					
						
							
							
								 
						
							
								bbe6cec303 
								
							 
						 
						
							
							
								
								skeleton for api request/respone abstraction  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@32  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-09-14 03:39:23 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								541054e88d 
								
							 
						 
						
							
							
								
								Made the builder more flexible by adding a callback parameter.  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@27  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-08-24 21:59:53 +00:00  
				
					
						
							
							
								 
						
							
								d61916b110 
								
							 
						 
						
							
							
								
								Added a rudimentary implementation of a MethodBuilder.  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@25  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-08-24 21:26:12 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								e88fdbfef6 
								
							 
						 
						
							
							
								
								add parser configuration to http transport, will add tests next commit  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@18  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-08-18 21:39:44 +00:00  
				
					
						
							
							
								 
						
							
								89b0e1c31a 
								
							 
						 
						
							
							
								
								added json parsing skeleton  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@17  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-08-18 20:29:18 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								31132ffbb9 
								
							 
						 
						
							
							
								
								Added some tests for determining the discovery document URI.  
							
							... 
							
							
							
							git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@13  c1d61fac-ed7f-fcc1-18f7-ff78120a04ef 
							
						 
						
							2010-08-14 01:35:06 +00:00