# frozen_string_literal: true require "duodealer_app/version" # deps require "duodealer_api" require "omniauth-duodealer-oauth2" module DuodealerApp def self.rails6? Rails::VERSION::MAJOR >= 6 end def self.use_webpacker? rails6? && defined?(Webpacker) == "constant" && !configuration.disable_webpacker end # config require "duodealer_app/configuration" # engine require "duodealer_app/engine" # utils require "duodealer_app/utils" # controller concerns require "duodealer_app/controller_concerns/localization" require "duodealer_app/controller_concerns/itp" require "duodealer_app/controller_concerns/login_protection" require "duodealer_app/controller_concerns/embedded_app" require "duodealer_app/controller_concerns/webhook_verification" require "duodealer_app/controller_concerns/app_proxy_verification" # jobs require "duodealer_app/jobs/webhooks_manager_job" require "duodealer_app/jobs/scripttags_manager_job" # managers require "duodealer_app/managers/webhooks_manager" require "duodealer_app/managers/scripttags_manager" # middleware require "duodealer_app/middleware/same_site_cookie_middleware" # session require "duodealer_app/session/storage_strategies/shop_storage_strategy" require "duodealer_app/session/storage_strategies/user_storage_strategy" require "duodealer_app/session/session_storage" require "duodealer_app/session/session_repository" require "duodealer_app/session/in_memory_session_store" end