-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI and Rails 7.1 compatibility on main (#107)
* Improve CI Stable builds: - Test against Ruby 3.3 stable - Test against Rails 7.1 stable - Test against Rails 7.2 beta Experimental builds: - Test against Rails edge (previously: 7.1, ref: #106) - Test against Ruby head Fixes: - Fix sqlite3 dependency on old Rails versions Updates: - Update GitHub actions Readability: - Sort and group inclusion and exclusions in CI matrix * Fix Rails 7.1 compatibility Also: - Invert the logic to make the conditional more readable - Add "alpha" to version to include pre-releases ActiveRecord: - 7.2: `Base.connection_pool.schema_migration.table_name` - 7.1, 7.0, 6.x: `Base.connection.schema_migration.table_name` - 5.x: `SchemaMigration.table_name` Close #106 * Use `respond_to?` to find migration table name Removes dependency on version
- Loading branch information
Showing
9 changed files
with
108 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "database_cleaner-core", git: "https://github.com/DatabaseCleaner/database_cleaner" | ||
gem "rails", "~> 7.2.0.beta2" | ||
|
||
group :test do | ||
gem "simplecov", require: false | ||
gem "codecov", require: false | ||
end | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "database_cleaner-core", git: "https://github.com/DatabaseCleaner/database_cleaner" | ||
gem "rails", github: "rails/rails" | ||
|
||
group :test do | ||
gem "simplecov", require: false | ||
gem "codecov", require: false | ||
end | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters