Sha256: aa23dc970cbddd16b5b966f875741f13cba9fbac581f2a2d859be5723684a22e
Contents?: true
Size: 1.72 KB
Versions: 15
Compression:
Stored size: 1.72 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 "select2-rails" require "rails-i18n" require "pundit" require "awesome_print" require "kaminari-i18n" require "carrierwave" require "aasm" require "pdf/reader" require "prawn" require "prawn/table" require "combine_pdf" require "nilify_blanks" require "chartkick" require "axlsx" require "agilibox" if Rails.env.test? || Rails.env.development? require "pry" require "factory_girl_rails" require "factory_girl" end require "acts-as-taggable-on" module Dorsale class Engine < ::Rails::Engine isolate_namespace Dorsale initializer "factory_girl" do if Rails.env.test? || Rails.env.development? FactoryGirl.definition_file_paths.unshift Dorsale::Engine.root.join("spec/factories/").to_s end end initializer "check_rails_version" do if Rails.version < "5.0.0" warn "Dorsale 3 supports only Rails 5, please update Rails." end end initializer "check_pundit_policies" do if Rails.env.test? || Rails.env.development? Dorsale::PolicyChecker.check! end end initializer "assets" do Rails.application.config.assets.precompile += %w( dorsale/avatar.png ) end initializer "simple_form" do require "dorsale/simple_form" require "dorsale/simple_form_bootstrap" end Mime::Type.register "application/vnd.ms-excel", :xls Mime::Type.register "application/vnd.ms-excel", :xlsx end end require_relative "file_loader"
Version data entries
15 entries across 15 versions & 1 rubygems