Sha256: 35c2d7500e2c8ad8e90a8d283d4811f8917b40575a88f03075d297937761f1b1

Contents?: true

Size: 814 Bytes

Versions: 11

Compression:

Stored size: 814 Bytes

Contents

motion_require './config.rb'
MotionPrime::Config.configure do |config|
  if MotionPrime.env.test?
    config.model.store_type = :memory
  else
    config.model.store_type = :file
  end
  config.model.auto_generate_id = true
  
  config.fonts do |fonts|
    fonts.base = :system
  end

  config.colors do |colors|
    colors.base = 0x1b75bc
    colors.dark = 0x333333
    colors.error = 0xef471f
  end
  config.api_client do |api|
    api.base = "http://example.com"
    api.client_id = ""
    api.client_secret = ""
    api.signature_secret = ""
    api.sign_request = false
    api.auth_path = '/oauth/token'
    api.api_namespace = '/api'
    api.allow_queue = false
  end
  config.prime.cell_section.mixins = [Prime::CellSectionMixin]
  config.logger.level = :info
  config.logger.dealloc_items = ['screen']
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
motion-prime-0.9.4 motion-prime/config/base.rb
motion-prime-0.9.3 motion-prime/config/base.rb
motion-prime-0.9.2 motion-prime/config/base.rb
motion-prime-0.9.1 motion-prime/config/base.rb
motion-prime-0.9.0 motion-prime/config/base.rb
motion-prime-0.8.12 motion-prime/config/base.rb
motion-prime-0.8.11 motion-prime/config/base.rb
motion-prime-0.8.10 motion-prime/config/base.rb
motion-prime-0.8.9 motion-prime/config/base.rb
motion-prime-0.8.8 motion-prime/config/base.rb
motion-prime-0.8.7 motion-prime/config/base.rb