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,8 +1,10 @@
# frozen_string_literal: true
require 'sanitize'
class SiteFile < Sequel::Model
CLASSIFIER_LIMIT = 1_000_000.freeze
CLASSIFIER_WORD_LIMIT = 25.freeze
CLASSIFIER_LIMIT = 1_000_000
CLASSIFIER_WORD_LIMIT = 25
unrestrict_primary_key
plugin :update_primary_key
many_to_one :site