Skip to content

Commit ca8118a

Browse files
committed
ruby: bump to 3.4
Ruby 2.6 has become EOL since 2022. Bump it to the latest stable version. Also update the lockfile and dependencies.
1 parent 29e993a commit ca8118a

File tree

6 files changed

+141
-79
lines changed

6 files changed

+141
-79
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.4
1+
3.4

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
dist: xenial
1+
dist: jammy
22
language: ruby
33
rvm:
4-
- "2.6.4"
4+
- "3.4"
55

66
cache: bundler
77

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Ruby runtime as a parent image
2-
FROM ruby:2.6.4
2+
FROM ruby:3.4
33

44
# Install program to configure locales
55
RUN apt-get update && \

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ source 'https://rubygems.org'
33
## If you update the version here, also update it in .travis.yml, .ruby-version,
44
## and README.md. Then push your branch and make sure Travis supports that
55
## version.
6-
ruby '2.6.4'
6+
ruby '~> 3.4.0'
77

88
## If you add a new Gem below, run `bundle install` to install it.
99
group :development do
1010
gem 'jekyll'
11+
gem 'logger' # Required by Jekyll, will be removed from default gems in Ruby 3.5
1112
gem "minima", "~> 2.0" ## Default Jekyll theme
1213
gem 'jekyll-redirect-from'
1314
end

Gemfile.lock

Lines changed: 131 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,158 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.7.0)
5-
public_suffix (>= 2.0.2, < 5.0)
4+
Ascii85 (2.0.1)
5+
addressable (2.8.8)
6+
public_suffix (>= 2.0.2, < 8.0)
7+
afm (1.0.0)
8+
async (2.35.0)
9+
console (~> 1.29)
10+
fiber-annotation
11+
io-event (~> 1.11)
12+
metrics (~> 0.12)
13+
traces (~> 0.18)
14+
base64 (0.3.0)
15+
benchmark (0.5.0)
16+
bigdecimal (3.3.1)
17+
chef-utils (18.8.54)
18+
concurrent-ruby
619
colorator (1.1.0)
7-
concurrent-ruby (1.1.5)
8-
em-websocket (0.5.1)
20+
concurrent-ruby (1.3.5)
21+
console (1.34.2)
22+
fiber-annotation
23+
fiber-local (~> 1.1)
24+
json
25+
csv (3.3.5)
26+
em-websocket (0.5.3)
927
eventmachine (>= 0.12.9)
10-
http_parser.rb (~> 0.6.0)
11-
ethon (0.12.0)
12-
ffi (>= 1.3.0)
28+
http_parser.rb (~> 0)
29+
ethon (0.15.0)
30+
ffi (>= 1.15.0)
1331
eventmachine (1.2.7)
14-
ffi (1.11.3)
32+
ffi (1.17.2)
33+
fiber-annotation (0.2.0)
34+
fiber-local (1.1.0)
35+
fiber-storage
36+
fiber-storage (1.0.1)
1537
forwardable-extended (2.6.0)
16-
html-proofer (3.15.0)
38+
google-protobuf (4.33.1)
39+
bigdecimal
40+
rake (>= 13)
41+
hashery (2.1.2)
42+
html-proofer (5.1.1)
1743
addressable (~> 2.3)
18-
mercenary (~> 0.3)
19-
nokogumbo (~> 2.0)
20-
parallel (~> 1.3)
44+
async (~> 2.1)
45+
benchmark (~> 0.5)
46+
nokogiri (~> 1.13)
47+
pdf-reader (~> 2.11)
2148
rainbow (~> 3.0)
2249
typhoeus (~> 1.3)
2350
yell (~> 2.0)
24-
http_parser.rb (0.6.0)
25-
i18n (0.9.5)
51+
zeitwerk (~> 2.5)
52+
http_parser.rb (0.8.0)
53+
i18n (1.14.7)
2654
concurrent-ruby (~> 1.0)
27-
jekyll (3.8.3)
55+
io-event (1.14.2)
56+
jekyll (4.4.1)
2857
addressable (~> 2.4)
58+
base64 (~> 0.2)
2959
colorator (~> 1.0)
60+
csv (~> 3.0)
3061
em-websocket (~> 0.5)
31-
i18n (~> 0.7)
32-
jekyll-sass-converter (~> 1.0)
62+
i18n (~> 1.0)
63+
jekyll-sass-converter (>= 2.0, < 4.0)
3364
jekyll-watch (~> 2.0)
34-
kramdown (~> 1.14)
65+
json (~> 2.6)
66+
kramdown (~> 2.3, >= 2.3.1)
67+
kramdown-parser-gfm (~> 1.0)
3568
liquid (~> 4.0)
36-
mercenary (~> 0.3.3)
69+
mercenary (~> 0.3, >= 0.3.6)
3770
pathutil (~> 0.9)
38-
rouge (>= 1.7, < 4)
71+
rouge (>= 3.0, < 5.0)
3972
safe_yaml (~> 1.0)
40-
jekyll-feed (0.10.0)
41-
jekyll (~> 3.3)
73+
terminal-table (>= 1.8, < 4.0)
74+
webrick (~> 1.7)
75+
jekyll-feed (0.17.0)
76+
jekyll (>= 3.7, < 5.0)
4277
jekyll-redirect-from (0.16.0)
4378
jekyll (>= 3.3, < 5.0)
44-
jekyll-sass-converter (1.5.2)
45-
sass (~> 3.4)
46-
jekyll-seo-tag (2.4.0)
47-
jekyll (~> 3.3)
48-
jekyll-watch (2.0.0)
79+
jekyll-sass-converter (3.1.0)
80+
sass-embedded (~> 1.75)
81+
jekyll-seo-tag (2.8.0)
82+
jekyll (>= 3.8, < 5.0)
83+
jekyll-watch (2.2.1)
4984
listen (~> 3.0)
50-
json-schema (2.8.1)
51-
addressable (>= 2.4)
52-
kramdown (1.17.0)
53-
liquid (4.0.0)
54-
listen (3.1.1)
55-
rb-fsevent (>= 0.9.3)
56-
rb-inotify (>= 0.9.7)
57-
mdl (0.6.0)
58-
kramdown (~> 1.12, >= 1.12.0)
59-
mixlib-cli (~> 2.1, >= 2.1.1)
60-
mixlib-config (~> 2.2, >= 2.2.1)
61-
mercenary (0.3.6)
62-
mini_portile2 (2.4.0)
63-
minima (2.5.0)
64-
jekyll (~> 3.5)
85+
json (2.16.0)
86+
json-schema (6.0.0)
87+
addressable (~> 2.8)
88+
bigdecimal (~> 3.1)
89+
kramdown (2.5.1)
90+
rexml (>= 3.3.9)
91+
kramdown-parser-gfm (1.1.0)
92+
kramdown (~> 2.0)
93+
liquid (4.0.4)
94+
listen (3.9.0)
95+
rb-fsevent (~> 0.10, >= 0.10.3)
96+
rb-inotify (~> 0.9, >= 0.9.10)
97+
logger (1.7.0)
98+
mdl (0.15.0)
99+
kramdown (~> 2.3)
100+
kramdown-parser-gfm (~> 1.1)
101+
mixlib-cli
102+
mixlib-config
103+
mixlib-shellout
104+
mercenary (0.4.0)
105+
metrics (0.15.0)
106+
mini_portile2 (2.8.9)
107+
minima (2.5.2)
108+
jekyll (>= 3.5, < 5.0)
65109
jekyll-feed (~> 0.9)
66110
jekyll-seo-tag (~> 2.1)
67-
mixlib-cli (2.1.1)
68-
mixlib-config (2.2.18)
111+
mixlib-cli (2.1.8)
112+
mixlib-config (3.0.27)
69113
tomlrb
70-
nokogiri (1.10.7)
71-
mini_portile2 (~> 2.4.0)
72-
nokogumbo (2.0.2)
73-
nokogiri (~> 1.8, >= 1.8.4)
74-
parallel (1.19.1)
75-
parslet (1.8.2)
76-
pathutil (0.16.1)
114+
mixlib-shellout (3.3.9)
115+
chef-utils
116+
nokogiri (1.18.10)
117+
mini_portile2 (~> 2.8.2)
118+
racc (~> 1.4)
119+
parslet (2.0.0)
120+
pathutil (0.16.2)
77121
forwardable-extended (~> 2.6)
78-
public_suffix (4.0.1)
79-
rainbow (3.0.0)
80-
rb-fsevent (0.10.3)
81-
rb-inotify (0.9.10)
82-
ffi (>= 0.5.0, < 2)
83-
rouge (3.1.1)
84-
safe_yaml (1.0.4)
85-
sass (3.5.6)
86-
sass-listen (~> 4.0.0)
87-
sass-listen (4.0.0)
88-
rb-fsevent (~> 0.9, >= 0.9.4)
89-
rb-inotify (~> 0.9, >= 0.9.7)
90-
toml (0.2.0)
91-
parslet (~> 1.8.0)
92-
tomlrb (1.2.9)
93-
typhoeus (1.3.1)
94-
ethon (>= 0.9.0)
95-
yell (2.2.0)
122+
pdf-reader (2.15.0)
123+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
124+
afm (>= 0.2.1, < 2)
125+
hashery (~> 2.0)
126+
ruby-rc4
127+
ttfunk
128+
public_suffix (7.0.0)
129+
racc (1.8.1)
130+
rainbow (3.1.1)
131+
rake (13.3.1)
132+
rb-fsevent (0.11.2)
133+
rb-inotify (0.11.1)
134+
ffi (~> 1.0)
135+
rexml (3.4.4)
136+
rouge (4.6.1)
137+
ruby-rc4 (0.1.5)
138+
safe_yaml (1.0.5)
139+
sass-embedded (1.94.2)
140+
google-protobuf (~> 4.31)
141+
rake (>= 13)
142+
terminal-table (3.0.2)
143+
unicode-display_width (>= 1.1.1, < 3)
144+
toml (0.3.0)
145+
parslet (>= 1.8.0, < 3.0.0)
146+
tomlrb (2.0.3)
147+
traces (0.18.2)
148+
ttfunk (1.8.0)
149+
bigdecimal (~> 3.1)
150+
typhoeus (1.5.0)
151+
ethon (>= 0.9.0, < 0.16.0)
152+
unicode-display_width (2.6.0)
153+
webrick (1.9.2)
154+
yell (2.2.2)
155+
zeitwerk (2.7.3)
96156

97157
PLATFORMS
98158
ruby
@@ -102,9 +162,10 @@ DEPENDENCIES
102162
jekyll
103163
jekyll-redirect-from
104164
json-schema
165+
logger
105166
mdl
106167
minima (~> 2.0)
107168
toml
108169

109170
RUBY VERSION
110-
ruby 2.6.4p104
171+
ruby 3.4.7p58

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ following command:
6161

6262
**Install Ruby**
6363

64-
To install Ruby 2.6.4, simply run this command:
64+
To install Ruby 3.4, simply run this command:
6565

66-
rvm install 2.6.4
66+
rvm install 3.4
6767

6868
Sometimes this will find a pre-compiled Ruby package for your Linux
6969
distribution, but sometimes it will need to compile Ruby from scratch
7070
(which takes about 15 minutes).
7171

72-
After Ruby 2.6.4 is installed, make it your default Ruby:
72+
After Ruby 3.4 is installed, make it your default Ruby:
7373

74-
rvm alias create default ruby-2.6.4
74+
rvm alias create default ruby-3.4
7575

7676
And tell your system to use it:
7777

0 commit comments

Comments
 (0)