Skip to content

Commit

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

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.20.0</h2>
<ul>
<li>
<p>Allow rendering <code>with_collection</code> to accept an optional
<code>spacer_component</code> to be rendered between each item.</p>
<p><em>Nick Coyne</em></p>
</li>
<li>
<p>Remove OpenStruct from codebase.</p>
<p><em>Oleksii Vasyliev</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.20.0</h2>
<ul>
<li>
<p>Allow rendering <code>with_collection</code> to accept an optional
<code>spacer_component</code> to be rendered between each item.</p>
<p><em>Nick Coyne</em></p>
</li>
<li>
<p>Remove OpenStruct from codebase.</p>
<p><em>Oleksii Vasyliev</em></p>
</li>
</ul>
<h2>3.19.0</h2>
<ul>
<li>
<p>Relax Active Support version constraint in gemspec.</p>
<p><em>Simon Fish</em></p>
</li>
</ul>
<h2>3.18.0</h2>
<ul>
<li>
<p>Enable components to use <code>@request</code> and
<code>request</code> methods/ivars.</p>
<p><em>Blake Williams</em></p>
</li>
<li>
<p>Fix bug where implicit locales in component filenames threw a
<code>NameError</code>.</p>
<p><em>Chloe Fons</em></p>
</li>
<li>
<p>Register ViewComponent tests directory for <code>rails
stats</code>.</p>
<p><em>Javier Aranda</em></p>
</li>
<li>
<p>Wrap entire compile step in a mutex to make it more resilient to race
conditions.</p>
<p><em>Blake Williams</em></p>
</li>
<li>
<p>Add <a href="%5Bniva.co%5D(https://www.niva.co/)">Niva</a> to
companies who use <code>ViewComponent</code>.</p>
<p><em>Daniel Vu Dao</em></p>
</li>
<li>
<p>Fix <code>preview_paths</code> in docs.</p>
<p><em>Javier Aranda</em></p>
</li>
</ul>
<h2>3.17.0</h2>
<ul>
<li>
<p>Use struct instead openstruct in lib code.</p>
<p><em>Oleksii Vasyliev</em></p>
</li>
<li>
<p>Fix bug where stimulus controller was not added to ERB when stimulus
was activated by default.</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/2f4f06217a780a0f31084cf390094034a04455ea"><code>2f4f062</code></a>
release 3.20.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2150">#2150</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/c2f093c161ba8aee478a3f68afb37761aaeda01b"><code>c2f093c</code></a>
exit release script when done</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/5b07cf117d256f0dc4d17d7a605bf08721da6bfa"><code>5b07cf1</code></a>
Allow assigning a spacer component between items in a rendered
collection (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2">#2</a>...</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/4ff83279f37101d0b98791865906cbf2b52b9b71"><code>4ff8327</code></a>
Bump errata-ai/vale-action from 2.1.0 to 2.1.1 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2141">#2141</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/cb7e1abf0d0bd021a1866020e2acc463c0e9f377"><code>cb7e1ab</code></a>
Update pull-request-template.md</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/d80b1215922b61ea054fc7b1a2ed2e5d6ad603c1"><code>d80b121</code></a>
bundle update (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2147">#2147</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/c60483c2d7dc78d8a7169ac2274270f3c9be7a0d"><code>c60483c</code></a>
Bump rexml from 3.3.8 to 3.3.9 in /docs (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2146">#2146</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/812acf976313fab71bfedc263daf31ac3f7761a7"><code>812acf9</code></a>
Remove OpenStruct from codebase (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2144">#2144</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/070f0dd244fdb57eb99e4437984a4b9c0867caa8"><code>070f0dd</code></a>
release 3.19.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2143">#2143</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/352195911bbae516eb9b5e2f93c8da97e9c687f1"><code>3521959</code></a>
Relax ActiveSupport version now that Rails 8 beta is available (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2140">#2140</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/viewcomponent/view_component/compare/v3.9.0...v3.20.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 Nov 5, 2024
2 parents 5b2a66d + e799cd4 commit 2ec2551
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.17")
spec.add_dependency("view_component", ">= 3.9", "< 3.21")

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

0 comments on commit 2ec2551

Please sign in to comment.