Project

General

Profile

Bug #9714

Clean up requires inside hammer-cli gem

Added by Tomáš Strachota over 7 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Hammer's codebase contains multiple requires of the same files at various places, which can cause problems with code being defined twice.

We must either make sure each library file is required only once or always define full path to the file in 'hammer_cli/...' format. See http://ruby-doc.org/core-1.8.6/Kernel.html#method-i-require for additional details.


Related issues

Related to Hammer CLI - Bug #7635: warning: already initialized constant DEFAULT_LABEL_INDENTClosed2014-09-25

Associated revisions

Revision 32cb746b (diff)
Added by Adam Price over 7 years ago

refs #9714 - fixing warning of already initialized constant

History

#1 Updated by Tomáš Strachota over 7 years ago

  • Related to Bug #8374: warning in hammer ping command added

#2 Updated by Tomáš Strachota over 7 years ago

  • Related to Bug #7635: warning: already initialized constant DEFAULT_LABEL_INDENT added

#3 Updated by Tomáš Strachota over 7 years ago

  • Related to deleted (Bug #8374: warning in hammer ping command)

#4 Updated by Adam Price over 7 years ago

  • Related to deleted (Bug #7635: warning: already initialized constant DEFAULT_LABEL_INDENT)

#5 Updated by Adam Price over 7 years ago

  • Related to Bug #7635: warning: already initialized constant DEFAULT_LABEL_INDENT added

#6 Updated by Oleh Fedorenko over 2 years ago

  • Triaged changed from No to Yes

Also available in: Atom PDF