Skip to content

Commit 3879fab

Browse files
committed
Drop ruby 3.1 support
1 parent dd4da0e commit 3879fab

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
matrix:
1717
database: [mysql, postgres, sqlite]
1818
ruby-version:
19-
- 3.1
2019
- 3.2
2120
- 3.3
2221
- 3.4

solid_cable.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121
end
2222

2323
rails_version = ">= 7.2"
24-
spec.required_ruby_version = ">= 3.1.0"
24+
spec.required_ruby_version = ">= 3.2.0"
2525
spec.add_dependency "activerecord", rails_version
2626
spec.add_dependency "activejob", rails_version
2727
spec.add_dependency "actioncable", rails_version

test/config_stubs.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ module ConfigStubs
44
extend ActiveSupport::Concern
55

66
class ConfigStub
7-
def initialize(**opts)
7+
def initialize(**)
88
@config = ActiveSupport::OrderedOptions.new.
9-
update({ adapter: :test }.merge(**opts))
9+
update({ adapter: :test }.merge(**))
1010
end
1111

1212
def config_for(_file)
@@ -23,7 +23,7 @@ def run!
2323
end
2424
end
2525

26-
def with_cable_config(**opts)
27-
Rails.stub(:application, ConfigStub.new(**opts)) { yield }
26+
def with_cable_config(**)
27+
Rails.stub(:application, ConfigStub.new(**)) { yield }
2828
end
2929
end

0 commit comments

Comments
 (0)