mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-02-26 15:54:42 +00:00
chore: add webrick to dev deps, add ignore to keep string polyfill (#5)
This commit is contained in:
5
Gemfile
5
Gemfile
@@ -7,3 +7,8 @@ ruby "3.4.6"
|
|||||||
gem "cssminify2", "~> 2.0"
|
gem "cssminify2", "~> 2.0"
|
||||||
gem "json", "~> 2.7"
|
gem "json", "~> 2.7"
|
||||||
gem "terser", "~> 1.2"
|
gem "terser", "~> 1.2"
|
||||||
|
|
||||||
|
# dev dependencies
|
||||||
|
group :development do
|
||||||
|
gem "webrick", "~> 1.9"
|
||||||
|
end
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ require "date"
|
|||||||
class String
|
class String
|
||||||
def blank?
|
def blank?
|
||||||
# Polyfill implementation to avoid external dependencies
|
# Polyfill implementation to avoid external dependencies
|
||||||
nil? || empty? # rubocop:disable Homebrew/Blank
|
nil? || empty? # rubocop:disable Homebrew/Blank, Lint/RedundantCopDisableDirective
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user