Sha256: f308110e0dfd14b72931ac90da07baf098f533be0194a0344cba1544c9855578

Contents?: true

Size: 1.35 KB

Versions: 9

Compression:

Stored size: 1.35 KB

Contents

module Lalala

  unless RUBY_VERSION == "2.1.2"
    raise "Lalala is only compatible with one version of ruby at a time (current: Ruby 2.1.2)"
  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 'closure_tree'
  require 'globalize3'
  require 'jquery-rails'
  require 'meta_search'
  require 'redcarpet'
  require 'stringex'
  require 'country-select'
  require 'activeadmin'
  require 'haraway'

  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/single_file_input'
  require 'formtastic/inputs/multiple_files_input'
  require 'formtastic/form_builder_ext'

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

  autoload :Markdown
  autoload :Pages
  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

9 entries across 9 versions & 1 rubygems

Version Path
lalala-4.1.0.dev.398 lib/lalala.rb
lalala-4.1.0.dev.397 lib/lalala.rb
lalala-4.1.0.dev.394 lib/lalala.rb
lalala-4.1.0.dev.392 lib/lalala.rb
lalala-4.1.0.dev.391 lib/lalala.rb
lalala-4.1.0.dev.390 lib/lalala.rb
lalala-4.1.0.dev.389 lib/lalala.rb
lalala-4.1.0.dev.387 lib/lalala.rb
lalala-4.1.0.dev.386 lib/lalala.rb