Update view_component gem to v2.61.0
What does this MR do and why?
This updates the view_component
gem to its latest version, 2.61.0 which contains a fix that we need to be able to use previews and with that !89240 (merged).
The new version now prints a deprecation warning for each usage of rendered_component
(only used in tests). I have replaced it with page
as suggested expect for one file where that resulted in failing specs due to the way the test is written (using include
checking for exact HTML. have_text
works differently, ...). We can tackle that later. This MR here is only about updating the gem, as prep work for !89240 (merged).
How to set up and validate locally
- Have a look at the released changes here.
- Check the resulting HTML of some of our components.
- Run
rspec specs/components/
to see the remaining deprecation warnings.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Hutterer