Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Rails 5.0 & 5.1, test with Rails 6.0 -> 7.0 #71

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jobs:
ruby:
- 2.7
- 2.6
- 2.5
- 2.4
- jruby
gemfile:
- Rails-7_0
- Rails-6_1
- Rails-6_0
- Rails-5_2
- Rails-5_1
- Rails-5_0
backend:
- sqlite3
- mysql
Expand All @@ -37,6 +36,9 @@ jobs:
# Allow test failures for some configurations
- ruby: jruby
allow-failures: true
exclude:
- ruby: 2.6
gemfile: Rails-7_0

env:
# For Bundler control variables, refer to:
Expand Down
4 changes: 2 additions & 2 deletions activeid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Gem::Specification.new do |s|
else
s.add_development_dependency "mysql2"
s.add_development_dependency "pg"
s.add_development_dependency "sqlite3", "~> 1.3.6"
s.add_development_dependency "sqlite3", "~> 1.3"
end

s.add_runtime_dependency "activerecord", ">= 5.0", "< 6.0"
s.add_runtime_dependency "activerecord", ">= 5.2", "< 7.1"
s.add_runtime_dependency "uuidtools"
end
2 changes: 1 addition & 1 deletion gemfiles/Rails-5_0.gemfile → gemfiles/Rails-6_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "http://rubygems.org"

gemspec path: "../"

gem "activerecord", "~> 5.0.0"
gem "activerecord", "~> 6.0.0"

gem "codecov", require: false, group: :test
gem "simplecov", require: false, group: :test
2 changes: 1 addition & 1 deletion gemfiles/Rails-5_1.gemfile → gemfiles/Rails-6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "http://rubygems.org"

gemspec path: "../"

gem "activerecord", "~> 5.1.0"
gem "activerecord", "~> 6.1.0"

gem "codecov", require: false, group: :test
gem "simplecov", require: false, group: :test
8 changes: 8 additions & 0 deletions gemfiles/Rails-7_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source "http://rubygems.org"

gemspec path: "../"

gem "activerecord", "~> 7.0.0"

gem "codecov", require: false, group: :test
gem "simplecov", require: false, group: :test