Skip to content

Commit

Permalink
Upgrade rails versions
Browse files Browse the repository at this point in the history
upgrading to the latest versions of rails
  • Loading branch information
kbrock committed May 26, 2021
1 parent 1d02551 commit 57bb1aa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
11 changes: 2 additions & 9 deletions Appraisals
@@ -1,12 +1,5 @@
%w(5.2.4.5 6.0.3.6 6.1.3.1).each do |ar_version|
%w(5.2.6 6.0.3 6.1.3).each do |ar_version|
appraise "gemfile-#{ar_version.split('.').first(2).join}" do
gem "activerecord", ar_version
gem "pg"
gem "mysql2"
if ar_version < "5.2"
gem "sqlite3", "~> 1.3.13"
else
gem "sqlite3"
end
gem "activerecord", "~> #{ar_version}"
end
end
4 changes: 2 additions & 2 deletions ancestry.gemspec
Expand Up @@ -38,8 +38,8 @@ EOF
]
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.0.0'
s.add_runtime_dependency 'activerecord', '>= 5.2.4.5'
s.required_ruby_version = '>= 2.5'
s.add_runtime_dependency 'activerecord', '>= 5.2.6'
s.add_development_dependency 'appraisal'
s.add_development_dependency 'minitest'
s.add_development_dependency 'rake', '~> 13.0'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/gemfile_52.gemfile
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "5.2.4.5"
gem "activerecord", "~> 5.2.6"
gem "mysql2"
gem "pg"
gem "sqlite3"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/gemfile_60.gemfile
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "6.0.3.6"
gem "activerecord", "~> 6.0.3"
gem "mysql2"
gem "pg"
gem "sqlite3"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/gemfile_61.gemfile
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "6.1.3.1"
gem "activerecord", "~> 6.1.3"
gem "mysql2"
gem "pg"
gem "sqlite3"
Expand Down

0 comments on commit 57bb1aa

Please sign in to comment.