Defect #10837

reposman and rdm-mailhandler not working with ruby 1.9.x

Added by Nestor Diaz over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:SCM extra
Target version:1.4.2
Resolution:Fixed Affected version:1.4.1

Description

Although wiki page RedmineInstall says Redmine 1.4.x works with Ruby 1.9.x, either should be noticed at docs that automatic scm creation and utilities (aka Reposman) will not work or replace reposman.rb dependency on rdoc/usage by optparse. Rdoc::usage has been removed from ruby 1.9.

Side note 1: this should be really simple fix, but I've just started learning Ruby :/

Associated revisions

Revision 9648
Added by Jean-Philippe Lang over 5 years ago

Use optparse instead rdoc/usage in reposman (#10837).

Revision 9650
Added by Jean-Philippe Lang over 5 years ago

Use optparse instead rdoc/usage in rdm-mailhandler (#10837).

Revision 9673
Added by Jean-Philippe Lang over 5 years ago

Fixed reposman arguments parsing (#10837).

Revision 9675
Added by Jean-Philippe Lang over 5 years ago

Fixed #set_scm in reposman (#10837).

History

#1 Updated by Jean-Philippe Lang over 5 years ago

  • Subject changed from Reposman not working with ruby 1.9.x to reposman and rdm-mailhandler not working with ruby 1.9.x
  • Assignee set to Jean-Philippe Lang
  • Target version set to 1.4.2

Indeed. rdm-mailhandler uses rdoc/usage as well.

#2 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

The 2 scripts were converted to use optparse instead of rdoc/usage.

Also available in: Atom PDF