Skip to content

Commit 1705da2

Browse files
committed
7.2.0
1 parent ff2cf9c commit 1705da2

File tree

4 files changed

+2
-25
lines changed

4 files changed

+2
-25
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
ruby-version: .ruby-version
2020
bundler-cache: true
2121

22-
- name: Scan for security vulnerabilities in Ruby dependencies
22+
- name: Scan for common Rails security vulnerabilities using static analysis
2323
run: bin/brakeman --no-pager
2424

2525
scan_js:

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# docker build -t my-app .
55
# docker run -d -p 80:80 -p 443:443 --name my-app -e RAILS_MASTER_KEY=<value from config/master.key> my-app
66

7-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
8-
97
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
108
ARG RUBY_VERSION=your-ruby-version
119
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source "https://rubygems.org"
22

33
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4-
gem "rails", "~> 7.2.0.rc1"
4+
gem "rails", "~> 7.2.0"
55
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
66
gem "sprockets-rails"
77
# Use sqlite3 as the database for Active Record

config/puma.rb

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,6 @@
2323
threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
2424
threads threads_count, threads_count
2525

26-
# Specifies the `environment` that Puma will run in.
27-
rails_env = ENV.fetch("RAILS_ENV", "development")
28-
environment rails_env
29-
30-
case rails_env
31-
when "production"
32-
# If you are running more than 1 thread per process, the workers count
33-
# should be equal to the number of processors (CPU cores) in production.
34-
#
35-
# Automatically detect the number of available processors in production.
36-
require "concurrent-ruby"
37-
workers_count = Integer(ENV.fetch("WEB_CONCURRENCY") { Concurrent.available_processor_count })
38-
workers workers_count if workers_count > 1
39-
40-
preload_app!
41-
when "development"
42-
# Specifies a very generous `worker_timeout` so that the worker
43-
# isn't killed by Puma when suspended by a debugger.
44-
worker_timeout 3600
45-
end
46-
4726
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
4827
port ENV.fetch("PORT", 3000)
4928

0 commit comments

Comments
 (0)