Skip to content

Commit d7500ea

Browse files
authored
drop rails 6.1 support (#22)
refs AE-1811
1 parent fa259f3 commit d7500ea

9 files changed

Lines changed: 7 additions & 244 deletions

.github/workflows/continuous_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
ruby: ['3.1', '3.2']
23-
lockfile: ['activerecord-6.1', 'activerecord-7.0', 'Gemfile.lock']
23+
lockfile: ['activerecord-7.0', 'Gemfile.lock']
2424

2525
services:
2626
postgres:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inherit_gem:
88
- rubocop-rspec.yml
99

1010
AllCops:
11-
TargetRailsVersion: 6.1
11+
TargetRailsVersion: 7.0
1212
TargetRubyVersion: 3.1
1313
Exclude:
1414
- 'bin/*'

Gemfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ Plugin.send(:load_plugin, "bundler-multilock")
99

1010
gemspec
1111

12-
lockfile "activerecord-6.1" do
13-
gem "activerecord", "~> 6.1.0"
14-
gem "activerecord-pg-extensions", "~> 0.4.4"
15-
gem "railties", "~> 6.1.0"
16-
end
17-
1812
lockfile "activerecord-7.0" do
1913
gem "activerecord", "~> 7.0.0"
2014
gem "railties", "~> 7.0.0"

Gemfile.activerecord-6.1.lock

Lines changed: 0 additions & 231 deletions
This file was deleted.

Gemfile.activerecord-7.0.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH
44
switchman-inst-jobs (4.0.17)
55
inst-jobs (>= 2.4.9, < 4.0)
66
parallel (>= 1.19)
7-
railties (>= 6.1, < 7.2)
7+
railties (>= 7.0, < 7.2)
88
switchman (>= 3.5.14, < 5.0)
99

1010
GEM

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH
44
switchman-inst-jobs (4.0.17)
55
inst-jobs (>= 2.4.9, < 4.0)
66
parallel (>= 1.19)
7-
railties (>= 6.1, < 7.2)
7+
railties (>= 7.0, < 7.2)
88
switchman (>= 3.5.14, < 5.0)
99

1010
GEM

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Some high-level features this gem provides to make this work:
1313
## Requirements
1414

1515
* Ruby 3.1+
16-
* Rails 6.1+
16+
* Rails 7.0+
1717

1818

1919
## Installation

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ENV["RAILS_ENV"] ||= "test"
44

5-
if /^2\.6/ =~ RUBY_VERSION && ENV.fetch("BUNDLE_GEMFILE", nil).include?("6.1") # Limit coverage to one build
5+
if /^3\.1/ =~ RUBY_VERSION && ENV.fetch("BUNDLE_GEMFILE", nil).include?("7.0") # Limit coverage to one build
66
require "simplecov"
77

88
SimpleCov.start do

switchman-inst-jobs.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
2525

2626
s.add_dependency "inst-jobs", ">= 2.4.9", "< 4.0"
2727
s.add_dependency "parallel", ">= 1.19"
28-
s.add_dependency "railties", ">= 6.1", "< 7.2"
28+
s.add_dependency "railties", ">= 7.0", "< 7.2"
2929
s.add_dependency "switchman", ">= 3.5.14", "< 5.0"
3030

3131
s.add_development_dependency "bundler"

0 commit comments

Comments
 (0)