Skip to content

Commit b8ab64c

Browse files
Remove ActiveRecord 6.0 support and add 7.1 for the CI
1 parent 701ad70 commit b8ab64c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- ruby: "3.0"
6868
gemfile: gemfiles/activerecord61.gemfile
6969
- ruby: "3.0"
70-
gemfile: gemfiles/activerecord60.gemfile
70+
gemfile: gemfiles/activerecord71.gemfile
7171
env:
7272
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
7373
services:

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PATH
22
remote: .
33
specs:
44
safe-pg-migrations (2.3.1)
5-
activerecord (>= 6.0, < 7.1.x)
6-
activesupport (>= 6.0, < 7.1.x)
5+
activerecord (>= 6.1)
6+
activesupport (>= 6.1)
77

88
GEM
99
remote: https://rubygems.org/

gemfiles/activerecord60.gemfile renamed to gemfiles/activerecord71.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
44

55
gemspec path: '..'
66

7-
gem 'activerecord', '~> 6.0.0'
7+
gem 'activerecord', '~> 7.1.0'
88
gem 'bundler'
99
gem 'minitest', '>= 5'
1010
gem 'mocha'

safe-pg-migrations.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Gem::Specification.new do |s|
2828
s.license = 'MIT'
2929

3030
s.platform = Gem::Platform::RUBY
31-
s.required_ruby_version = '>= 2.7'
31+
s.required_ruby_version = '>= 3.0'
3232

33-
s.add_dependency 'activerecord', '>= 6.0', '< 7.1.x'
34-
s.add_dependency 'activesupport', '>= 6.0', '< 7.1.x'
33+
s.add_dependency 'activerecord', '>= 6.1'
34+
s.add_dependency 'activesupport', '>= 6.1'
3535
end

0 commit comments

Comments
 (0)