Skip to content

Commit

Permalink
build(deps): Bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 (runf…
Browse files Browse the repository at this point in the history
…inch#200)

Bumps [github.com/onsi/ginkgo/v2](/~https://github.com/onsi/ginkgo) from
2.7.1 to 2.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="/~https://github.com/onsi/ginkgo/releases">github.com/onsi/ginkgo/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.8.0</h2>
<h2>2.8.0</h2>
<h3>Features</h3>
<ul>
<li>Introduce GinkgoHelper() to track and exclude helper functions from
potential CodeLocations [e19f556]</li>
</ul>
<p>Modeled after <code>testing.T.Helper()</code>. Now, rather than write
code like:</p>
<pre lang="go"><code>func helper(model Model) {
    Expect(model).WithOffset(1).To(BeValid())
Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
}
</code></pre>
<p>you can stop tracking offsets (which makes nesting composing helpers
nearly impossible) and simply write:</p>
<pre lang="go"><code>func helper(model Model) {
    GinkgoHelper()
    Expect(model).To(BeValid())
    Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
}
</code></pre>
<ul>
<li>Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to
make it possible to programmatically match filters (fixes <a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1119">#1119</a>)
[2f6597c]</li>
</ul>
<p>You can now write code like this:</p>
<pre lang="go"><code>BeforeSuite(func() {
	if Label(&quot;slow&quot;).MatchesLabelFilter(GinkgoLabelFilter()) {
		// do slow setup
	}
<pre><code>if
Label(&amp;quot;fast&amp;quot;).MatchesLabelFilter(GinkgoLabelFilter())
{
	// do fast setup
}
</code></pre>
<p>})
</code></pre></p>
<p>to programmatically check whether a given set of labels will match
the configured <code>--label-filter</code>.</p>
<h3>Maintenance</h3>
<ul>
<li>Bump webrick from 1.7.0 to 1.8.1 in /docs (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1125">#1125</a>)
[ea4966e]</li>
<li>cdeql: add ruby language (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1124">#1124</a>)
[9dd275b]</li>
<li>dependabot: add bundler package-ecosystem for docs (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1123">#1123</a>)
[14e7bdd]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="/~https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md">github.com/onsi/ginkgo/v2's
changelog</a>.</em></p>
<blockquote>
<h2>2.8.0</h2>
<h3>Features</h3>
<ul>
<li>Introduce GinkgoHelper() to track and exclude helper functions from
potential CodeLocations [e19f556]</li>
</ul>
<p>Modeled after <code>testing.T.Helper()</code>. Now, rather than write
code like:</p>
<pre lang="go"><code>func helper(model Model) {
    Expect(model).WithOffset(1).To(BeValid())
Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
}
</code></pre>
<p>you can stop tracking offsets (which makes nesting composing helpers
nearly impossible) and simply write:</p>
<pre lang="go"><code>func helper(model Model) {
    GinkgoHelper()
    Expect(model).To(BeValid())
    Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
}
</code></pre>
<ul>
<li>Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to
make it possible to programmatically match filters (fixes <a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1119">#1119</a>)
[2f6597c]</li>
</ul>
<p>You can now write code like this:</p>
<pre lang="go"><code>BeforeSuite(func() {
	if Label(&quot;slow&quot;).MatchesLabelFilter(GinkgoLabelFilter()) {
		// do slow setup
	}
<pre><code>if
Label(&amp;quot;fast&amp;quot;).MatchesLabelFilter(GinkgoLabelFilter())
{
	// do fast setup
}
</code></pre>
<p>})
</code></pre></p>
<p>to programmatically check whether a given set of labels will match
the configured <code>--label-filter</code>.</p>
<h3>Maintenance</h3>
<ul>
<li>Bump webrick from 1.7.0 to 1.8.1 in /docs (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1125">#1125</a>)
[ea4966e]</li>
<li>cdeql: add ruby language (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1124">#1124</a>)
[9dd275b]</li>
<li>dependabot: add bundler package-ecosystem for docs (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1123">#1123</a>)
[14e7bdd]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="/~https://github.com/onsi/ginkgo/commit/64c4110be0dc6dafd27cf362389e650ea6765432"><code>64c4110</code></a>
v2.8.0</li>
<li><a
href="/~https://github.com/onsi/ginkgo/commit/2f6597cae9a748c92b7f5fde1e345e00f9d7b8d8"><code>2f6597c</code></a>
Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make
it pos...</li>
<li><a
href="/~https://github.com/onsi/ginkgo/commit/ea4966e1a619ead00a9e579b21de4dcc3923a75d"><code>ea4966e</code></a>
Bump webrick from 1.7.0 to 1.8.1 in /docs (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1125">#1125</a>)</li>
<li><a
href="/~https://github.com/onsi/ginkgo/commit/9dd275b9a50e36aa4b4999a5314b974244ce3bce"><code>9dd275b</code></a>
cdeql: add ruby language (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1124">#1124</a>)</li>
<li><a
href="/~https://github.com/onsi/ginkgo/commit/e19f556ef5e531279b60d707233f457fdedd9079"><code>e19f556</code></a>
Introduce GInkgoHelper() to track and exclude helper functions from
porential...</li>
<li><a
href="/~https://github.com/onsi/ginkgo/commit/14e7bddda2dce4416d6ef8000f309ae239f5ba67"><code>14e7bdd</code></a>
dependabot: add bundler package-ecosystem for docs (<a
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1123">#1123</a>)</li>
<li>See full diff in <a
href="/~https://github.com/onsi/ginkgo/compare/v2.7.1...v2.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/ginkgo/v2&package-manager=go_modules&previous-version=2.7.1&new-version=2.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mrudul Harwani <mharwani@amazon.com>
  • Loading branch information
dependabot[bot] and mharwani authored Feb 7, 2023
1 parent cc4bae7 commit 596ed33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/golang/mock v1.6.0
github.com/google/go-licenses v1.6.0
github.com/lima-vm/lima v0.14.2
github.com/onsi/ginkgo/v2 v2.7.1
github.com/onsi/ginkgo/v2 v2.8.0
github.com/onsi/gomega v1.26.0
github.com/pelletier/go-toml v1.9.5
github.com/pkg/sftp v1.13.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042
github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c=
github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU=
github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk=
github.com/onsi/ginkgo/v2 v2.7.1 h1:YgLPk+gpqDtAPeRCWEmfO8oxE6ru3xcVSXAM7wn8w9I=
github.com/onsi/ginkgo/v2 v2.7.1/go.mod h1:6JsQiECmxCa3V5st74AL/AmsV482EDdVrGaVW6z3oYU=
github.com/onsi/ginkgo/v2 v2.8.0 h1:pAM+oBNPrpXRs+E/8spkeGx9QgekbRVyr74EUvRVOUI=
github.com/onsi/ginkgo/v2 v2.8.0/go.mod h1:6JsQiECmxCa3V5st74AL/AmsV482EDdVrGaVW6z3oYU=
github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
Expand Down

0 comments on commit 596ed33

Please sign in to comment.