Skip to content

Commit

Permalink
additionals 3.2.0 required
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Jun 12, 2024
1 parent 20dc2e0 commit 4f43c92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/hedgedoc_author.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class HedgedocAuthor < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
class HedgedocAuthor < AdditionalsApplicationRecord
include HedgedocDatabase
self.table_name = 'Authors'

Expand Down
2 changes: 1 addition & 1 deletion app/models/hedgedoc_note.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class HedgedocNote < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
class HedgedocNote < AdditionalsApplicationRecord
include HedgedocDatabase
self.table_name = 'Notes'

Expand Down
2 changes: 1 addition & 1 deletion app/models/hedgedoc_user.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class HedgedocUser < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord
class HedgedocUser < AdditionalsApplicationRecord
include HedgedocDatabase
self.table_name = 'Users'

Expand Down
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
author_url 'https://alphanodes.com/'

begin
requires_redmine_plugin :additionals, version_or_higher: '3.0.6'
requires_redmine_plugin :additionals, version_or_higher: '3.2.0'
rescue Redmine::PluginNotFound
raise 'Please install additionals plugin (https://github.com/alphanodes/additionals)'
end
Expand Down

0 comments on commit 4f43c92

Please sign in to comment.