Remove frozen_string_literal comments
Redundant in Ruby 4.0 where frozen string literals are the default.
The per-file pragma was pure noise.

Assisted-by: Owl Alpha via pi
change xsmpwowmyxpvosrryyxspmyvklztvwnl
commit 45b6fd47044ef4b25e69b63384b8a9c9ed43ea9a
author Alpha Chen <alpha@kejadlen.dev>
date
parent mqpyxlvn
diff --git a/Dockerfile b/Dockerfile
index b7e7987..b5f8699 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,7 @@
 FROM ruby:4.0-slim AS base
 
+ENV RUBYOPT="--enable-frozen-string-literal"
+
 # git is required for git-sourced gem dependencies.
 RUN apt-get update && apt-get install -y --no-install-recommends \
     git \
diff --git a/Gemfile b/Gemfile
index b8282c7..fea1f6c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,3 @@
-# frozen_string_literal: true
 
 source "https://rubygems.org"
 
diff --git a/Rakefile b/Rakefile
index af76f3b..5da8336 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,3 @@
-# frozen_string_literal: true
 
 require "minitest/test_task"
 require_relative "lib/app"
diff --git a/config.ru b/config.ru
index 12a9f62..047f88e 100644
--- a/config.ru
+++ b/config.ru
@@ -1,4 +1,3 @@
-# frozen_string_literal: true
 
 require_relative "lib/app"
 require_relative "lib/web"
diff --git a/lib/app.rb b/lib/app.rb
index 389ccaa..0f6be97 100644
--- a/lib/app.rb
+++ b/lib/app.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "sequel"
 require_relative "config"
diff --git a/lib/config.rb b/lib/config.rb
index 4200726..88169c1 100644
--- a/lib/config.rb
+++ b/lib/config.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "pathname"
 
diff --git a/lib/models.rb b/lib/models.rb
index dd524ca..ab6bd41 100644
--- a/lib/models.rb
+++ b/lib/models.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 module Domus
   class Document < Sequel::Model
diff --git a/lib/relative_time.rb b/lib/relative_time.rb
index a7ac6d1..7ce265c 100644
--- a/lib/relative_time.rb
+++ b/lib/relative_time.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 module Domus
   # Formats a timestamp as a compact, archival relative age —
diff --git a/lib/views/capture_form.rb b/lib/views/capture_form.rb
index e570b19..0aa14ea 100644
--- a/lib/views/capture_form.rb
+++ b/lib/views/capture_form.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "phlex"
 require_relative "icons"
diff --git a/lib/views/home.rb b/lib/views/home.rb
index 5bd6252..f363814 100644
--- a/lib/views/home.rb
+++ b/lib/views/home.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "phlex"
 require_relative "layout"
diff --git a/lib/views/icons.rb b/lib/views/icons.rb
index 2f55d5f..8098766 100644
--- a/lib/views/icons.rb
+++ b/lib/views/icons.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "pathname"
 
diff --git a/lib/views/layout.rb b/lib/views/layout.rb
index e423156..18fc680 100644
--- a/lib/views/layout.rb
+++ b/lib/views/layout.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "phlex"
 
diff --git a/lib/web.rb b/lib/web.rb
index 120a381..fe417a7 100644
--- a/lib/web.rb
+++ b/lib/web.rb
@@ -1,5 +1,4 @@
 # rbs_inline: enabled
-# frozen_string_literal: true
 
 require "roda"
 require "fileutils"
diff --git a/test/test_app.rb b/test/test_app.rb
index 40d8f8d..5222d4a 100644
--- a/test/test_app.rb
+++ b/test/test_app.rb
@@ -1,4 +1,3 @@
-# frozen_string_literal: true
 
 require_relative "test_helper"
 require "rack/test"
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 26bacd9..ccc60e7 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,4 +1,3 @@
-# frozen_string_literal: true
 
 require "minitest/autorun"
 require "sequel"
diff --git a/test/test_relative_time.rb b/test/test_relative_time.rb
index 729434c..79a6458 100644
--- a/test/test_relative_time.rb
+++ b/test/test_relative_time.rb
@@ -1,4 +1,3 @@
-# frozen_string_literal: true
 
 require_relative "test_helper"
 require_relative "../lib/relative_time"