Sebastian Thiel
82e90709fc
Finish publishing 1.0.9
...
Unfortunately fixes were applied while other crates were published,
and the only safe thing to do is to republish everything as a new
version number.
2019-07-05 18:45:16 +08:00
Sebastian Thiel
5b370e4190
Align CLI generator with changes in string type handling
...
There was some duplicated logic here.
2019-07-05 18:39:18 +08:00
Sebastian Thiel
aceb717ead
blacklist osconfig
2019-07-05 18:13:41 +08:00
Sebastian Thiel
03bfd3833b
More releases
2019-07-05 18:10:40 +08:00
Sebastian Thiel
94deb7433f
Now cargo-doc can be run on all libraries
2019-07-05 17:40:13 +08:00
Sebastian Thiel
4ceeac6320
And once again, python string handling bit me...
...
...so sick of it. No python, ever again.
Why, but why did I chose Mako back then :D?
2019-07-05 17:26:22 +08:00
Sebastian Thiel
3365d9fba1
Regen all remaining APIs with preproc - more changes than anticipated
2019-07-05 17:05:15 +08:00
Sebastian Thiel
f33fae47e9
Add Rust preprocessor to handle code examples gracefully
...
Fixes #213
2019-07-05 17:00:56 +08:00
Sebastian Thiel
8cb73d66c2
Add simple preprocessor to handle descriptions interpreted by cargo doc
...
This seemed easiest, especially since I also am the author of
pulldown-cmark-to-cmark :D.
Funny how things fit together sometimes. And so much better than
if I would have tried the same in pure python.
2019-07-05 14:51:30 +08:00
Sebastian Thiel
85f080ce5e
Publishing state thus far - now running into publish limit
...
Email to help@crates.io was sent.
2019-07-05 14:07:03 +08:00
Sebastian Thiel
7335a1939f
Regen APIs after removal of breaking special case for Rust types
...
I can just hope it's breaking everywhere and was never working, as
opposed to a special bugfix for just a single API at the time.
2019-07-05 12:20:02 +08:00
Sebastian Thiel
24b5faa417
Omit special case for type inference; fixes #180
2019-07-05 11:57:05 +08:00
Sebastian Thiel
e42ebc0c2b
Bump version to 1.0.9; update JSON schemas; add new APIs
2019-07-05 11:32:35 +08:00
Sebastian Thiel
99e97ceece
Assure API descriptions can contain '"' characters
2019-07-05 11:16:57 +08:00
Sebastian Thiel
25ba809a09
Support types with '-'
2019-07-05 10:44:24 +08:00
Sebastian Thiel
7a44b3eae1
Unconditionally re-export everything in cmn.rs
...
Related to #218
2019-07-05 10:17:03 +08:00
Sebastian Thiel
a5135985d2
Assure makefile dependency generation doesn't fail if a JSON file doesn't exist locally
...
For some reason, 'docs-v1' JSON file wasn't present in the repo, and
thus makefile couldn't be generated from scratch.
Now we just ignore this particular error.
2019-07-05 09:47:45 +08:00
Amy K
a2f5625fe3
docs: add lang attribute to docs index
...
Use the W3 standard "lang" attribute on the "html" tag to provide context for browsers and screen
readers.
2019-07-03 18:27:55 +08:00
Chris Pick
499416c011
fix(rust): teach remove_json_null_values arrays
...
change `remove_json_null_values()` to properly remove nulls from and recurse in to arrays
google_firestore1_beta1's `CommitRequest` contains an array of `Write` objects which can ultimately
contain `Value` members that need to have nulls removed to avoid sending multiple types of values
which generates a 400 response
fixes calls to google_firestore1_beta1's `hub.projects().databases_documents_commit()`
2019-07-03 18:27:27 +08:00
Guy Taylor
6d0f4cac7c
Pin yup-oauth2 version to 1.x
...
This ensures the yup-oauth2 version stays with the 1.x major version
allowing the yup-oauth2 project to make a breaking change via a 2.x
major version.
Ref: https://github.com/dermesser/yup-oauth2/pull/86
2019-07-03 18:25:01 +08:00
Guy Taylor
2ad9f3781d
Regen all APIs from new JSON
2019-07-03 18:21:35 +08:00
Guy Taylor
86a884c48b
Update JSON files
2019-07-03 18:21:35 +08:00
Guy Taylor
7467f81594
Sort JSON files to minimise git diffs
...
Sort and format JSON files to remove/minimise any diffs between
update-json runs. This also acts as a JSON validator to error when the
downloaded JSON file has been truncated.
2019-07-03 18:21:35 +08:00
Guy Taylor
93dba234dd
Add logging and switch to curl
...
I am getting many truncated JSON file that then do not parse. More from
wget to curl to see if this helps.
2019-07-03 18:21:35 +08:00
Guy Taylor
57a7ee37e5
Always run Python in the Venv context
2018-12-21 13:05:40 +01:00
Lyle Mantooth
c4055af677
docs(sheets): fix build errors
...
Rustdoc assumes indented code is Rust code, but when it isn't, the docs
fail to build. The Sheets API has Java, Objective-C, and JavaScript
examples in its descripiton. Wrap these examples in language-tagged
triple-backticks to prevent rustdoc from trying to compile them.
Fixes #213 .
2018-12-21 13:02:10 +01:00
gheoan
43b953445e
docs(mako): fix typo
2018-12-21 13:00:04 +01:00
Sebastian Thiel
3eca215447
Add codecov integration
2018-10-28 12:16:33 +01:00
Guy Taylor
9174c01f29
Improve .gitignore
...
Add more Python specific git ignores as more Python libaries to run (e.g
code coverage)
2018-10-28 11:39:29 +01:00
Guy Taylor
73db014fe1
Wire in Python code coverage testing
...
Wire in pytest-cov to give code coverage results when running tests.
This does not publish the information curently.
2018-10-28 11:39:29 +01:00
Guy Taylor
4faa5f6203
Add first type inferance tests
...
This slightly changes to code under test by:
* Adding __init__.py files to create modules
* Converts for a.b to a['b'] to allow object or dict types
2018-10-28 11:39:29 +01:00
Guy Taylor
a793af5586
Make utils.method_params private as it is not used.
...
This removed it been improted into Mako templates and renames it
_method_params to make it clear.
2018-10-28 11:39:29 +01:00
Guy Taylor
ca11d495fb
Merge pull request #207 from TheBiggerGuy/python_testing
...
Improve Python testing by using PyTest
2018-10-21 22:48:43 +01:00
Guy Taylor
081cceecb7
Wire Python testing into Travis
2018-10-21 22:37:39 +01:00
Guy Taylor
9867b260e1
Improve Python testing
...
Introduce pytest, wire it into Make and convert previous tests.
Note this is not wired into Travis
2018-10-21 22:37:39 +01:00
Guy Taylor
19e9943279
Move to Python requirements.txt file
...
This also links the requirments.txt file to the Venv via Make. So any
change to it will trigger the Make rule to install the new packages.
2018-10-21 22:36:19 +01:00
Guy Taylor
43ac8d7e29
Merge pull request #209 from TheBiggerGuy/fix-travis-yaml
...
The Travis Yaml file was invalid after #205 also fix the cache
locations.
2018-10-21 22:28:25 +01:00
Guy Taylor
8325ac1313
Fix Travis Yaml file
...
The Travis Yaml file was invalid after #205 also fix the cache
locations.
2018-10-21 21:10:32 +01:00
Sebastian Thiel
0360e61c27
Merge branch 'update_url_to_1_7_1' of https://github.com/edelangh/google-apis-rs into edelangh-update_url_to_1_7_1
2018-10-21 12:08:26 +02:00
edelangh
0403e19476
Update dep url to 1.7.1
2018-10-16 23:52:34 +02:00
Sebastian Thiel
1487e6caa2
Remove an API without corresponding json file
...
This prevented github-pages from being generated.
Don't quite know how that could happen.
2018-10-14 13:48:48 +02:00
Sebastian Thiel
cdfd978fc3
Publish of v1.0.8
cli-v1.0.8
api-v1.0.8
2018-10-14 13:29:18 +02:00
Sebastian Thiel
bce4f08554
Bump version to 1.0.8 - the previous one was already published somehow
2018-10-14 11:12:24 +02:00
Sebastian Thiel
dd893eb29a
After publishing the latest versions
api-v1.0.7
cli-v1.0.7
2018-10-14 10:52:45 +02:00
Sebastian Thiel
255c7f5ad5
Update to latest versions of API declarations
2018-10-13 13:49:14 +02:00
Sebastian Thiel
5a67475b54
Merge branch 'photoslibrary' of https://github.com/TheBiggerGuy/google-apis-rs into TheBiggerGuy-photoslibrary
2018-10-13 12:16:10 +02:00
Guy Taylor
d202f9792b
ichore(blacklist): blacklist versions that do not exist
2018-10-13 11:49:16 +02:00
Guy Taylor
38f086ebb5
chore(gen): clean up after failed wget
...
Wget leaves empty files when getting a 404. This causes JSON parse errors later on instead of the expected file not found message.
2018-10-13 11:49:16 +02:00
Bryan Burgers
7a041ecf2d
docs(LIB): Add dependencies to README
...
In the section that describes setting up the Cargo.toml, add the
required dependencies, and note that `hyper` and `hyper-rustls` are not
the latest versions. This helps new users get started quicker and
easier.
2018-10-13 11:47:34 +02:00
Guy Taylor
f2363df5b5
chore(gen): add photoslibrary v1 code
2018-10-11 19:55:54 +01:00