Sha256: 46768bf640b83a16ff57345a727930fff4ddcfa2a4818424110902a17e44dfa2

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 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.navigation_base = 0x1b75bc
    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

2 entries across 2 versions & 1 rubygems

Version Path
motion-prime-0.9.6 motion-prime/config/base.rb
motion-prime-0.9.5 motion-prime/config/base.rb