Merge pull request #470 from jarednorman/activerecord-6-support
Activerecord 6 support
Showing
source 'https://rubygems.org' | ||
gem 'sqlite3', platforms: [:ruby] | ||
sqlite = ENV['SQLITE_VERSION'] | ||
if sqlite | ||
gem 'sqlite3', sqlite, platforms: [:ruby] | ||
else | ||
gem 'sqlite3', platforms: [:ruby] | ||
end | ||
platforms :jruby do | ||
gem 'activerecord-jdbcsqlite3-adapter' | ||
end | ||
platforms :rbx do | ||
gem 'rubinius-developer_tools' | ||
gem 'rubysl', '~> 2.0' | ||
gem 'rubysl-test-unit' | ||
gem 'rubinius-developer_tools' | ||
end | ||
rails = ENV['RAILS'] || '~> 5.2.0' | ||
gem 'rails', rails | ||
if rails == 'master' | ||
gem 'rails', github: 'rails/rails' | ||
else | ||
gem 'rails', rails | ||
end | ||
# Specify your gem's dependencies in paranoia.gemspec | ||
gemspec |
... | ... | @@ -24,7 +24,7 @@ Gem::Specification.new do |s| |
s.required_ruby_version = '>= 2.0' | ||
s.add_dependency 'activerecord', '>= 4.0', '< 5.3' | ||
s.add_dependency 'activerecord', '>= 4.0', '< 6.1' | ||
s.add_development_dependency "bundler", ">= 1.0.0" | ||
s.add_development_dependency "rake" | ||
... | ... |
Please
register
or
sign in
to comment