Skip to content

Commit 9ccc250

Browse files
committed
chore: update min ruby version
1 parent ca8d552 commit 9ccc250

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
strategy:
99
max-parallel: 1
1010
matrix:
11-
ruby: ['2.7', '3.0', '3.1']
11+
ruby: ["3.0", "3.1", "3.4"]
1212
name: 💎 Ruby ${{ matrix.ruby }}
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0 # gives the commit linter access to previous commits
1717

@@ -21,10 +21,10 @@ jobs:
2121
bundler-cache: true
2222

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

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

2929
- run: bundle exec rspec ./spec --require spec_helper
3030
env:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AllCops:
22
DisabledByDefault: false
33
NewCops: enable
4-
TargetRubyVersion: 2.7
4+
TargetRubyVersion: 3.0
55
Exclude:
66
- sorbet/**/*.rbi
77
- vendor/bundle/**/*

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ group :test do
2121
gem 'rack', '~> 2.2.4'
2222
end
2323

24-
ruby '>= 2.7.0'
24+
ruby '>= 3.0.0'

stream-chat.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
1616
gem.files = Dir.chdir(File.expand_path(__dir__)) do
1717
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|sorbet|spec|\.github|scripts|assets)/}) }
1818
end
19-
gem.required_ruby_version = '>=2.7.0'
19+
gem.required_ruby_version = '>=3.0.0'
2020
gem.metadata = {
2121
'rubygems_mfa_required' => 'false',
2222
'homepage_uri' => 'https://getstream.io/chat/docs/',

0 commit comments

Comments
 (0)