Skip to content

Commit

Permalink
Remove dependency on webrick in StaticFileHelpers
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Apr 9, 2023
1 parent a58f0da commit 74db2d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# main

- Remove dependency on webrick in YARD::Server::Commands::StaticFileHelpers

# 0.9.30 - April 9th, 2023

[0.9.30]: https://github.com/lsegal/yard/compare/v0.9.29...v0.9.30
Expand Down
3 changes: 1 addition & 2 deletions lib/yard/server/commands/static_file_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# frozen_string_literal: true
require 'webrick/httputils'

module YARD
module Server
module Commands
# Include this module to get access to {#static_template_file?}
# and {favicon?} helpers.
module StaticFileHelpers
include WEBrick::HTTPUtils
include Server::HTTPUtils

# Serves an empty favicon.
# @raise [FinishRequest] finalizes an empty body if the path matches
Expand Down

0 comments on commit 74db2d8

Please sign in to comment.