Sha256: 8ff97c8e18db1f9c42c6aa03506f9a823fe1ea8d180657d2c6b8475478863d9a

Contents?: true

Size: 1.33 KB

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.165 lib/lalala.rb
lalala-4.0.0.dev.162 lib/lalala.rb
lalala-4.0.0.dev.161 lib/lalala.rb
lalala-4.0.0.dev.160 lib/lalala.rb