Skip to content

Commit

Permalink
Merge pull request #96 from nebiolabs/rails-7
Browse files Browse the repository at this point in the history
Rails 7 + Ruby 3 update
  • Loading branch information
Valiec authored Jul 24, 2024
2 parents c893c4c + 6659f56 commit cd2948b
Show file tree
Hide file tree
Showing 80 changed files with 3,884 additions and 8,344 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ coverage/**

# Ignore .pgpass
config/.pgpass

/app/assets/builds/*
!/app/assets/builds/.keep
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ AllCops:
- 'vendor/**/*'
- 'config/**/*'
- 'db/migrate/*'
- 'db/schema.rb'

Metrics/MethodLength:
Max: 20
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
3.3.4
17 changes: 11 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.3'
ruby '3.3.4'
gem 'activerecord-import'

gem 'dotenv-rails'
Expand All @@ -12,23 +12,28 @@ gem 'httparty'

gem 'slop'

gem 'rails', '~> 6.1.1'
gem 'rails', '~> 7'

gem 'pg', '>=1.2.3'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 4.0'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
gem 'whenever'

# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem 'sprockets-rails'

# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem 'importmap-rails'

# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem 'turbo-rails'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

Expand Down
Loading

0 comments on commit cd2948b

Please sign in to comment.