Sha256: 67e3499a75e12dfca33a812d2245b91a2d7c73dbdf29ad34275d928b581c8a45

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

require 'devise'
require 'paperclip'
require 'simple_form'
require 'simple_form_extension'
require 'active_decorator'
require 'haml-rails'
require 'truncate_html'
require 'cocoon'
require 'cancan'
require 'request_store'

require 'sass-rails'
require 'selectize-rails'
require 'bootstrap-sass'
require 'font-awesome-rails'

require 'rails/routing_mapper'
require 'rails/relation_length_validator'

require 'para/ext'
require 'para/errors'
require 'para/config'
require 'para/model_field_parsers'
require 'para/attribute_field'
require 'para/attribute_field_mappings'
require 'para/inputs'
require 'para/cloneable'
require 'para/orderable'
require 'para/form_builder'
require 'para/markup'
require 'para/engine'
require 'para/components_configuration'
require 'para/exporter'
require 'para/importer'

module Para
  extend ActiveSupport::Autoload

  eager_autoload do
    autoload :Config
    autoload :Component
    autoload :Generators
    autoload :Routes
    autoload :Plugins
    autoload :Breadcrumbs
  end

  def self.config(&block)
    if block
      block.call(Para::Config)
    else
      Para::Config
    end
  end

  def self.components
    Para::Component.config
  end

  def self.store
    RequestStore.store
  end

  def self.table_name_prefix
    'para_'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
para-0.5.1 lib/para.rb
para-0.5.0 lib/para.rb