Commit 828b3c5
Fix bundler git_spec to find version line dynamically
The files stub line added to to_ruby output shifted line numbers in
generated gemspecs, causing the hardcoded spec_lines[5] to overwrite
the name attribute instead of the version. Use dynamic index lookup
to find the version line regardless of gemspec header format.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a32f14a commit 828b3c5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
0 commit comments