Commit Graph

770 Commits

Author SHA1 Message Date
Sebastian Thiel
ebbddb30aa publish additional crates 2020-02-08 12:48:02 +08:00
lordie
0a013ddae6 revome auto formatting 2020-02-08 10:32:28 +08:00
lordie
d5519b9dfe added my business api 2020-02-08 10:32:28 +08:00
Sebastian Thiel
80bf4495f7 Regenarate all files
This fixes all deprecation warnings.
2020-01-18 20:47:02 +08:00
Sebastian Thiel
b66f868ed1 Fix deprecation warnings in CLI 2020-01-18 15:12:24 +08:00
Sebastian Thiel
65b8f0063d Rewrite deprecated features, such as try!
As taken from
https://github.com/Byron/google-apis-rs/pull/247
2020-01-18 14:46:53 +08:00
Sebastian Thiel
a0e0312f69 Remove linux for now to get tests green
It looks like Mako works differently in more recent versions, might
be related to PYTHONPATH.

I simply don't want to deal with this, let's be happy it still works
somewhere.
2020-01-18 14:32:58 +08:00
Sebastian Thiel
21e829bc4e Try an older python version once again 2020-01-18 14:27:28 +08:00
Sebastian Thiel
1ae7a49f2e Let's see if a more recent ubunutu does the trick 2020-01-18 14:23:35 +08:00
Sebastian Thiel
f350baa4a7 Fix unit tests 2020-01-18 14:14:07 +08:00
Sebastian Thiel
4209c20caf remove orphan/unavailable API: doc1 2019-12-09 17:46:56 +08:00
Sebastian Thiel
fd776832a8 publish result v1.0.12 2019-12-09 17:21:52 +08:00
Sebastian Thiel
f125912384 regenerate all crates 2019-12-09 11:50:00 +08:00
Sebastian Thiel
f80ef206bc Bump version prior to release 2019-12-09 09:08:42 +08:00
Sebastian Thiel
eb3a6ef578 Truncate all files we open to fix #240
Otherwise it's possible to leave bytes related to a previous version
of the file in tact, tailing the newly written content.
This in turn leads to malformed json when tokens are rewritten.
2019-09-16 07:53:15 +02:00
Sebastian Thiel
11db47ca2a Regenerate all code
Related to #239
2019-09-09 08:31:59 +02:00
Sebastian Thiel
bcc72e4fc1 Fields in Error related structs are now accessible
Fixes #239
2019-09-09 08:12:17 +02:00
Sebastian Thiel
3c1e509a25 Keep track of release of storage1
[skip CI]
2019-08-31 11:56:04 +02:00
Sebastian Thiel
114b9be7e1 Related to #238: publish google-storage1
It allows to control tls more easily.
I want to avoid to spam Crates.io by publishing only
the APIs that are specifically requested.
2019-08-31 11:52:28 +02:00
Sebastian Thiel
d3b047c880 Another python version - probably it doesn't work thanks to openssl 2019-08-29 10:31:21 +02:00
Sebastian Thiel
68311276ab Try another python version 2019-08-29 10:31:21 +02:00
Sebastian Thiel
ecccda15d5 Try a more recent python version 2019-08-29 10:31:21 +02:00
Sebastian Thiel
abb2fa9a81 Don't try to install pyenv - it's now pre-installed 2019-08-29 10:31:21 +02:00
Tyler Hawkes
f7ac5ebe36 Expose features from yup-oauth2 2019-08-29 10:31:21 +02:00
Sebastian Thiel
8cf36a3504 Finalize release 1.0.10 - all worked well 2019-07-07 22:16:05 +08:00
Sebastian Thiel
770f01826f On the way to publishing 1.0.10 2019-07-06 12:05:16 +08:00
Sebastian Thiel
8c1ca2aa9b update version to 1.0.10; republish 4 select crates 2019-07-05 19:09:55 +08:00
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