Skip to content

Commit

Permalink
Update view_component requirement from >= 3.9, < 3.15 to >= 3.9, < 3.…
Browse files Browse the repository at this point in the history
…17 (#561)

Updates the requirements on
[view_component](https://github.com/viewcomponent/view_component) to
permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/viewcomponent/view_component/releases">view_component's
releases</a>.</em></p>
<blockquote>
<h2>v3.16.0</h2>
<ul>
<li>
<p>Add template information to multiple template error messages.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add <code>ostruct</code> to gemspec file to suppress stdlib removal
warning.</p>
<p><em>Jonathan Underwood</em></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md">view_component's
changelog</a>.</em></p>
<blockquote>
<h2>3.16.0</h2>
<ul>
<li>
<p>Add template information to multiple template error messages.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add <code>ostruct</code> to gemspec file to suppress stdlib removal
warning.</p>
<p><em>Jonathan Underwood</em></p>
</li>
</ul>
<h2>3.15.1</h2>
<ul>
<li>
<p>Re-add <code>@Private</code>, undocumented <code>.identifier</code>
method that was only meant for internal framework use but was used by
some downstream consumers. This method will be removed in a coming minor
release.</p>
<p><em>Joel Hawksley</em></p>
</li>
</ul>
<h2>3.15.0</h2>
<ul>
<li>
<p>Add basic internal testing for memory allocations.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add support for request formats.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add <code>rendered_json</code> test helper.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add <code>with_format</code> test helper.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Warn if using Ruby &lt; 3.2 or Rails &lt; 7.1, which won't be
supported by ViewComponent v4, to be released no earlier than April 1,
2025.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add Kicksite to list of companies using ViewComponent.</p>
<p><em>Adil Lari</em></p>
</li>
<li>
<p>Allow overridden slot methods to use <code>super</code>.</p>
<p><em>Andrew Schwartz</em></p>
</li>
<li>
<p>Add Rails engine support to generators.</p>
<p><em>Tomasz Kowalewski</em></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ViewComponent/view_component/commit/c7eca7494977a8e0ac8778f006ac54662db10aef"><code>c7eca74</code></a>
release 3.16.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2116">#2116</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/f87c87b661ced1770a47eed7b319b90b0753839e"><code>f87c87b</code></a>
Add template information to multiple template error messages. (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2115">#2115</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/553d63f42250d78f1f9ca47d612c9a39206486a2"><code>553d63f</code></a>
Add ostruct to gemspec (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2107">#2107</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/a528f1cf05f43b6021974dce7f76fa69c33de36b"><code>a528f1c</code></a>
release 3.15.1 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2110">#2110</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/6fa2a9177172d41d283827303f35af025ba51aff"><code>6fa2a91</code></a>
Re-add <code>@Private</code>, undocumented <code>.identifier</code>
method that was only me… (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2109">#2109</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/0dc9342b35d275840d3f2357b2e98508039a4b58"><code>0dc9342</code></a>
release 3.15.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2105">#2105</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/383f775223e1e984c2af7d42681aa5909d406dc8"><code>383f775</code></a>
update Rails and Ruby EOL support message (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2102">#2102</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/4dfc7a9b29cb25068b3bc8a58b09a62aa233ca27"><code>4dfc7a9</code></a>
bundle update (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2098">#2098</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/def144807684e69871cba63c29c41a8fd7aa1a2e"><code>def1448</code></a>
Add basic internal testing for memory allocations (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2097">#2097</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/fe39b4d797500ae96392ff7e20683eabf687817a"><code>fe39b4d</code></a>
Update <code>with_controller_class</code> type documentation (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2094">#2094</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/viewcomponent/view_component/compare/v3.9.0...v3.16.0">compare
view</a></li>
</ul>
</details>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
  • Loading branch information
peteryates authored Oct 6, 2024
2 parents 91e83e2 + f397bdd commit b3eb89f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Test coverage](https://api.codeclimate.com/v1/badges/cbcbc140f300b920d833/test_coverage)](https://codeclimate.com/github/x-govuk/govuk-components/test_coverage)
[![Licence](https://img.shields.io/github/license/x-govuk/govuk-components)](https://github.com/x-govuk/govuk-components/blob/main/LICENSE.txt)
[![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-5.6.0-brightgreen)](https://design-system.service.gov.uk)
[![ViewComponent](https://img.shields.io/badge/ViewComponent-3.3.0-brightgreen)](https://viewcomponent.org/)
[![ViewComponent](https://img.shields.io/badge/ViewComponent-3.16.0-brightgreen)](https://viewcomponent.org/)
[![Rails](https://img.shields.io/badge/Rails-7.0.8%20%E2%95%B1%207.1.3-E16D6D)](https://weblog.rubyonrails.org/releases/)
[![Ruby](https://img.shields.io/badge/Ruby-3.1.6%20%20%E2%95%B1%203.2.4%20%20%E2%95%B1%203.3.4-E16D6D)](https://www.ruby-lang.org/en/downloads/)

Expand Down
2 changes: 1 addition & 1 deletion govuk-components.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|

spec.add_dependency("html-attributes-utils", "~> 1.0.0", ">= 1.0.0")
spec.add_dependency("pagy", ">= 6", "< 10")
spec.add_dependency("view_component", ">= 3.9", "< 3.15")
spec.add_dependency("view_component", ">= 3.9", "< 3.17")

spec.add_development_dependency "deep_merge"
spec.add_development_dependency "pry-byebug"
Expand Down

0 comments on commit b3eb89f

Please sign in to comment.