mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 00:02:00 +02:00
default freeze string literals where present
This commit is contained in:
parent
19dadfd6d2
commit
0888c9e2df
10 changed files with 14 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue