Skip to content

Commit

Permalink
Updated to ruby 3.3. (#1)
Browse files Browse the repository at this point in the history
* Added bundler-audit gem to audit dependencies.
* Allow turbo frames on call type classification.
* Updated GitHub action versions.
  • Loading branch information
jamesiarmes authored Jun 4, 2024
1 parent 41f18ea commit 64186cf
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 208 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/branch-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
RAILS_DB_PASSWORD: ""

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -43,4 +43,4 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
6 changes: 3 additions & 3 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
RAILS_DB_PASSWORD: ""

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: RuboCop Linter
uses: andrewmcodes/[email protected]
Expand All @@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@
/app/assets/builds/*
!/app/assets/builds/.keep
.DS_Store

.env
out
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.3.2
8 changes: 6 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.1.2'
ruby '3.3.2'

gem 'active_storage_validations', '~> 0.9'
gem 'aws-sdk-rails', '~> 3.6'
gem 'aws-sdk-s3', '~> 1.114'
gem 'base64', '~> 0.2'
gem 'bootsnap', '~> 1.12', require: false
gem 'chartkick'
gem 'chronic', '~> 0.10.2'
Expand All @@ -18,11 +19,13 @@ gem 'health-monitor-rails', '~> 9.3'
gem 'importmap-rails', '~> 1.1'
gem 'jbuilder', '~> 2.11'
gem 'kaminari', '~> 1.2'
gem 'mutex_m', '~> 0.2'
gem 'paper_trail', '~> 12.3'
gem 'pg', '~> 1.4'
gem 'pg_search', '~> 2.3'
gem 'puma', '~> 5.6'
gem 'rails', '~> 7.0', '>= 7.0.2.3'
gem 'rack', '~> 2.0'
gem 'rails', '~> 7.0.0', '>= 7.0.2.3'
gem 'seed_dump', '~> 3.3'
gem 'sprockets-rails', '~> 3.4'
gem 'stimulus-rails', '~> 1.1'
Expand All @@ -33,6 +36,7 @@ gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'bullet', '~> 7.0'
gem 'bundler-audit', '~> 0.9'
gem 'debug', '~> 1.6', platforms: %i[mri mingw x64_mingw]
gem 'factory_bot_rails', '~> 6.2'
gem 'faker', '~> 2.21'
Expand Down
Loading

0 comments on commit 64186cf

Please sign in to comment.