Commit Graph

1201 Commits

Author SHA1 Message Date
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
Abdelkader Boudih 3bbb377043 Update .travis.yml 2014-12-15 22:28:06 +00:00
Abdelkader Boudih 814030babe Update google-api-client.gemspec 2014-12-15 22:22:52 +00:00
Steven Bazyl 91ae01aa83 Merge prioridata-master 2014-12-15 13:42:17 -08:00
Steven Bazyl 74134bf873 Resolve merge conflict, update rspec syntax and docs 2014-12-15 13:41:10 -08:00
Steven Bazyl 9b0e8d3f85 Merge branch 'p7s1digital-master' 2014-12-15 13:33:28 -08:00
Steven Bazyl 8510735db8 Resolve merge conflict, update rspec syntax 2014-12-15 13:32:54 -08:00
Steven Bazyl 262ebe3d52 Fix typo in sample 2014-12-15 13:02:51 -08:00
Steven Bazyl d6d8ec7884 Merge branch 'seuros-more' 2014-12-15 11:54:03 -08:00
Steven Bazyl f8ca44f9ca Restore active support dependency 2014-12-15 11:53:00 -08:00
Steven Bazyl ec670e9fa0 Resolve merge conflict 2014-12-15 11:50:16 -08:00
Steven Bazyl 7ac37a54f0 Move tasks -> rakelib 2014-12-15 11:46:24 -08:00
Steven Bazyl 0244bf13b3 Update depdencies, simplify gem management 2014-12-15 11:44:51 -08:00
Steve Bazyl 95823b0e19 Merge pull request #178 from simplysoft/master
only upload media if there is one
2014-12-08 15:35:21 -08:00