Skip to content

Commit 64a256c

Browse files
committed
Update Ruby to 3.1.2
Reason for Change ================= * Stay current * [Release notes](https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-1-2-released/) Changes ======= * Update `.ruby-version` file * Update bundler version * Update buildpack to `heroku-22` * Update CircleCI config * Add `net-smtp` gem explicitly because of [this] [this]: https://stackoverflow.com/questions/70500220/rails-7-ruby-3-1-loaderror-cannot-load-such-file-net-smtp
1 parent 68675ea commit 64a256c

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build_and_test:
1212
working_directory: ~/cfp_app
1313
docker:
14-
- image: cimg/ruby:3.0.4-browsers
14+
- image: cimg/ruby:3.1.2-browsers
1515
environment:
1616
PGHOST: localhost
1717
PGUSER: cfp_app

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.4
1+
3.1.2

Gemfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ gem 'rails', '~> 6.1.4'
1010
gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'
1111
gem 'mime-types-data'
1212
gem 'mime-types'
13+
gem 'rexml'
14+
gem 'matrix'
15+
16+
# Required until Rails 7 - https://github.com/mikel/mail/pull/1472#issuecomment-1165161541
17+
gem 'net-smtp', require: false
18+
# gem 'net-imap', require: false
19+
# gem 'net-pop', require: false
1320

1421
gem 'pg'
1522

@@ -20,7 +27,6 @@ gem 'jquery-datatables-rails'
2027
gem 'jquery-rails'
2128
gem 'jquery-ui-rails'
2229
gem 'rails-assets-momentjs', source: 'https://rails-assets.org'
23-
gem 'rexml'
2430
gem 'sassc-rails'
2531
gem 'selectize-rails'
2632
gem 'uglifier', '>= 1.3.0'

Gemfile.lock

+13-2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ GEM
156156
responders
157157
warden (~> 1.2.3)
158158
diff-lcs (1.4.4)
159+
digest (3.1.0)
159160
dotenv (2.7.6)
160161
dotenv-rails (2.7.6)
161162
dotenv (= 2.7.6)
@@ -278,6 +279,7 @@ GEM
278279
mail (2.7.1)
279280
mini_mime (>= 0.1.1)
280281
marcel (1.0.2)
282+
matrix (0.4.2)
281283
method_source (1.0.0)
282284
mime-types (3.3.1)
283285
mime-types-data (~> 3.2015)
@@ -291,6 +293,12 @@ GEM
291293
multi_xml (0.6.0)
292294
multipart-post (2.1.1)
293295
nenv (0.3.0)
296+
net-protocol (0.1.3)
297+
timeout
298+
net-smtp (0.3.1)
299+
digest
300+
net-protocol
301+
timeout
294302
nio4r (2.5.8)
295303
nokogiri (1.13.6)
296304
mini_portile2 (~> 2.8.0)
@@ -474,6 +482,7 @@ GEM
474482
thor (1.2.1)
475483
tilt (2.0.10)
476484
timecop (0.9.4)
485+
timeout (0.3.0)
477486
tinymce-rails (5.10.3)
478487
railties (>= 3.1.1)
479488
tzinfo (2.0.4)
@@ -543,9 +552,11 @@ DEPENDENCIES
543552
jquery-rails
544553
jquery-ui-rails
545554
launchy
555+
matrix
546556
mime-types
547557
mime-types-data
548558
mimemagic!
559+
net-smtp
549560
nokogiri
550561
omniauth-github
551562
omniauth-rails_csrf_protection (~> 1.0)
@@ -584,7 +595,7 @@ DEPENDENCIES
584595
webpacker
585596

586597
RUBY VERSION
587-
ruby 3.0.4p208
598+
ruby 3.1.2p20
588599

589600
BUNDLED WITH
590-
2.3.11
601+
2.3.17

app.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"stack": "heroku-20",
2+
"stack": "heroku-22",
33
"name": "CFP-App",
44
"description": "Conference call for proposal management application by Ruby Central",
55
"keywords": [

0 commit comments

Comments
 (0)