Class: MetaProject::Tracker::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/meta_project/tracker/base.rb

Overview

Tracker objects are responsible for interacting with issue trackers (bug trackers). They know how to recognise issue identifiers in strings (typically from SCM commit messages) and turn these into HTML links that point to the associated issue on an issue tracker installation running somewhere else.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.classesObject



9
10
11
12
13
14
15
16
# File 'lib/meta_project/tracker/base.rb', line 9

def self.classes
  [
    Jira::JiraTracker,
    Trac::TracTracker,
    XForge::RubyForgeTracker,
    XForge::SourceForgeTracker,
  ]
end

Instance Method Details

#issue(issue_identifier) ⇒ Object



18
19
20
# File 'lib/meta_project/tracker/base.rb', line 18

def issue(issue_identifier)
  Issue.new(self, :identifier => issue_identifier)
end