Sha256: 7b6c99bea9bc8f4bf95cd34a5b4da968901a7b3447af7ee91a3562dbdcf2aaf9

Contents?: true

Size: 1.46 KB

Versions: 8

Compression:

Stored size: 1.46 KB

Contents

require "slim-rails"
require "sass-rails"
require "bootstrap-sass"
require "bh"
require "font-awesome-sass"
require "simple_form"
require "coffee-rails"
require "jquery-rails"
require "kaminari"
require "turbolinks"
require "bootstrap-kaminari-views"
require "bootstrap-datepicker-rails"
require "cocoon"
require "selectize-rails"

require "rails-i18n"
require "cancan"
require "awesome_print"
require "kaminari-i18n"
require "carrierwave"
require "aasm"
require "handles_sortable_columns"
require "csv"
require "pdf/reader"
require "prawn"
require "prawn/table"
require "combine_pdf"

if %w(development test).include?(Rails.env)
  require "pry"
  require "factory_girl_rails"
  require "factory_girl"
end

require "dorsale/file_loader"
require "dorsale/polymorphic_id"
require "dorsale/simple_form"
require "dorsale/simple_form_bootstrap"
require "dorsale/model_i18n"
require "dorsale/model_to_s"
require "dorsale/alexandrie/prawn"

require "acts-as-taggable-on"
require "active_record_comma_type_cast"


module Dorsale
  class Engine < ::Rails::Engine
    isolate_namespace Dorsale

    initializer "factory_girl" do
      if %w(development test).include?(Rails.env)
        FactoryGirl.definition_file_paths.unshift Dorsale::Engine.root.join("spec/factories/").to_s
      end
    end

    Mime::Type.register "application/vnd.ms-excel", :xls
    Mime::Type.register "application/vnd.ms-excel", :xlsx
  end
end

Dir.glob Dorsale::Engine.root.join("app/**/concerns/*.rb") do |f|
  require f
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-2.7.3 lib/dorsale/engine.rb
dorsale-2.7.2 lib/dorsale/engine.rb
dorsale-2.7.1 lib/dorsale/engine.rb
dorsale-2.7.0 lib/dorsale/engine.rb
dorsale-2.6.8 lib/dorsale/engine.rb
dorsale-2.6.7 lib/dorsale/engine.rb
dorsale-2.6.6 lib/dorsale/engine.rb
dorsale-2.6.5 lib/dorsale/engine.rb