Skip to content

Commit 808c276

Browse files
authored
Bump rails from 7.1.3 to 7.2.0.beta2 (#155)
* chore: Add `git fetch` before `git switch` * Bump rails from 7.1.3 to 7.2.0.beta2 * docs: Generate docs for Rails 7.2.0.beta2
1 parent 721ec46 commit 808c276

File tree

2,679 files changed

+27837
-19830
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,679 files changed

+27837
-19830
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ end
5353

5454
def switch_rails(version)
5555
cd 'rails' do
56+
sh 'git fetch'
5657
sh 'git reset --hard'
5758
sh "git switch refs/tags/v#{version} -C v#{version}"
5859
end

_config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ title: RailsDoc(β)
22
description: Ruby on Rails API Documentation.
33
url: https://railsdoc.github.io
44
source: src
5-
default_rails_version: '7.1.3'
5+
default_rails_version: "7.2.0.beta2"
66
rails_versions:
7+
"7.2":
8+
specific_version: "7.2.0.beta2"
9+
latest: true
710
"7.1":
811
specific_version: "7.1.3"
9-
latest: true
1012
"7.0":
1113
specific_version: "7.0.8"
1214
"6.1":

rails

Submodule rails updated 1658 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

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

src/classes/AbstractController/Base.html

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

src/classes/AbstractController/Caching.html

Lines changed: 5 additions & 5 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -126,12 +126,12 @@ <h3 id="method-i-view_cache_dependencies">
126126
<span class="label">📝 Source code</span>
127127
</summary>
128128

129-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 52
129+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 54
130130
def view_cache_dependencies
131131
self.class._view_cache_dependencies.filter_map { |dep| instance_exec(&amp;dep) }
132132
end</code></pre>
133133

134-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching.rb#L52" target="_blank" class="github_url">🔎 See on GitHub</a>
134+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching.rb#L54" target="_blank" class="github_url">🔎 See on GitHub</a>
135135

136136
</details>
137137

@@ -164,7 +164,7 @@ <h3 id="method-i-cache">
164164
<span class="label">📝 Source code</span>
165165
</summary>
166166

167-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 58
167+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 60
168168
def cache(key, options = {}, &amp;block) # :doc:
169169
if cache_configured?
170170
cache_store.fetch(ActiveSupport::Cache.expand_cache_key(key, :controller), options, &amp;block)
@@ -173,7 +173,7 @@ <h3 id="method-i-cache">
173173
end
174174
end</code></pre>
175175

176-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching.rb#L58" target="_blank" class="github_url">🔎 See on GitHub</a>
176+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching.rb#L60" target="_blank" class="github_url">🔎 See on GitHub</a>
177177

178178
</details>
179179

src/classes/AbstractController/Caching/ClassMethods.html

Lines changed: 3 additions & 3 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -81,12 +81,12 @@ <h3 id="method-i-view_cache_dependency">
8181
<span class="label">📝 Source code</span>
8282
</summary>
8383

84-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 47
84+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 49
8585
def view_cache_dependency(&amp;dependency)
8686
self._view_cache_dependencies += [dependency]
8787
end</code></pre>
8888

89-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching.rb#L47" target="_blank" class="github_url">🔎 See on GitHub</a>
89+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching.rb#L49" target="_blank" class="github_url">🔎 See on GitHub</a>
9090

9191
</details>
9292

src/classes/AbstractController/Caching/ConfigMethods.html

Lines changed: 5 additions & 5 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -85,12 +85,12 @@ <h3 id="method-i-cache_store">
8585
<span class="label">📝 Source code</span>
8686
</summary>
8787

88-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 13
88+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 15
8989
def cache_store
9090
config.cache_store
9191
end</code></pre>
9292

93-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching.rb#L13" target="_blank" class="github_url">🔎 See on GitHub</a>
93+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching.rb#L15" target="_blank" class="github_url">🔎 See on GitHub</a>
9494

9595
</details>
9696

@@ -120,12 +120,12 @@ <h3 id="method-i-cache_store-3D">
120120
<span class="label">📝 Source code</span>
121121
</summary>
122122

123-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 17
123+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching.rb, line 19
124124
def cache_store=(store)
125125
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
126126
end</code></pre>
127127

128-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching.rb#L17" target="_blank" class="github_url">🔎 See on GitHub</a>
128+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching.rb#L19" target="_blank" class="github_url">🔎 See on GitHub</a>
129129

130130
</details>
131131

src/classes/AbstractController/Caching/Fragments.html

Lines changed: 12 additions & 12 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -23,7 +23,7 @@ <h1>
2323

2424
<div class="description">
2525

26-
<h1 id="module-AbstractController::Caching::Fragments-label-Abstract+Controller+Caching+Fragments">Abstract Controller <a href="../Caching.html"><code>Caching</code></a> Fragments</h1>
26+
<h1 id="module-AbstractController::Caching::Fragments-label-Abstract+Controller+Caching+Fragments">Abstract Controller <a href="../Caching.html"><code>Caching</code></a> <a href="Fragments.html"><code>Fragments</code></a></h1>
2727

2828
<p>Fragment caching is used for caching various blocks within views without caching the entire action as a whole. This is useful when certain elements of an action change frequently or depend on complicated state while other parts rarely change or can be shared amongst multiple parties. The caching is done using the <code>cache</code> helper available in the Action View. See <a href="../../ActionView/Helpers/CacheHelper.html"><code>ActionView::Helpers::CacheHelper</code></a> for more information.</p>
2929

@@ -123,7 +123,7 @@ <h3 id="method-i-combined_fragment_cache_key">
123123
<span class="label">📝 Source code</span>
124124
</summary>
125125

126-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 70
126+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 68
127127
def combined_fragment_cache_key(key)
128128
head = self.class.fragment_cache_keys.map { |k| instance_exec(&amp;k) }
129129
tail = key.is_a?(Hash) ? url_for(key).split(&quot;://&quot;).last : key
@@ -134,7 +134,7 @@ <h3 id="method-i-combined_fragment_cache_key">
134134
cache_key
135135
end</code></pre>
136136

137-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching/fragments.rb#L70" target="_blank" class="github_url">🔎 See on GitHub</a>
137+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching/fragments.rb#L68" target="_blank" class="github_url">🔎 See on GitHub</a>
138138

139139
</details>
140140

@@ -175,7 +175,7 @@ <h3 id="method-i-expire_fragment">
175175
<span class="label">📝 Source code</span>
176176
</summary>
177177

178-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 134
178+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 131
179179
def expire_fragment(key, options = nil)
180180
return unless cache_configured?
181181
key = combined_fragment_cache_key(key) unless key.is_a?(Regexp)
@@ -189,7 +189,7 @@ <h3 id="method-i-expire_fragment">
189189
end
190190
end</code></pre>
191191

192-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching/fragments.rb#L134" target="_blank" class="github_url">🔎 See on GitHub</a>
192+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching/fragments.rb#L131" target="_blank" class="github_url">🔎 See on GitHub</a>
193193

194194
</details>
195195

@@ -219,7 +219,7 @@ <h3 id="method-i-fragment_exist-3F">
219219
<span class="label">📝 Source code</span>
220220
</summary>
221221

222-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 107
222+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 105
223223
def fragment_exist?(key, options = nil)
224224
return unless cache_configured?
225225
key = combined_fragment_cache_key(key)
@@ -229,7 +229,7 @@ <h3 id="method-i-fragment_exist-3F">
229229
end
230230
end</code></pre>
231231

232-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching/fragments.rb#L107" target="_blank" class="github_url">🔎 See on GitHub</a>
232+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching/fragments.rb#L105" target="_blank" class="github_url">🔎 See on GitHub</a>
233233

234234
</details>
235235

@@ -259,7 +259,7 @@ <h3 id="method-i-read_fragment">
259259
<span class="label">📝 Source code</span>
260260
</summary>
261261

262-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 95
262+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 93
263263
def read_fragment(key, options = nil)
264264
return unless cache_configured?
265265

@@ -270,7 +270,7 @@ <h3 id="method-i-read_fragment">
270270
end
271271
end</code></pre>
272272

273-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching/fragments.rb#L95" target="_blank" class="github_url">🔎 See on GitHub</a>
273+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching/fragments.rb#L93" target="_blank" class="github_url">🔎 See on GitHub</a>
274274

275275
</details>
276276

@@ -300,7 +300,7 @@ <h3 id="method-i-write_fragment">
300300
<span class="label">📝 Source code</span>
301301
</summary>
302302

303-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 82
303+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 80
304304
def write_fragment(key, content, options = nil)
305305
return content unless cache_configured?
306306

@@ -312,7 +312,7 @@ <h3 id="method-i-write_fragment">
312312
content
313313
end</code></pre>
314314

315-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching/fragments.rb#L82" target="_blank" class="github_url">🔎 See on GitHub</a>
315+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching/fragments.rb#L80" target="_blank" class="github_url">🔎 See on GitHub</a>
316316

317317
</details>
318318

src/classes/AbstractController/Caching/Fragments/ClassMethods.html

Lines changed: 3 additions & 3 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -97,12 +97,12 @@ <h3 id="method-i-fragment_cache_key">
9797
<span class="label">📝 Source code</span>
9898
</summary>
9999

100-
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 59
100+
<pre><code class="ruby"># File actionpack/lib/abstract_controller/caching/fragments.rb, line 58
101101
def fragment_cache_key(value = nil, &amp;key)
102102
self.fragment_cache_keys += [key || -&gt; { value }]
103103
end</code></pre>
104104

105-
<a href="https://github.com/rails/rails/blob/36c1591bcb5e0ee3084759c7f42a706fe5bb7ca7/actionpack/lib/abstract_controller/caching/fragments.rb#L59" target="_blank" class="github_url">🔎 See on GitHub</a>
105+
<a href="https://github.com/rails/rails/blob/b752c38e81a310c1aaca78c7cdd1784009ea189a/actionpack/lib/abstract_controller/caching/fragments.rb#L58" target="_blank" class="github_url">🔎 See on GitHub</a>
106106

107107
</details>
108108

src/classes/AbstractController/Callbacks.html

Lines changed: 2 additions & 4 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.3</span><br />
8+
<span>Ruby on Rails 7.2.0.beta2</span><br />
99

1010
<div class="type">Module</div>
1111
<h1>
@@ -23,7 +23,7 @@ <h1>
2323

2424
<div class="description">
2525

26-
<h1 id="module-AbstractController::Callbacks-label-Abstract+Controller+Callbacks">Abstract Controller Callbacks</h1>
26+
<h1 id="module-AbstractController::Callbacks-label-Abstract+Controller+Callbacks">Abstract Controller <a href="Callbacks.html"><code>Callbacks</code></a></h1>
2727

2828
<p>Abstract Controller provides hooks during the life cycle of a controller action. <a href="Callbacks.html"><code>Callbacks</code></a> allow you to trigger logic during this cycle. Available callbacks are:</p>
2929
<ul><li>
@@ -52,8 +52,6 @@ <h1 id="module-AbstractController::Callbacks-label-Abstract+Controller+Callbacks
5252
<p><code>skip_before_action</code></p>
5353
</li></ul>
5454

55-
<p>NOTE: Calling the same callback multiple times will overwrite previous callback definitions.</p>
56-
5755
</div>
5856

5957

0 commit comments

Comments
 (0)