Skip to content

Commit

Permalink
Update project to Ruby 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Jan 19, 2023
1 parent caf169f commit e02f1cf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.3
3.2.0
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ I definitely appreciate your interest in (and help improving) micromicro.cc. Tha

## Setup

micromicro.cc is written in [Ruby](https://www.ruby-lang.org) (version 3.1.3) and uses the [Bundler](https://bundler.io) gem to manage Ruby dependencies. Local development is done within a [Docker](https://docker.com) container running a custom-built image.
micromicro.cc is written in [Ruby](https://www.ruby-lang.org) (version 3.2.0) and uses the [Bundler](https://bundler.io) gem to manage Ruby dependencies. Local development is done within a [Docker](https://docker.com) container running a custom-built image.

To get started, install the version of [Docker Desktop](https://www.docker.com/products/docker-desktop/) that's most appropriate for your system. With Docker Desktop installed and running, open a Terminal window and `cd` to your checked out copy of the application and run:

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
# Base Stage
################################################################################
FROM ruby:3.1.3-alpine3.17 AS base-stage
FROM ruby:3.2.0-alpine3.17 AS base-stage

ENV BUNDLE_JOBS=10 \
BUNDLE_RETRIES=5
Expand Down Expand Up @@ -51,8 +51,8 @@ COPY Gemfile Gemfile.lock ./

RUN bundle install \
&& bundle clean --force \
&& rm -rf vendor/bundle/ruby/3.1.0/cache/*.gem \
&& find vendor/bundle/ruby/3.1.0/gems/ \( -name "*.c" -o -name "*.o" \) -delete
&& rm -rf vendor/bundle/ruby/3.2.0/cache/*.gem \
&& find vendor/bundle/ruby/3.2.0/gems/ \( -name "*.c" -o -name "*.o" \) -delete

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source 'https://rubygems.org'

ruby '3.1.3'
ruby '3.2.0'

gem 'http'
gem 'micromicro'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ DEPENDENCIES
webmock

RUBY VERSION
ruby 3.1.3p185
ruby 3.2.0p0

BUNDLED WITH
2.3.26
2.4.1

0 comments on commit e02f1cf

Please sign in to comment.