Commit Graph

2814 Commits

Author SHA1 Message Date
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
Tim Emiola aa8fc7c76b Update the docs and CHANGELOG to show that application default creds are available. 2015-03-23 18:51:31 -07:00
Tim Emiola da6977f8ad Version bump, and updates the googleauth dependency 2015-03-23 18:51:22 -07:00
Steve Bazyl 847b48357c Merge pull request #200 from tbetbetbe/google-api-enable-google-auth
Adds simple integration with googleauth
2015-03-10 10:50:11 -07:00
Tim Emiola da7616d99d Adds simple integration with googleauth 2015-03-09 17:52:43 -07:00
Steven Bazyl db23424881 Release 0.8.2 2015-01-09 16:05:49 -08:00
Steven Bazyl 944167de1b Minor release 2015-01-09 16:05:40 -08:00
Steven Bazyl 8f2000d51c Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-01-09 16:02:58 -08:00
Steven Bazyl 28adb02b60 #189 - Fix legacy file storage 2015-01-09 16:02:40 -08:00
Steven Bazyl 21cd5b27b1 #190 - Restore cacerts.pem in gem 2015-01-09 15:49:47 -08:00
Steve Bazyl 02df52f57d Merge pull request #188 from joekr/master
Fixing README.md spelling mistake
2015-01-09 14:47:01 -08:00
Joe Kratzat 6757ee08c6 Fixing README.md spelling mistake
The batching example had 'urlshortener' misspelled. If someone was to copy and paste the example to test it wouldn't work.
2014-12-29 11:58:53 -05:00
Steven Bazyl fe1e13def7 Release 0.8.1.1 2014-12-19 15:45:55 -08:00
Steven Bazyl 10cb874c56 Release 0.8.1.1 2014-12-19 15:45:29 -08:00
Steven Bazyl dcd1eb916a Fix logger, take #2 2014-12-19 15:45:20 -08:00
Steven Bazyl 3eac086797 Release 0.8.1 2014-12-18 09:24:03 -08:00
Steven Bazyl 0d0bba2458 Bump version 2014-12-18 09:23:54 -08:00
Steven Bazyl 6a6f1fb165 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2014-12-18 09:21:33 -08:00
Steve Bazyl d19314bd27 Merge pull request #184 from Shelvak/logger_fix
[Issue#183] Set app logger
2014-12-18 09:21:12 -08:00
Néstor Coppi 415dc31c97 Set app logger
For issue #183 I have the same problem with Rails 4.1.6 and Ruby 2.1 with that, we have covered some cases ^^
2014-12-18 11:07:17 -03:00
Steven Bazyl f368e1d521 Release 0.8.0 2014-12-17 13:02:00 -08:00
Steven Bazyl 63ccd91836 Update changelog & bump version 2014-12-17 12:59:54 -08:00
Steven Bazyl 7ed22caf82 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2014-12-17 12:40:45 -08:00
Steven Bazyl 0b4b24d06d Merge branch 'dougforpres-auth-retry' 2014-12-17 12:40:15 -08:00
Steven Bazyl 8e49ee764b Resolve merge conflict 2014-12-17 12:39:57 -08:00
Steve Bazyl 9df4e63d32 Merge pull request #181 from seuros/patch-1
Update google-api-client.gemspec
2014-12-17 12:25:46 -08:00
Steve Bazyl a46b2b1b30 Merge pull request #182 from seuros/patch-2
Update .travis.yml
2014-12-17 12:20:43 -08:00
Steven Bazyl b9639ee11c #158 - guard against missing page tokens when building next/prev page requests 2014-12-16 20:57:12 -08:00
Steven Bazyl d999033fd6 #159 - Excute batch requests using the service's connection 2014-12-16 20:52:57 -08:00
Steven Bazyl 2622ebf8dc Add minimal tests for ClientSecrets 2014-12-16 13:47:26 -08:00
Steven Bazyl fda7288859 #160 - Add option to set encoding of response body 2014-12-16 12:29:11 -08:00