Commit Graph

824 Commits

Author SHA1 Message Date
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
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