Skip to content

Commit

Permalink
Update ruby to 3.2.2 and postgres image to 15 (#444)
Browse files Browse the repository at this point in the history
* Update ruby to 3.2.2 and postgres image to 15

* Update Gemfile

* Update CI

* Update ruby version in README

* Update Gemfile
  • Loading branch information
guillermoap authored Oct 24, 2023
1 parent de5260d commit 6803ff8
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 29 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2.2'
- name: Setup Code Climate test-reporter
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
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.2.2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.1.2
FROM ruby:3.2.2

RUN apt-get update -qq && \
apt-get install -y build-essential libssl-dev nodejs libpq-dev less vim nano libsasl2-dev
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'
ruby '~> 3.1.2'
ruby '~> 3.2.2'

gem 'rails', '~> 7.0.8'

Expand Down
48 changes: 24 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ GEM
rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_storage_base64 (2.0.0)
rails (>= 7.0)
activeadmin (3.0.0)
activeadmin (3.1.0)
arbre (~> 1.2, >= 1.2.1)
formtastic (>= 3.1, < 5.0)
formtastic_i18n (~> 0.4)
formtastic (>= 3.1)
formtastic_i18n (>= 0.4)
inherited_resources (~> 1.7)
jquery-rails (~> 4.2)
kaminari (~> 1.0, >= 1.2.1)
railties (>= 6.1, < 7.1)
ransack (>= 4.0, < 5)
jquery-rails (>= 4.2)
kaminari (>= 1.2.1)
railties (>= 6.1)
ransack (>= 4.0)
activejob (7.0.8)
activesupport (= 7.0.8)
globalid (>= 0.3.6)
Expand Down Expand Up @@ -102,8 +102,8 @@ GEM
font-awesome-sass (~> 6.0)
ast (2.4.2)
aws-eventstream (1.2.0)
aws-partitions (1.830.0)
aws-sdk-core (3.184.0)
aws-partitions (1.840.0)
aws-sdk-core (3.185.1)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
Expand Down Expand Up @@ -177,7 +177,7 @@ GEM
ruby2_keywords
erubi (1.12.0)
erubis (2.7.0)
execjs (2.8.1)
execjs (2.9.1)
factory_bot (6.2.1)
activesupport (>= 5.0.0)
factory_bot_rails (6.2.0)
Expand All @@ -190,7 +190,7 @@ GEM
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
ffi (1.16.1)
ffi (1.16.3)
flipper (1.0.0)
brow (~> 0.4.1)
concurrent-ruby (< 2)
Expand All @@ -205,13 +205,13 @@ GEM
sanitize (< 7)
font-awesome-sass (6.4.2)
sassc (~> 2.0)
formtastic (4.0.0)
actionpack (>= 5.2.0)
formtastic (5.0.0)
actionpack (>= 6.0.0)
formtastic_i18n (0.7.0)
globalid (1.2.1)
activesupport (>= 6.1)
google-protobuf (3.24.3)
has_scope (0.8.1)
google-protobuf (3.24.4)
has_scope (0.8.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
hashdiff (1.0.1)
Expand Down Expand Up @@ -259,8 +259,8 @@ GEM
rake
kwalify (0.7.2)
language_server-protocol (3.17.0.3)
launchy (2.5.0)
addressable (~> 2.7)
launchy (2.5.2)
addressable (~> 2.8)
letter_opener (1.8.1)
launchy (>= 2.2, < 3)
listen (3.8.0)
Expand All @@ -285,14 +285,14 @@ GEM
mini_portile2 (2.8.5)
minitest (5.20.0)
msgpack (1.7.2)
net-imap (0.3.7)
net-imap (0.4.2)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.1)
timeout
net-smtp (0.3.3)
net-smtp (0.4.0)
net-protocol
newrelic_rpm (9.5.0)
nio4r (2.5.9)
Expand All @@ -315,7 +315,7 @@ GEM
pg_query (4.2.3)
google-protobuf (>= 3.22.3)
prosopite (1.4.1)
pry (0.14.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
Expand Down Expand Up @@ -377,7 +377,7 @@ GEM
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
ransack (4.0.0)
ransack (4.1.0)
activerecord (>= 6.1.5)
activesupport (>= 6.1.5)
i18n
Expand Down Expand Up @@ -468,7 +468,7 @@ GEM
faraday (>= 0.17.3, < 3)
sendgrid (1.2.4)
json
sexp_processor (4.16.1)
sexp_processor (4.17.0)
shoulda-matchers (5.3.0)
activesupport (>= 5.2.0)
simplecov (0.22.0)
Expand All @@ -489,7 +489,7 @@ GEM
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.3.0)
tilt (2.0.11)
tilt (2.3.0)
timeout (0.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -576,7 +576,7 @@ DEPENDENCIES
yaaf (~> 2.2)

RUBY VERSION
ruby 3.1.2p20
ruby 3.2.2p53

BUNDLED WITH
2.3.23
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Code Climate](https://codeclimate.com/github/rootstrap/rails_api_base/badges/gpa.svg)](https://codeclimate.com/github/rootstrap/rails_api_base)
[![Test Coverage](https://api.codeclimate.com/v1/badges/63de7f82c79f5fe82f46/test_coverage)](https://codeclimate.com/github/rootstrap/rails_api_base/test_coverage)

Rails Api Base is a boilerplate project for JSON RESTful APIs. It follows the community best practices in terms of standards, security and maintainability, integrating a variety of testing and code quality tools. It's based on Rails 7.0 and Ruby 3.1.
Rails Api Base is a boilerplate project for JSON RESTful APIs. It follows the community best practices in terms of standards, security and maintainability, integrating a variety of testing and code quality tools. It's based on Rails 7.0 and Ruby 3.2.

Finally, it contains a plug an play Administration console (thanks to [ActiveAdmin](https://github.com/activeadmin/activeadmin)).

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
links:
- db:db
db:
image: postgres:11
image: postgres:15
environment:
POSTGRES_USER: ${POSTGRES_USER-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD-postgres}
Expand Down

0 comments on commit 6803ff8

Please sign in to comment.