Ruby 2.4 or higher is required

This commit is contained in:
Alexander Meindl
2020-04-16 13:00:50 +02:00
parent b6afda186e
commit e82efa6180
3 changed files with 4 additions and 11 deletions

View File

@@ -6,8 +6,9 @@ Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4
TargetRailsVersion: 5.2
NewCops: enable
Metrics:
Enabled: false
@@ -45,17 +46,8 @@ Style/Documentation:
Style/ExpandPathArguments:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true

View File

@@ -11,6 +11,7 @@ Changelog
- Redundant status and priority in messages #56
- Show attachments for new issues
- Show indicator for private comment on issue
- Ruby 2.4 or higher is required
1.0.5
-----

View File

@@ -1,4 +1,4 @@
raise "\n\033[31mredmine_messenger requires ruby 2.3 or newer. Please update your ruby version.\033[0m" if RUBY_VERSION < '2.3'
raise "\n\033[31mredmine_messenger requires ruby 2.4 or newer. Please update your ruby version.\033[0m" if RUBY_VERSION < '2.4'
Redmine::Plugin.register :redmine_messenger do
name 'Redmine Messenger'