From 0bffb276fe6b39c64045b88ca227e5450e3e37eb Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 18 Sep 2021 03:40:46 +0800 Subject: [PATCH] Unlock Ruby 3.0 --- Gemfile | 3 +++ jekyll-theme-chirpy.gemspec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 6438466..ffef29a 100644 --- a/Gemfile +++ b/Gemfile @@ -17,3 +17,6 @@ end # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform? + +# Jekyll <= 4.2.0 compatibility with Ruby 3.0 +gem "webrick", "~> 1.7" diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec index 95090e0..2c19b46 100644 --- a/jekyll-theme-chirpy.gemspec +++ b/jekyll-theme-chirpy.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| "plugin_type" => "theme" } - spec.required_ruby_version = [">= 2.4", "< 3.0"] + spec.required_ruby_version = ">= 2.4" spec.add_runtime_dependency "jekyll", "~> 4.1" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"