Skip to content

Commit

Permalink
Upgrade: Bump view_component from 3.11.0 to 3.12.1 (#4566)
Browse files Browse the repository at this point in the history
Bumps [view_component](https://github.com/viewcomponent/view_component)
from 3.11.0 to 3.12.1.
<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.12.1</h2>
<ul>
<li>
<p>Ensure content is rendered correctly for forwarded slots.</p>
<p><em>Cameron Dutro</em></p>
</li>
</ul>
<h2>v3.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>
</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.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>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ViewComponent/view_component/commit/7eac9a74ad76d88b3f963cccec3d29a2020cdc61"><code>7eac9a7</code></a>
release 3.12.1 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2018">#2018</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/719c28a03a719106892706c0662f4efd4cab3342"><code>719c28a</code></a>
Ensure content is rendered correctly for forwarded slots (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2016">#2016</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/19df77c87bab289d862225b29cce600fb13eaffc"><code>19df77c</code></a>
release 3.12.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2014">#2014</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/0f953d95b43abdb48dccdac7f6afb157bb8773f6"><code>0f953d9</code></a>
Remove offline links from resources.md (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2011">#2011</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/7ace5ee47e59985ded781367bad61b162cefc0c6"><code>7ace5ee</code></a>
Fix typo (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2010">#2010</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/f6dc5bec8217265a0aa4a7bbe666045b59138e40"><code>f6dc5be</code></a>
Update filter in source_location to use base_label (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2009">#2009</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/c33a422947e739c88b0b1785a4e55a8c0a174f0f"><code>c33a422</code></a>
Use component path for generating RSpec files (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2005">#2005</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/a8e9a01380aeb3d1731fde4a9a24cbe39009a66f"><code>a8e9a01</code></a>
Bump dependencies per dependabot (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2007">#2007</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/5ae3c12e65628bf1d94d222737b0fd8ec0523b5d"><code>5ae3c12</code></a>
update dependencies to resolve dependabot warnings (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2001">#2001</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/26f3b0f08671247b0922001a553b8b38047aa330"><code>26f3b0f</code></a>
Fix small grammatical funkiness on ComponentSlot documentation (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/2000">#2000</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/viewcomponent/view_component/compare/v3.11.0...v3.12.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=view_component&package-manager=bundler&previous-version=3.11.0&new-version=3.12.1)](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 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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 18, 2024
1 parent 8ba4b71 commit 742492c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ gem 'sentry-sidekiq', '~> 5.17'
gem 'shakapacker', '6.6.0'
gem 'sidekiq', '~> 7.2'
gem 'turbo-rails', '~> 2.0'
gem 'view_component', '~> 3.11'
gem 'view_component', '~> 3.12'

group :development do
gem 'letter_opener', '~> 1.8'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ GEM
uri (0.13.0)
vcr (6.2.0)
version_gem (1.1.2)
view_component (3.11.0)
view_component (3.12.1)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand Down Expand Up @@ -657,7 +657,7 @@ DEPENDENCIES
simplecov (~> 0.22)
turbo-rails (~> 2.0)
vcr (~> 6.2)
view_component (~> 3.11)
view_component (~> 3.12)
web-console (~> 4.2)
webmock (~> 3.19)

Expand Down

0 comments on commit 742492c

Please sign in to comment.