railties 8.0.0.rc2 → 8.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f9ae335123309d95f081a813b7383b2c9b2a5ae07de08a1231fed3fe6098f0f
4
- data.tar.gz: 298788a77ad6b1c9cbeb484a33e494e2352e61bc23c75ca3b1c7b76c4deb40ef
3
+ metadata.gz: 7fca089938bf115d240c9b62e4accfcba3bdc04e73448a93187748b1a20661bc
4
+ data.tar.gz: cedc794ab75fabf3f2e6a74f44cf19b0c36243afe38a4e21d9a063b173e37cec
5
5
  SHA512:
6
- metadata.gz: 780d46ca2607f8ba26fae821f958516ce71a2f74f14a39f3324231e49d8e2574426fbfd59517b0eb0d9059bfb06563417ac209dd92eb4ec7bf4872a870044616
7
- data.tar.gz: 35cce2a67578153c350a8d493d95fdfb8f0fdc1b62bbe240dd0ffdd1a9daa509f49cc8fd617ac48d463afd53c97b8225b2a400d1bf27dd0c4f3070fc8a77ec89
6
+ metadata.gz: 97156cb0b8c0459441fe390bf5bb5731c7746b49a532bdf0474d92ba38fd982e16c257ca02b529ce6548dad90e70d2f49d3e683e24fb2a6268fd2896305529bd
7
+ data.tar.gz: a08eec8d223b51e6f9962e3a8e984759a8a4a2c58b775bca52511f35ebb32090c23421532fcdfc42a00738bb7c7544a4b7bb082cc40ab6a9ea694a04135f1f12
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 8.0.0.1 (December 10, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 8.0.0 (November 07, 2024) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 8.0.0.rc2 (October 30, 2024) ##
2
12
 
3
13
  * Fix incorrect database.yml with `skip_solid`.
@@ -10,7 +10,7 @@ module Rails
10
10
  attr_reader :route_sets, :paths, :external_routes, :loaded
11
11
  attr_accessor :eager_load
12
12
  attr_writer :run_after_load_paths # :nodoc:
13
- delegate :execute_if_updated, :execute, :updated?, to: :updater
13
+ delegate :execute_if_updated, :updated?, to: :updater
14
14
 
15
15
  def initialize
16
16
  @paths = []
@@ -21,7 +21,6 @@ module Rails
21
21
  end
22
22
 
23
23
  def reload!
24
- @loaded = true
25
24
  clear!
26
25
  load_paths
27
26
  finalize!
@@ -30,6 +29,11 @@ module Rails
30
29
  revert
31
30
  end
32
31
 
32
+ def execute
33
+ @loaded = true
34
+ updater.execute
35
+ end
36
+
33
37
  def execute_unless_loaded
34
38
  unless @loaded
35
39
  execute
@@ -5,7 +5,7 @@ require "active_support/core_ext/string/access"
5
5
 
6
6
  module Rails
7
7
  class BacktraceCleaner < ActiveSupport::BacktraceCleaner # :nodoc:
8
- APP_DIRS_PATTERN = /\A(?:\.\/)?(?:app|config|lib|test|\(\w*\))/
8
+ APP_DIRS_PATTERN = /\A(?:\.\/)?(?:app|config|lib|test|\(\w+(?:-\w+)*\))/
9
9
  RENDER_TEMPLATE_PATTERN = /:in [`'].*_\w+_{2,3}\d+_\d+'/
10
10
 
11
11
  def initialize
@@ -27,14 +27,14 @@ module Rails
27
27
  end
28
28
 
29
29
  def clean(backtrace, kind = :silent)
30
- kind = nil if ENV["BACKTRACE"]
30
+ return backtrace if ENV["BACKTRACE"]
31
31
 
32
32
  super(backtrace, kind)
33
33
  end
34
34
  alias_method :filter, :clean
35
35
 
36
36
  def clean_frame(frame, kind = :silent)
37
- kind = nil if ENV["BACKTRACE"]
37
+ return frame if ENV["BACKTRACE"]
38
38
 
39
39
  super(frame, kind)
40
40
  end
@@ -10,7 +10,7 @@ module Rails
10
10
  MAJOR = 8
11
11
  MINOR = 0
12
12
  TINY = 0
13
- PRE = "rc2"
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -516,9 +516,9 @@ module Rails
516
516
 
517
517
  def route_namespace_pattern(namespace)
518
518
  namespace.each_with_index.reverse_each.reduce(nil) do |pattern, (name, i)|
519
- cummulative_margin = "\\#{i + 1}[ ]{2}"
520
- blank_or_indented_line = "^[ ]*\n|^#{cummulative_margin}.*\n"
521
- "(?:(?:#{blank_or_indented_line})*?^(#{cummulative_margin})namespace :#{name} do\n#{pattern})?"
519
+ cumulative_margin = "\\#{i + 1}[ ]{2}"
520
+ blank_or_indented_line = "^[ ]*\n|^#{cumulative_margin}.*\n"
521
+ "(?:(?:#{blank_or_indented_line})*?^(#{cumulative_margin})namespace :#{name} do\n#{pattern})?"
522
522
  end.then do |pattern|
523
523
  /^([ ]*).+\.routes\.draw do[ ]*\n#{pattern}/
524
524
  end
@@ -110,7 +110,7 @@ module Rails
110
110
  desc: "Skip Kamal setup"
111
111
 
112
112
  class_option :skip_solid, type: :boolean, default: nil,
113
- desc: "Skip Solid Cache & Queue setup"
113
+ desc: "Skip Solid Cache, Queue, and Cable setup"
114
114
 
115
115
  class_option :dev, type: :boolean, default: nil,
116
116
  desc: "Set up the #{name} with Gemfile pointing to your Rails checkout"
@@ -131,6 +131,7 @@ jobs:
131
131
  <%- else -%>
132
132
  run: bin/rails db:test:prepare test test:system
133
133
  <%- end -%>
134
+ <%- unless options[:api] -%>
134
135
 
135
136
  - name: Keep screenshots from failed system tests
136
137
  uses: actions/upload-artifact@v4
@@ -139,4 +140,5 @@ jobs:
139
140
  name: screenshots
140
141
  path: ${{ github.workspace }}/tmp/screenshots
141
142
  if-no-files-found: ignore
143
+ <%- end -%>
142
144
  <% end -%>
@@ -30,7 +30,7 @@ module Rails
30
30
  desc: "Include configuration for Kamal"
31
31
 
32
32
  class_option :skip_solid, type: :boolean, default: nil,
33
- desc: "Skip Solid Cache & Queue setup"
33
+ desc: "Skip Solid Cache, Queue, and Cable setup"
34
34
 
35
35
  source_paths << File.expand_path(File.join(base_name, "app", "templates"), base_root)
36
36
 
@@ -1,5 +1,5 @@
1
- // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
- // README at: https://github.com/devcontainers/templates/tree/main/src/ruby
1
+ // For format details, see https://containers.dev/implementors/json_reference/.
2
+ // For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/ruby
3
3
  {
4
4
  "name": "<%= options[:app_name] %>",
5
5
  "dockerComposeFile": "compose.yaml",
@@ -23,7 +23,7 @@
23
23
  // Configure tool-specific properties.
24
24
  // "customizations": {},
25
25
 
26
- // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26
+ // Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser.
27
27
  // "remoteUser": "root",
28
28
 
29
29
  <%- if !mounts.empty? -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.rc2
4
+ version: 8.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-30 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 8.0.0.rc2
19
+ version: 8.0.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 8.0.0.rc2
26
+ version: 8.0.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 8.0.0.rc2
33
+ version: 8.0.0.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 8.0.0.rc2
40
+ version: 8.0.0.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rackup
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 8.0.0.rc2
123
+ version: 8.0.0.1
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 8.0.0.rc2
130
+ version: 8.0.0.1
131
131
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
132
132
  email: david@loudthinking.com
133
133
  executables:
@@ -491,10 +491,10 @@ licenses:
491
491
  - MIT
492
492
  metadata:
493
493
  bug_tracker_uri: https://github.com/rails/rails/issues
494
- changelog_uri: https://github.com/rails/rails/blob/v8.0.0.rc2/railties/CHANGELOG.md
495
- documentation_uri: https://api.rubyonrails.org/v8.0.0.rc2/
494
+ changelog_uri: https://github.com/rails/rails/blob/v8.0.0.1/railties/CHANGELOG.md
495
+ documentation_uri: https://api.rubyonrails.org/v8.0.0.1/
496
496
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
497
- source_code_uri: https://github.com/rails/rails/tree/v8.0.0.rc2/railties
497
+ source_code_uri: https://github.com/rails/rails/tree/v8.0.0.1/railties
498
498
  rubygems_mfa_required: 'true'
499
499
  post_install_message:
500
500
  rdoc_options:
@@ -513,7 +513,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
513
513
  - !ruby/object:Gem::Version
514
514
  version: '0'
515
515
  requirements: []
516
- rubygems_version: 3.5.16
516
+ rubygems_version: 3.5.22
517
517
  signing_key:
518
518
  specification_version: 4
519
519
  summary: Tools for creating, working with, and running Rails applications.