File tree 3 files changed +6
-11
lines changed 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 4
4
- rubocop-minitest
5
5
6
6
AllCops :
7
- TargetRubyVersion : 2.7
8
- TargetRailsVersion : 6.1
7
+ TargetRubyVersion : 3.1
8
+ TargetRailsVersion : 7.2
9
9
NewCops : enable
10
10
11
11
Rails :
@@ -86,7 +86,6 @@ Style/AutoResourceCleanup:
86
86
Style/ExpandPathArguments :
87
87
Enabled : true
88
88
Exclude :
89
- - additionals.gemspec
90
89
- test/**/*
91
90
92
91
Style/FrozenStringLiteralComment :
@@ -105,7 +104,7 @@ Style/OptionHash:
105
104
- parameters
106
105
- settings
107
106
Exclude :
108
- - lib/additionals /patches/*.rb
107
+ - lib/redmine_issue_view_columns /patches/*.rb
109
108
110
109
# postgresql and mysql are supported
111
110
# autodetect does not work without database configuration
@@ -139,10 +138,6 @@ Naming/VariableNumber:
139
138
Exclude :
140
139
- ' test/**/*'
141
140
142
- Style/StringConcatenation :
143
- Exclude :
144
- - ' app/views/additionals/_select2_ajax_call.*'
145
-
146
141
# see https://github.com/rubocop/rubocop-rails/issues/578
147
142
# redmine does not use load_defaults: https://rails.rubystyle.guide/#config-defaults
148
143
Rails/RedundantPresenceValidationOnBelongsTo :
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- class IssueViewColumn < AdditionalsApplicationRecord
3
+ class IssueViewColumn < ApplicationRecord
4
4
belongs_to :project
5
5
6
6
scope :sorted , -> { order :position }
Original file line number Diff line number Diff line change 9
9
author_url 'https://alphanodes.com/'
10
10
description 'Customize shown columns in subtasks and related issues on issue page'
11
11
version RedmineIssueViewColumns ::VERSION
12
- requires_redmine version_or_higher : '5.0'
12
+ requires_redmine version_or_higher : '5.1' # redmine 6.0 is required, but version is not set in redmine source yet
13
13
14
14
begin
15
- requires_redmine_plugin :additionals , version_or_higher : '3.2 .0'
15
+ requires_redmine_plugin :additionals , version_or_higher : '4.0 .0'
16
16
rescue Redmine ::PluginNotFound
17
17
raise 'Please install additionals plugin (https://github.com/alphanodes/additionals)'
18
18
end
You can’t perform that action at this time.
0 commit comments