Skip to content

Commit

Permalink
Ruby 2.7.4 Upgrade (salsify#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
jturkel authored Oct 27, 2021
1 parent 0ca1c28 commit 9547be0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
jobs:
build:
docker:
- image: salsify/ruby_ci:2.6.6
- image: salsify/ruby_ci:2.7.4
- image: circleci/postgres:12.3-ram
environment:
POSTGRES_USER: "ubuntu"
Expand All @@ -19,8 +19,8 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-gems-ruby-2.6.6-{{ checksum "Gemfile.lock" }}
- v1-gems-ruby-2.6.6-
- v1-gems-ruby-2.7.4-{{ checksum "Gemfile.lock" }}
- v1-gems-ruby-2.7.4-
- run:
name: Install Gems
command: |
Expand All @@ -29,7 +29,7 @@ jobs:
bundle clean
fi
- save_cache:
key: v1-gems-ruby-2.6.6-{{ checksum "Gemfile.lock" }}
key: v1-gems-ruby-2.7.4-{{ checksum "Gemfile.lock" }}
paths:
- "vendor/bundle"
- run:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ inherit_gem:
salsify_rubocop: conf/rubocop_rails.yml

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-2.6.6
ruby-2.7.4
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To build run: docker build -t avro-schema-registry .

FROM ruby:2.6.6
FROM ruby:2.7.4

RUN mkdir /app
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

ruby '2.6.6'
ruby '2.7.4'

source 'https://rubygems.org'

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ DEPENDENCIES
spring-watcher-listen

RUBY VERSION
ruby 2.6.6p146
ruby 2.7.4p191

BUNDLED WITH
1.17.3
2.2.30

0 comments on commit 9547be0

Please sign in to comment.