1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

style(rubocop): Style/FrozenStringLiteralComment

هذا الالتزام موجود في:
Adam Cooke
2024-02-09 17:20:18 +00:00
الأصل ba5bfbd6a0
التزام 6ab36c09c9
217 ملفات معدلة مع 220 إضافات و3 حذوفات

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require_relative "boot"
require "rails"

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
$stdout.sync = true

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Clockwork
configure do |config|

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Load the Rails application.
require_relative "application"

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# ApplicationController.renderer.defaults.merge!(

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# 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.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# Specify a serializer for the signed and encrypted cookie jars.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format. Inflections

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "mail"
module Mail

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# Add new mime types for use in respond_to blocks:

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.0 upgrade.

عرض الملف

@@ -1 +1,2 @@
# frozen_string_literal: true
require "postal"

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ActionView
module RecordIdentifier

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
if Postal.config.rails&.secret_key
Rails.application.secrets.secret_key_base = Postal.config.rails.secret_key
else

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
SecureHeaders::Configuration.default do |config|
config.hsts = SecureHeaders::OPT_OUT

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "postal/config"
if Postal.config.general&.exception_url

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: "_postal_session"

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "postal/config"
if Postal.config&.smtp
ActionMailer::Base.delivery_method = :smtp

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class Net::SMTP::Response
def message

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Rack
class Request

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# This file contains settings for ActionController::ParamsWrapper which

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
Rails.autoloaders.each do |autoloader|
# Ignore the message DB migrations directory as it doesn't follow
# Zeitwerk's conventions and is always loaded and executed in order.

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require_relative "../lib/postal/config"
threads_count = Postal.config.web_server&.max_threads&.to_i || 5
threads threads_count, threads_count

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
Rails.application.routes.draw do
scope "org/:org_permalink", as: "organization" do
resources :domains, only: [:index, :new, :create, :destroy] do