Skip to content

Commit 09e4ad2

Browse files
committed
chore(deps): update gem spec list
- Jekyll 4.3.0 introduced `webrick` for Ruby 3.x - Jekyll's dependency `nokogiri` does not yet support Ruby 3.2. See: sparklemotion/nokogiri#2740
1 parent 09f9305 commit 09e4ad2

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
ruby: [2.7, 3]
25+
ruby: ['2.7', '3.0', '3.1']
2626

2727
steps:
2828
- name: Checkout

.github/workflows/pages-deploy.yml.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
45+
ruby-version: '3.1' # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
4646
bundler-cache: true
4747

4848
- name: Build site

Gemfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,3 @@ end
1717

1818
# Performance-booster for watching directories on Windows
1919
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
20-
21-
# Jekyll <= 4.2.0 compatibility with Ruby 3.0
22-
gem "webrick", "~> 1.7"

jekyll-theme-chirpy.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
2323
"plugin_type" => "theme"
2424
}
2525

26-
spec.required_ruby_version = ">= 2.5"
26+
spec.required_ruby_version = [">= 2.5", "< 3.2"]
2727

28-
spec.add_runtime_dependency "jekyll", "~> 4.1"
28+
spec.add_runtime_dependency "jekyll", "~> 4.3"
2929
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
3030
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16"
3131
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.7"

0 commit comments

Comments
 (0)