Ruby 2.6 required

This commit is contained in:
Alexander Meindl
2021-11-11 09:33:20 +01:00
parent d046b7bec9
commit 3f12e31568
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.6
TargetRailsVersion: 5.2
NewCops: enable

View File

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