Sha256: edec6674e2e14730220bde64f1aeba0c91ba94a4aaa2ee06c14dd18231910bf8
Contents?: true
Size: 941 Bytes
Versions: 9
Compression:
Stored size: 941 Bytes
Contents
module Mercurial # # Use this class to setup various internal settings of the gem. # # Example: # # Mercurial.configure do |conf| # conf.cache_store = Rails.cache # conf.debug_mode = true # end # # Currently only the following settings are supported: # # * hg_binary_path — path to hg binary in your system. Default is /usr/local/bin/hg. # * shell_timeout — default execution timeout for all hg shell commands. Default is 3000. # * cache_store — Rails's CacheStore compatible class for caching results of successful hg commands. Default is nil. # * debug_mode — send all hg commands to stdout before execution. Default is false. # class Configuration attr_accessor :hg_binary_path, :shell_timeout, :cache_store, :debug_mode def initialize @hg_binary_path = '/usr/local/bin/hg' @shell_timeout = 3000 @debug_mode = false end end end
Version data entries
9 entries across 9 versions & 1 rubygems