Skip to content

Commit e8bc84d

Browse files
committed
Rails 8; Ruby 3.4; gem updates; package updates
1 parent f88c8db commit e8bc84d

File tree

26 files changed

+304
-275
lines changed

26 files changed

+304
-275
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
services:
2020
postgres:
21-
image: postgres:15
21+
image: postgres:16
2222
env:
2323
POSTGRES_DB: flyweight_test
2424
POSTGRES_USER: flyweight
@@ -76,12 +76,9 @@ jobs:
7676
- name: Run Rubocop
7777
run: |
7878
gem install rubocop-rails rubocop-rspec rubocop-performance rubocop-md rubocop-rake rubocop-graphql rubocop-rspec_rails rubocop-sidekiq rubocop-yard rubocop-factory_bot
79-
git clone https://gist.github.com/65e21b9e8b0d1db285dcb4fc627b98fa.git .rubocop
80-
cp .rubocop/.rubocop.yml .rubocop-ruby.yml
81-
git clone https://gist.github.com/14cfa24d53c12bf385871e9b93b95c37.git .rubocop-rspec
82-
cp .rubocop-rspec/.rubocop-rspec.yml .
83-
git clone https://gist.github.com/9f3bb94ef794f92dd480cffa019e91a4.git .rubocop-rails
84-
cp .rubocop-rails/.rubocop-rails.yml .
79+
curl https://gist.githubusercontent.com/RISCfuture/65e21b9e8b0d1db285dcb4fc627b98fa/raw/.rubocop.yml > .rubocop-ruby.yml
80+
curl -O https://gist.githubusercontent.com/RISCfuture/14cfa24d53c12bf385871e9b93b95c37/raw/.rubocop-rspec.yml
81+
curl -O https://gist.githubusercontent.com/RISCfuture/9f3bb94ef794f92dd480cffa019e91a4/raw/.rubocop-rails.yml
8582
cat .rubocop.yml | sed -e 's/~\/.rubocop/.rubocop/' | sed -e 's/.rubocop.yml/.rubocop-ruby.yml/' > .rubocop2.yml
8683
mv .rubocop2.yml .rubocop.yml
8784
rubocop --parallel -f github

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.6
1+
3.4.3

Brewfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
22

3-
brew "postgresql@15"
3+
brew "postgresql@16"
44
brew "redis"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax = docker/dockerfile:1
22

33
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
4-
ARG RUBY_VERSION=3.3.6
4+
ARG RUBY_VERSION=3.4.3
55
FROM ruby:$RUBY_VERSION-slim as base
66

77
LABEL fly_launch_runtime="rails"
@@ -25,7 +25,7 @@ FROM base as build
2525

2626
# Install packages needed to build gems
2727
RUN apt-get update -qq && \
28-
apt-get install --no-install-recommends -y build-essential libpq-dev libvips
28+
apt-get install --no-install-recommends -y build-essential libpq-dev libvips libyaml-dev
2929

3030
# Install application gems
3131
COPY --link Gemfile Gemfile.lock ./

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
source "https://rubygems.org"
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

6-
ruby "3.3.6"
6+
ruby "3.4.3"
77

88
# CORE
99
gem "bootsnap", require: false

0 commit comments

Comments
 (0)