Sha256: 8ad54aa9aca8f8a7fcff03e44acf91773895775267f8bea74a41841293228b46

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

require_relative 'boot'

require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "action_cable/engine"
# require "sprockets/railtie"
# require "rails/test_unit/railtie"

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

STREAM = StringIO.new unless defined?(STREAM)

module Rails50
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.
    config.log_tags = [ :request_id, 'TEST_TAG' ]
    config.loga = {
      device: STREAM,
      host: 'bird.example.com',
      service_name: 'hello_world_app',
      service_version: '1.0',
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loga-2.1.2 spec/fixtures/rails50/config/application.rb
loga-2.1.1 spec/fixtures/rails50/config/application.rb
loga-2.0.0 spec/fixtures/rails50/config/application.rb
loga-2.1.0 spec/fixtures/rails50/config/application.rb