Add webrick as a dependency (#8524)

Merge pull request 8524
This commit is contained in:
Clayton Smith 2021-01-10 16:25:28 -05:00 committed by GitHub
parent 31e152b0d0
commit 5c797ba136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,8 @@ jobs:
ruby_version:
- 2.5
- 2.7
- jruby-9.2.11.1
- 3.0
- jruby-9.2.14.0
steps:
- uses: actions/checkout@v2

View File

@ -46,4 +46,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency("rouge", "~> 3.0")
s.add_runtime_dependency("safe_yaml", "~> 1.0")
s.add_runtime_dependency("terminal-table", "~> 2.0")
s.add_runtime_dependency("webrick", "~> 1.7")
end

View File

@ -11,7 +11,7 @@ class TestGeneratedSite < JekyllUnitTest
@site.process
@index = File.read(
dest_dir("index.html"),
Utils.merged_file_read_opts(@site, {})
**Utils.merged_file_read_opts(@site, {})
)
end