Skip to content

Commit 0e1740b

Browse files
authored
Merge pull request #153 from toshimaru/upgrade-rails-versions
Generate docs for Rails v7.1.3 / Build pages with Ruby v3.3 + YJIT on CI
2 parents a7f29d5 + 9d17dcd commit 0e1740b

File tree

2,634 files changed

+12066
-11993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,634 files changed

+12066
-11993
lines changed

β€Ž.github/workflows/ci.yml

Lines changed: 47 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,60 @@ jobs:
77
runs-on: ubuntu-latest
88
name: Jekyll Build
99
steps:
10-
- uses: actions/checkout@v4
11-
- uses: ruby/setup-ruby@v1
12-
with:
13-
ruby-version: 3.2
14-
bundler-cache: true
15-
- name: Jekyll Build
16-
run: bundle exec jekyll build
10+
- uses: actions/checkout@v4
11+
- uses: ruby/setup-ruby@v1
12+
with:
13+
ruby-version: 3.3
14+
bundler-cache: true
15+
- name: Jekyll Build
16+
run: bundle exec jekyll build
1717

1818
doc-build-latest:
1919
runs-on: ubuntu-latest
2020
name: Rails Doc Build (latest)
2121
steps:
22-
- uses: actions/checkout@v4
23-
with:
24-
submodules: true
25-
- name: fetch Rails tags
26-
run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7*
27-
- uses: ruby/setup-ruby@v1
28-
with:
29-
ruby-version: 3.2
30-
bundler-cache: true
31-
- name: Doc Build
32-
run: rake build
22+
- uses: actions/checkout@v4
23+
with:
24+
submodules: true
25+
- name: fetch Rails tags
26+
run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7*
27+
- uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: 3.3
30+
bundler-cache: true
31+
- name: Doc Build
32+
run: rake build
33+
34+
doc-build-latest-with-yjit:
35+
runs-on: ubuntu-latest
36+
name: Rails Doc Build (latest, with YJIT enabled)
37+
env:
38+
RUBY_YJIT_ENABLE: true
39+
steps:
40+
- uses: actions/checkout@v4
41+
with:
42+
submodules: true
43+
- name: fetch Rails tags
44+
run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7*
45+
- uses: ruby/setup-ruby@v1
46+
with:
47+
ruby-version: 3.3
48+
bundler-cache: true
49+
- name: Doc Build
50+
run: rake build
3351

3452
doc-build-others:
3553
runs-on: ubuntu-latest
3654
name: Rails Doc Build (older versions)
3755
steps:
38-
- uses: actions/checkout@v4
39-
with:
40-
submodules: true
41-
- name: fetch Rails tags
42-
run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* refs/tags/v6*:refs/tags/v6* refs/tags/v5*:refs/tags/v5*
43-
- uses: ruby/setup-ruby@v1
44-
with:
45-
ruby-version: 2.7
46-
bundler-cache: true
47-
- name: Doc Build
48-
run: rake build_multi
56+
- uses: actions/checkout@v4
57+
with:
58+
submodules: true
59+
- name: fetch Rails tags
60+
run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* refs/tags/v6*:refs/tags/v6* refs/tags/v5*:refs/tags/v5*
61+
- uses: ruby/setup-ruby@v1
62+
with:
63+
ruby-version: 2.7
64+
bundler-cache: true
65+
- name: Doc Build
66+
run: rake build_multi

β€ŽGemfile.lock

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (7.1.3.2)
4+
activesupport (7.1.3.4)
55
base64
66
bigdecimal
77
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -11,17 +11,17 @@ GEM
1111
minitest (>= 5.1)
1212
mutex_m
1313
tzinfo (~> 2.0)
14-
addressable (2.8.6)
15-
public_suffix (>= 2.0.2, < 6.0)
14+
addressable (2.8.7)
15+
public_suffix (>= 2.0.2, < 7.0)
1616
base64 (0.2.0)
17-
bigdecimal (3.1.7)
17+
bigdecimal (3.1.8)
1818
coffee-script (2.4.1)
1919
coffee-script-source
2020
execjs
2121
coffee-script-source (1.12.2)
2222
colorator (1.1.0)
2323
commonmarker (0.23.10)
24-
concurrent-ruby (1.2.3)
24+
concurrent-ruby (1.3.3)
2525
connection_pool (2.4.1)
2626
dnsruby (1.72.1)
2727
simpleidn (~> 0.2.1)
@@ -38,7 +38,8 @@ GEM
3838
faraday-net_http (>= 2.0, < 3.1)
3939
ruby2_keywords (>= 0.0.4)
4040
faraday-net_http (3.0.2)
41-
ffi (1.16.3)
41+
ffi (1.17.0)
42+
ffi (1.17.0-arm64-darwin)
4243
forwardable-extended (2.6.0)
4344
gemoji (4.1.0)
4445
github-pages (231)
@@ -218,12 +219,12 @@ GEM
218219
rb-fsevent (~> 0.10, >= 0.10.3)
219220
rb-inotify (~> 0.9, >= 0.9.10)
220221
mercenary (0.3.6)
221-
mini_portile2 (2.8.6)
222+
mini_portile2 (2.8.7)
222223
minima (2.5.1)
223224
jekyll (>= 3.5, < 5.0)
224225
jekyll-feed (~> 0.9)
225226
jekyll-seo-tag (~> 2.1)
226-
minitest (5.22.3)
227+
minitest (5.24.1)
227228
mutex_m (0.2.0)
228229
nokogiri (1.15.6)
229230
mini_portile2 (~> 2.8.2)
@@ -233,14 +234,14 @@ GEM
233234
sawyer (~> 0.9)
234235
pathutil (0.16.2)
235236
forwardable-extended (~> 2.6)
236-
public_suffix (5.0.5)
237+
public_suffix (5.1.1)
237238
racc (1.8.0)
238239
rake (13.2.1)
239240
rb-fsevent (0.11.2)
240241
rb-inotify (0.11.1)
241242
ffi (~> 1.0)
242-
rexml (3.2.8)
243-
strscan (>= 3.0.9)
243+
rexml (3.3.1)
244+
strscan
244245
rouge (3.30.0)
245246
ruby2_keywords (0.0.5)
246247
rubyzip (2.3.2)
@@ -253,22 +254,19 @@ GEM
253254
sawyer (0.9.2)
254255
addressable (>= 2.3.5)
255256
faraday (>= 0.17.3, < 3)
256-
simpleidn (0.2.1)
257-
unf (~> 0.1.4)
257+
simpleidn (0.2.3)
258258
strscan (3.1.0)
259259
terminal-table (1.8.0)
260260
unicode-display_width (~> 1.1, >= 1.1.1)
261261
typhoeus (1.4.1)
262262
ethon (>= 0.9.0)
263263
tzinfo (2.0.6)
264264
concurrent-ruby (~> 1.0)
265-
unf (0.1.4)
266-
unf_ext
267-
unf_ext (0.0.9.1)
268265
unicode-display_width (1.8.0)
269266
webrick (1.8.1)
270267

271268
PLATFORMS
269+
arm64-darwin-23
272270
ruby
273271

274272
DEPENDENCIES

β€Ž_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ title: RailsDoc(Ξ²)
22
description: Ruby on Rails API Documentation.
33
url: https://railsdoc.github.io
44
source: src
5-
default_rails_version: '7.1.0'
5+
default_rails_version: '7.1.3'
66
rails_versions:
77
"7.1":
8-
specific_version: "7.1.0"
8+
specific_version: "7.1.3"
99
latest: true
1010
"7.0":
1111
specific_version: "7.0.8"

β€Žcompose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
app:
3+
image: ruby:3.3
4+
working_dir: /app
5+
volumes:
6+
- .:/app
7+
environment:
8+
RUBY_YJIT_ENABLE: true

β€Žrails

Submodule rails updated 417 files

β€Žsrc/classes/AbstractController.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 7.1.0</span><br />
8+
<span>Ruby on Rails 7.1.3</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>

β€Žsrc/classes/AbstractController/ActionNotFound.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 7.1.0</span><br />
8+
<span>Ruby on Rails 7.1.3</span><br />
99

1010
<div class="type">Class</div>
1111
<h1>

β€Žsrc/classes/AbstractController/Base.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="main">
66
<div class="banner">
77

8-
<span>Ruby on Rails 7.1.0</span><br />
8+
<span>Ruby on Rails 7.1.3</span><br />
99

1010
<div class="type">Class</div>
1111
<h1>
@@ -73,11 +73,11 @@ <h2 id="methods">Methods</h2>
7373
</li>
7474

7575
<li>
76-
<a href="#method-i-controller_path">controller_path</a>
76+
<a href="#method-c-controller_path">controller_path</a>
7777
</li>
7878

7979
<li>
80-
<a href="#method-c-controller_path">controller_path</a>
80+
<a href="#method-i-controller_path">controller_path</a>
8181
</li>
8282

8383
<li>
@@ -191,7 +191,7 @@ <h3 id="method-c-abstract-21">
191191
@abstract = true
192192
end</code></pre>
193193

194-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L57" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
194+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L57" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
195195

196196
</details>
197197

@@ -239,7 +239,7 @@ <h4 id="method-c-action_methods-label-Returns">Returns</h4>
239239
end
240240
end</code></pre>
241241

242-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L96" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
242+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L96" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
243243

244244
</details>
245245

@@ -274,7 +274,7 @@ <h3 id="method-c-clear_action_methods-21">
274274
@action_methods = nil
275275
end</code></pre>
276276

277-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L111" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
277+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L111" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
278278

279279
</details>
280280

@@ -321,7 +321,7 @@ <h4 id="method-c-controller_path-label-Returns">Returns</h4>
321321
@controller_path ||= name.delete_suffix(&quot;Controller&quot;).underscore unless anonymous?
322322
end</code></pre>
323323

324-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L125" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
324+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L125" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
325325

326326
</details>
327327

@@ -364,7 +364,7 @@ <h3 id="method-c-internal_methods">
364364
controller.public_instance_methods(true) - methods
365365
end</code></pre>
366366

367-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L76" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
367+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L76" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
368368

369369
</details>
370370

@@ -400,7 +400,7 @@ <h3 id="method-c-method_added">
400400
clear_action_methods!
401401
end</code></pre>
402402

403-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L130" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
403+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L130" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
404404

405405
</details>
406406

@@ -435,7 +435,7 @@ <h3 id="method-c-supports_path-3F">
435435
true
436436
end</code></pre>
437437

438-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L199" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
438+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L199" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
439439

440440
</details>
441441

@@ -474,7 +474,7 @@ <h3 id="method-i-action_methods">
474474
self.class.action_methods
475475
end</code></pre>
476476

477-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L170" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
477+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L170" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
478478

479479
</details>
480480

@@ -508,7 +508,7 @@ <h3 id="method-i-action_name">
508508
attr_internal :action_name
509509
</code></pre>
510510

511-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L42" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
511+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L42" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
512512

513513
</details>
514514

@@ -550,7 +550,7 @@ <h4 id="method-i-available_action-3F-label-Parameters">Parameters</h4>
550550
_find_action_name(action_name)
551551
end</code></pre>
552552

553-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L184" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
553+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L184" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
554554

555555
</details>
556556

@@ -585,7 +585,7 @@ <h3 id="method-i-controller_path">
585585
self.class.controller_path
586586
end</code></pre>
587587

588-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L165" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
588+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L165" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
589589

590590
</details>
591591

@@ -619,7 +619,7 @@ <h3 id="method-i-formats">
619619
attr_internal :formats
620620
</code></pre>
621621

622-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L46" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
622+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L46" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
623623

624624
</details>
625625

@@ -654,7 +654,7 @@ <h3 id="method-i-performed-3F">
654654
response_body
655655
end</code></pre>
656656

657-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L191" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
657+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L191" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
658658

659659
</details>
660660

@@ -669,7 +669,7 @@ <h3 id="method-i-process">
669669

670670

671671
<div class="description">
672-
<p>Calls the action going through the entire action dispatch stack.</p>
672+
<p>Calls the action going through the entire Action Dispatch stack.</p>
673673

674674
<p>The actual method that is called is determined by calling method_for_action. If no method can handle the action, then an <a href="ActionNotFound.html"><code>AbstractController::ActionNotFound</code></a> error is raised.</p>
675675

@@ -704,7 +704,7 @@ <h4 id="method-i-process-label-Returns">Returns</h4>
704704
process_action(action_name, *args)
705705
end</code></pre>
706706

707-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L151" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
707+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L151" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
708708

709709
</details>
710710

@@ -738,7 +738,7 @@ <h3 id="method-i-response_body">
738738
attr_internal :response_body
739739
</code></pre>
740740

741-
<a href="https://github.com/rails/rails/blob/d39db5d1891f7509cde2efc425c9d69bbb77e670/actionpack/lib/abstract_controller/base.rb#L38" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
741+
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/base.rb#L38" target="_blank" class="github_url">πŸ”Ž See on GitHub</a>
742742

743743
</details>
744744

0 commit comments

Comments
Β (0)