Skip to content
Merged
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
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
matrix:
database: [mysql, postgres, sqlite]
ruby-version:
- 3.1
- 3.2
- 3.3
- 3.4
Expand Down
2 changes: 1 addition & 1 deletion solid_cable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
end

rails_version = ">= 7.2"
spec.required_ruby_version = ">= 3.1.0"
spec.required_ruby_version = ">= 3.2.0"
spec.add_dependency "activerecord", rails_version
spec.add_dependency "activejob", rails_version
spec.add_dependency "actioncable", rails_version
Expand Down
8 changes: 4 additions & 4 deletions test/config_stubs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module ConfigStubs
extend ActiveSupport::Concern

class ConfigStub
def initialize(**opts)
def initialize(**)
@config = ActiveSupport::OrderedOptions.new.
update({ adapter: :test }.merge(**opts))
update({ adapter: :test }.merge(**))
end

def config_for(_file)
Expand All @@ -23,7 +23,7 @@ def run!
end
end

def with_cable_config(**opts)
Rails.stub(:application, ConfigStub.new(**opts)) { yield }
def with_cable_config(**)
Rails.stub(:application, ConfigStub.new(**)) { yield }
end
end