Skip to content
Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
strategy:
max-parallel: 1
matrix:
ruby: ['2.7', '3.0', '3.1']
ruby: ["3.0", "3.1", "3.4"]
name: 💎 Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # gives the commit linter access to previous commits

Expand All @@ -21,10 +21,10 @@ jobs:
bundler-cache: true

- run: bundle exec rake rubocop
if: ${{ matrix.ruby == '2.7' }}
if: ${{ matrix.ruby == '3.4' }}

- run: bundle exec srb tc
if: ${{ matrix.ruby == '2.7' }}
if: ${{ matrix.ruby == '3.4' }}

- run: bundle exec rspec ./spec --require spec_helper
env:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AllCops:
DisabledByDefault: false
NewCops: enable
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
Exclude:
- sorbet/**/*.rbi
- vendor/bundle/**/*
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ end
group :test do
gem 'rack', '~> 2.2.4'
end

ruby '>= 3.0.0'
12 changes: 6 additions & 6 deletions stream-chat.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|sorbet|spec|\.github|scripts|assets)/}) }
end
gem.required_ruby_version = '>=2.7.0'
gem.required_ruby_version = '>=3.0.0'
gem.metadata = {
'rubygems_mfa_required' => 'false',
'homepage_uri' => 'https://getstream.io/chat/docs/',
Expand All @@ -26,10 +26,10 @@ Gem::Specification.new do |gem|
'source_code_uri' => 'https://github.com/GetStream/stream-chat-ruby'
}

gem.add_dependency 'faraday', '~> 2.0.1'
gem.add_dependency 'faraday-multipart', '~> 1.0.4'
gem.add_dependency 'faraday-net_http_persistent', '~> 2.0.1'
gem.add_dependency 'jwt', '~> 2.3'
gem.add_dependency 'faraday', '~> 2.12.2'
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'
gem.add_dependency 'sorbet-runtime', '~> 0.5.10539'
gem.add_dependency 'sorbet-runtime', '~> 0.5.11820'
end