[ruby] Update view_component 3.11.0 → 3.12.1 (minor)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳ ️ view_component (3.11.0 → 3.12.1) · Repo · Changelog
Release Notes
3.12.1
Ensure content is rendered correctly for forwarded slots.
Cameron Dutro
3.12.0
Remove offline links from resources.
Paulo Henrique Meneses
Fix templates not being correctly populated when caller location label has a prefix.
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
source_location
to be incorrect for child ViewComponents, consequently not populating templates correctly.Allan Pires, Jason Kim
Use component path for generating RSpec files.
When generating new RSpec files for components, the generator will use the
view_component_path
value in the config to decide where to put the new spec file. For instance, if theview_component_path
option has been changed toapp/views/components
, the generator will put the spec file inspec/views/components
. If theview_component_path
doesn't start withapp/
, then the generator will fall back tospec/components/
.This feature is enabled via the
config.view_component.generate.use_component_path_for_rspec_tests
option, defaulting tofalse
. The default will change totrue
in ViewComponent v4.William Mathewson
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 12 commits:
release 3.12.1 (#2018)
Ensure content is rendered correctly for forwarded slots (#2016)
release 3.12.0 (#2014)
Remove offline links from resources.md (#2011)
Fix typo (#2010)
Update filter in source_location to use base_label (#2009)
Use component path for generating RSpec files (#2005)
Bump dependencies per dependabot (#2007)
update dependencies to resolve dependabot warnings (#2001)
Fix small grammatical funkiness on ComponentSlot documentation (#2000)
Added [Rails Designer](https://railsdesigner.com/) to resources page (#1999)
Added article to resources pages (#1998)
↗ ️ method_source (indirect, 1.0.0 → 1.1.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 11 commits:
Exclude .travis.yml
Merge pull request #81 from banister/release-1-1-0
Release v1.1.0
Merge pull request #80 from casperisfine/fstr
Fix compatibility with frozen-string-literal and newer rubies
Merge pull request #73 from yhirano55/cache_clearable
Add MethodSource.clear_cache
Merge pull request #72 from stas/class_method_comment
Allow fetching class/module comments.
Merge pull request #66 from rafbm/patch-1
Add changelog to gemspec
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase
.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)