Sha256: 5596ff4922542a4f6775c5e5db9cc4973554ded3939f3348ce80cd329d4c7682

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

# coding: utf-8
require 'sinatra'
require 'rugged'
require 'coderay'
require 'mime-types'

require "webgit/version"
require "webgit/helpers"
require "webgit/app"

module Webgit
	GIT_REPO = ARGV[0] || Dir.pwd
  raise "#{GIT_REPO} is not a git repostory." unless File.exists? "#{GIT_REPO}/.git"
  
  PORT = ARGV[1] || 9999
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webgit-0.1.1 lib/webgit.rb
webgit-0.1.0 lib/webgit.rb