-
Notifications
You must be signed in to change notification settings - Fork 118
Implement Redmine 6.0 compatibility with Rails 7, selective model inheritance, and WikiFormatting integration #840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
333c9a7
1ff327e
46452f4
630c8a0
87a7b47
57198b5
c2f53b9
3fe3846
c6bfcbb
900e54f
fd07f62
0b7cb58
bb266c1
733371f
57b34ee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
class GitCache < ActiveRecord::Base | ||
class GitCache < (defined?(ApplicationRecord) == 'constant' ? ApplicationRecord : ActiveRecord::Base) | ||
|
||
include Redmine::SafeAttributes | ||
|
||
CACHE_ADAPTERS = [%w[Database database], | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot ruby 3.0 is not supported by Redmine 6. Drop it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're absolutely right. I've removed Ruby 3.0 from the CI matrix since it's not supported by Redmine 6.0. The CI now tests with Ruby 3.1-3.3 only. Fixed in commit 630c8a0.