Sha256: a089800def730907fbf07761e61d3789c66999f32551d7c14f817441e9ea2d86
Contents?: true
Size: 1.77 KB
Versions: 10
Compression:
Stored size: 1.77 KB
Contents
# encoding: utf-8 require 'pathname' require 'sunrise/core_ext' require 'sunrise/version' module Sunrise autoload :Utils, 'sunrise/utils' autoload :Config, 'sunrise/config' autoload :AbstractModel, 'sunrise/abstract_model' module Models autoload :Asset, 'sunrise/models/asset' autoload :Structure, 'sunrise/models/structure' autoload :StructureType, 'sunrise/models/structure_type' autoload :PositionType, 'sunrise/models/position_type' autoload :Role, 'sunrise/models/role' autoload :RoleType, 'sunrise/models/role_type' autoload :Header, 'sunrise/models/header' autoload :User, 'sunrise/models/user' autoload :Ability, 'sunrise/models/ability' autoload :Settings, 'sunrise/models/settings' end module CarrierWave autoload :Glue, 'sunrise/carrierwave/glue' autoload :BaseUploader, 'sunrise/carrierwave/base_uploader' autoload :FileSizeValidator, 'sunrise/carrierwave/file_size_validator' end module Views autoload :FormBuilder, 'sunrise/views/form_builder' autoload :SearchWrapper, 'sunrise/views/search_wrapper' autoload :Helper, 'sunrise/views/helper' end module Hooks module Adapters autoload :ActiveRecord, 'sunrise/hooks/adapters/active_record' autoload :Mongoid, 'sunrise/hooks/adapters/mongoid' end end # Regexp machers for context-based russian month names and day names translation LOCALIZE_ABBR_MONTH_NAMES_MATCH = /(%[-\d]?d|%e)(.*)(%b)/ LOCALIZE_MONTH_NAMES_MATCH = /(%[-\d]?d|%e)(.*)(%B)/ LOCALIZE_STANDALONE_ABBR_DAY_NAMES_MATCH = /^%a/ LOCALIZE_STANDALONE_DAY_NAMES_MATCH = /^%A/ def self.root_path @root_path ||= Pathname.new( File.dirname(File.expand_path('../', __FILE__)) ) end def self.setup yield Config end end require 'sunrise/engine'
Version data entries
10 entries across 10 versions & 1 rubygems