Sha256: 33ebb81c523886f9926434a88ed20d2b103bf12853154b38600df08f8d8e5005

Contents?: true

Size: 811 Bytes

Versions: 16

Compression:

Stored size: 811 Bytes

Contents

require "awesome_print"
require "pry-rails"
require "rails-i18n"
require "nilify_blanks"
require "tapenade"
require "attr_extras/explicit"

module BMC
  class Engine < ::Rails::Engine
    isolate_namespace BMC

    initializer "inflections" do
      ActiveSupport::Inflector.inflections(:en) do |inflect|
        inflect.acronym "BMC"
        inflect.acronym "SMS"
        inflect.acronym "UUID"
        inflect.acronym "XLSX"
      end
    end

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

    # initializer "bmc_errors_middleware" do
    #   require "bmc/errors_middleware"
    # end
  end
end

require_relative "config"
require_relative "engine_file"
require_relative "core_and_rails_ext"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
bmc-1.6.1 lib/bmc/engine.rb
bmc-1.6.0 lib/bmc/engine.rb
bmc-1.5.1 lib/bmc/engine.rb
bmc-1.5.0 lib/bmc/engine.rb
bmc-1.4.3 lib/bmc/engine.rb
bmc-1.4.2 lib/bmc/engine.rb
bmc-1.4.1 lib/bmc/engine.rb
bmc-1.4.0 lib/bmc/engine.rb
bmc-1.3.5 lib/bmc/engine.rb
bmc-1.3.4 lib/bmc/engine.rb
bmc-1.3.3 lib/bmc/engine.rb
bmc-1.3.2 lib/bmc/engine.rb
bmc-1.3.1 lib/bmc/engine.rb
bmc-1.3.0 lib/bmc/engine.rb
bmc-1.2.1 lib/bmc/engine.rb
bmc-1.2.0 lib/bmc/engine.rb