Skip to content

Commit

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

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.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>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Fixed ruby head matcher issue.</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.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>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Fixed ruby head matcher issue.</p>
<p><em>Reegan Viljoen</em></p>
</li>
</ul>
<h2>3.12.1</h2>
<ul>
<li>
<p>Ensure content is rendered correctly for forwarded slots.</p>
<p><em>Cameron Dutro</em></p>
</li>
</ul>
<h2>3.12.0</h2>
<ul>
<li>
<p>Remove offline links from resources.</p>
<p><em>Paulo Henrique Meneses</em></p>
</li>
<li>
<p>Fix templates not being correctly populated when caller location
label has a prefix.</p>
<p>On the upstream version of Ruby, method owners are now included in
backtraces as prefixes. This caused the call stack filtering to not work
as intended and thus <code>source_location</code> to be incorrect for
child ViewComponents, consequently not populating templates
correctly.</p>
<p><em>Allan Pires, Jason Kim</em></p>
</li>
<li>
<p>Use component path for generating RSpec files.</p>
<p>When generating new RSpec files for components, the generator will
use the <code>view_component_path</code> value in the config to decide
where to put the new spec file. For instance, if the
<code>view_component_path</code> option has been changed to
<code>app/views/components</code>, the generator will put the spec file
in <code>spec/views/components</code>. <strong>If the
<code>view_component_path</code> doesn't start with <code>app/</code>,
then the generator will fall back to
<code>spec/components/</code>.</strong></p>
<p>This feature is enabled via the
<code>config.view_component.generate.use_component_path_for_rspec_tests</code>
option, defaulting to <code>false</code>. The default will change to
<code>true</code> in ViewComponent v4.</p>
<p><em>William Mathewson</em></p>
</li>
</ul>
<h2>3.11.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ViewComponent/view_component/commit/0ad3ed0c88e58d36949fd0b580a8bf25e94147b9"><code>0ad3ed0</code></a>
release v3.13.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2057">#2057</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/9cf8905da92f84f09fc8f2ae75a5ee18b1943d74"><code>9cf8905</code></a>
Add Bump.sh to the list of users (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2056">#2056</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/ec1f73ccc0f88422d358b21ce7143f04e006865f"><code>ec1f73c</code></a>
Remove unneeded .DS_Store file</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/0ad4a9a60d0e26dd09bec0584c5314f9bbf82ec7"><code>0ad4a9a</code></a>
bundle update (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2051">#2051</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/2c199360efd2af5bd5e7d724e55b59c1ebc532e4"><code>2c19936</code></a>
Add from to use_helpers to add macro like syntax (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2034">#2034</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/e0dba0b3f4864cd99b81124cc405840c6ea63ff9"><code>e0dba0b</code></a>
Add Teamtailor and AboardHR as users (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2048">#2048</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/de8b79df9e36e28d46e9a80753ec9f2e9ba75a0d"><code>de8b79d</code></a>
Update index.md with DotRuby link (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2046">#2046</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/3376533086c13ac4b2d198ee608a6dd4821a3ecb"><code>3376533</code></a>
Update 0003-polymorphic-slot-definitions.md (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2044">#2044</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/33b568467762f4a937ed42bf376b1953ea8dff2c"><code>33b5684</code></a>
docs/index: add Workbrew. (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2042">#2042</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/d1907216dd98f8121bafd6ef80410534d20ba32a"><code>d190721</code></a>
Streamline CI configuration (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2041">#2041</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/viewcomponent/view_component/compare/v3.9.0...v3.13.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 Aug 13, 2024
2 parents 9551f85 + 416ea82 commit ab3e157
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.13")
spec.add_dependency("view_component", ">= 3.9", "< 3.14")

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

0 comments on commit ab3e157

Please sign in to comment.