Sha256: 221f5dc7bc589b9ea01595ad607c515a3c3e55b0c2fdec5ade1d0b4db1f90039

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 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 "FCM"
        inflect.acronym "SMS"
        inflect.acronym "SNS"
        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

2 entries across 2 versions & 1 rubygems

Version Path
bmc-1.0.1 lib/bmc/engine.rb
bmc-1.0.0 lib/bmc/engine.rb