Fixed a bug where inline templates where unable to remove trailing whitespace without throwing an error.
Reegan Viljoen
Fixed CI for Rails main.
Reegan Viljoen
Add from: option to use_helpers to allow for more flexible helper inclusion from modules.
Reegan Viljoen
Fixed ruby head matcher issue.
Reegan Viljoen
v3.12.1
Ensure content is rendered correctly for forwarded slots.
Cameron Dutro
v3.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 the view_component_path option has been changed to app/views/components, the generator will put the spec file in spec/views/components. If the view_component_path doesn't start with app/, then the generator will fall back to spec/components/.
This feature is enabled via the config.view_component.generate.use_component_path_for_rspec_tests option, defaulting to false. The default will change to true in ViewComponent v4.
William Mathewson
v3.11.0
Fix running non-integration tests under Rails main.
Fixed a bug where inline templates where unable to remove trailing whitespace without throwing an error.
Reegan Viljoen
Fixed CI for Rails main.
Reegan Viljoen
Add from: option to use_helpers to allow for more flexible helper inclusion from modules.
Reegan Viljoen
Fixed ruby head matcher issue.
Reegan Viljoen
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 the view_component_path option has been changed to app/views/components, the generator will put the spec file in spec/views/components. If the view_component_path doesn't start with app/, then the generator will fall back to spec/components/.
This feature is enabled via the config.view_component.generate.use_component_path_for_rspec_tests option, defaulting to false. The default will change to true in ViewComponent v4.
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 commands and options
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 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)
Bumps view_component from 3.10.0 to 3.13.0.
Release notes
Sourced from view_component's releases.
... (truncated)
Changelog
Sourced from view_component's changelog.
... (truncated)
Commits
0ad3ed0
release v3.13.0 (#2057)9cf8905
Add Bump.sh to the list of users (#2056)ec1f73c
Remove unneeded .DS_Store file0ad4a9a
bundle update (#2051)2c19936
Add from to use_helpers to add macro like syntax (#2034)e0dba0b
Add Teamtailor and AboardHR as users (#2048)de8b79d
Update index.md with DotRuby link (#2046)3376533
Update 0003-polymorphic-slot-definitions.md (#2044)33b5684
docs/index: add Workbrew. (#2042)d190721
Streamline CI configuration (#2041)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 commands and options
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