Commit fa750db
Complete Rails 8.0.4 support
Add full Rails 8.0 compatibility while maintaining backward compatibility
with Rails 6.1, 7.0, 7.1, and 7.2.
Key Changes:
1. SQLite3 Dependency Update:
- Rails 8.0 requires sqlite3 >= 2.1 (was ~> 1.4)
- Add conditional gem requirement in Gemfile:
* Rails 8.x: sqlite3 >= 2.1
* Rails 6-7: sqlite3 ~> 1.4
- Use bundle lock --add-platform ruby for cross-platform support
2. Schema Format Configuration:
- Rails 8.0 removed :none as valid schema_format option
- Add version-conditional logic in test_helper.rb:
* Rails 8.0+: Use :ruby format
* Rails < 8.0: Use :none format (disables schema dumps)
Files Modified:
- Gemfile: Added Rails 8.x sqlite3 version condition
- test/test_helper.rb: Conditional schema_format based on Rails version
Test Results:
- Rails 6.1.7.10: ✅ 674/674 tests passing
- Rails 7.0.10: ✅ 674/674 tests passing
- Rails 7.1.6: ✅ 674/674 tests passing
- Rails 7.2.3: ✅ 674/674 tests passing
- Rails 8.0.4: ✅ 674/674 tests passing
All backward compatibility maintained across Rails 6.1-8.0.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2489be0 commit fa750db
4 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments