Sha256: 3051d62622f590787030591fe00a73c5d3a86723ce45b1a8a55333703023114c

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

module Lalala

  unless RUBY_VERSION == "2.0.0"
    raise "Lalala is only compatible with one version of ruby at a time (current: Ruby 2.0.0)"
  end

  require 'lalala/version'
  require 'lalala/vendor'

  require 'rails/all'
  extend ActiveSupport::Autoload

  groups = Rails.groups(:assets => %w(development test)).map(&:to_sym)

  require 'rails-i18n'
  require 'i18n-country-translations'
  require 'carrierwave'
  require 'closure_tree'
  require 'globalize3'
  require 'jquery-rails'
  require 'meta_search'
  require 'mini_magick'
  require 'redcarpet'
  require 'stringex'
  require 'activeadmin'

  if groups.include?(:assets)
    require 'lalala/assets'
  end

  if groups.include?(:development)
    require 'lalala/development'
  end

  if groups.include?(:test)
    require 'lalala/test'
  end

  require 'formtastic/inputs/grid_input'
  require 'formtastic/inputs/single_file_input'

  autoload :ExtActionDispatch
  autoload :ExtActiveRecord
  autoload :ExtI18n
  autoload :ExtRack
  autoload :ExtWithAdvisoryLock

  autoload :Markdown
  autoload :Pages
  autoload :Uploaders
  autoload :Cache

  module Core
    require 'lalala/core/class_inheritable_setting'
  end

  module Views
    require 'lalala/views/tree_table_for'
    require 'lalala/views/index_as_tree_table'
    require 'lalala/views/title_bar'
  end

  require 'lalala/engine'

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.179 lib/lalala.rb
lalala-4.0.0.dev.178 lib/lalala.rb
lalala-4.0.0.dev.177 lib/lalala.rb
lalala-4.0.0.dev.176 lib/lalala.rb
lalala-4.0.0.dev.170 lib/lalala.rb
lalala-4.0.0.dev.168 lib/lalala.rb