Skip to content

Commit

Permalink
Ruby 3.2 (#137)
Browse files Browse the repository at this point in the history
Update to ruby 3.2, allowing cool things like `{params: }` if there is a
`params` variable defined.

It also upgrades all teh gems.
  • Loading branch information
patch0 authored Mar 2, 2023
1 parent b2b730f commit 2695256
Show file tree
Hide file tree
Showing 15 changed files with 154 additions and 146 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jobs:
rubocop:
docker:
- image: 'cimg/ruby:3.1'
- image: 'cimg/ruby:3.2'
steps:
- checkout
- ruby/install-deps
Expand All @@ -11,7 +11,7 @@ jobs:

test:
docker:
- image: 'cimg/ruby:3.1-browsers'
- image: 'cimg/ruby:3.2-browsers'
- image: 'circleci/postgres:12.0-alpine-ram'
environment:
POSTGRES_DB: choco_cake_test
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.1.2
ruby-3.2.1
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.2.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.1-slim-bullseye as base
FROM ruby:3.2-slim-bullseye as base
RUN gem install bundler \
&& apt-get update \
&& apt-get upgrade --yes \
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '~> 3.1.0'
ruby '~> 3.2.0'

gem 'aws-sdk-s3', require: false
gem 'bootsnap', require: false
Expand Down
Loading

0 comments on commit 2695256

Please sign in to comment.