From 734cf2324ea51cf6d675d035ac9474bf896387f4 Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: Fri, 26 Mar 2021 16:12:50 +0200 Subject: [PATCH] Relax dependency version constraints (#8586) During Fedora 34 development, Jekyll 4.2.0 has been tested against dependency versions outside of current definitions. This commit relaxes constraints to allow some versions that were found compatible: * `mercenary` was 0.3.6 in Fedora, works correctly. Nothing in [changelist][1] indicates problems, either. * `terminal-table` was 1.8.0 in Fedora, then updated directly to 3.0.0. Both were tested and found to work well. The [changelist][2] also shows that breaking changes between terminal-table 1 and 3 are either deprecation of very old Ruby runtimes or tiny changes to terminal output. [1]: https://github.com/jekyll/mercenary/blob/master/History.markdown [2]: https://github.com/tj/terminal-table/blob/master/History.rdoc --- jekyll.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jekyll.gemspec b/jekyll.gemspec index 37dca7a6..169d41cf 100644 --- a/jekyll.gemspec +++ b/jekyll.gemspec @@ -41,10 +41,10 @@ Gem::Specification.new do |s| s.add_runtime_dependency("kramdown", "~> 2.3") s.add_runtime_dependency("kramdown-parser-gfm", "~> 1.0") s.add_runtime_dependency("liquid", "~> 4.0") - s.add_runtime_dependency("mercenary", "~> 0.4.0") + s.add_runtime_dependency("mercenary", ">= 0.3.6", "< 0.5") s.add_runtime_dependency("pathutil", "~> 0.9") 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("terminal-table", ">= 1.8", "< 4.0") s.add_runtime_dependency("webrick", "~> 1.7") end