Skip to content

Commit 625fe8e

Browse files
bump ruby to 3.4.1 (#75)
1 parent 85a5a62 commit 625fe8e

File tree

8 files changed

+47
-117
lines changed

8 files changed

+47
-117
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ jobs:
1818
- name: Check Links
1919
run: bundle exec rake check_links
2020
continue-on-error: true
21+

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: trailing-whitespace
66
- repo: https://github.com/mattlqx/pre-commit-ruby
7-
rev: v1.3.1
7+
rev: v1.3.6
88
hooks:
99
- id: rubocop
1010
- repo: https://github.com/jumanjihouse/pre-commit-hooks

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0
1+
3.4.1

Gemfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ source "https://rubygems.org"
99
#
1010
# This will help ensure the proper Jekyll version is running.
1111
# Happy Jekylling!
12+
gem "csv", "~> 3.3"
1213
gem "jekyll", "~> 4.3"
13-
gem 'webrick'
14+
gem "webrick"
1415

15-
gem 'rubocop-jekyll'
16-
gem "rubocop-md", "~> 1.2"
16+
gem "base64"
1717
gem "code-scanning-rubocop", "~> 0.3"
18-
gem 'pry'
18+
gem "pry"
19+
gem "rubocop-jekyll"
20+
gem "rubocop-md", "~> 1.2"
1921

2022
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
2123
# uncomment the line below. To upgrade, run `bundle update github-pages`.
@@ -24,9 +26,9 @@ gem 'pry'
2426
group :jekyll_plugins do
2527
gem "jekyll-archives"
2628
gem "jekyll-feed", "~> 0.12"
29+
gem "jekyll-paginate"
2730
gem "jekyll-seo-tag"
2831
gem "jekyll-sitemap"
29-
gem "jekyll-paginate"
3032
end
3133

3234
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

Gemfile.lock

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,40 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
Ascii85 (1.1.1)
4+
Ascii85 (2.0.1)
55
addressable (2.8.7)
66
public_suffix (>= 2.0.2, < 7.0)
77
afm (0.2.2)
88
ast (2.4.2)
9-
async (2.11.0)
10-
console (~> 1.25, >= 1.25.2)
9+
async (2.21.1)
10+
console (~> 1.29)
1111
fiber-annotation
12-
io-event (~> 1.5, >= 1.5.1)
13-
timers (~> 4.1)
12+
io-event (~> 1.6, >= 1.6.5)
13+
base64 (0.2.0)
1414
bigdecimal (3.1.9)
1515
code-scanning-rubocop (0.6.1)
1616
rubocop (~> 1.0)
1717
coderay (1.1.3)
1818
colorator (1.1.0)
1919
concurrent-ruby (1.3.4)
20-
console (1.25.2)
20+
console (1.29.2)
2121
fiber-annotation
2222
fiber-local (~> 1.1)
2323
json
24+
csv (3.3.2)
2425
em-websocket (0.5.3)
2526
eventmachine (>= 0.12.9)
2627
http_parser.rb (~> 0)
2728
ethon (0.16.0)
2829
ffi (>= 1.15.0)
2930
eventmachine (1.2.7)
30-
ffi (1.17.0-arm64-darwin)
31-
ffi (1.17.0-x86_64-linux-gnu)
31+
ffi (1.17.0)
3232
fiber-annotation (0.2.0)
3333
fiber-local (1.1.0)
3434
fiber-storage
35-
fiber-storage (0.1.0)
35+
fiber-storage (1.0.0)
3636
forwardable-extended (2.6.0)
37-
google-protobuf (4.29.2-arm64-darwin)
38-
bigdecimal
39-
rake (>= 13)
40-
google-protobuf (4.29.2-x86_64-linux)
37+
google-protobuf (4.29.2)
4138
bigdecimal
4239
rake (>= 13)
4340
hashery (2.1.2)
@@ -53,7 +50,7 @@ GEM
5350
http_parser.rb (0.8.0)
5451
i18n (1.14.6)
5552
concurrent-ruby (~> 1.0)
56-
io-event (1.5.1)
53+
io-event (1.7.5)
5754
jekyll (4.3.4)
5855
addressable (~> 2.4)
5956
colorator (~> 1.0)
@@ -94,24 +91,24 @@ GEM
9491
rb-fsevent (~> 0.10, >= 0.10.3)
9592
rb-inotify (~> 0.9, >= 0.9.10)
9693
mercenary (0.4.0)
97-
method_source (1.0.0)
98-
nokogiri (1.16.5-arm64-darwin)
94+
method_source (1.1.0)
95+
nokogiri (1.18.0-arm64-darwin)
9996
racc (~> 1.4)
100-
nokogiri (1.16.5-x86_64-linux)
97+
nokogiri (1.18.0-x86_64-linux-gnu)
10198
racc (~> 1.4)
10299
parallel (1.26.3)
103100
parser (3.3.6.0)
104101
ast (~> 2.4.1)
105102
racc
106103
pathutil (0.16.2)
107104
forwardable-extended (~> 2.6)
108-
pdf-reader (2.12.0)
109-
Ascii85 (~> 1.0)
105+
pdf-reader (2.13.0)
106+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
110107
afm (~> 0.2.1)
111108
hashery (~> 2.0)
112109
ruby-rc4
113110
ttfunk
114-
pry (0.14.2)
111+
pry (0.15.2)
115112
coderay (~> 1.1)
116113
method_source (~> 1.0)
117114
public_suffix (6.0.1)
@@ -154,7 +151,6 @@ GEM
154151
google-protobuf (~> 4.28)
155152
terminal-table (3.0.2)
156153
unicode-display_width (>= 1.1.1, < 3)
157-
timers (4.3.5)
158154
ttfunk (1.8.0)
159155
bigdecimal (~> 3.1)
160156
typhoeus (1.4.1)
@@ -167,15 +163,16 @@ GEM
167163
wdm (0.2.0)
168164
webrick (1.9.1)
169165
yell (2.2.2)
170-
zeitwerk (2.6.13)
166+
zeitwerk (2.7.1)
171167

172168
PLATFORMS
173-
arm64-darwin-22
174-
arm64-darwin-23
169+
arm64-darwin-24
175170
x86_64-linux
176171

177172
DEPENDENCIES
173+
base64
178174
code-scanning-rubocop (~> 0.3)
175+
csv (~> 3.3)
179176
html-proofer (~> 5.0.9)
180177
jekyll (~> 4.3)
181178
jekyll-archives
@@ -193,4 +190,4 @@ DEPENDENCIES
193190
webrick
194191

195192
BUNDLED WITH
196-
2.5.7
193+
2.6.2

Rakefile

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
require 'html_proofer'
1+
# frozen_string_literal: true
2+
3+
require "html_proofer"
4+
require "base64"
5+
require "jekyll"
26

37
desc "Checks html files looking for dead links"
48
task :check_links do
59
options = {
6-
:checks_to_ignore => ["ScriptCheck"],
7-
:allow_hash_href => true,
8-
:enforce_https => false,
9-
:log_level => :info,
10+
:checks_to_ignore => ["ScriptCheck"],
11+
:allow_hash_href => true,
12+
:enforce_https => false,
13+
:log_level => :info,
14+
:check_internal_hash => false,
1015
}
1116

12-
puts 'Checking userguide links...'
17+
Jekyll.logger.info "Checking userguide links..."
18+
19+
dir = File.expand_path("./_site")
1320

14-
HTMLProofer.check_directory("./_site", options).run
21+
FileUtils.mkdir_p(dir)
22+
HTMLProofer.check_directory(dir, options).run
1523
end

_pages/new-to-ruby.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ RailsApps tutorials and guides [RailsApps](http://railsapps.github.io/)
2424

2525
[Why's Poignant Guide to Ruby](https://poignant.guide/)
2626

27-
Excellent Beginner and Advanced level tutorials: [jumpstartlab.com](http://tutorials.jumpstartlab.com)
28-
2927
Want to learn more about Exceptions on Ruby?: [exceptionalcreatures.com](https://www.exceptionalcreatures.com)
3028

3129
## Screencasts

0 commit comments

Comments
 (0)