Sha256: a3c8bc485a1e07564a7cc9ad1f64912768ffd7ecdccb256978ea91d9c7d15598

Contents?: true

Size: 1015 Bytes

Versions: 10

Compression:

Stored size: 1015 Bytes

Contents

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

  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
    api.allow_cache = false
    api.default_methods_queue = [:post, :delete]
    api.default_methods_cache = [:get]
  end

  # APPEARANCE
  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

  # SECTIONS
  config.prime.cell_section.mixins = [Prime::CellSectionMixin]

  # LOGGER
  config.logger.dealloc_items = ['screen']
  config.logger.level = :info
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
motion-prime-1.0.7 motion-prime/config/base.rb
motion-prime-1.0.6 motion-prime/config/base.rb
motion-prime-1.0.5 motion-prime/config/base.rb
motion-prime-1.0.4 motion-prime/config/base.rb
motion-prime-1.0.3 motion-prime/config/base.rb
motion-prime-1.0.2 motion-prime/config/base.rb
motion-prime-1.0.1 motion-prime/config/base.rb
motion-prime-1.0.0 motion-prime/config/base.rb
motion-prime-0.9.9.2 motion-prime/config/base.rb
motion-prime-0.9.9.1 motion-prime/config/base.rb