Sha256: 3894f9d7c71bfb2258f3aeaf90c297f7a8bbeb48f7d6e1506b2e8350a27f7ef7
Contents?: true
Size: 935 Bytes
Versions: 6
Compression:
Stored size: 935 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 # # Only the following settings are supported: # # * hg_binary_path — path to hg binary in your system. Defaults to /usr/local/bin/hg. # * shell_timeout — default execution timeout for all hg shell commands. Defaults to 3000. # * cache_store — Rails's CacheStore compatible class for caching results of successful hg commands. Defaults to nil. # * debug_mode — send all hg commands to stdout before execution. Defaults to 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
6 entries across 6 versions & 1 rubygems