Files
redux-scraper/config/application.rb
Dylan Knutson 9e8f2651db Refactor FA cookie management and enhance testing
- Updated the FA cookie management in the Scraper::FaHttpClientConfig class to validate cookie formats and handle cookies more robustly.
- Removed the fa.yml configuration file and integrated cookie retrieval directly within the class.
- Added comprehensive tests for cookie handling in the new fa_http_client_config_spec.rb file.
- Updated the Gemfile to include parallel_tests in the test and development group.
- Modified the .rspec file to enable color output for better readability in test results.
- Simplified test commands in the justfile for improved usability.
- Adjusted the rails_helper.rb to ensure the test environment is correctly set up.
2024-12-30 02:00:30 +00:00

35 lines
1.1 KiB
Ruby

require_relative "boot"
require "rails/all"
module ReduxScraper
class Application < Rails::Application
config.active_support.deprecation = :raise
end
end
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module ReduxScraper
class Application < Rails::Application
config.session_store :cookie_store, key: "_refurrer_session"
config.assets.precompile << "delayed/web/application.css"
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0
config.autoload_paths << config.root.join("app/lib")
# all environments use good_job (in external execution mode)
config.active_job.queue_adapter = :good_job
# 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 = "Pacific Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
end
end