diff --git a/.rubocop.yml b/.rubocop.yml index 1cbb0c9..fba0cc4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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: diff --git a/README.md b/README.md index 08a13da..2a8a44a 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ This plugins adds SAML authentication support for [Redmine](https://www.redmine. ## Requirements -- Redmine `>= 5.0` -- Ruby `>= 2.7 +- Redmine `>= 6.0` +- Ruby `>= 3.1 - Redmine plugins: [additionals](https://www.redmine.org/plugins/additionals) ## Installing diff --git a/init.rb b/init.rb index a5429b9..23f0fe0 100644 --- a/init.rb +++ b/init.rb @@ -9,10 +9,10 @@ author_url 'https://alphanodes.com/' url 'https://github.com/alphanodes/redmine_saml' version RedmineSaml::VERSION - requires_redmine version_or_higher: '5.0' + requires_redmine version_or_higher: '6.0' begin - requires_redmine_plugin :additionals, version_or_higher: '3.0.8' + requires_redmine_plugin :additionals, version_or_higher: '4.0.0' rescue Redmine::PluginNotFound raise 'Please install additionals plugin (https://github.com/alphanodes/additionals)' end