Skip to content

Commit 3789ac1

Browse files
authored
Merge pull request #38 from LeidenUniversityLibrary/ruby-34
Support and test with Ruby 3.4
2 parents 87c5081 + fdd9a1c commit 3789ac1

File tree

3 files changed

+28
-11
lines changed

3 files changed

+28
-11
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ on:
55

66
jobs:
77
jekyll:
8+
strategy:
9+
matrix:
10+
ruby_version: ['3.3', '3.4']
811
runs-on: ubuntu-latest
912
steps:
1013
- uses: actions/checkout@v4
1114

1215
# Use GitHub Actions' cache to shorten build times and decrease load on servers
1316
- uses: ruby/setup-ruby@v1
1417
with:
15-
ruby-version: '3.3'
18+
ruby-version: ${{ matrix.ruby_version }}
1619
bundler-cache: true
1720

1821
# Standard usage

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ group :jekyll_plugins do
2626
gem "jekyll-target-blank"
2727
end
2828

29+
# Required since Ruby >= 3.4.0 does not include some modules in the standard library
30+
gem "csv"
31+
gem "base64"
32+
gem "bigdecimal"
33+
gem "observer"
34+
2935
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
3036
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
3137

Gemfile.lock

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ GEM
33
specs:
44
addressable (2.8.7)
55
public_suffix (>= 2.0.2, < 7.0)
6+
base64 (0.2.0)
67
bibtex-ruby (6.1.0)
78
latex-decode (~> 0.0)
89
racc (~> 1.7)
10+
bigdecimal (3.1.9)
911
citeproc (1.0.10)
1012
namae (~> 1.0)
1113
citeproc-ruby (1.1.14)
@@ -18,6 +20,7 @@ GEM
1820
rexml
1921
csl-styles (1.0.1.11)
2022
csl (~> 1.0)
23+
csv (3.3.2)
2124
em-websocket (0.5.3)
2225
eventmachine (>= 0.12.9)
2326
http_parser.rb (~> 0)
@@ -28,16 +31,16 @@ GEM
2831
logger
2932
faraday-net_http (3.4.0)
3033
net-http (>= 0.5.0)
31-
ffi (1.17.0-aarch64-linux-gnu)
32-
ffi (1.17.0-aarch64-linux-musl)
33-
ffi (1.17.0-arm-linux-gnu)
34-
ffi (1.17.0-arm-linux-musl)
35-
ffi (1.17.0-arm64-darwin)
36-
ffi (1.17.0-x86-linux-gnu)
37-
ffi (1.17.0-x86-linux-musl)
38-
ffi (1.17.0-x86_64-darwin)
39-
ffi (1.17.0-x86_64-linux-gnu)
40-
ffi (1.17.0-x86_64-linux-musl)
34+
ffi (1.17.1-aarch64-linux-gnu)
35+
ffi (1.17.1-aarch64-linux-musl)
36+
ffi (1.17.1-arm-linux-gnu)
37+
ffi (1.17.1-arm-linux-musl)
38+
ffi (1.17.1-arm64-darwin)
39+
ffi (1.17.1-x86-linux-gnu)
40+
ffi (1.17.1-x86-linux-musl)
41+
ffi (1.17.1-x86_64-darwin)
42+
ffi (1.17.1-x86_64-linux-gnu)
43+
ffi (1.17.1-x86_64-linux-musl)
4144
forwardable-extended (2.6.0)
4245
http_parser.rb (0.8.0)
4346
i18n (1.14.6)
@@ -122,6 +125,7 @@ GEM
122125
racc (~> 1.4)
123126
nokogiri (1.18.3-x86_64-linux-musl)
124127
racc (~> 1.4)
128+
observer (0.1.2)
125129
octokit (4.25.1)
126130
faraday (>= 1, < 3)
127131
sawyer (~> 0.9)
@@ -163,12 +167,16 @@ PLATFORMS
163167
x86_64-linux-musl
164168

165169
DEPENDENCIES
170+
base64
171+
bigdecimal
172+
csv
166173
jekyll (~> 4)
167174
jekyll-feed
168175
jekyll-sass-converter (~> 2.2)
169176
jekyll-scholar
170177
jekyll-target-blank
171178
minimal-mistakes-jekyll
179+
observer
172180
tzinfo-data
173181

174182
BUNDLED WITH

0 commit comments

Comments
 (0)