railties 8.1.0 → 8.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/rails/gem_version.rb +1 -1
- data/lib/rails/generators/rails/app/templates/config/ci.rb.tt +3 -1
- data/lib/rails/generators/rails/app/templates/config/deploy.yml.tt +5 -2
- data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +8 -0
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad06383ebe43275c8480b20d685bb24fdc80aa69a356d1993ab326cc2e02af20
|
|
4
|
+
data.tar.gz: f99ebe1113417a9c4fb9e29799ded20ffb610aabccacb115d0736ebc0978dfa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0473b71e3c66b2eb9674b8b94ff40b6a353665d9a9d2f1f7fe972b8dcc944061ce4410571456f89e9aed3f55b2b5dc5b8f9a79a90cf3966f714932b5a49f3440
|
|
7
|
+
data.tar.gz: 80338fca595869f2068f85dabea6b910f958b1f7083c4675ab9a31df04a958c4e73c12f7de91f8749d30f11a3fffc335c33f8ce9d9318aac86e6f3a9b9ff647f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## Rails 8.1.1 (October 28, 2025) ##
|
|
2
|
+
|
|
3
|
+
* Do not assume and force SSL in production by default when using Kamal, to allow for out of the box Kamal deployments.
|
|
4
|
+
|
|
5
|
+
It is still recommended to assume and force SSL in production as soon as you can.
|
|
6
|
+
|
|
7
|
+
*Jerome Dalbert*
|
|
8
|
+
|
|
1
9
|
## Rails 8.1.0 (October 22, 2025) ##
|
|
2
10
|
|
|
3
11
|
* Suggest `bin/rails action_text:install` from Action Dispatch error page
|
data/lib/rails/gem_version.rb
CHANGED
|
@@ -18,14 +18,16 @@ CI.run do
|
|
|
18
18
|
<% unless options.skip_brakeman? -%>
|
|
19
19
|
step "Security: Brakeman code analysis", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
|
|
20
20
|
<% end -%>
|
|
21
|
+
<% unless options[:skip_test] -%>
|
|
21
22
|
<% if options[:api] || options[:skip_system_test] -%>
|
|
22
23
|
step "Tests: Rails", "bin/rails test"
|
|
23
24
|
<% else %>
|
|
24
25
|
step "Tests: Rails", "bin/rails test"
|
|
25
26
|
step "Tests: System", "bin/rails test:system"
|
|
26
27
|
<% end -%>
|
|
27
|
-
<% unless options.skip_active_record?
|
|
28
|
+
<% unless options.skip_active_record? -%>
|
|
28
29
|
step "Tests: Seeds", "env RAILS_ENV=test bin/rails db:seed:replant"
|
|
30
|
+
<% end -%>
|
|
29
31
|
<% end -%>
|
|
30
32
|
|
|
31
33
|
# Optional: set a green GitHub commit status to unblock PR merge.
|
|
@@ -14,9 +14,12 @@ servers:
|
|
|
14
14
|
# cmd: bin/jobs
|
|
15
15
|
|
|
16
16
|
# Enable SSL auto certification via Let's Encrypt and allow for multiple apps on a single web server.
|
|
17
|
-
#
|
|
17
|
+
# If used with Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
|
|
18
|
+
#
|
|
19
|
+
# Using an SSL proxy like this requires turning on config.assume_ssl and config.force_ssl in production.rb!
|
|
20
|
+
#
|
|
21
|
+
# Don't use this when deploying to multiple web servers (then you have to terminate SSL at your load balancer).
|
|
18
22
|
#
|
|
19
|
-
# Note: If using Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
|
|
20
23
|
# proxy:
|
|
21
24
|
# ssl: true
|
|
22
25
|
# host: app.example.com
|
|
@@ -29,10 +29,18 @@ Rails.application.configure do
|
|
|
29
29
|
|
|
30
30
|
<%- end -%>
|
|
31
31
|
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
|
32
|
+
<%- if skip_kamal? -%>
|
|
32
33
|
config.assume_ssl = true
|
|
34
|
+
<%- else -%>
|
|
35
|
+
# config.assume_ssl = true
|
|
36
|
+
<%- end -%>
|
|
33
37
|
|
|
34
38
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
39
|
+
<%- if skip_kamal? -%>
|
|
35
40
|
config.force_ssl = true
|
|
41
|
+
<%- else -%>
|
|
42
|
+
# config.force_ssl = true
|
|
43
|
+
<%- end -%>
|
|
36
44
|
|
|
37
45
|
# Skip http-to-https redirect for the default health check endpoint.
|
|
38
46
|
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railties
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.1.
|
|
4
|
+
version: 8.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 8.1.
|
|
18
|
+
version: 8.1.1
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 8.1.
|
|
25
|
+
version: 8.1.1
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: actionpack
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 8.1.
|
|
32
|
+
version: 8.1.1
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 8.1.
|
|
39
|
+
version: 8.1.1
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: rackup
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -133,14 +133,14 @@ dependencies:
|
|
|
133
133
|
requirements:
|
|
134
134
|
- - '='
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
|
-
version: 8.1.
|
|
136
|
+
version: 8.1.1
|
|
137
137
|
type: :development
|
|
138
138
|
prerelease: false
|
|
139
139
|
version_requirements: !ruby/object:Gem::Requirement
|
|
140
140
|
requirements:
|
|
141
141
|
- - '='
|
|
142
142
|
- !ruby/object:Gem::Version
|
|
143
|
-
version: 8.1.
|
|
143
|
+
version: 8.1.1
|
|
144
144
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
|
145
145
|
email: david@loudthinking.com
|
|
146
146
|
executables:
|
|
@@ -508,10 +508,10 @@ licenses:
|
|
|
508
508
|
- MIT
|
|
509
509
|
metadata:
|
|
510
510
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
511
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.1.
|
|
512
|
-
documentation_uri: https://api.rubyonrails.org/v8.1.
|
|
511
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.1.1/railties/CHANGELOG.md
|
|
512
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.1/
|
|
513
513
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
514
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.1.
|
|
514
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.1/railties
|
|
515
515
|
rubygems_mfa_required: 'true'
|
|
516
516
|
rdoc_options:
|
|
517
517
|
- "--exclude"
|