Skip to content

Commit

Permalink
Merge pull request #414 from sanger/DPL-679-upgrade-to-ruby3-and-rails7
Browse files Browse the repository at this point in the history
DPL-679 - Upgrade to ruby3 and rails7
  • Loading branch information
BenTopping authored Aug 29, 2023
2 parents ba02380 + 946579f commit 68fffad
Show file tree
Hide file tree
Showing 62 changed files with 191 additions and 1,408 deletions.
25 changes: 4 additions & 21 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,10 @@ AllCops:
- bin/*
- vendor/**/*
Metrics/BlockLength:
IgnoredMethods:
- describe
- context
- background
- scenario
- namespace
- task
- included
- shared_context
- shared_examples
- state_machine
- configure
- draw
- feature
- subject
- let
- let!
- factory
- define
- shared_examples_for
- guard
Exclude:
- 'spec/**/*'
- 'config/environments/development.rb'
- 'lib/tasks/*'
Layout/LineLength:
Max: 120
Style/Documentation:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-2.7.4
ruby-3.2.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7
FROM ruby:3.2.0

RUN gem install bundler

Expand Down
17 changes: 2 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,17 @@

source 'https://rubygems.org'

gem 'mysql2', '~> 0.4'
gem 'rails', '~> 5.2'
gem 'mysql2'
gem 'rails', '~> 7.0.3'

# Rails dependencies
gem 'bootsnap'
gem 'puma'

# RabbitMQ client
gem 'sanger_warren'

gem 'mysql-binuuid-rails'

gem 'migration_comments'
gem 'rest-client'

# For JSON API support
gem 'jsonapi-rails', '~> 0.3'
gem 'jsonapi_suite', '~> 0.7'
gem 'jsonapi_swagger_helpers', '~> 0.6', require: false
# Used by swagger to generate docs
gem 'jsonapi_spec_helpers', require: false
gem 'kaminari' # Pagination. Used by jsonapi_suite
gem 'rack-cors', require: 'rack/cors'

gem 'oj'
gem 'rainbow'

Expand Down
Loading

0 comments on commit 68fffad

Please sign in to comment.