From 972d09ea0fc69916894e5900f5d03c7074f3dee2 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 25 Sep 2025 16:54:38 +0300 Subject: [PATCH] chore: add webrick to dev deps, add ignore to keep string polyfill (#5) --- Gemfile | 5 +++++ scripts/parse_formulas.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index c8cb07a..6b3d7f0 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/scripts/parse_formulas.rb b/scripts/parse_formulas.rb index bc7be08..5d5ae5c 100755 --- a/scripts/parse_formulas.rb +++ b/scripts/parse_formulas.rb @@ -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