Skip to content

Commit a5a69be

Browse files
authored
Merge branch 'main' into ui3
2 parents d70ce85 + 5a72dd2 commit a5a69be

File tree

294 files changed

+6362
-1997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+6362
-1997
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": {
2020
"args": {
2121
// Update 'VARIANT' to pick a Ruby version: 2, 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, 2.1, 2.0, 1.9
22-
"VARIANT": "3.2-bookworm",
22+
"VARIANT": "3.3-bookworm",
2323
"NODE_VERSION": "22" // Node version installed by nvm (https://github.com/devcontainers/images/tree/main/src/ruby#installing-nodejs)
2424
}
2525
},

.dockerignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files.
2+
3+
# Ignore git directory.
4+
/.git/
5+
/.gitignore
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all environment files.
11+
/.env*
12+
13+
# Ignore all default key files.
14+
/config/master.key
15+
/config/credentials/*.key
16+
17+
# Ignore all logfiles and tempfiles.
18+
/log/*
19+
/tmp/*
20+
!/log/.keep
21+
!/tmp/.keep
22+
23+
# Ignore pidfiles, but keep the directory.
24+
/tmp/pids/*
25+
!/tmp/pids/.keep
26+
27+
# Ignore storage (uploaded files in development and any SQLite databases).
28+
/storage/*
29+
!/storage/.keep
30+
/tmp/storage/*
31+
!/tmp/storage/.keep
32+
33+
# Ignore assets.
34+
/node_modules/
35+
/app/assets/builds/*
36+
!/app/assets/builds/.keep
37+
/public/assets
38+
39+
# Ignore CI service files.
40+
/.github
41+
42+
# Ignore development files
43+
/.devcontainer
44+
45+
# Ignore Docker-related files
46+
/.dockerignore
47+
/Dockerfile*
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
15+
- name: Install Poppler
16+
run: |
17+
sudo apt-get update
18+
sudo apt -y install libpoppler-glib-dev
1519
- name: Set up Ruby
1620
uses: ruby/setup-ruby@v1
1721
with:
1822
bundler-cache: true
1923
- name: Run Rubocop
20-
run: bundle exec rubocop
24+
run: bundle exec rubocop -a
25+
- name: Comment suggested changes
26+
uses: parkerbxyz/[email protected]
27+
if: ${{ github.event.pull_request }}
2128
erblint:
2229
name: 'ERB Lint'
2330
runs-on: ubuntu-latest
@@ -93,9 +100,9 @@ jobs:
93100
node-version-file: package.json
94101
- name: Find yarn cache location
95102
id: yarn-cache
96-
run: echo "::set-output name=dir::$(yarn cache dir)"
103+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
97104
- name: JS package cache
98-
uses: actions/cache@v1
105+
uses: actions/cache@v4
99106
with:
100107
path: ${{ steps.yarn-cache.outputs.dir }}
101108
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -145,9 +152,9 @@ jobs:
145152
node-version-file: package.json
146153
- name: Find yarn cache location
147154
id: yarn-cache
148-
run: echo "::set-output name=dir::$(yarn cache dir)"
155+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
149156
- name: JS package cache
150-
uses: actions/cache@v1
157+
uses: actions/cache@v4
151158
with:
152159
path: ${{ steps.yarn-cache.outputs.dir }}
153160
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

Gemfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ gem "puma", "~> 6.5" # app server
1212

1313
gem "pg", ">= 0.18", "< 2.0" # database
1414
gem "redis", "~> 5.3" # for caching, jobs, etc.
15-
gem "sidekiq", "~> 7.3.2" # background jobs
16-
gem "sidekiq-cron", "~> 1.12" # run Sidekiq jobs at scheduled intervals
15+
gem "sidekiq", "~> 7.3.8" # background jobs
16+
gem "sidekiq-cron", "~> 2.1" # run Sidekiq jobs at scheduled intervals
1717

1818
gem "image_processing", "~> 1.2"
1919
gem "mini_magick"
@@ -35,7 +35,8 @@ gem "faraday" # web requests
3535
gem "increase", "~> 0.3.3"
3636
gem "stripe", "11.7.0"
3737
gem "plaid", "~> 34.0"
38-
gem "yellow_pages", github: "hackclub/yellow_pages", ref: "4711379"
38+
gem "yellow_pages", github: "hackclub/yellow_pages"
39+
gem "recursive-open-struct" # for stubbing stripe api objects
3940

4041
gem "aws-sdk-s3", require: false
4142

@@ -53,7 +54,7 @@ gem "blind_index" # needed to query and/or guarantee uniqueness for encrypted fi
5354
gem "aasm" # state machine
5455

5556
gem "paper_trail", "~> 16.0.0" # track changes to models
56-
gem "acts_as_paranoid", "~> 0.10.2" # enables soft deletions
57+
gem "acts_as_paranoid", "~> 0.10.3" # enables soft deletions
5758

5859
gem "friendly_id", "~> 5.5.1" # slugs
5960
gem "hashid-rails", "~> 1.0" # obfuscate IDs in URLs
@@ -109,7 +110,7 @@ gem "xxhash" # fast hashing
109110

110111
gem "diffy" # rendering diffs (comments)
111112

112-
gem "webauthn", "~> 3.1"
113+
gem "webauthn", "~> 3.2"
113114

114115
gem "ahoy_matey" # analytics
115116
gem "airbrake" # exception tracking
@@ -156,7 +157,7 @@ end
156157
group :development, :test do
157158
gem "erb_lint", require: false
158159
gem "rubocop"
159-
gem "rubocop-rails", "~> 2.27"
160+
gem "rubocop-rails", "~> 2.29"
160161
gem "relaxed-rubocop"
161162

162163
gem "rspec-rails", "~> 7.1.0"
@@ -224,3 +225,7 @@ gem "eu_central_bank"
224225
gem "whitesimilarity"
225226

226227
gem "rack-timeout", require: "rack/timeout/base"
228+
229+
# IRB is pinned to 1.14.3 because Console1984 is incompatible with >=1.15.0.
230+
# https://github.com/basecamp/console1984/issues/127
231+
gem "irb", "~> 1.14.3"

0 commit comments

Comments
 (0)