diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edb679e..53cbef5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 1 matrix: - ruby: ["3.0", "3.1", "3.4"] + ruby: ["3.0", "3.1", "3.4", "4.0"] name: 💎 Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v4 @@ -21,10 +21,10 @@ jobs: bundler-cache: true - run: bundle exec rake rubocop - if: ${{ matrix.ruby == '3.4' }} + if: ${{ matrix.ruby == '4.0' }} - run: bundle exec srb tc - if: ${{ matrix.ruby == '3.4' }} + if: ${{ matrix.ruby == '4.0' }} - run: bundle exec rspec ./spec --require spec_helper env: diff --git a/README.md b/README.md index f7d2926..32a781a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ For the client-side integrations (web and mobile) have a look at the JavaScript, ## ⚙️ Installation -[`stream-chat-ruby`](https://rubygems.org/gems/stream-chat-ruby) supports Ruby version `3.0` and greater. We test against Ruby versions `3.0`, `3.1` and `3.4`. +[`stream-chat-ruby`](https://rubygems.org/gems/stream-chat-ruby) supports Ruby version `3.0` and greater. We test against Ruby versions `3.0`, `3.1`, `3.4` and 4.0. ```bash $ gem install stream-chat-ruby diff --git a/stream-chat.gemspec b/stream-chat.gemspec index 0ecc866..46cdb2e 100644 --- a/stream-chat.gemspec +++ b/stream-chat.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |gem| } gem.add_dependency 'faraday', '~> 2.12.2' - gem.add_dependency 'faraday-multipart', '~> 1.1.0' + gem.add_dependency 'faraday-multipart', '>=1.1.0' gem.add_dependency 'faraday-net_http_persistent', '~> 2.3.0' gem.add_dependency 'jwt', '~> 2.10' gem.add_dependency 'net-http-persistent', '~> 4.0'