Skip to content

Commit

Permalink
Update for redmine 6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 10, 2024
1 parent d02c180 commit abacbad
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Rails:
Enabled: true

AllCops:
TargetRubyVersion: 2.7
TargetRailsVersion: 6.1.4
TargetRubyVersion: 3.1
TargetRailsVersion: 7.2
NewCops: enable

Metrics/AbcSize:
Expand Down
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 < AdditionalsApplicationRecord
class HedgedocAuthor < ApplicationRecord
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 < AdditionalsApplicationRecord
class HedgedocNote < ApplicationRecord
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 < AdditionalsApplicationRecord
class HedgedocUser < ApplicationRecord
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.2.0'
requires_redmine_plugin :additionals, version_or_higher: '4.0.0'
rescue Redmine::PluginNotFound
raise 'Please install additionals plugin (https://github.com/alphanodes/additionals)'
end
Expand Down

0 comments on commit abacbad

Please sign in to comment.