Sha256: 3ae95e282e78fd74f61b19170bd3f43943a549c56f126e23d7beb043c3f5889e
Contents?: true
Size: 862 Bytes
Versions: 10
Compression:
Stored size: 862 Bytes
Contents
module Flexite class Configuration attr_accessor :paths, :root_cache_key, :source_roots, :hierarchy attr_accessor :app_link, :app_name, :history_limit, :migration_token attr_accessor :diff_depth_separator, :async_diff_handler, :diff_approach attr_accessor :stagename, :stages attr_reader :cache def initialize @paths = {} @root_cache_key = 'all-cached-nodes' @cache = ActiveSupport::Cache::MemoryStore.new(size: 64.megabytes) @app_link = '/' @source_roots = {} @hierarchy = {} @history_limit = 10 @diff_depth_separator = ' -> ' @diff_approach = :sync @stages = [] end def cache_store=(*args) @cache = ActiveSupport::Cache.lookup_store(*args) if @cache.options[:namespace].blank? @cache.options[:namespace] = :flexite end end end end
Version data entries
10 entries across 10 versions & 1 rubygems