Commit f6d341a
authored
Update Ruby to 4.0.0 as the default version (#61)
* Update Ruby to 4.0.0 as the default version
- Update .ruby-version to 4.0.0
- Update CI matrix to use stable Ruby 4.0 (removing preview2)
- Move coverage runs from Ruby 3.4 to Ruby 4.0
- Update yard-lint job to use Ruby 4.0.0
- Update Dockerfile to use ruby:4.0-alpine
- Remove the preview-specific Gemfile.lock removal step
- Keep older Ruby versions (3.4, 3.3, 3.2) supported
* Add ruby platform to Gemfile.lock for Ruby 4.0 compatibility
Nokogiri precompiled gems don't support Ruby 4.0 yet, so we need
the ruby platform to compile from source on Ruby 4.0.
* Force ruby platform for Ruby 4.0 jobs
Nokogiri precompiled gems don't support Ruby 4.0 yet, so we need to
force the ruby platform to compile native extensions from source.
* Use BUNDLE_FORCE_RUBY_PLATFORM env var for Ruby 4.0 jobs
Set the environment variable before setup-ruby runs so bundler uses
the ruby platform when installing gems for Ruby 4.0.
* Use ruby platform only in Gemfile.lock for Ruby 4.0 compatibility
Remove platform-specific gem variants and keep only the ruby platform
so that native extensions are compiled from source on all Ruby versions.
* Update unicode-emoji to 4.2.0 for Ruby 4.0 support1 parent 4f49ccb commit f6d341a
File tree
4 files changed
+11
-13
lines changed- .github/workflows
4 files changed
+11
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
| |||
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | | - | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments