From ece62b9eb3e2f3995715c32608f1de91d98a22be Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 29 Nov 2023 23:20:31 -0500 Subject: Rails engine no longer needed --- rails/test/dummy/config/initializers/assets.rb | 12 ----------- .../config/initializers/content_security_policy.rb | 25 ---------------------- .../initializers/filter_parameter_logging.rb | 8 ------- .../test/dummy/config/initializers/inflections.rb | 16 -------------- .../config/initializers/permissions_policy.rb | 11 ---------- 5 files changed, 72 deletions(-) delete mode 100644 rails/test/dummy/config/initializers/assets.rb delete mode 100644 rails/test/dummy/config/initializers/content_security_policy.rb delete mode 100644 rails/test/dummy/config/initializers/filter_parameter_logging.rb delete mode 100644 rails/test/dummy/config/initializers/inflections.rb delete mode 100644 rails/test/dummy/config/initializers/permissions_policy.rb (limited to 'rails/test/dummy/config/initializers') diff --git a/rails/test/dummy/config/initializers/assets.rb b/rails/test/dummy/config/initializers/assets.rb deleted file mode 100644 index 2eeef96..0000000 --- a/rails/test/dummy/config/initializers/assets.rb +++ /dev/null @@ -1,12 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Version of your assets, change this if you want to expire all your assets. -Rails.application.config.assets.version = "1.0" - -# Add additional assets to the asset load path. -# Rails.application.config.assets.paths << Emoji.images_path - -# Precompile additional assets. -# application.js, application.css, and all non-JS/CSS in the app/assets -# folder are already added. -# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/rails/test/dummy/config/initializers/content_security_policy.rb b/rails/test/dummy/config/initializers/content_security_policy.rb deleted file mode 100644 index 54f47cf..0000000 --- a/rails/test/dummy/config/initializers/content_security_policy.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Define an application-wide content security policy. -# See the Securing Rails Applications Guide for more information: -# https://guides.rubyonrails.org/security.html#content-security-policy-header - -# Rails.application.configure do -# config.content_security_policy do |policy| -# policy.default_src :self, :https -# policy.font_src :self, :https, :data -# policy.img_src :self, :https, :data -# policy.object_src :none -# policy.script_src :self, :https -# policy.style_src :self, :https -# # Specify URI for violation reports -# # policy.report_uri "/csp-violation-report-endpoint" -# end -# -# # Generate session nonces for permitted importmap and inline scripts -# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s } -# config.content_security_policy_nonce_directives = %w(script-src) -# -# # Report violations without enforcing the policy. -# # config.content_security_policy_report_only = true -# end diff --git a/rails/test/dummy/config/initializers/filter_parameter_logging.rb b/rails/test/dummy/config/initializers/filter_parameter_logging.rb deleted file mode 100644 index adc6568..0000000 --- a/rails/test/dummy/config/initializers/filter_parameter_logging.rb +++ /dev/null @@ -1,8 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Configure parameters to be filtered from the log file. Use this to limit dissemination of -# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported -# notations and behaviors. -Rails.application.config.filter_parameters += [ - :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn -] diff --git a/rails/test/dummy/config/initializers/inflections.rb b/rails/test/dummy/config/initializers/inflections.rb deleted file mode 100644 index 3860f65..0000000 --- a/rails/test/dummy/config/initializers/inflections.rb +++ /dev/null @@ -1,16 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Add new inflection rules using the following format. Inflections -# are locale specific, and you may define rules for as many different -# locales as you wish. All of these examples are active by default: -# ActiveSupport::Inflector.inflections(:en) do |inflect| -# inflect.plural /^(ox)$/i, "\\1en" -# inflect.singular /^(ox)en/i, "\\1" -# inflect.irregular "person", "people" -# inflect.uncountable %w( fish sheep ) -# end - -# These inflection rules are supported but not enabled by default: -# ActiveSupport::Inflector.inflections(:en) do |inflect| -# inflect.acronym "RESTful" -# end diff --git a/rails/test/dummy/config/initializers/permissions_policy.rb b/rails/test/dummy/config/initializers/permissions_policy.rb deleted file mode 100644 index 00f64d7..0000000 --- a/rails/test/dummy/config/initializers/permissions_policy.rb +++ /dev/null @@ -1,11 +0,0 @@ -# Define an application-wide HTTP permissions policy. For further -# information see https://developers.google.com/web/updates/2018/06/feature-policy -# -# Rails.application.config.permissions_policy do |f| -# f.camera :none -# f.gyroscope :none -# f.microphone :none -# f.usb :none -# f.fullscreen :self -# f.payment :self, "https://secure.example.com" -# end -- cgit 1.4.1