Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Ruby to 3.1 #137

Merged
merged 1 commit into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
ruby-version: 3.1
- name: Set up Node
uses: actions/setup-node@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7.2-alpine
FROM ruby:3.1-alpine

ENV LANG C.UTF-8

Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ gem "cssbundling-rails", "~> 1.0.0"
gem "jsbundling-rails", "~> 1.0.0"

# Use postgresql as the database for Active Record
gem "pg", "~> 1.1.3"
gem "pg", "~> 1.3.2"

# Use Puma as the app server
gem "puma", "~> 5.6.2"
Expand Down Expand Up @@ -63,7 +63,7 @@ gem "bcrypt", "~> 3.1.11"
# gem 'capistrano-rails', group: :development

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.1.0", require: false
gem "bootsnap", "~> 1.10.3", require: false

group :development, :test do
gem "standard", "~> 1.4.0"
Expand Down
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ GEM
request_store (~> 1.0)
bcrypt (3.1.16)
bindex (0.8.1)
bootsnap (1.9.3)
msgpack (~> 1.0)
bootsnap (1.10.3)
msgpack (~> 1.2)
brakeman (5.1.2)
browser (2.6.1)
builder (3.2.4)
Expand Down Expand Up @@ -168,7 +168,7 @@ GEM
mini_mime (1.1.2)
mini_portile2 (2.7.1)
minitest (5.15.0)
msgpack (1.4.2)
msgpack (1.4.5)
multi_xml (0.6.0)
net-imap (0.2.3)
digest
Expand All @@ -193,7 +193,7 @@ GEM
parallel (1.21.0)
parser (3.0.3.2)
ast (~> 2.4.1)
pg (1.1.4)
pg (1.3.2)
pg_search (2.3.5)
activerecord (>= 5.2)
activesupport (>= 5.2)
Expand Down Expand Up @@ -314,7 +314,7 @@ DEPENDENCIES
acts_as_list (~> 1.0.2)
authlogic (~> 6.4.1)
bcrypt (~> 3.1.11)
bootsnap (>= 1.1.0)
bootsnap (~> 1.10.3)
brakeman (~> 5.1.2)
browser (~> 2.6.1)
bullet (~> 7.0.0)
Expand All @@ -328,7 +328,7 @@ DEPENDENCIES
jsbundling-rails (~> 1.0.0)
memory_profiler (~> 0.9.13)
pagy (~> 5.6.6)
pg (~> 1.1.3)
pg (~> 1.3.2)
pg_search (~> 2.3.2)
puma (~> 5.6.2)
rails (~> 7.0.0)
Expand All @@ -346,4 +346,4 @@ DEPENDENCIES
webmock (~> 3.14.0)

BUNDLED WITH
2.1.4
2.3.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $ docker-compose restart

### Requirements

- Ruby 2.7
- Ruby 3.1
- Postgres 11
- Redis 6.0
- Nodejs 12
Expand Down
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/e55f77277b59fabd3c220f4870a44de705b1babb.tar.gz") {};
with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/7feed2c0bec4161c83509d18089784cfcef49667.tar.gz") {};

mkShell {
buildInputs = [
ruby_2_7
ruby_3_1
postgresql_11
redis
nodejs-12_x
Expand Down