Skip to content

Commit 92c3bae

Browse files
committed
Update Nanoc 4.13
Update Nanoc and Ruby. * Update to the latest supported Ruby version. * Bump bundler. * Bump stringio. * Update to Nanoc 4.13. * Increase open PR limit. * Fixup `exists?` deprecation. Signed-off-by: SuperQ <[email protected]>
1 parent 5171661 commit 92c3bae

File tree

7 files changed

+40
-33
lines changed

7 files changed

+40
-33
lines changed

.github/dependabot.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ version: 2
33
updates:
44
- package-ecosystem: 'bundler'
55
directory: '/'
6+
open-pull-requests-limit: 20
67
schedule:
78
interval: 'monthly'

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2
1+
3.4.2

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.7
1+
FROM ruby:3.4
22
EXPOSE 3000
33
WORKDIR /usr/src/app
44
COPY Gemfile /usr/src/app/

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://rubygems.org'
22

3-
gem 'nanoc', '~> 4.12'
3+
gem 'nanoc', '~> 4.13'
44
gem 'adsf'
55
gem 'kramdown'
66
gem 'guard-nanoc'

Gemfile.lock

+33-28
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.8.1)
5-
public_suffix (>= 2.0.2, < 6.0)
4+
addressable (2.8.7)
5+
public_suffix (>= 2.0.2, < 7.0)
66
adsf (1.4.6)
77
rack (>= 1.0.0, < 3.0.0)
8+
base64 (0.2.0)
89
builder (3.3.0)
910
coderay (1.1.3)
1011
colored (1.2)
11-
concurrent-ruby (1.2.2)
12-
cri (2.15.11)
13-
ddmetrics (1.0.1)
12+
concurrent-ruby (1.3.5)
13+
cri (2.15.12)
14+
ddmetrics (1.1.0)
1415
ddplugin (1.0.3)
15-
diff-lcs (1.5.0)
16+
diff-lcs (1.6.0)
1617
em-websocket (0.5.2)
1718
eventmachine (>= 0.12.9)
1819
http_parser.rb (~> 0.6.0)
@@ -39,46 +40,48 @@ GEM
3940
guard-compat (~> 1.0)
4041
nanoc-cli (~> 4.11, >= 4.11.14)
4142
nanoc-core (~> 4.11, >= 4.11.14)
42-
hamster (3.0.0)
43-
concurrent-ruby (~> 1.0)
4443
http_parser.rb (0.6.0)
44+
immutable-ruby (0.2.0)
45+
concurrent-ruby (~> 1.1)
46+
sorted_set (~> 1.0)
4547
json_schema (0.21.0)
4648
kramdown (2.4.0)
4749
rexml
4850
listen (3.4.1)
4951
rb-fsevent (~> 0.10, >= 0.10.3)
5052
rb-inotify (~> 0.9, >= 0.9.10)
5153
lumberjack (1.2.8)
52-
memo_wise (1.7.0)
54+
memo_wise (1.11.0)
5355
method_source (1.0.0)
5456
mini_portile2 (2.8.1)
5557
multi_json (1.15.0)
56-
nanoc (4.12.15)
58+
nanoc (4.13.3)
5759
addressable (~> 2.5)
5860
colored (~> 1.2)
5961
nanoc-checking (~> 1.0, >= 1.0.2)
60-
nanoc-cli (= 4.12.15)
61-
nanoc-core (= 4.12.15)
62+
nanoc-cli (= 4.13.3)
63+
nanoc-core (= 4.13.3)
6264
nanoc-deploying (~> 1.0)
6365
parallel (~> 1.12)
6466
tty-command (~> 0.8)
6567
tty-which (~> 0.4)
66-
nanoc-checking (1.0.2)
67-
nanoc-cli (~> 4.12, >= 4.12.4)
68-
nanoc-core (~> 4.12, >= 4.12.4)
69-
nanoc-cli (4.12.15)
68+
nanoc-checking (1.0.5)
69+
nanoc-cli (~> 4.12, >= 4.12.5)
70+
nanoc-core (~> 4.12, >= 4.12.5)
71+
nanoc-cli (4.13.3)
7072
cri (~> 2.15)
7173
diff-lcs (~> 1.3)
72-
nanoc-core (= 4.12.15)
74+
nanoc-core (= 4.13.3)
75+
pry
7376
zeitwerk (~> 2.1)
74-
nanoc-core (4.12.15)
77+
nanoc-core (4.13.3)
78+
base64 (~> 0.2)
7579
concurrent-ruby (~> 1.1)
7680
ddmetrics (~> 1.0)
7781
ddplugin (~> 1.0)
78-
hamster (~> 3.0)
82+
immutable-ruby (~> 0.1)
7983
json_schema (~> 0.19)
8084
memo_wise (~> 1.5)
81-
psych (~> 4.0)
8285
slow_enumerator_tools (~> 1.0)
8386
tty-platform (~> 0.2)
8487
zeitwerk (~> 2.1)
@@ -93,15 +96,13 @@ GEM
9396
notiffany (0.1.3)
9497
nenv (~> 0.1)
9598
shellany (~> 0.0)
96-
parallel (1.22.1)
99+
parallel (1.26.3)
97100
pastel (0.8.0)
98101
tty-color (~> 0.5)
99102
pry (0.14.0)
100103
coderay (~> 1.1)
101104
method_source (~> 1.0)
102-
psych (4.0.6)
103-
stringio
104-
public_suffix (5.0.1)
105+
public_suffix (6.0.1)
105106
pygments.rb (3.0.0)
106107
racc (1.6.2)
107108
rack (2.2.13)
@@ -110,6 +111,7 @@ GEM
110111
rb-fsevent (0.11.2)
111112
rb-inotify (0.10.1)
112113
ffi (~> 1.0)
114+
rbtree (0.4.6)
113115
redcarpet (3.6.0)
114116
rexml (3.3.9)
115117
rspec (3.12.0)
@@ -126,16 +128,19 @@ GEM
126128
rspec-support (~> 3.12.0)
127129
rspec-support (3.12.0)
128130
semverse (3.0.2)
131+
set (1.1.1)
129132
shellany (0.0.1)
130133
slow_enumerator_tools (1.1.0)
131-
stringio (3.0.5)
134+
sorted_set (1.0.3)
135+
rbtree
136+
set (~> 1.0)
132137
thor (1.1.0)
133138
tty-color (0.6.0)
134139
tty-command (0.10.1)
135140
pastel (~> 0.8)
136141
tty-platform (0.3.0)
137142
tty-which (0.5.0)
138-
zeitwerk (2.6.7)
143+
zeitwerk (2.7.2)
139144

140145
PLATFORMS
141146
ruby
@@ -146,7 +151,7 @@ DEPENDENCIES
146151
guard-livereload
147152
guard-nanoc
148153
kramdown
149-
nanoc (~> 4.12)
154+
nanoc (~> 4.13)
150155
nokogiri
151156
pygments.rb
152157
rb-fchange
@@ -157,4 +162,4 @@ DEPENDENCIES
157162
semverse
158163

159164
BUNDLED WITH
160-
2.1.4
165+
2.6.5

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ build: clean downloads compile
66

77
bundle:
88
bundle config build.nokogiri --use-system-libraries
9-
bundle install --path vendor
9+
bundle config set path vendor
10+
bundle install
1011

1112
clean:
1213
rm -rf output downloads

lib/helpers/download.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def self.checksum(release, name)
3838

3939
if asset
4040
cache = ['downloads', '.cache', release.id, 'sha256sums.txt'].join('/')
41-
unless File.exists?(cache)
41+
unless File.exist?(cache)
4242
FileUtils.mkdir_p(File.dirname(cache))
4343
File.open(cache, 'wb') do |file|
4444
file.write(URI.parse(asset['browser_download_url']).read)

0 commit comments

Comments
 (0)