brunocodutra / reducer

A predictable reactive framework for Rust apps inspired by Redux
https://crates.io/crates/reducer
MIT License
58 stars 1 forks source link

Update mockall requirement from 0.9.0 to 0.10.2 #134

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on mockall to permit the latest version.

Changelog

Sourced from mockall's changelog.

[ 0.10.2 ] - 2021-07-12

Fixed

  • Fix mocking specializing methods of non-generic structs, a regression in v0.10.0. (#309)

  • Fix mocking generic methods of generic structs returning nonstatic, a regression in v0.10.0. (#312)

[ 0.10.1 ] - 2021-07-01

Fixed

  • Fix mocking trait methods whose return values have lifetime parameters, a regression in v0.10.0. (#304)

[ 0.10.0 ] - 2021-06-27

Added

  • mock! will now allow both methods and trait impls to be gated with #[cfg()]] attributes. The attributes will be forwarded to all generated code. This allows for example only mocking certain traits on certain OSes. (#297)

  • automock will now automatically generate Debug implementations for traits and structs. mock! will to, if you put #[derive(Debug)] above the struct's name. (#289)

  • Added support for specific impls. A specific impl is an implementation of a trait on a generic struct with specified generic parameters. For example, impl Foo for Bar<i32> as opposed to impl<T> Foo for Bar<T>. Mockall does not yet support generic methods in such traits. (#274)

Changed

  • Mockall is pickier now about how you mock a trait on a generic struct. Previously you could usually omit the generics. Now, they're required. i.e.,
    mock!{
        MyStruct<T: Bounds> {...}
        impl Foo for MyStruct {...}
    

... (truncated)

Commits
  • d15d393 (cargo-release) version 0.10.2
  • b276652 (cargo-release) version 0.10.2
  • 9e0eba1 Merge pull request #312 from asomers/issue_306
  • 4364adf Fix mocking generic methods of generic structs returning nonstatic
  • 0560571 Merge pull request #309 from asomers/self_sized
  • e870c9c Fix mocking specializing methods of non-generic structs
  • 74456b9 fix some formatting in the CHANGELOG
  • fc18e54 Merge pull request #311 from asomers/nonstandard_macro_braces
  • 8f7efc9 Suppress a buggy Clippy lint
  • bf52add (cargo-release) version 0.10.1
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
brunocodutra commented 3 years ago

@dependabot rebase

codecov[bot] commented 3 years ago

Codecov Report

Merging #134 (788bb6d) into master (db78889) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   99.37%   99.37%           
=======================================
  Files          16       16           
  Lines         319      319           
=======================================
  Hits          317      317           
  Misses          2        2           
Impacted Files Coverage Δ
src/dispatcher.rs 100.00% <ø> (ø)
src/reactor.rs 100.00% <ø> (ø)
src/reducer.rs 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update db78889...788bb6d. Read the comment docs.