Commit 2d4c790
committed
Fix ReactOnRails::PackerUtils.using_packer? compatibility with react_on_rails 16.0
The using_packer? method was removed in react_on_rails 16.0 as part of the
transition to Shakapacker-only support. Since Shakapacker is now assumed
to always be in use, the check is no longer needed.
Changes:
- Remove using_packer? check from Utils.bundle_file_name method
- Remove mock of non-existent method from spec
- Update comments to reference Shakapacker instead of webpacker
Fixes CI failures in utils_spec.rb1 parent f9abd84 commit 2d4c790
File tree
2 files changed
+3
-8
lines changed- lib/react_on_rails_pro
- spec/react_on_rails_pro
2 files changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | | - | |
82 | | - | |
| 77 | + | |
| 78 | + | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
0 commit comments