You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:11:17 UTC

[jira] [Closed] (BUILDR-481) Antwrap monkey-patching in core.rb

     [ https://issues.apache.org/jira/browse/BUILDR-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-481.
-------------------------------


> Antwrap monkey-patching in core.rb
> ----------------------------------
>
>                 Key: BUILDR-481
>                 URL: https://issues.apache.org/jira/browse/BUILDR-481
>             Project: Buildr
>          Issue Type: Task
>            Reporter: Antoine Toulme
>            Assignee: Antoine Toulme
>             Fix For: 1.4.2
>
>
> In core.rb, there is a weird monkey-patching:
> # TODO: Antwrap 0.7 requires this monkeypatch, have it fixed.
> class Array #:nodoc:
>   alias :nitems :size
> end
> Changing ruby core classes is never a good idea, this should be removed and Antwrap should be fixed if needed to support this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira