mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 08:47:11 -05:00
40 lines
1.3 KiB
Ruby
40 lines
1.3 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative 'boot'
|
|
|
|
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 Dawarich
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 8.0
|
|
|
|
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
|
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
|
# Common ones are `templates`, `generators`, or `middleware`, for example.
|
|
config.autoload_lib(ignore: %w[assets tasks])
|
|
|
|
# Configuration for the application, engines, and railties goes here.
|
|
#
|
|
# These settings can be overridden in specific environments using the files
|
|
# in config/environments, which are processed later.
|
|
#
|
|
config.time_zone = ENV.fetch('TIME_ZONE', 'Europe/Berlin')
|
|
# config.eager_load_paths << Rails.root.join("extras")
|
|
|
|
# Don't generate system test files.
|
|
config.generators.system_tests = nil
|
|
config.generators do |g|
|
|
g.test_framework :rspec, fixture: false
|
|
g.view_specs false
|
|
g.routing_specs false
|
|
g.helper_specs false
|
|
end
|
|
|
|
config.active_job.queue_adapter = :sidekiq
|
|
end
|
|
end
|