omg-railties 8.0.0.alpha8 → 8.0.0.alpha9

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: 199b0d2f7e5229905a8ad2bba4ae9a64d18d030aef0accb4dce5176c42edcb1a
4
- data.tar.gz: 6d3daa35ec7cce2b5428958ebba9e45c4d133fdbada3ae2acf118d4d8da0d169
3
+ metadata.gz: f7ba43530e0aa081d87930bf1b92fb44125bf2ff708dc1e582ee772bf6dcdc57
4
+ data.tar.gz: 1190565c9c6460480393c43225a5ef476fce1174db80f30ead9911099935ed2e
5
5
  SHA512:
6
- metadata.gz: 37f92f5b52e5ecc20843dd48fca435d9d685bc0933f32cc3d71b0d7d9976b6a4e0280d95086640679c0db48fa9ca60e13112e2b0d66b9f5f069ccc093bbee951
7
- data.tar.gz: b0da2021ff4bc0582af7204f47f749a59cb5882f66ad30b4177cd76b7dd5f41a4c46fdd276c50be45f466a990c50fb66376af60a6d0a3cb83d492886e8da9837
6
+ metadata.gz: 3e1459ae1c8cbbf1c925aa8753981e6e9f52ecfa713b4ba6de9cda9791b4970279196b92c2f88c1b01559b39dd738e17ca435b9c0e3b3ebe9461b87523265bc9
7
+ data.tar.gz: 1f87a9dab143a1edee8abe0717833e2b85f4a544ac53fecc459d3667114e86e8f7997dcb743a1b033793ee37dbf48efeddc904f8c9c948003d83f44897b6463d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 8.0.0.alpha9 (September 25, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 8.0.0.alpha8 (September 18, 2024) ##
2
7
 
3
8
  * No changes.
@@ -50,6 +55,12 @@
50
55
 
51
56
  ## Rails 8.0.0.alpha4 (September 18, 2024) ##
52
57
 
58
+ * Remove `require_*` statements from application.css to align with the transition from Sprockets to Propshaft.
59
+
60
+ With Propshaft as the default asset pipeline in Rails 8, the require_tree and require_self clauses in application.css are no longer necessary, as they were specific to Sprockets. Additionally, the comment has been updated to clarify that CSS precedence now follows standard cascading order without automatic prioritization by the asset pipeline.
61
+
62
+ *Eduardo Alencar*
63
+
53
64
  * Do not include redis by default in generated Dev Containers.
54
65
 
55
66
  Now that applications use the Solid Queue and Solid Cache gems by default, we do not need to include redis
@@ -10,7 +10,7 @@ module Rails
10
10
  MAJOR = 8
11
11
  MINOR = 0
12
12
  TINY = 0
13
- PRE = "alpha8"
13
+ PRE = "alpha9"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -623,10 +623,10 @@ module Rails
623
623
  end
624
624
 
625
625
  def cable_gemfile_entry
626
- return if options[:skip_action_cable]
627
-
628
- comment = "Use Redis adapter to run Action Cable in production"
629
- GemfileEntry.new("redis", ">= 4.0.1", comment, {}, true)
626
+ if !options[:skip_action_cable] && options[:skip_solid]
627
+ comment = "Use Redis adapter to run Action Cable in production"
628
+ GemfileEntry.new("redis", ">= 4.0.1", comment, {}, true)
629
+ end
630
630
  end
631
631
 
632
632
  def bundle_command(command, env = {})
@@ -730,8 +730,7 @@ module Rails
730
730
  bundle_command "binstubs kamal"
731
731
  bundle_command "exec kamal init"
732
732
 
733
- remove_file ".env"
734
- template "env.erb", ".env.erb"
733
+ template "kamal-secrets.tt", ".kamal/secrets", force: true
735
734
  template "config/deploy.yml", force: true
736
735
  end
737
736
 
@@ -248,7 +248,7 @@ module Rails
248
248
  end
249
249
 
250
250
  def gem
251
- ["sqlite3", [">= 2.0"]]
251
+ ["sqlite3", [">= 2.1"]]
252
252
  end
253
253
 
254
254
  def base_package
@@ -32,7 +32,7 @@ gem "bootsnap", require: false
32
32
  <% unless options.skip_kamal? -%>
33
33
 
34
34
  # Deploy this application anywhere as a Docker container [https://kamal-deploy.org]
35
- gem "kamal", require: false
35
+ gem "kamal", ">= 2.0.0.rc2", require: false
36
36
  <% end -%>
37
37
  <% unless options.skip_thruster? -%>
38
38
 
@@ -1,15 +1,10 @@
1
1
  /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
2
+ * This is a manifest file that'll be compiled into application.css.
4
3
  *
5
- * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
6
- * vendor/assets/stylesheets directory can be referenced here using a relative path.
4
+ * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
5
+ * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
6
+ * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
7
+ * depending on specificity.
7
8
  *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
9
+ * Consider organizing styles into separate files for maintainability.
15
10
  */
@@ -13,6 +13,12 @@ servers:
13
13
  # - 192.168.0.1
14
14
  # cmd: bin/jobs
15
15
 
16
+ # Enable SSL auto certification via Let's Encrypt (and allow for multiple apps on one server).
17
+ # Set ssl: false if using something like Cloudflare to terminate SSL (but keep host!).
18
+ proxy:
19
+ ssl: true
20
+ host: app.example.com
21
+
16
22
  # Credentials for your image host.
17
23
  registry:
18
24
  # Specify the registry server, if you're not using Docker Hub
@@ -23,8 +29,7 @@ registry:
23
29
  password:
24
30
  - KAMAL_REGISTRY_PASSWORD
25
31
 
26
- # Inject ENV variables into containers (secrets come from .env).
27
- # Remember to run `kamal env push` after making changes!
32
+ # Inject ENV variables into containers (secrets come from .kamal/secrets).
28
33
  env:
29
34
  secret:
30
35
  - RAILS_MASTER_KEY
@@ -35,6 +40,9 @@ env:
35
40
 
36
41
  # # Match this to any external database server to configure Active Record correctly
37
42
  # DB_HOST: 192.168.0.2
43
+
44
+ # # Log everything from Rails
45
+ # RAILS_LOG_LEVEL: debug
38
46
  <% else -%>
39
47
  clear:
40
48
  # Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
@@ -49,8 +57,19 @@ env:
49
57
 
50
58
  # Match this to any external database server to configure Active Record correctly
51
59
  # DB_HOST: 192.168.0.2
60
+
61
+ # Log everything from Rails
62
+ # RAILS_LOG_LEVEL: debug
52
63
  <% end -%>
53
64
 
65
+ # Aliases are triggered with "bin/kamal <alias>". You can overwrite arguments on invocation:
66
+ # "bin/kamal logs -r job" will tail logs from the first server in the job section.
67
+ aliases:
68
+ console: app exec --interactive --reuse "bin/rails console"
69
+ shell: app exec --interactive --reuse "bash"
70
+ logs: app logs -f
71
+ dbc: app exec --interactive --reuse "bin/rails dbconsole"
72
+
54
73
  <% unless skip_storage? %>
55
74
  # Use a persistent storage volume for sqlite database files and local Active Storage files.
56
75
  # Recommended to change this to a mounted volume path that is backed up off server.
@@ -63,27 +82,25 @@ volumes:
63
82
  # version inside the asset_path.
64
83
  asset_path: /rails/public/assets
65
84
 
85
+ # Configure the image builder.
86
+ builder:
87
+ arch: amd64
88
+
89
+ # # Build image via remote server (useful for faster amd64 builds on arm64 computers)
90
+ # remote: ssh://docker@docker-builder-server
91
+ #
92
+ # # Pass arguments and secrets to the Docker build process
93
+ # args:
94
+ # RUBY_VERSION: <%= ENV["RBENV_VERSION"] || ENV["rvm_ruby_string"] || "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" %>
95
+ # secrets:
96
+ # - GITHUB_TOKEN
97
+ # - RAILS_MASTER_KEY
98
+
66
99
  # Use a different ssh user than root
67
100
  # ssh:
68
101
  # user: app
69
102
 
70
- # Configure builder setup (defaults to multi-arch images).
71
- # builder:
72
- # # Build same-arch image locally (use for x86->x86)
73
- # multiarch: false
74
- #
75
- # # Build diff-arch image via remote server
76
- # remote:
77
- # arch: amd64
78
- # host: ssh://app@192.168.0.1
79
- #
80
- # args:
81
- # RUBY_VERSION: <%= ENV["RBENV_VERSION"] || ENV["rvm_ruby_string"] || "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" %>
82
- # secrets:
83
- # - GITHUB_TOKEN
84
- # - RAILS_MASTER_KEY
85
-
86
- # Use accessory services (secrets come from .env).
103
+ # Use accessory services (secrets come from .kamal/secrets).
87
104
  # accessories:
88
105
  # db:
89
106
  # image: mysql:8.0
@@ -3,9 +3,7 @@ require "active_support/core_ext/integer/time"
3
3
  Rails.application.configure do
4
4
  # Settings specified here will take precedence over those in config/application.rb.
5
5
 
6
- # In the development environment your application's code is reloaded any time
7
- # it changes. This slows down response time but is perfect for development
8
- # since you don't have to restart the web server when you make code changes.
6
+ # Make code changes take affect immediately without server restart.
9
7
  config.enable_reloading = true
10
8
 
11
9
  # Do not eager load code on boot.
@@ -29,7 +27,7 @@ Rails.application.configure do
29
27
  config.action_controller.perform_caching = false
30
28
  end
31
29
 
32
- # Change this to :null_store to avoid any caching.
30
+ # Change to :null_store to avoid any caching.
33
31
  config.cache_store = :memory_store
34
32
  <%- unless skip_active_storage? -%>
35
33
 
@@ -41,8 +39,7 @@ Rails.application.configure do
41
39
  # Don't care if the mailer can't send.
42
40
  config.action_mailer.raise_delivery_errors = false
43
41
 
44
- # Disable caching for Action Mailer templates even if Action Controller
45
- # caching is enabled.
42
+ # Make template changes take affect immediately.
46
43
  config.action_mailer.perform_caching = false
47
44
 
48
45
  # Set localhost to be used by links generated in mailer templates.
@@ -1,50 +1,35 @@
1
+ require "active_support/core_ext/integer/time"
2
+
1
3
  Rails.application.configure do
2
4
  # Settings specified here will take precedence over those in config/application.rb.
3
5
 
4
6
  # Code is not reloaded between requests.
5
7
  config.enable_reloading = false
6
8
 
7
- # Eager load code on boot. This eager loads most of Rails and
8
- # your application in memory, allowing both threaded web servers
9
- # and those relying on copy on write to perform better.
10
- # Rake tasks automatically ignore this option for performance.
9
+ # Eager load code on boot for better performance and memory savings (ignored by Rake tasks).
11
10
  config.eager_load = true
12
11
 
13
- # Full error reports are disabled and caching is turned on.
12
+ # Full error reports are disabled.
14
13
  config.consider_all_requests_local = false
15
14
  <%- unless options.api? -%>
15
+
16
+ # Turn on fragment caching in view templates.
16
17
  config.action_controller.perform_caching = true
17
18
  <%- end -%>
18
19
 
19
- # Ensures that a master key has been made available in ENV["RAILS_MASTER_KEY"], config/master.key, or an environment
20
- # key such as config/credentials/production.key. This key is used to decrypt credentials (and other encrypted files).
21
- # config.require_master_key = true
22
-
23
- # Disable serving static files from `public/`, relying on NGINX/Apache to do so instead.
24
- # config.public_file_server.enabled = false
20
+ # Cache assets for far-future expiry since they are all digest stamped.
21
+ config.public_file_server.headers = { "cache-control" => "public, max-age=#{1.year.to_i}" }
25
22
 
26
23
  # Enable serving of images, stylesheets, and JavaScripts from an asset server.
27
24
  # config.asset_host = "http://assets.example.com"
28
25
 
29
- # Specifies the header that your server uses for sending files.
30
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
31
- # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
32
-
33
26
  <%- unless skip_active_storage? -%>
34
27
  # Store uploaded files on the local file system (see config/storage.yml for options).
35
28
  config.active_storage.service = :local
36
29
 
37
- <%- end -%>
38
- <%- unless skip_action_cable? -%>
39
- # Mount Action Cable outside main process or domain.
40
- # config.action_cable.mount_path = nil
41
- # config.action_cable.url = "wss://example.com/cable"
42
- # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]
43
-
44
30
  <%- end -%>
45
31
  # Assume all access to the app is happening through a SSL-terminating reverse proxy.
46
- # Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
47
- # config.assume_ssl = true
32
+ config.assume_ssl = true
48
33
 
49
34
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
50
35
  config.force_ssl = true
@@ -52,36 +37,28 @@ Rails.application.configure do
52
37
  # Skip http-to-https redirect for the default health check endpoint.
53
38
  # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
54
39
 
55
- # Prevent health checks from clogging up the logs.
56
- config.silence_healthcheck_path = "/up"
57
-
58
- # Log to STDOUT by default.
59
- config.logger = ActiveSupport::Logger.new(STDOUT)
60
- .tap { |logger| logger.formatter = ::Logger::Formatter.new }
61
- .then { |logger| ActiveSupport::TaggedLogging.new(logger) }
62
-
63
- # Prepend all log lines with the following tags.
40
+ # Log to STDOUT with the current request id as a default log tag.
64
41
  config.log_tags = [ :request_id ]
42
+ config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
65
43
 
66
- # "info" includes generic and useful information about system operation, but avoids logging too much
67
- # information to avoid inadvertent exposure of personally identifiable information (PII). If you
68
- # want to log everything, set the level to "debug".
44
+ # Change to "debug" to log everything (including potentially personally-identifiable information!)
69
45
  config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
70
46
 
71
- # Use a different cache store in production.
47
+ # Prevent health checks from clogging up the logs.
48
+ config.silence_healthcheck_path = "/up"
49
+
50
+ # Don't log any deprecations.
51
+ config.active_support.report_deprecations = false
52
+
53
+ # Replace the default in-process memory cache store with a durable alternative.
72
54
  # config.cache_store = :mem_cache_store
73
55
 
74
56
  <%- unless options[:skip_active_job] -%>
75
- # Use a real queuing backend for Active Job (and separate queues per environment).
57
+ # Replace the default in-process and non-durable queuing backend for Active Job.
76
58
  # config.active_job.queue_adapter = :resque
77
- # config.active_job.queue_name_prefix = "<%= app_name %>_production"
78
59
 
79
60
  <%- end -%>
80
61
  <%- unless options.skip_action_mailer? -%>
81
- # Disable caching for Action Mailer templates even if Action Controller
82
- # caching is enabled.
83
- config.action_mailer.perform_caching = false
84
-
85
62
  # Ignore bad email addresses and do not raise email delivery errors.
86
63
  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
87
64
  # config.action_mailer.raise_delivery_errors = false
@@ -102,16 +79,13 @@ Rails.application.configure do
102
79
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
103
80
  # the I18n.default_locale when a translation cannot be found).
104
81
  config.i18n.fallbacks = true
105
-
106
- # Don't log any deprecations.
107
- config.active_support.report_deprecations = false
108
82
  <%- unless options.skip_active_record? -%>
109
83
 
110
84
  # Do not dump schema after migrations.
111
85
  config.active_record.dump_schema_after_migration = false
112
86
 
113
87
  # Only use :id for inspections in production.
114
- config.active_record.attributes_for_inspect = [:id]
88
+ config.active_record.attributes_for_inspect = [ :id ]
115
89
  <%- end -%>
116
90
 
117
91
  # Enable DNS rebinding protection and other `Host` header attacks.
@@ -18,9 +18,8 @@ Rails.application.configure do
18
18
  # Configure public file server for tests with cache-control for performance.
19
19
  config.public_file_server.headers = { "cache-control" => "public, max-age=3600" }
20
20
 
21
- # Show full error reports and disable caching.
21
+ # Show full error reports.
22
22
  config.consider_all_requests_local = true
23
- config.action_controller.perform_caching = false
24
23
  config.cache_store = :null_store
25
24
 
26
25
  # Render exception templates for rescuable exceptions and raise for other exceptions.
@@ -35,10 +34,6 @@ Rails.application.configure do
35
34
 
36
35
  <%- end -%>
37
36
  <%- unless options.skip_action_mailer? -%>
38
- # Disable caching for Action Mailer templates even if Action Controller
39
- # caching is enabled.
40
- config.action_mailer.perform_caching = false
41
-
42
37
  # Tell Action Mailer not to deliver emails to the real world.
43
38
  # The :test delivery method accumulates sent emails in the
44
39
  # ActionMailer::Base.deliveries array.
@@ -7,9 +7,8 @@
7
7
  # Ignore bundler config.
8
8
  /.bundle
9
9
 
10
- # Ignore all environment files (except templates).
10
+ # Ignore all environment files.
11
11
  /.env*
12
- !/.env*.erb
13
12
 
14
13
  # Ignore all default key files.
15
14
  /config/master.key
@@ -7,9 +7,8 @@
7
7
  # Ignore bundler config.
8
8
  /.bundle
9
9
 
10
- # Ignore all environment files (except templates).
10
+ # Ignore all environment files.
11
11
  /.env*
12
- !/.env*.erb
13
12
 
14
13
  # Ignore all logfiles and tempfiles.
15
14
  /log/*
@@ -0,0 +1,17 @@
1
+ # Secrets defined here are available for reference under registry/password, env/secret, builder/secrets,
2
+ # and accessories/*/env/secret in config/deploy.yml. All secrets should be pulled from either
3
+ # password manager, ENV, or a file. DO NOT ENTER RAW CREDENTIALS HERE! This file needs to be safe for git.
4
+
5
+ # Example of extracting secrets from 1password (or another compatible pw manager)
6
+ # SECRETS=$(kamal secrets fetch --adapter 1password --account your-account --from Vault/Item KAMAL_REGISTRY_PASSWORD RAILS_MASTER_KEY)
7
+ # KAMAL_REGISTRY_PASSWORD=$(kamal secrets extract KAMAL_REGISTRY_PASSWORD ${SECRETS})
8
+ # RAILS_MASTER_KEY=$(kamal secrets extract RAILS_MASTER_KEY ${SECRETS})
9
+
10
+ # Use a GITHUB_TOKEN if private repositories are needed for the image
11
+ # GITHUB_TOKEN=$(gh config get -h github.com oauth_token)
12
+
13
+ # Grab the registry password from ENV
14
+ KAMAL_REGISTRY_PASSWORD=$KAMAL_REGISTRY_PASSWORD
15
+
16
+ # Improve security by using a password manager. Never check config/master.key into git!
17
+ RAILS_MASTER_KEY=$(cat config/master.key)
@@ -489,9 +489,11 @@ module Rails
489
489
 
490
490
  def test_command
491
491
  if engine? && !options[:skip_active_record] && with_dummy_app?
492
- "db:test:prepare test"
492
+ "bin/rails db:test:prepare test"
493
+ elsif engine?
494
+ "bin/rails test"
493
495
  else
494
- "test"
496
+ "bin/test"
495
497
  end
496
498
  end
497
499
  end
@@ -90,7 +90,7 @@ jobs:
90
90
  DATABASE_URL: postgres://postgres:postgres@localhost:5432
91
91
  <%- end -%>
92
92
  # REDIS_URL: redis://localhost:6379/0
93
- run: bin/rails <%= test_command %>
93
+ run: <%= test_command %>
94
94
 
95
95
  - name: Keep screenshots from failed system tests
96
96
  uses: actions/upload-artifact@v4
@@ -3,7 +3,7 @@ ENV["RAILS_ENV"] = "test"
3
3
 
4
4
  require_relative "<%= File.join("..", options[:dummy_path], "config/environment") -%>"
5
5
  <% unless options[:skip_active_record] -%>
6
- ActiveRecord::Migrator.migrations_paths = [File.expand_path("../<%= options[:dummy_path] -%>/db/migrate", __dir__)]
6
+ ActiveRecord::Migrator.migrations_paths = [ File.expand_path("../<%= options[:dummy_path] -%>/db/migrate", __dir__) ]
7
7
  <% if options[:mountable] -%>
8
8
  ActiveRecord::Migrator.migrations_paths << File.expand_path("../db/migrate", __dir__)
9
9
  <% end -%>
@@ -13,7 +13,7 @@ require "rails/test_help"
13
13
  <% unless options[:skip_active_record] -%>
14
14
  # Load fixtures from the engine
15
15
  if ActiveSupport::TestCase.respond_to?(:fixture_paths=)
16
- ActiveSupport::TestCase.fixture_paths = [File.expand_path("fixtures", __dir__)]
16
+ ActiveSupport::TestCase.fixture_paths = [ File.expand_path("fixtures", __dir__) ]
17
17
  ActionDispatch::IntegrationTest.fixture_paths = ActiveSupport::TestCase.fixture_paths
18
18
  ActiveSupport::TestCase.file_fixture_path = File.expand_path("fixtures", __dir__) + "/files"
19
19
  ActiveSupport::TestCase.fixtures :all
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omg-railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.alpha8
4
+ version: 8.0.0.alpha9
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-09-18 00:00:00.000000000 Z
11
+ date: 2024-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omg-activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 8.0.0.alpha8
19
+ version: 8.0.0.alpha9
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.alpha8
26
+ version: 8.0.0.alpha9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: omg-actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 8.0.0.alpha8
33
+ version: 8.0.0.alpha9
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.alpha8
40
+ version: 8.0.0.alpha9
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.alpha8
123
+ version: 8.0.0.alpha9
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.alpha8
130
+ version: 8.0.0.alpha9
131
131
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
132
132
  email: david@loudthinking.com
133
133
  executables:
@@ -299,11 +299,11 @@ files:
299
299
  - lib/rails/generators/rails/app/templates/db/seeds.rb.tt
300
300
  - lib/rails/generators/rails/app/templates/docker-entrypoint.tt
301
301
  - lib/rails/generators/rails/app/templates/dockerignore.tt
302
- - lib/rails/generators/rails/app/templates/env.erb.tt
303
302
  - lib/rails/generators/rails/app/templates/gitattributes.tt
304
303
  - lib/rails/generators/rails/app/templates/github/ci.yml.tt
305
304
  - lib/rails/generators/rails/app/templates/github/dependabot.yml
306
305
  - lib/rails/generators/rails/app/templates/gitignore.tt
306
+ - lib/rails/generators/rails/app/templates/kamal-secrets.tt
307
307
  - lib/rails/generators/rails/app/templates/node-version.tt
308
308
  - lib/rails/generators/rails/app/templates/public/400.html
309
309
  - lib/rails/generators/rails/app/templates/public/404.html
@@ -489,10 +489,10 @@ licenses:
489
489
  - MIT
490
490
  metadata:
491
491
  bug_tracker_uri: https://github.com/rails/rails/issues
492
- changelog_uri: https://github.com/rails/rails/blob/v8.0.0.alpha8/railties/CHANGELOG.md
493
- documentation_uri: https://api.rubyonrails.org/v8.0.0.alpha8/
492
+ changelog_uri: https://github.com/rails/rails/blob/v8.0.0.alpha9/railties/CHANGELOG.md
493
+ documentation_uri: https://api.rubyonrails.org/v8.0.0.alpha9/
494
494
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
495
- source_code_uri: https://github.com/rails/rails/tree/v8.0.0.alpha8/railties
495
+ source_code_uri: https://github.com/rails/rails/tree/v8.0.0.alpha9/railties
496
496
  rubygems_mfa_required: 'true'
497
497
  post_install_message:
498
498
  rdoc_options:
@@ -1,5 +0,0 @@
1
- <%%# This env template should lookup values from a password store or from ENV -%>
2
- # Generated by kamal envify from .env.erb
3
- KAMAL_REGISTRY_PASSWORD=<%%= ENV["KAMAL_REGISTRY_PASSWORD"] %>
4
- RAILS_MASTER_KEY=<%%= File.read("config/master.key") %>
5
- # GITHUB_TOKEN=<%%#= `gh config get -h github.com oauth_token`.strip %>