Commit Graph

1044 Commits

Author SHA1 Message Date
Steven Bazyl 297db0eb66 Fix date formatting to include milliseconds, drop virtus 2015-07-24 22:36:01 -07:00
Jason Barnett 69c1eabb01 updated example so that it works and is more relevant to the new api 2015-07-20 16:53:06 -07:00
Steven Bazyl 64852feb47 Regen APIs 2015-07-20 14:49:34 -07:00
Steven Bazyl fe1e841ade Fix broken contributing.md link 2015-07-20 12:39:49 -07:00
Steven Bazyl f4e5fd9606 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-07-20 12:38:01 -07:00
Steven Bazyl a3bec66216 Allow signet options to be passed through when authorizing 2015-07-20 12:37:03 -07:00
Steven Bazyl 2a9fd28176 Expose HTTP status code & body in errors 2015-07-20 12:36:13 -07:00
Steve Bazyl 2710bcd8fe Merge pull request #248 from professor/professor-readme-gem-version
Clearly specifying 0.9 as the current version
2015-06-29 10:24:59 -07:00
Todd Sedano e2492ce314 Clearly specifying 0.9 as the current version
A gem 'google-api-client' will give the developer version 0.8.6, not 0.9. The smallest solution is to update the readme. This better communicates that the gem is going through some large changes.
2015-06-28 15:45:41 -07:00
Steven Bazyl 810cfa4b5d Release 0.9.pre1 2015-06-26 09:51:30 -07:00
Steven Bazyl 86cf4435d9 Update version # for 0.9 preview 2015-06-26 09:49:50 -07:00
Steve Bazyl 73e78c692d Merge pull request #247 from sqrrrl/master
Fixes for doc generation - correct misplaced @private tag, other misnamed tags
2015-06-25 16:14:25 -07:00
Steven Bazyl c29cadf242 Regenerate APIs to fix misplaced @private tag for yard docs 2015-06-25 16:12:26 -07:00
Steven Bazyl d04c8fa4c5 Update a few broken doc tags 2015-06-25 16:10:51 -07:00
Steven Bazyl a1722c00e7 Move scope @private tag to Representation so data classes are documented 2015-06-25 16:10:21 -07:00
Steve Bazyl dd7bcbb395 Merge pull request #245 from sqrrrl/master
Initial set of integration tests against live APIs
2015-06-24 17:17:28 -07:00
Steven Bazyl babea07ef9 Initial set of integration tests against live APIs 2015-06-24 13:48:14 -07:00
Steve Bazyl caae51f406 Merge pull request #244 from sqrrrl/master
0.9 - Add generated APIs (Pull request 2 of 2)
2015-06-23 16:18:03 -07:00
Steve Bazyl 986a47c30b Merge pull request #243 from sqrrrl/master
0.9 - core library rewrite (pull request 1 of 2)
2015-06-23 16:13:02 -07:00
Steven Bazyl 41d9d66e81 Add generated APIs 2015-06-23 16:05:46 -07:00
Steven Bazyl 2f0a77c111 Merge remote-tracking branch 'upstream/master'
Conflicts:
	lib/google/api_client.rb
	lib/google/api_client/service.rb
2015-06-23 15:29:26 -07:00
Steven Bazyl 567f8bef68 Temporarily remove generated code, submitting as separete pull request 2015-06-23 15:25:01 -07:00
Steven Bazyl f584a2cec8 Import refactored library. See MIGRATING.MD for details 2015-06-23 15:15:14 -07:00
Steve Bazyl da25513e06 Merge pull request #229 from nel/master
Fix discrepency around faraday_option and add it to APIClient::Service
2015-05-26 13:35:38 -07:00
Renaud (Nel) Morvan d0fe3e8bf5 Fix discrepency around faraday_option and add it to APIClient::Service 2015-05-21 23:31:05 +02:00
Steven Bazyl 9b7809174d Nuke it from orbit, it's the only way to be sure 2015-04-16 17:21:38 -07:00
Steve Bazyl 82f69445ad Merge pull request #217 from sudiptachatterjee/master
Updating success logic
2015-04-16 16:38:26 -07:00
Steve Bazyl 8a9ed4736a Merge pull request #221 from dsisnero/patch-1
Update result.rb
2015-04-16 16:37:40 -07:00
dsisnero c24c1432cb Update result.rb
guard next_page and prev_page for when no page_tokens are available
2015-04-15 16:25:00 -06:00
Tim Emiola 15853007bf Bump version to 0.8.6 2015-04-14 17:19:56 -07:00
Tim Emiola 20d73cf87f Update with changes for the 0.8.6 release 2015-04-14 17:19:48 -07:00
Tim Emiola 3836b558f8 Merge pull request #219 from remi/respect-discovery-paths-with-colons
Respect discovered methods with colons in path
2015-04-14 08:45:19 -07:00
remi Taylor 94a979b512 Respect discovered methods with colons in path 2015-04-13 21:38:47 -07:00
Sudipta Chatterjee 1cea86609b Updating success logic
Updating the definition of SUCCESS response code to be 200 OK or 201
Continue. Error is anything that isn't success. This helps flag
conditions like an unsuccessful update (return code 304) which the
library would have flagged as success earlier
2015-04-10 16:12:37 -07:00
Tim Emiola 0003e564b1 Merge pull request #213 from remi/respect-discovered-rootUrl
Use discovered 'rootUrl' as base URI for services
2015-04-07 18:55:56 -07:00
Tim Emiola 066ca68f5d Merge pull request #214 from remi/remove-trace-statements
Remove trace statements
2015-04-07 18:52:19 -07:00
remi Taylor 6aa156daa7 Remove trace statements 2015-04-06 22:47:31 -07:00
remi Taylor 1ed677b796 Use discovered 'rootUrl' as base URI for services 2015-04-06 21:38:42 -07:00
Tim Emiola ae8a15ce76 Release 0.8.5 2015-03-31 17:01:35 -07:00
Tim Emiola 2a7873aae5 Merge pull request #211 from cbeer/support-rails-versions
Support and test under Rails 3.2, 4.0, 4.1, and 4.2
2015-03-31 16:57:20 -07:00
Chris Beer 855c976976 Support and test under Rails 3.2, 4.0, 4.1, and 4.2 2015-03-30 14:49:32 -07:00
Tim Emiola f008d518f0 Release 0.8.4
- minor updates from the 0.8.3 release to fix file permissions in the released gem.
- fixes a warning when using the gem
2015-03-25 18:31:54 -07:00
Tim Emiola 0b1dbb67fe Merge pull request #208 from blowmage/fix-warnings
Fix warnings
2015-03-25 17:16:41 -07:00
Mike Moore 3eb18d6011 Fix warning: shadowing outer local variable
Versions of ruby deal with shadowing in different ways. Best to avoid it when possible.

Addresses the following warnings:

lib/google/api_client/auth/key_utils.rb:34: warning: shadowing outer local variable - passphrase
lib/google/api_client/auth/key_utils.rb:52: warning: shadowing outer local variable - passphrase
2015-03-25 17:14:45 -06:00
Mike Moore 4d81ad116a Fix warning: instance variable not initialized
Initialize the variables to avoid the warning.

Addresses the following warnings:

lib/google/api_client/auth/storage.rb:51: warning: instance variable @authorization not initialized
lib/google/api_client/batch.rb:128: warning: instance variable @global_callback not initialized
2015-03-25 17:10:00 -06:00
Mike Moore 1dd5c2820a Fix warning: File.exists? is deprecated
File.exist? should be used instead.
Might consider using File.file? instead of File.exist? since File.exist? will
return true when given the path of a file or a directory.

Addresses the following warning:

lib/google/api_client/service/simple_file_store.rb:127: warning: File.exists? is a deprecated name, use File.exist? instead
2015-03-25 17:06:20 -06:00
Mike Moore 349c26fa8b Fix warning: assigned but unused variable
There are several places where varaibles are assigned but not used.
The variables can be replaced with _, or prepended with _ to avoid a warning.
In one case the variable was removed because it was at the end of the method.

Addresses the following warnings:

lib/google/api_client.rb:493: warning: assigned but unused variable - key
lib/google/api_client/batch.rb:168: warning: assigned but unused variable - callback
lib/google/api_client/batch.rb:227: warning: assigned but unused variable - base
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - protocol
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - reason
lib/google/api_client/request.rb:247: warning: assigned but unused variable - request_env
2015-03-25 17:03:20 -06:00
Tim Emiola fb3fc4623f Merge pull request #201 from tbetbetbe/ruby-auth-version-bump-and-use-latest-googleauth
Version bump, and updates the googleauth dependency
2015-03-23 19:43:05 -07:00
Tim Emiola d21e28a3bf Adds Bundler's gem tasks 2015-03-23 19:08:22 -07:00
Tim Emiola 697d7287fe Adds support for tracking coverage on coveralls.io 2015-03-23 18:51:32 -07:00