diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c5fa5ce..9cae87e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - redmine: ["4.2", "5.0", "5.1"] + redmine: ["5.0", "5.1"] db: ["sqlite", "mysql", "postgresql"] include: - ruby: "2.7" diff --git a/README.md b/README.md index c04ab00..52fb0ea 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Redmine Risks [![Latest Release](https://img.shields.io/github/release/eXolnet/redmine-risks.svg?style=flat-square)](https://github.com/eXolnet/redmine-risks/releases) -[![Redmine Compatibility](https://img.shields.io/static/v1?label=redmine&message=4.2.x-5.1.x&color=blue&style=flat-square)](https://www.redmine.org/plugins/redmine_risks) +[![Redmine Compatibility](https://img.shields.io/static/v1?label=redmine&message=5.0.x-5.1.x&color=blue&style=flat-square)](https://www.redmine.org/plugins/redmine_risks) [![Software License](https://img.shields.io/badge/license-MIT-8469ad.svg?style=flat-square)](LICENSE) [![Build Status](https://img.shields.io/github/actions/workflow/status/eXolnet/redmine_risks/tests.yml?label=tests&style=flat-square)](https://github.com/eXolnet/redmine_risks/actions?query=workflow%3Atests) [![Maintainability](https://api.codeclimate.com/v1/badges/85dc8be921f40a688900/maintainability)](https://codeclimate.com/github/eXolnet/redmine-risks/maintainability) @@ -10,7 +10,7 @@ Manage the results of the qualitative risk analysis, quantitative risk analysis, ## Compatibility -This plugin version is compatible only with Redmine 4.2 and later. +This plugin version is compatible only with Redmine 5.0 and later. ## Installation diff --git a/init.rb b/init.rb index 7b493ac..709bf6d 100644 --- a/init.rb +++ b/init.rb @@ -10,7 +10,7 @@ url 'https://github.com/eXolnet/redmine_risks' author_url 'https://www.exolnet.com' - requires_redmine :version_or_higher => '4.2' + requires_redmine :version_or_higher => '5.0' menu :project_menu, :risks, { :controller => 'risks', :action => 'index' }, :caption => :label_risks, :before => :settings, :param => :project_id menu :project_menu, :new_risk, { :controller => 'risks', :action => 'new' }, :caption => :label_new_risk, :after => :new_wiki_sub, :param => :project_id, :parent => :new_object