Skip to content

Commit

Permalink
Upgrade Ruby to v3.1.3 (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr0grog authored Dec 1, 2022
1 parent 633012d commit 84301bd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ executors:
rails_executor:
working_directory: ~/web-monitoring-db
docker:
- image: cimg/ruby:3.1.2-node
- image: cimg/ruby:3.1.3-node
environment:
RAILS_ENV: test
RACK_ENV: test
Expand All @@ -27,8 +27,8 @@ commands:
command: gem install bundler -v $(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -1 | tr -d " ")
- restore_cache:
keys:
- v3-bundler-{{ arch }}-{{ checksum "Gemfile.lock" }}
- v3-bundler-{{ arch }}-
- v4-bundler-{{ arch }}-{{ checksum "Gemfile.lock" }}
- v4-bundler-{{ arch }}-
- run:
name: Install Bundle/Gems
command: |
Expand All @@ -38,7 +38,7 @@ commands:
echo '======== CLEANING Bundle ========='
bundle clean
- save_cache:
key: v3-bundler-{{ arch }}-{{ checksum "Gemfile.lock" }}
key: v4-bundler-{{ arch }}-{{ checksum "Gemfile.lock" }}
paths:
- ./vendor/bundle

Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.1.3
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://docs.docker.com/engine/userguide/eng-image/multistage-build

### BASE ENVIRONMENT STAGE ###
FROM ruby:3.1.2-slim as base
FROM ruby:3.1.3-slim as base
LABEL maintainer="enviroDGI@gmail.com"

# Install apt based dependencies required to run Rails as
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git_source(:github) do |repo_name|
"https://github.com/#{repo_name}.git"
end

ruby '3.1.2'
ruby '3.1.3'

gem 'aws-sdk-s3', '~> 1.117'
gem 'concurrent-ruby', '~> 1.1'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ DEPENDENCIES
webmock (~> 3.18)

RUBY VERSION
ruby 3.1.2p20
ruby 3.1.3p185

BUNDLED WITH
2.3.21

0 comments on commit 84301bd

Please sign in to comment.