Commit 5276809
Fix method visibility issue by moving private directive to correct location
The private directive was incorrectly placed after append_to_spec_rails_helper,
making critical methods like add_react_on_rails_package, add_react_dependencies,
add_css_dependencies, and add_dev_dependencies private when they need to be
public for external generators to call them.
This was causing the install generator to fail because it couldn't access these
methods, leading to gem dependency conflicts during testing.
Moved private directive to its proper location after all public methods but
before private helper methods like handle_npm_failure.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent ad8ff55 commit 5276809
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
| 230 | + | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments