Project

General

Profile

User story #1161

[PATCH] use Module prepend, to make scrum compatible with other plugins

Added by Redmine Smile almost 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Category:
Issues list & form
Target version:
-
Blocked:
No
Alone:
Milestones:
Sprint:

Description

This patch forces to use Ruby 2.0+, which should be the case on the vast majority of platforms (Matz said : don't use Ruby 1.9 :-))
Prepend is a quite cleaner and respectful way to overload methods, and the patch code is cleaner !

We are testing it here and, there should be no regression.


Files

issue_query_prepend.diff (5.06 KB) issue_query_prepend.diff Redmine Smile, 2016-06-07 12:05
#1

Updated by Emilio González Montaña almost 8 years ago

  • Target version deleted (Scrum v0.14.0)
#2

Updated by Redmine Smile over 7 years ago

Hi Emilio, could we consider enabling prepend only when Ruby version is greater or equal to 2.0,
If yes, I can provide a patch.

Also available in: Atom PDF