Skip to content

Commit

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

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.14.0</h2>
<ul>
<li>
<p>Defer to built-in caching for language environment setup, rather than
manually using <code>actions/cache</code> in CI.</p>
<p><em>Simon Fish</em></p>
</li>
<li>
<p>Add test coverage for use of <code>turbo_stream</code> helpers in
components when <code>capture_compatibility_patch_enabled</code> is
<code>true</code>.</p>
<p><em>Simon Fish</em></p>
</li>
<li>
<p>Add experimental <code>SlotableDefault</code> module, allowing
components to define a <code>default_SLOTNAME</code> method to provide a
default value for slots.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add documentation on rendering ViewComponents outside of the view
context.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Look for preview files that end in <code>preview.rb</code> rather
than <code>_preview.rb</code> to allow previews to exist in sidecar
directory with test files.</p>
<p><em>Seth Herr</em></p>
</li>
<li>
<p>Add <code>assert_component_rendered</code> test helper.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Add <code>prefix:</code> option to <code>use_helpers</code>.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Add support for Rails 7.2.</p>
<p><em>Reegan Viljoen</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.14.0</h2>
<ul>
<li>
<p>Defer to built-in caching for language environment setup, rather than
manually using <code>actions/cache</code> in CI.</p>
<p><em>Simon Fish</em></p>
</li>
<li>
<p>Add test coverage for use of <code>turbo_stream</code> helpers in
components when <code>capture_compatibility_patch_enabled</code> is
<code>true</code>.</p>
<p><em>Simon Fish</em></p>
</li>
<li>
<p>Add experimental <code>SlotableDefault</code> module, allowing
components to define a <code>default_SLOTNAME</code> method to provide a
default value for slots.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Add documentation on rendering ViewComponents outside of the view
context.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Look for preview files that end in <code>preview.rb</code> rather
than <code>_preview.rb</code> to allow previews to exist in sidecar
directory with test files.</p>
<p><em>Seth Herr</em></p>
</li>
<li>
<p>Add <code>assert_component_rendered</code> test helper.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Add <code>prefix:</code> option to <code>use_helpers</code>.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Add support for Rails 7.2.</p>
<p><em>Reegan Viljoen</em></p>
</li>
</ul>
<h2>3.13.0</h2>
<ul>
<li>
<p>Add ruby head and YJIT to CI.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Fixed a bug where inline templates where unable to remove trailing
whitespace without throwing an error.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Fixed CI for Rails main.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Add <code>from:</code> option to <code>use_helpers</code> to allow
for more flexible helper inclusion from modules.</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/2d48c49563826814fd1c224b938ca76ec433b04f"><code>2d48c49</code></a>
release 3.14.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2080">#2080</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/e10551ec5feb536e256b00cf8ecf44ad585d84e0"><code>e10551e</code></a>
bump rexml (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2078">#2078</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/55c4e7cc8038972a978de1b5b7f4fcafef2ac8af"><code>55c4e7c</code></a>
Bump rexml from 3.3.5 to 3.3.6 in /docs (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2077">#2077</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/d41a7fd604ca9ec28eacca4f220bd8442a9b5810"><code>d41a7fd</code></a>
bundle update (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2076">#2076</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/d090fb927e01dd4519a018033504524d2600b500"><code>d090fb9</code></a>
Defer to built-in action caching (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1938">#1938</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/9c77ec0bedcea796303629dd752e6ad147858285"><code>9c77ec0</code></a>
set default ruby version (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2075">#2075</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/5d0e075f27235223953cc53adbc76fc4d0d188e6"><code>5d0e075</code></a>
Add support for rendering turbo stream tags (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1227">#1227</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/55306bcde8811cf532c26c05c589480ba4366387"><code>55306bc</code></a>
Add support for Rails 7.2 !!!!!! (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2073">#2073</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/e50ad2cb228f50022f865205c2c73cf52813a4e8"><code>e50ad2c</code></a>
fix rails main (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2074">#2074</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/5464c088fc2111faa94e17f16fd9c415712cacfc"><code>5464c08</code></a>
remove individual code ownership (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2069">#2069</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/viewcomponent/view_component/compare/v3.9.0...v3.14.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 Sep 5, 2024
2 parents 3239765 + c557d89 commit cab7570
Showing 1 changed file with 1 addition and 1 deletion.
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.14")
spec.add_dependency("view_component", ">= 3.9", "< 3.15")

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

0 comments on commit cab7570

Please sign in to comment.