chore: add webrick to dev deps, add ignore to keep string polyfill (#5)

This commit is contained in:
2025-09-25 16:54:38 +03:00
committed by GitHub
parent fb522d916b
commit 972d09ea0f
2 changed files with 6 additions and 1 deletions

View File

@@ -7,3 +7,8 @@ ruby "3.4.6"
gem "cssminify2", "~> 2.0"
gem "json", "~> 2.7"
gem "terser", "~> 1.2"
# dev dependencies
group :development do
gem "webrick", "~> 1.9"
end

View File

@@ -11,7 +11,7 @@ require "date"
class String
def blank?
# Polyfill implementation to avoid external dependencies
nil? || empty? # rubocop:disable Homebrew/Blank
nil? || empty? # rubocop:disable Homebrew/Blank, Lint/RedundantCopDisableDirective
end
end