sue445/index_shotgun

View on GitHub
gemfiles/activerecord_7_0.gemfile

Summary

Maintainability
Test Coverage
source "https://rubygems.org"

# NOTE: Ruby 3.1 + Rails 7.0.0 doesn't work
# c.f. https://gist.github.com/yahonda/2776d8d7b6ea7045359f38c10449937b
gem "activerecord", "~> 7.0.1"

group :postgresql do
  # c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L3
  gem "pg", "~> 1.1"
end

group :mysql do
  # c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
  gem "mysql2", "~> 0.5"
end

group :oracle do
  gem "activerecord-oracle_enhanced-adapter", "~> 7.0.0"
  gem "ruby-oci8"
end

group :sqlite3 do
  # c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
  gem "sqlite3", "~> 1.4"
end

eval_gemfile "#{__dir__}/common.gemfile"

gemspec path: "../"