Steve Bazyl
47a02e897e
#363 - Add convenience methods for json parsing/formatting to generated objects
2016-02-25 14:37:00 -08:00
Steve Bazyl
07ca6e8ca0
Handle SocketError. #359
2016-02-25 13:30:27 -08:00
Steve Bazyl
e67964189e
Drop active support as a hard runtime depdendency. Still required for code generation however. #364
2016-02-25 13:06:16 -08:00
Steve Bazyl
acf2b0ec61
Merge branch 'master' of https://github.com/google/google-api-ruby-client
2016-02-25 09:39:46 -08:00
Steve Bazyl
2c1fd125e9
#369 - Form encode paramaters when method == post/put and no other body present
2016-02-25 09:35:38 -08:00
Steve Bazyl
7d00754d7f
Merge pull request #367 from joker1007/fix-hash-assignment
...
Fix Hash value assignment in JsonSupport#getter_fn
2016-02-25 09:34:39 -08:00
James Healy
4b9a63c086
replace multi_json dependency with regular stdlib JSON
...
JSON has been part of the ruby stdlib since 1.9.0 (see
https://github.com/ruby/ruby/commit/af1c4167 ), and the latest version of
google-api-client requires ruby 2.0 or better so we can assume it's available
2016-02-25 13:27:33 +11:00
joker1007
fe7c377399
Add boolean test case
2016-02-25 05:34:39 +09:00
Yosuke Kabuto
54e974df43
Add specs
2016-01-20 00:42:34 +09:00
Steve Bazyl
451a0b6617
Include reason & message in API error when available
2016-01-07 14:28:34 -08:00
Steve Bazyl
a0d99ba253
Merge pull request #330 from joker1007/enable-upload-to-use-tempfile
...
Add Tempfile to if statement of BaseUploadCommand#prepare!
2016-01-06 12:02:56 -08:00
joker1007
db1ab7d0b2
Add basename arg to Tempfile constructor
2016-01-07 03:39:53 +09:00
joker1007
da53defdc8
Add test case for Tempfile input
2016-01-06 14:29:58 +09:00
Yosuke Kabuto
a382d9be84
Leave $LOAD_PATH.uniq! for jruby
2016-01-05 15:18:56 +09:00
Yosuke Kabuto
59e8342469
Revert "Revert "Make word "path" plural""
...
This reverts commit 3a8bc07686
.
2016-01-02 20:17:40 +09:00
Yosuke Kabuto
3a8bc07686
Revert "Make word "path" plural"
...
This reverts commit 1dbc4c3fee
.
2016-01-02 19:52:36 +09:00
Yosuke Kabuto
1dbc4c3fee
Make word "path" plural
2016-01-02 16:53:25 +09:00
Yosuke Kabuto
8581c72a44
Add space between specs
2016-01-02 16:42:29 +09:00
Yosuke Kabuto
f6dc748cbd
Remove $LOAD_PATH.uniq! because $LOAD_PATH does not contain any duplicate path
2016-01-02 16:41:04 +09:00
Yosuke Kabuto
b02f03a556
Remove lines which add some paths to $LOAD_PATH, because they already exist in $LOAD_PATH
2016-01-02 16:19:08 +09:00
Steve Bazyl
1715fc9945
Fix #326 - Normalize query parameters to allow falsey values
2015-12-20 15:22:13 -08:00
Steve Bazyl
e8481dd14d
Use HTTPClient instead of Net::HTTP
2015-12-18 14:37:21 -08:00
Steve Bazyl
017e2c4c1d
Update load pathf or specs
2015-12-17 10:35:02 -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
808d683d9a
Update samples/integration tests
2015-12-14 17:42:53 -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
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
81a061cb80
Fix #292 - ensure multivalued parameters are encoded correctly
2015-10-02 13:31:19 -07:00
Steven Bazyl
a5a9b49160
Merge pull request #274 + fix to use FakeFS to avoid flakey test
2015-08-19 13:57:14 -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
rusikf
f4b3992f9f
check for nil values on client_secrets specs
2015-08-19 21:55:33 +03: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
Ruslan Korolev
cb4c7cfb8c
add headers + length test for upload io
2015-08-17 16:51:01 +03:00
Ruslan Korolev
0cc3a1f814
add tests for UploadIO#from_io
2015-08-17 15:50:11 +03:00
Steven Bazyl
297db0eb66
Fix date formatting to include milliseconds, drop virtus
2015-07-24 22:36:01 -07:00
Steven Bazyl
2a9fd28176
Expose HTTP status code & body in errors
2015-07-20 12:36:13 -07:00
Steven Bazyl
babea07ef9
Initial set of integration tests against live APIs
2015-06-24 13:48:14 -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
remi Taylor
94a979b512
Respect discovered methods with colons in path
2015-04-13 21:38:47 -07:00
remi Taylor
1ed677b796
Use discovered 'rootUrl' as base URI for services
2015-04-06 21:38:42 -07:00
Tim Emiola
697d7287fe
Adds support for tracking coverage on coveralls.io
2015-03-23 18:51:32 -07:00
Steven Bazyl
8e49ee764b
Resolve merge conflict
2014-12-17 12:39:57 -08:00