Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix value class field determination #872

Merged
merged 1 commit into from Jul 30, 2022
Merged

fix: fix value class field determination #872

merged 1 commit into from Jul 30, 2022

Conversation

qoomon
Copy link
Contributor

@qoomon qoomon commented Jul 30, 2022

To get value class property we need to find the one property with a backing field because value classes can have any number of properties without a backing field as well.

@aSemy
Copy link
Contributor

aSemy commented Jul 30, 2022

Nice catch! LGTM

@Raibaz
Copy link
Collaborator

Raibaz commented Jul 30, 2022

Nice, thanks!

@Raibaz Raibaz merged commit 6ce0616 into mockk:master Jul 30, 2022
@vojkny
Copy link

vojkny commented Aug 2, 2022

When will this be released?

@Raibaz
Copy link
Collaborator

Raibaz commented Aug 2, 2022

Likely next week, I'm on vacation this week but I may find some time to publish a release.

@MarvinSchramm
Copy link

Enjoy your Vacation @Raibaz !

@monosoul
Copy link
Contributor

Hey @Raibaz , sorry for pinging, but could you please release this? Thanks!

@Raibaz
Copy link
Collaborator

Raibaz commented Aug 22, 2022

Sorry for the delay, just released v1.12.6: https://github.com/mockk/mockk/releases/tag/1.12.6

@vojkny
Copy link

vojkny commented Aug 22, 2022

For now I am getting:

      > Could not find io.mockk:mockk-jvm:1.12.6.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
          - https://jitpack.io/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
          - https://plugins.gradle.org/m2/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom

@Raibaz
Copy link
Collaborator

Raibaz commented Aug 22, 2022

It may take a while for the release to propagate on maven central.

Sorry about that, just retry in a while.

@aSemy
Copy link
Contributor

aSemy commented Aug 23, 2022

mockk-jvm-1.12.6.pom is still not available, which is unusual. I'm very confused because the .asc signature and checksum files are available, so clearly it existed at some point.

https://repo.maven.apache.org/maven2/io/mockk/mockk-jvm/1.12.6/

image

UPDATE: it's published here: https://repo1.maven.org/maven2/io/mockk/mockk/1.12.6/ (thanks @qoomon) Hmm no, I'm still getting an error

@aSemy aSemy mentioned this pull request Aug 23, 2022
3 tasks
@qoomon
Copy link
Contributor Author

qoomon commented Aug 23, 2022

@aSemy Actually it was published I'm already using it. See https://repo1.maven.org/maven2/io/mockk/mockk/1.12.6/

@aSemy
Copy link
Contributor

aSemy commented Aug 23, 2022

@qoomon It's not working for me. Do you have 1.12.6 deployed to Maven Local?

@qoomon
Copy link
Contributor Author

qoomon commented Aug 23, 2022

@aSemy you are right I've accidentally deployed a 1.12.6 version locally, my bad.

kodiakhq bot pushed a commit to RBusarow/Dispatch that referenced this pull request Aug 23, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.mockk:mockk](https://mockk.io) ([source](https://togithub.com/mockk/mockk)) | `1.12.5` -> `1.12.7` | [![age](https://badges.renovateapi.com/packages/maven/io.mockk:mockk/1.12.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.mockk:mockk/1.12.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.mockk:mockk/1.12.7/compatibility-slim/1.12.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.mockk:mockk/1.12.7/confidence-slim/1.12.5)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mockk/mockk</summary>

### [`v1.12.7`](https://togithub.com/mockk/mockk/releases/tag/1.12.7)

[Compare Source](https://togithub.com/mockk/mockk/compare/1.12.6...1.12.7)

#### What's Changed

-   Update android-sdk-detector.settings.gradle.kts by [@&#8203;aSemy](https://togithub.com/aSemy) in [mockk/mockk#886
-   only sign if the signing properties are present by [@&#8203;aSemy](https://togithub.com/aSemy) in [mockk/mockk#885
-   Fix an issue that Android libraries was not published by [@&#8203;kubode](https://togithub.com/kubode) in [mockk/mockk#887

#### New Contributors

-   [@&#8203;kubode](https://togithub.com/kubode) made their first contribution in [mockk/mockk#887

**Full Changelog**: mockk/mockk@1.12.6...1.12.7

### [`v1.12.6`](https://togithub.com/mockk/mockk/releases/tag/1.12.6)

[Compare Source](https://togithub.com/mockk/mockk/compare/1.12.5...1.12.6)

#### What's Changed

-   Dependency updates, JDK17 v2 by [@&#8203;aSemy](https://togithub.com/aSemy) in [mockk/mockk#863
-   Dependency updates, JDK17 by [@&#8203;hduerkop](https://togithub.com/hduerkop) in [mockk/mockk#829
-   Fix unmockkAll to work if constructor was mocked multiple times by [@&#8203;Chrostoq](https://togithub.com/Chrostoq) in [mockk/mockk#870
-   fix: fix value class field determination by [@&#8203;qoomon](https://togithub.com/qoomon) in [mockk/mockk#872
-   [#&#8203;854](https://togithub.com/mockk/mockk/issues/854) update projects to use new Kotlin Multiplatform Gradle plugin by [@&#8203;aSemy](https://togithub.com/aSemy) in [mockk/mockk#855

#### New Contributors

-   [@&#8203;hduerkop](https://togithub.com/hduerkop) made their first contribution in [mockk/mockk#829
-   [@&#8203;Chrostoq](https://togithub.com/Chrostoq) made their first contribution in [mockk/mockk#870

**Full Changelog**: mockk/mockk@1.12.5...1.12.6

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/RBusarow/Dispatch).



PR-URL: #564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants