Sha256: 05f718571591acff62e42dfeb667e931e7499c90390d0be4c5aaadba7022d44a

Contents?: true

Size: 805 Bytes

Versions: 3

Compression:

Stored size: 805 Bytes

Contents

module HumanAttributes
  class Engine < ::Rails::Engine
    isolate_namespace HumanAttributes

    config.generators do |g|
      g.test_framework :rspec, fixture: false
      g.fixture_replacement :factory_girl, dir: "spec/factories"
    end

    initializer "initialize" do
      require_relative "./config"
      require_relative "./errors"
      require_relative "./formatters_builder"
      require_relative "./formatters/base"
      require_relative "./formatters/numeric"
      require_relative "./formatters/date"
      require_relative "./formatters/datetime"
      require_relative "./formatters/boolean"
      require_relative "./formatters/enumerize"
      require_relative "./formatters/custom"
      require_relative "./method_builder"
      require_relative "./extension"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
human_attributes-0.4.0 lib/human_attributes/engine.rb
human_attributes-0.3.1 lib/human_attributes/engine.rb
human_attributes-0.3.0 lib/human_attributes/engine.rb