Module: Hookers

Extended by:
Hookers
Included in:
Hookers
Defined in:
lib/hookers.rb,
lib/hookers/command.rb,
lib/hookers/version.rb,
lib/hookers/git/setup.rb,
lib/hookers/git/commit.rb,
lib/hookers/commands/help.rb,
lib/hookers/git/repository.rb,
lib/hookers/changelog/commit.rb,
lib/hookers/changelog/parser.rb,
lib/hookers/commands/pivotal.rb,
lib/hookers/changelog/affects.rb,
lib/hookers/changelog/history.rb,
lib/hookers/changelog/project.rb,
lib/hookers/changelog/matchers.rb,
lib/hookers/commands/changelog.rb,
lib/hookers/commands/git_setup.rb,
lib/hookers/commands/git_commit.rb,
lib/hookers/pivotal/http_client.rb,
lib/hookers/changelog/changelogger.rb,
lib/hookers/pivotal/tracker_project.rb

Defined Under Namespace

Modules: Changelog, Command, Commands, Git, Pivotal

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.commandsObject



4
5
6
# File 'lib/hookers/command.rb', line 4

def self.commands
  @@commands ||= {}
end

.run!(command, options = {}) ⇒ Object



17
18
19
# File 'lib/hookers.rb', line 17

def self.run!(command, options = {})
  commands.fetch(command, Hookers::Commands::Help).new(command, options).run
end

Instance Method Details

#rootObject



13
14
15
# File 'lib/hookers.rb', line 13

def root
  File.expand_path '../..', __FILE__
end