default freeze string literals where present

This commit is contained in:
Kyle Drake 2024-01-09 12:49:17 -06:00
parent 19dadfd6d2
commit 0888c9e2df
10 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'tilt'
require 'rss'
require 'nokogiri'
@ -144,7 +145,7 @@ class Site < Sequel::Model
BLOCK_JERK_PERCENTAGE = 30
BLOCK_JERK_THRESHOLD = 25
MAXIMUM_TAGS = 5
MAX_USERNAME_LENGTH = 32.freeze
MAX_USERNAME_LENGTH = 32
LEGACY_SUPPORTER_PRICES = {
plan_one: 1,