Steve Bazyl
c6cff40982
Merge pull request #338 from Nakilon/patch-1
...
required 'tempfile'
2016-01-20 12:32:33 -08:00
Victor
0948acd8bf
required 'tempfile'
...
Otherwise I get:
```
gems/google-api-client-0.9/lib/google/apis/core/upload.rb:104:in `streamable?': uninitialized constant Google::Apis::Core::BaseUploadCommand::Tempfile (NameError)
```
when do
```
service.insert_file(metadata, upload_source: "temp.pdf")
```
2016-01-19 13:49:51 +03:00
Steve Bazyl
1864ea712f
Bump version
2016-01-14 17:42:44 -08:00
Steve Bazyl
2533098484
Add option to force passing alt=json for some APIs that return xml by default
2016-01-14 10:48:40 -08:00
Steve Bazyl
8dcab2ace0
Bump version
2016-01-07 16:15:43 -08:00
Steve Bazyl
451a0b6617
Include reason & message in API error when available
2016-01-07 14:28:34 -08:00
joker1007
4b78f99f7a
Extract long condition statement to its own method
2016-01-06 14:35:23 +09:00
joker1007
df07478009
Add Tempfile to if statement of BaseUploadCommand#prepare!
2016-01-05 20:19:11 +09:00
Steve Bazyl
1715fc9945
Fix #326 - Normalize query parameters to allow falsey values
2015-12-20 15:22:13 -08:00
Steve Bazyl
4173efe67b
Fix #327 - Don't break Module.hash
2015-12-20 14:39:54 -08:00
Steve Bazyl
e8481dd14d
Use HTTPClient instead of Net::HTTP
2015-12-18 14:37:21 -08:00
Steve Bazyl
c102c571e0
Release 0.9.pre4
2015-12-17 13:34:38 -08:00
Steve Bazyl
d47e96c572
Merge branch 'master' of https://github.com/google/google-api-ruby-client
2015-12-16 11:34:10 -08:00
Steve Bazyl
ccd8a40eb9
Update version, changelog
2015-12-16 11:34:05 -08:00
Steve Bazyl
9e738cc82a
Mark auth classes as deprecated
2015-12-14 17:42:17 -08:00
railscard
f51a4f25a9
Allow http command to keep initial query parameters
2015-12-14 06:16:31 +04:00
Steve Bazyl
0d07ea17f1
Merge branch 'master' of https://github.com/google/google-api-ruby-client
2015-12-02 17:12:21 -08:00
Steve Bazyl
e399d04d33
Tweak method name generation
2015-12-02 17:09:44 -08:00
Steve Bazyl
6c75e89cfe
Merge pull request #310 from amitree/master
...
No longer swallowing errors from block passed to execute
2015-12-02 17:09:01 -08:00
Steve Bazyl
a1b5f6c2d2
Issue #290 - Fix redirects during downloads, only stream body content on 20x response. Includes temporary patch to Hurley until 0.3 released
2015-12-02 15:52:30 -08:00
Steve Bazyl
5822e75f34
Fix #313 - Don't retry uploads marked as final/cancelled and return original error
2015-11-30 15:35:18 -08:00
Tony Novak
9535ffa44c
No longer swallowing errors from block passed to execute
...
Fixes #309
2015-11-20 09:32:43 -05:00
Steve Bazyl
8b296b148e
#286 - Send content-id in batch requests
2015-10-19 15:36:24 -07:00
Steve Bazyl
ed40d7b750
#278 - Add option for connection timeouts
2015-10-02 13:42:47 -07:00
Steve Bazyl
859fd8503f
#287 - set default options if not passed in
2015-10-02 13:41:59 -07:00
Steve Bazyl
81a061cb80
Fix #292 - ensure multivalued parameters are encoded correctly
2015-10-02 13:31:19 -07:00
Steve Bazyl
669aaf01a4
Merge pull request #273 from rusikf/patch-5
...
add more detail specs for client_secrets.rb + fix docs
2015-08-19 12:20:56 -07:00
Steve Bazyl
b5d62db691
Merge pull request #272 from rusikf/patch-4
...
fix RequestOptions#merge + test for default options
2015-08-19 12:20:29 -07:00
Ruslan Korolev
19ead52094
add more detail specs for client_secrets.rb + fix docs
2015-08-19 21:03:53 +03:00
Ruslan Korolev
f4f8b41017
fix RequestOptions#merge + test for default options
2015-08-18 14:13:21 +03:00
Steven Bazyl
9c40b96d85
Avoid overwritting parameters with local vars in method template
2015-08-13 12:08:28 -07:00
Steven Bazyl
4da6f47ff0
Bump version
2015-07-30 17:07:49 -07:00
Steven Bazyl
c9da9f38d1
Make required query parameters required.
2015-07-30 17:05:05 -07:00
Steven Bazyl
6c3089bdf5
Bump version
2015-07-24 22:48:01 -07:00
Steve Bazyl
3a55309671
Merge pull request #258 from jasonwbarnett/fix-installed-app-example
...
updated example so that it works and is more relevant to the new api
2015-07-24 22:38:12 -07:00
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
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
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
Steven Bazyl
f584a2cec8
Import refactored library. See MIGRATING.MD for details
2015-06-23 15:15:14 -07: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
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
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
remi Taylor
6aa156daa7
Remove trace statements
2015-04-06 22:47:31 -07:00