File tree Expand file tree Collapse file tree 6 files changed +11
-16
lines changed Expand file tree Collapse file tree 6 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 1- name : Tests 5.1.2
1+ name : Tests 5.1.5
22
33env :
44 PLUGIN_NAME : redmine_drafts
5- REDMINE_VERSION : 5.1.2
5+ REDMINE_VERSION : 5.1.5
66 RAILS_ENV : test
77
88on :
8989 - name : Prepare Redmine source
9090 working-directory : redmine
9191 run : |
92- # TODO Remove the following line when https://www.redmine.org/issues/40551 is fixed
93- sed -i -e 's/.*mocha.*/ gem "mocha", "2.1.0"/' Gemfile # Fix core tests not compatible with Mocha 2.2.0
9492 sed -i '/rubocop/d' Gemfile
9593 rm -f .rubocop*
9694 cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml
Original file line number Diff line number Diff line change 1- name : Tests 4.2.11
1+ name : Tests 6.0.2
22
33env :
44 PLUGIN_NAME : redmine_drafts
5- REDMINE_VERSION : 4.2.11
5+ REDMINE_VERSION : 6.0.2
66 RAILS_ENV : test
77
88on :
1616
1717 strategy :
1818 matrix :
19- ruby : ['2.7 ']
19+ ruby : ['3.3 ']
2020 db : ['postgres']
2121 fail-fast : false
2222
8989 - name : Prepare Redmine source
9090 working-directory : redmine
9191 run : |
92- # TODO Remove the following line when https://www.redmine.org/issues/40551 is fixed
93- sed -i -e 's/.*mocha.*/ gem "mocha", "2.1.0"/' Gemfile # Fix core tests not compatible with Mocha 2.2.0
9492 sed -i '/rubocop/d' Gemfile
9593 rm -f .rubocop*
9694 cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml
Original file line number Diff line number Diff line change 1616
1717 strategy :
1818 matrix :
19- ruby : ['3.2 ']
19+ ruby : ['3.3 ']
2020 db : ['postgres']
2121 fail-fast : false
2222
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ Then :
1717
1818| Plugin branch| Redmine Version | Test Status |
1919| -------------| -----------------| -------------------|
20- | master | 4.2.11 | [ ![ 4.2.11 ] [ 1 ]] [ 5 ] |
21- | master | 5.1.2 | [ ![ 5.1.2 ] [ 2 ]] [ 5 ] |
20+ | master | 6.0.2 | [ ![ 6.0.2 ] [ 1 ]] [ 5 ] |
21+ | master | 5.1.5 | [ ![ 5.1.5 ] [ 2 ]] [ 5 ] |
2222| master | master | [ ![ master] [ 4 ]] [ 5 ] |
2323
24- [ 1 ] : https://github.com/jbbarth/redmine_drafts/actions/workflows/4_2_11 .yml/badge.svg
25- [ 2 ] : https://github.com/jbbarth/redmine_drafts/actions/workflows/5_1_2 .yml/badge.svg
24+ [ 1 ] : https://github.com/jbbarth/redmine_drafts/actions/workflows/6_0_2 .yml/badge.svg
25+ [ 2 ] : https://github.com/jbbarth/redmine_drafts/actions/workflows/5_1_5 .yml/badge.svg
2626[ 4 ] : https://github.com/jbbarth/redmine_drafts/actions/workflows/master.yml/badge.svg
2727[ 5 ] : https://github.com/jbbarth/redmine_drafts/actions
2828
Original file line number Diff line number Diff line change 11class DraftsController < ApplicationController
2- unloadable
32
43 before_action :require_login
54
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def clean_drafts_after_update
1111 end
1212end
1313
14- class Issue < ActiveRecord :: Base
14+ class Issue
1515
1616 include RedmineDrafts ::IssuePatch
1717
You can’t perform that action at this time.
0 commit comments