Skip to content

Commit f1dae00

Browse files
committed
7.2.1
1 parent 1705da2 commit f1dae00

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
6565
steps:
6666
- name: Install packages
67-
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libsqlite3-0 libvips
67+
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libvips sqlite3
6868

6969
- name: Checkout code
7070
uses: actions/checkout@v4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WORKDIR /rails
1313

1414
# Install base packages
1515
RUN apt-get update -qq && \
16-
apt-get install --no-install-recommends -y curl libjemalloc2 libsqlite3-0 libvips && \
16+
apt-get install --no-install-recommends -y curl libjemalloc2 libvips sqlite3 && \
1717
rm -rf /var/lib/apt/lists /var/cache/apt/archives
1818

1919
# Set production environment

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"
4+
gem "rails", "~> 7.2.1"
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

app/views/pwa/service-worker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
// const { title, options } = await event.data.json()
55
// event.waitUntil(self.registration.showNotification(title, options))
66
// })
7-
//
7+
//
88
// self.addEventListener("notificationclick", function(event) {
99
// event.notification.close()
1010
// event.waitUntil(
1111
// clients.matchAll({ type: "window" }).then((clientList) => {
1212
// for (let i = 0; i < clientList.length; i++) {
1313
// let client = clientList[i]
1414
// let clientPath = (new URL(client.url)).pathname
15-
//
15+
//
1616
// if (clientPath == event.notification.data.path && "focus" in client) {
1717
// return client.focus()
1818
// }
1919
// }
20-
//
20+
//
2121
// if (clients.openWindow) {
2222
// return clients.openWindow(event.notification.data.path)
2323
// }

config/initializers/assets.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# Precompile additional assets.
1010
# application.js, application.css, and all non-JS/CSS in the app/assets
1111
# folder are already added.
12-
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
12+
# Rails.application.config.assets.precompile += %w[ admin.js admin.css ]

config/puma.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@
2929
# Allow puma to be restarted by `bin/rails restart` command.
3030
plugin :tmp_restart
3131

32-
# Only use a pidfile when requested
32+
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
33+
# In other environments, only set the PID file if requested.
3334
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]

0 commit comments

Comments
 (0)