diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7a2dd8a..b9f066d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,6 @@ jobs: matrix: database: [mysql, postgres, sqlite] ruby-version: - - 3.1 - 3.2 - 3.3 - 3.4 diff --git a/solid_cable.gemspec b/solid_cable.gemspec index a69a430..212b77a 100644 --- a/solid_cable.gemspec +++ b/solid_cable.gemspec @@ -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 diff --git a/test/config_stubs.rb b/test/config_stubs.rb index ef7548a..84a30f4 100644 --- a/test/config_stubs.rb +++ b/test/config_stubs.rb @@ -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) @@ -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