Commit Graph

546 Commits

Author SHA1 Message Date
Sebastian Thiel
091d3f7e81 chore(version-up): increment versions ...
... in preparation for new publish.
Latest flows, and all should work out of the box
with the latest serde.
2016-07-17 13:05:00 +02:00
Sebastian Thiel
b2b9ab2831 Revert "fix(cargo): remove cargo/config"
This reverts commit cb6679cb2b.
2016-07-17 12:57:19 +02:00
Sebastian Thiel
e9fe17ee3b fix(travis): don't fail by default on non-nightly 2016-07-17 12:31:06 +02:00
Sebastian Thiel
3921b6a5a0 fix(dependencies): use working version of serde-codegen
This update fixes the build on stable, and allows builds
on nightly as usual.

The trick is to use the latest version of serde-codegen,
which keeps the syntex version internal, preventing clashes
between libraries that might have different requirements.
2016-07-17 12:05:14 +02:00
Sebastian Thiel
850e115e33 doc(README): badges for issue stats
[skip ci]
2016-07-17 11:09:04 +02:00
Sebastian Thiel
5d1039e85f chore(update): license year
Wow, didn't know the makefile could do that :) !
2016-05-30 08:38:33 +02:00
Sebastian Thiel
c6f9205758 chore(update): make regen-apis
Fixes #151
2016-05-30 08:38:10 +02:00
Sebastian Thiel
864fe8424d chore(travis): split doc and test to handle features
Previously it would fail as the built-in doc target in make
doesn't handle features at all.
Now these need to be taken into consideration though for it
to have a chance.
2016-05-25 13:02:03 +02:00
Sebastian Thiel
5ca0217275 fix(travis): as learned from yup-oauth
That way, there is no redudancny anymore.
2016-05-25 11:56:56 +02:00
Sebastian Thiel
bed46ba241 fix(test): work with latest serde
`cargo test` will work now.
We now use the latest serde once again, which should
make everything better.
2016-05-20 18:40:26 +02:00
Sebastian Thiel
e5dc49f874 chore(rustc): add last known working rustc version
For now, just nighly.
2016-05-20 18:33:44 +02:00
Sebastian Thiel
d37bb19df2 feat(authentication): Use flow for installed apps
That way, more complex APIs like drive and calendars
will work without any (sometimes non-existing) workarounds.
2016-05-20 18:26:48 +02:00
Sebastian Thiel
cb6679cb2b fix(cargo): remove cargo/config
It seems due to a so far possibly unfiled bug, cargo fails to
get it's CWDs right.

Last verified with cargo 0.11.0-nightly (42bce5c 2016-05-17).

To reproduce, just put the deleted file back and run a build command,
such as

```bash
make drive3-cli-cargo ARGS=build --no-default-features --features=nightly
```

Fixes #149
2016-05-20 17:23:12 +02:00
Sebastian Thiel
87dcf06eac doc(README): inform about nightly builds
[skip ci]
2016-05-20 16:44:24 +02:00
Sebastian Thiel
3e2216c445 chore(serde-up): use features for cli-dependency
That way, we respect the API features when pulling it in
via the CLI. Also make it compatible to the latest serde-json
version.
2016-05-20 16:40:44 +02:00
Sebastian Thiel
95e9187c84 chore(travis): let's be sure to get the matrix right
It's also done that way in yup-oauth2, and I forgot it
previously. It's like a pre-emptive fix.
2016-05-20 16:04:25 +02:00
Sebastian Thiel
320d769c6f chore(nightly): Travis CI support
Travis should now be able to use nightly as well.
2016-05-20 15:53:49 +02:00
Sebastian Thiel
8d7a49891f chore(dependencies): update to latest version + nightly support
Nightly is now supported, in theory, to allow not to use serde_codegen,
which currently has trouble to build thanks to an assertion error.

Nightly on the other hand suffers from being build with incorrect
feature-flags, which makes quasi_macros fail to build ... .
2016-05-20 15:06:19 +02:00
Sebastian Thiel
ca5dca7af9 chore(dependencies): pin url crate
The latest one needs some modifications, that will be done in
time.

Closes #150
2016-05-20 14:01:06 +02:00
Sebastian Thiel
8aefeb37d9 chore(publish): publish state
This helps make keep track of what was successfully published
to crates.io
cli-v0.3.4 api-v0.1.13
2016-04-10 19:31:46 +02:00
Sebastian Thiel
e0de1b4c10 chore(code-update): to latest schema version 2016-04-10 14:08:43 +02:00
Sebastian Thiel
930ce6d5c2 chore(update): all jsons; version-up
As we are now back to serde 0.6, the patch-level was upped too.
2016-04-10 14:04:44 +02:00
Sebastian Thiel
d2c12c2964 chore(oauth): use compatible yup-oauth
It seems all these serde versions interact with each other
in unforseen ways, so they will have to be in sync for it
to work. Its a shaky card-house I am building here,
and I don't like it at all.
2016-04-10 13:41:44 +02:00
Sebastian Thiel
065cfdd22f fix(lib): use hyper Bearer header style
Considering we kind-of hardcoded this authentication type anyway,
we now use the Auth-types provided by hyper 0.8.

The incentive here was the compiler telling us that there the
yup-oauth::Scheme type doesn't implement the hyper::authorization::Scheme
anymore, even though that clearly was the case. Also it couldn't be
reproduced in yup-oauth itself.

This will need some work to get correct again, so this is just a crude
patch to make it work again.
2016-04-10 13:01:18 +02:00
Sebastian Thiel
9e8a047ebf fix(cli): compatibility with serde 0.6
0.7 has a weird assertion error that might have happened
if files get too large.
2016-04-10 12:59:59 +02:00
Sebastian Thiel
33f281360a fix(cargo): choose serde-version which works
Everything newer than the ones we see here will cause
the error described in #148.
2016-04-10 12:12:00 +02:00
Sebastian Thiel
a25b593969 chore(publish): first bunch of publishes
Many don't work due to https://github.com/serde-rs/syntex/issues/33
api-v0.1.12
2016-02-28 16:45:07 +01:00
Sebastian Thiel
df301c1c75 chore(code): update after version-up 2016-02-28 08:37:00 +01:00
Sebastian Thiel
b3fd15edec chore(version-up): api version 0.1.12 2016-02-28 08:34:31 +01:00
Sebastian Thiel
b0c0196f50 chore(code): update code matching latest jsons
This was particularly interesting as APIs went away
2016-02-28 08:20:08 +01:00
Sebastian Thiel
5094f61c88 chore(json-up): fetch latest json
api-list.yaml was updated manually to push out APIs which are just
empty or plain incompatible with what we are doing
2016-02-28 08:19:26 +01:00
Sebastian Thiel
4bb7a33e93 fix(make): use venv-python to run any utility
Previously the yaml version generation could fail if your system-python
didn't have yaml installed. Now the virtual env is used, which is
guaranteed to support yaml.
2016-02-28 08:08:35 +01:00
Sebastian Thiel
be0faf0e1d chore(serde): upgrade to 0.7
Desired feature: ignore unknown fields, which is now on by default.
2016-02-27 12:30:09 +01:00
Sebastian Thiel
4878fcb803 Merge pull request #147 from programble/fix/repeated-props
Send repeated properties as repeated query parameters
2016-02-07 20:46:52 +01:00
Curtis McEnroe
3e1c4428ef Send repeated properties as repeated query parameters 2016-02-07 14:30:29 -05:00
Sebastian Thiel
ab672c41f9 chore(drive3): added custom client secret to allow operation 2016-02-07 10:25:06 +01:00
Sebastian Thiel
426b096ef8 chore(code): update generated code
This seems to be just a remainder, two APIs were missed last time I
updated the code. I guess.
2016-02-07 08:45:57 +01:00
Sebastian Thiel
52e58154a2 chore(cargo): remove unimplemented option 2016-02-07 08:44:52 +01:00
Sebastian Thiel
b35a1d6732 doc(README): need Rust 1.6 now
[skip ci]
2016-01-31 07:47:13 +01:00
Sebastian Thiel
8732b5f869 chore(publish): update all crates cli-v0.1.11 cli-v0.3.3 2016-01-30 15:00:27 +01:00
Sebastian Thiel
1e5a6bbee8 chore(code): update remaining APIs
Missed them in the first run
2016-01-30 14:12:59 +01:00
Sebastian Thiel
900c2bfde9 chore(changelog): update 2016-01-30 14:10:16 +01:00
Sebastian Thiel
75076acf16 chore(code): updated to latest state 2016-01-30 14:08:25 +01:00
Sebastian Thiel
5cba22f0c6 chore(versionup): increment versions of API + CLI 2016-01-30 14:07:09 +01:00
Sebastian Thiel
8f01e8e918 feat(json): updated API descriptions 2016-01-30 14:06:58 +01:00
Sebastian Thiel
a2c6b58d5b fix(versionup): use latest oauth2 lib
It enables using std::time::Duration natively
2016-01-30 14:03:15 +01:00
Sebastian Thiel
ef9e7f1bae fix(mako): use new discoveryRestUrl field for json download 2016-01-30 13:01:37 +01:00
Sebastian Thiel
ab1aa55d39 feat(version-up): clap-rs v1.5 -> 2.0 2016-01-30 12:53:02 +01:00
Sebastian Thiel
b54acb7c96 fix(rustup): use std::Thread::sleep
However, in sibling libraries, we still use time::Duration, which
now is a part of std::time::Duration.
These should be adjusted, to make the usage of
sleep(Duration::from_millis(d.num_milliseconds() as u64)) into sleep(d)
2016-01-29 18:56:58 +01:00
Sebastian Thiel
495ecef8c8 doc(README): rever to multirust-rs 2016-01-11 20:46:45 +01:00