• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

divviup / divviup-api / 13168098896
56%

Build:
DEFAULT BRANCH: main
Ran 05 Feb 2025 11:00PM UTC
Jobs 1
Files 120
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Feb 2025 10:55PM UTC coverage: 55.68% (-0.1%) from 55.794%
13168098896

push

github

web-flow
Bump oauth2 from 4.4.2 to 5.0.0 (#1532)

* Bump oauth2 from 4.4.2 to 5.0.0

Bumps [oauth2](https://github.com/ramosbugs/oauth2-rs) from 4.4.2 to 5.0.0.
- [Release notes](https://github.com/ramosbugs/oauth2-rs/releases)
- [Upgrade guide](https://github.com/ramosbugs/oauth2-rs/blob/main/UPGRADE.md)
- [Commits](https://github.com/ramosbugs/oauth2-rs/compare/4.4.2...5.0.0)

---
updated-dependencies:
- dependency-name: oauth2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix `oauth 0.5` breakage

Updates `divviup-api` to adapt to the breaking changes in `oauth 0.5`.
Much of this follows from advice in the [upgrade guide][1].

- move entire crate to `http 1.1.0`
    - use `http-compat-1` feature on `trillium-http`
- adopt builder pattern for constructing `oauth2::BasicClient`
    - add type alias `ConfiguredOauthClient` as a shorthand for
      `oauth2::BasicClient<...>`
- add wrapper around `trillium_client::Client` so we can implement
  `oauth2::AsyncHttpClient` on it
    - translate `oauth2::HttpRequest/Response` to/from Trillium
      equivalents

[1]: https://github.com/ramosbugs/oauth2-rs/blob/main/UPGRADE.md

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Geoghegan <timg@divviup.org>

6 of 27 new or added lines in 1 file covered. (22.22%)

3 existing lines in 1 file now uncovered.

3877 of 6963 relevant lines covered (55.68%)

85.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
24.81
-2.97% src/handler/oauth2.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
65.22
-8.7% src/entity/aggregator/role.rs
Jobs
ID Job ID Ran Files Coverage
1 13168098896.1 05 Feb 2025 11:00PM UTC 120
55.68
GitHub Action Run
Source Files on build 13168098896
  • Tree
  • List 120
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13168098896
  • 5b95ab71 on github
  • Prev Build on main (#13107317557)
  • Next Build on main (#13234025774)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc