Sha256: b828c46c670ae58f37992996ff6800a3e118800e7e701540b5fa4f70b7c2954e

Contents?: true

Size: 673 Bytes

Versions: 7

Compression:

Stored size: 673 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module EacRailsBase0App
  class Application < Rails::Application
    class << self
      def new_stdout_logger
        logger = ActiveSupport::Logger.new($stdout)
        logger.formatter = config.log_formatter
        ::ActiveSupport::TaggedLogging.new(logger)
      end

      def setup(*args)
        args.each { |a| send("setup_#{a}") }
      end
    end

    require_sub __FILE__, include_modules: true, require_mode: :kernel
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eac_rails_base0-0.69.0 lib/eac_rails_base0/app_base/application.rb
eac_rails_base0-0.68.7 lib/eac_rails_base0/app_base/application.rb
eac_rails_base0-0.68.6 lib/eac_rails_base0/app_base/application.rb
eac_rails_base0-0.68.5 lib/eac_rails_base0/app_base/application.rb
eac_rails_base0-0.68.4 lib/eac_rails_base0/app_base/application.rb
eac_rails_base0-0.68.3 lib/eac_rails_base0/app_base/application.rb
eac_rails_base0-0.68.2 lib/eac_rails_base0/app_base/application.rb