Skip to content

Commit

Permalink
chore(deps): update dependency quick/nimble to from: "13.1.1" (#823)
Browse files Browse the repository at this point in the history
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
[https://github.com/Quick/Nimble/pull/1109](https://togithub.com/Quick/Nimble/pull/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
[https://github.com/Quick/Nimble/pull/1094](https://togithub.com/Quick/Nimble/pull/1094)
- Introduce the require dsl. For when you need the assertion to pass
before continuing by [@&#8203;younata](https://togithub.com/younata) in
[https://github.com/Quick/Nimble/pull/1103](https://togithub.com/Quick/Nimble/pull/1103)
- Pull in CwlCatchException and CwlPreconditionTesting transitively. by
[@&#8203;younata](https://togithub.com/younata) in
[https://github.com/Quick/Nimble/pull/1108](https://togithub.com/Quick/Nimble/pull/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>
  • Loading branch information
cgrindel-self-hosted-renovate[bot] and Self-hosted Renovate Bot authored Dec 22, 2023
1 parent c56a21c commit d866c89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/nimble_example/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/Quick/Nimble",
"state" : {
"revision" : "d616f15123bfb36db1b1075153f73cf40605b39d",
"version" : "13.0.0"
"revision" : "f0b14e200e39921d1df720e305f11ca6acb72a17",
"version" : "13.1.1"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/nimble_example/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
),
.package(
url: "https://github.com/Quick/Nimble",
from: "13.0.0"
from: "13.1.1"
),
],
targets: [
Expand Down
4 changes: 2 additions & 2 deletions examples/nimble_example/swift_deps_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
"name": "swiftpkg_nimble",
"identity": "nimble",
"remote": {
"commit": "d616f15123bfb36db1b1075153f73cf40605b39d",
"commit": "f0b14e200e39921d1df720e305f11ca6acb72a17",
"remote": "https://github.com/Quick/Nimble",
"version": "13.0.0"
"version": "13.1.1"
}
},
{
Expand Down

0 comments on commit d866c89

Please sign in to comment.