Sha256: 1947a2785c68b2fb34dfbec6773d040d28b004c03486038a8449f077668dd640
Contents?: true
Size: 1.19 KB
Versions: 4
Compression:
Stored size: 1.19 KB
Contents
# Configure the BucketMaker BucketMaker.configure do |config| # Path Prefix # All the Series, Buckets and Groups can be viewed/edited via a special URI # The path prefix is used to prefix these routes # When set to nil, the routes are not loaded # # Default value - '2bOrNot2B/' # config.path_prefix = '2bOrNot2B/' # # Redis Options # Set the Redis options which can be host, port and db # This takes effect when in module included # in the ActiveModel is BucketMaker::Models::Redisable # # Default value - { host: 'localhost', port: 6379, db: 1 } # config.redis_options = { # host: 'localhost', # port: 6379, # db: 1 # } # # Buckets Config File # The configuration file for adding/removing Series, Buckets and Groups # # config.buckets_config_file = 'config/buckets.yml' # # Lazy Load # If false then Bucketize the object on creation # If true then the Bucketization happens on the first call of in_bucket? # # Default value - true # config.lazy_load = true # # Redis Expiration Time # The redis expiration time if the configuration is for Redis # # Default value - 12.months # config.redis_expiration_time = 12.months # end
Version data entries
4 entries across 4 versions & 1 rubygems