-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update to ruby v3.1.2, rails v6.1.6.1 (#70)
- Loading branch information
Showing
45 changed files
with
776 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.6 | ||
3.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,82 @@ | ||
# frozen_string_literal: true | ||
|
||
ruby '2.7.6' | ||
ruby '3.1.2' | ||
|
||
source 'https://rubygems.org' | ||
|
||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
source 'https://rubygems.org' do | ||
gem 'bundle', '~> 2.3', '>= 2.3.18' | ||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
gem 'rails', '~> 5.2', '>= 5.2.8.1' | ||
# Use Postgres as the database for Active Record | ||
gem 'pg' | ||
# Use Puma as the app server | ||
gem 'puma', '~> 4.3', '>= 4.3.9' | ||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | ||
gem 'jbuilder', '~> 2.10', '>= 2.10.0' | ||
# Use Redis adapter to run Action Cable in production | ||
# gem 'redis', '~> 4.0' | ||
# Use ActiveModel has_secure_password | ||
gem 'bcrypt', '~> 3.1.7' | ||
|
||
# v1 api is [JSONAPI](https://jsonapi.org/) | ||
gem 'jsonapi-resources', '~> 0.10', '>= 0.10.7' | ||
|
||
# v2 api is [GraphQL](https://graphql.org/) | ||
gem 'graphql', '~> 1.7', '>= 1.7.14' | ||
|
||
# Use ActiveStorage variant | ||
# gem 'mini_magick', '~> 4.8' | ||
|
||
# Use Capistrano for deployment | ||
# gem 'capistrano-rails', group: :development | ||
|
||
# Reduces boot times through caching; required in config/boot.rb | ||
gem 'bootsnap', '>= 1.1.0', require: false | ||
|
||
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making | ||
# cross-origin AJAX possible | ||
# gem 'rack-cors' | ||
|
||
# Geokit for distance information | ||
gem 'geokit-rails' | ||
|
||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger | ||
# console | ||
gem 'byebug', platforms: %i[mri mingw x64_mingw] | ||
gem 'database_cleaner', '~> 1.7', '>= 1.7.0' | ||
gem 'factory_bot_rails', '~> 4.11', '>= 4.11.1' | ||
gem 'faker', '~> 1.9', '>= 1.9.1' | ||
gem 'rspec-graphql_matchers' | ||
gem 'rspec-rails', '~> 3.9', '>= 3.9.1' | ||
gem 'shoulda-matchers', '~> 3.1', '>= 3.1.3' | ||
end | ||
|
||
group :development do | ||
gem 'listen', '>= 3.0.5', '< 3.2' | ||
gem 'rerun' | ||
gem 'rubocop' | ||
# Spring speeds up development by keeping your application running in the | ||
# background. Read more: https://github.com/rails/spring | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.1' | ||
gem 'yard' | ||
end | ||
|
||
group :test do | ||
gem 'coveralls', require: false | ||
# gem 'simplecov', require: false | ||
gem 'timecop', '~> 0.9' | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] | ||
gem 'bundler', '~> 2.3', '>= 2.3.18' | ||
gem 'rexml', '~> 3.2', '>= 3.2.5' | ||
|
||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
gem 'rails', '~> 6.0' # , '>= 5.2.8.1' | ||
# Use Postgres as the database for Active Record | ||
gem 'pg' | ||
# Use Puma as the app server | ||
gem 'puma', '~> 5.6', '>= 5.6.4' | ||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | ||
gem 'jbuilder', '~> 2.11', '>= 2.11.5' | ||
# Use Redis adapter to run Action Cable in production | ||
# gem 'redis', '~> 4.0' | ||
# Use ActiveModel has_secure_password | ||
gem 'bcrypt', '~> 3.1', '>= 3.1.18' | ||
|
||
# v1 api is [JSONAPI](https://jsonapi.org/) | ||
gem 'jsonapi-resources', '~> 0.10', '>= 0.10.7' | ||
|
||
# v2 api is [GraphQL](https://graphql.org/) | ||
gem 'graphql', '~> 1.13', '>= 1.13.15' | ||
|
||
# Use ActiveStorage variant | ||
# gem 'mini_magick', '~> 4.8' | ||
|
||
# Use Capistrano for deployment | ||
# gem 'capistrano-rails', group: :development | ||
|
||
# Reduces boot times through caching; required in config/boot.rb | ||
gem 'bootsnap', '>= 1.12.0', require: false | ||
|
||
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making | ||
# cross-origin AJAX possible | ||
# gem 'rack-cors' | ||
|
||
# Geokit for distance information | ||
gem 'geokit-rails', '~> 2.3' | ||
|
||
# Net - ref: https://stackoverflow.com/questions/70500220/rails-7-ruby-3-1-loaderror-cannot-load-such-file-net-smtp. | ||
gem 'net-imap', require: false | ||
gem 'net-pop', require: false | ||
gem 'net-smtp', require: false | ||
|
||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger | ||
# console | ||
gem 'byebug', platforms: %i[mri mingw x64_mingw] | ||
gem 'database_cleaner', '~> 1.7', '>= 1.7.0' | ||
gem 'factory_bot_rails', '~> 4.11', '>= 4.11.1' | ||
gem 'faker', '~> 2.21', '>= 2.21.0' | ||
gem 'rspec-graphql_matchers', '~> 1.3' | ||
gem 'rspec-rails', '~> 3.9', '>= 3.9.1' | ||
gem 'shoulda-matchers', '~> 3.1', '>= 3.1.3' | ||
end | ||
|
||
group :development do | ||
gem 'listen', '>= 3.0.5', '< 3.2' | ||
gem 'rerun', '>= 0.13.1' | ||
gem 'rubocop', '~> 1.32' | ||
# Spring speeds up development by keeping your application running in the | ||
# background. Read more: https://github.com/rails/spring | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.1' | ||
gem 'yard' | ||
end | ||
|
||
group :test do | ||
gem 'coveralls', require: false | ||
# gem 'simplecov', require: false | ||
gem 'timecop', '~> 0.9' | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] |
Oops, something went wrong.