Sha256: cbb8591252bfb31f99e0fb3d0a4880e3dacc91bc40dcd60c0bbe35463dcc294f
Contents?: true
Size: 871 Bytes
Versions: 3
Compression:
Stored size: 871 Bytes
Contents
require "active_support/configurable" require "git_wit/engine" require "git_wit/errors" require "git_wit/auth" require "git_wit/shell" require "git_wit/authorized_keys" module GitWit include ActiveSupport::Configurable config_accessor :repositories_path, :ssh_user, :realm, :git_http_backend_path, :insecure_write, :insecure_auth def self.reset_config! @_config = nil end def self.stash_config @_stashed = @_config.dup end def self.restore_config @_config = @_stashed @_stashed = nil end def self.default_config! reset_config! configure do |config| config.realm = "GitWit" config.repositories_path = "/var/git" config.ssh_user = "git" config.git_http_backend_path = "/usr/libexec/git-core/git-http-backend" config.insecure_write = false config.insecure_auth = false end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git_wit-0.0.3 | lib/git_wit.rb |
git_wit-0.0.2 | lib/git_wit.rb |
git_wit-0.0.1 | lib/git_wit.rb |