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

Pull in CwlCatchException and CwlPreconditionTesting transitively. #1108

Merged
merged 6 commits into from
Dec 20, 2023

Conversation

younata
Copy link
Member

@younata younata commented Dec 19, 2023

They dropped Carthage support anyway.

Because the cocoapods distribution of CwlCatchException/CwlPreconditionTesting do not support tvOS/watchOS, we will be forced to drop those from the cocoapods distribution of Quick/Nimble... sigh.

@younata younata force-pushed the pull_in_dependencies_via_spm_where_possible branch from 99f5049 to ee9c5dc Compare December 20, 2023 15:35
@younata younata merged commit ebe9d80 into main Dec 20, 2023
15 checks passed
@younata younata deleted the pull_in_dependencies_via_spm_where_possible branch December 20, 2023 17:42
@stonko1994
Copy link
Contributor

I think we can close #1097 now as well 👍

cgrindel-self-hosted-renovate bot added a commit to cgrindel/rules_swift_package_manager that referenced this pull request Dec 22, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [Quick/Nimble](https://togithub.com/Quick/Nimble) | minor | `from:
"13.0.0"` -> `from: "13.1.1"` |

---

### Release Notes

<details>
<summary>Quick/Nimble (Quick/Nimble)</summary>

### [`v13.1.1`](https://togithub.com/Quick/Nimble/releases/tag/v13.1.1):
- The Require DSL, but now with a fixed cocoapods build

[Compare
Source](https://togithub.com/Quick/Nimble/compare/v13.1.0...v13.1.1)

### Highlights

See [the previous
release](https://togithub.com/Quick/Nimble/releases/tag/v13.1.0) for
more on the require DSL.

#### BugFixes

-   Fix cocoapods release.

### Automated Release Notes

#### What's Changed

- Fix build on cocoapods by specifying the correct location for the
CocoaWithLove exception helper libraries by
[@&#8203;younata](https://togithub.com/younata) in
[Quick/Nimble#1109

**Full Changelog**:
Quick/Nimble@v13.1.0...v13.1.1

### [`v13.1.0`](https://togithub.com/Quick/Nimble/releases/tag/v13.1.0):
- The Require DSL

[Compare
Source](https://togithub.com/Quick/Nimble/compare/v13.0.0...v13.1.0)

### Highlights

#### New Features

- Introduce the `require` dsl. This throws an error (a `RequireError`,
or a custom one) if the matcher used with it fails. If the matcher
doesn't fail, then the require dsl will return the result of the
expression.
- For example, `try require([1, 2, 3]).to(haveCount(3))` will return
`[1, 2, 3]`. However `try require(2).toEqual(1))` will throw a
`RequireError`.
- When the matcher fails, `require` will still register the assertion
failure with XCTest.
- This also adds `unwrap` and `pollUnwrap`, which are work as `try
require(...).toNot(beNil())` and `try
require(...).toEventuallyNot(beNil())`. With both sync and async
variants. They either throw, or return non-optional versions of the
expression.
- See the [documentation
here](https://togithub.com/Quick/Nimble/tree/v13.1.0#using-require-to-demand-that-a-matcher-pass-before-continuing)
for more.

#### Deprecations

- Removes `Expectation.onFailure`, as the new `require` dsl entirely
replaces that API. This deprecation will persist through Nimble 14,
before being marked as removed in Nimble 15 and fully removed in Nimble
16.

#### Breaking Changes

- The `throwAssertion` matcher no longer supports watchOS and tvOS in
the cocoapods distribution of Nimble. This is because Nimble no longer
directly embeds the CwlCatchException CwlPreconditionTesting libraries
used in that matcher and instead Nimble pulls in those libraries
transitively through the package manager used.

### Automated Release Notes

#### What's Changed

- Bump cocoapods from 1.13.0 to 1.14.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[Quick/Nimble#1094
- Introduce the require dsl. For when you need the assertion to pass
before continuing by [@&#8203;younata](https://togithub.com/younata) in
[Quick/Nimble#1103
- Pull in CwlCatchException and CwlPreconditionTesting transitively. by
[@&#8203;younata](https://togithub.com/younata) in
[Quick/Nimble#1108

**Full Changelog**:
Quick/Nimble@v13.0.0...v13.1.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
@svenmuennich svenmuennich mentioned this pull request Dec 29, 2023
4 tasks
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

2 participants