public
Rubygem
Description: Git based distributed ticketing system, including a command line client and web viewer
Clone URL: git://github.com/schacon/ticgit.git
Search Repo:
ticgit / lib / ticgit.rb
100644 28 lines (25 sloc) 0.704 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Add the directory containing this file to the start of the load path if it
# isn't there already.
$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
 
require 'rubygems'
# requires git >= 1.0.5
require 'git'
require 'ticgit/base'
require 'ticgit/ticket'
require 'ticgit/comment'
 
require 'ticgit/cli'
 
# TicGit Library
#
# This library implements a git based ticketing system in a git repo
#
# Author:: Scott Chacon (mailto:schacon@gmail.com)
# License:: MIT License
#
module TicGit
  # options
  # :logger => Logger.new(STDOUT)
  def self.open(git_dir, options = {})
    Base.new(git_dir, options)
  end
end