Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e4fd821
Add Docker and docker-compose setup for local development
JuanVqz Jul 6, 2026
76656e2
Upgrade to latest Rails 6.1 patch (6.1.7.10) before hopping to 7.0
JuanVqz Jul 6, 2026
a1e704e
Set up dual-boot for the Rails 6.1 -> 7.0 hop
JuanVqz Jul 6, 2026
0e6b3bf
Make Rails 7.0 the default; keep dual-boot scaffolding for the 7.1 hop
JuanVqz Jul 6, 2026
c60c01e
Fix PDF export broken by Rails 7's stricter template resolution
JuanVqz Jul 6, 2026
c9f658e
Add PDF export coverage to GemfilesController#show spec
JuanVqz Jul 6, 2026
b76fb87
Make wkhtmltopdf's 32-bit binary actually runnable in Docker on arm64
JuanVqz Jul 6, 2026
6d2212f
Add web_next service for running Gemfile.next locally
JuanVqz Jul 6, 2026
6e24535
Retry db:prepare on concurrent migration lock in the entrypoint
JuanVqz Jul 6, 2026
613b896
Point Gemfile.next at Rails 7.1 (capped at 7.1.3.4)
JuanVqz Jul 6, 2026
0138804
Make Rails 7.1.3.4 the default; fix cache_classes deprecation
JuanVqz Jul 6, 2026
3aa7012
Replace unmaintained paperclip with kt-paperclip fork
JuanVqz Jul 6, 2026
02fba1d
Replace RSpec with Minitest
JuanVqz Jul 6, 2026
4539a9e
Exclude test helper methods from reek's UtilityFunction check
JuanVqz Jul 6, 2026
c56e152
Replace CircleCI with GitHub Actions
JuanVqz Jul 6, 2026
f56bb43
Clean up stale comments and quote style in Gemfile
JuanVqz Jul 7, 2026
8de1710
Remove dead helper and empty test scaffold directories
JuanVqz Jul 7, 2026
ef67df8
Switch standard + rubocop-rails to rubocop-rails-omakase; remove byebug
JuanVqz Jul 7, 2026
e9baf86
Upgrade Ruby 2.7.2 -> 3.2.11
JuanVqz Jul 7, 2026
4a816d4
Fix production assets:precompile crash on unused ActiveStorage/Action…
JuanVqz Jul 7, 2026
41acff7
Fix cache_format_version deprecation warning
JuanVqz Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 0 additions & 163 deletions .circleci/config.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.git
.circleci
log/*
tmp/*
!log/.keep
!tmp/.keep
vendor/bundle
node_modules
.env
config/database.yml
.bundle
*.sqlite3
70 changes: 70 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
gemfile: [Gemfile, Gemfile.next]

services:
postgres:
image: postgres:9.6.2
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5

env:
RAILS_ENV: test
DATABASE_HOST: 127.0.0.1
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

steps:
- uses: actions/checkout@v4

- name: System dependencies (libpq + wkhtmltopdf's 32-bit binary + imagemagick + JS runtime)
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends \
libpq-dev imagemagick fontconfig libxrender1 libxext6 \
xfonts-75dpi xfonts-base libc6:i386 libstdc++6:i386 nodejs

- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.11"
bundler-cache: true

- name: Lint
run: bundle exec rubocop -c ./.rubocop_with_todo.yml .

- name: Check code smells (Reek)
run: bundle exec reek .

- name: Database setup
run: |
cp ./config/database.yml.sample ./config/database.yml
bundle exec rake db:create
bundle exec rake db:migrate

- name: Precompile assets
run: bundle exec rake assets:precompile

- name: Run tests
run: bin/rails test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

# Ignore bundler config.
/.bundle
/vendor/bundle

# Ignore app config
.env
Expand All @@ -24,7 +25,7 @@ config/database.yml
/node_modules
/yarn-error.log

spec/test_files
test/test_files

.byebug_history
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions .reek.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ detectors:
UtilityFunction:
exclude:
- GemfilesController#vulnerabilities_count
- GemfileTest#stub_scanner
- GemfileTest#valid_file
# Directories and files below will not be scanned at all
exclude_paths:
- vendor
1 change: 0 additions & 1 deletion .rspec

This file was deleted.

17 changes: 1 addition & 16 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
inherit_from: .rubocop_todo.yml

require:
- standard
- rubocop-rails
- rubocop-rspec

inherit_gem:
standard: config/base.yml
rubocop-rails-omakase: rubocop.yml

AllCops:
NewCops: enable
Expand All @@ -15,16 +10,6 @@ AllCops:
- public/**/*
- vendor/**/*

Rails:
Enabled: true
RSpec:
Enabled: true
RSpec/DescribeClass:
Enabled: false
RSpec/ExampleLength:
Max: 20
RSpec/FilePath:
Enabled: false
Style/MixinUsage:
Exclude:
- bin/**/*
Expand Down
Loading
Loading