Skip to content

Commit 1832e5c

Browse files
authored
Update CI to run against Ruby 3.3, drop Ruby 2.6 (#312)
* Update CI to run against Ruby 3.3 `google-protobuf` [supports Ruby 3.3 in platform-specific versions of 3.25.3](https://rubygems.org/gems/google-protobuf/versions/3.25.3-x86_64-linux) Some discussion in this thread: protocolbuffers/protobuf#15336 (comment) * fixup! Update CI to run against Ruby 3.3 * fixup! fixup! Update CI to run against Ruby 3.3 * fixup! fixup! fixup! Update CI to run against Ruby 3.3
1 parent f23f1df commit 1832e5c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2'] # 3.3+ is not yet supported by google-protobuf
11+
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] # 3.4+ is not yet supported by google-protobuf
1212
os: ['ubuntu-latest', 'windows-latest']
1313
runs-on: ${{ matrix.os }}
1414
steps:
@@ -21,4 +21,4 @@ jobs:
2121
run: bundle exec rake test
2222
- name: RuboCop
2323
run: bundle exec rake lint
24-
if: matrix.ruby != '3.1' && matrix.ruby != '3.2'
24+
if: matrix.ruby != '3.1' && matrix.ruby != '3.2' && matrix.ruby != '3.3'

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ PATH
22
remote: .
33
specs:
44
pg_query (5.1.0)
5-
google-protobuf (>= 3.22.3)
5+
google-protobuf (>= 3.25.3)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
1010
ast (2.4.1)
1111
diff-lcs (1.5.0)
1212
docile (1.4.0)
13-
google-protobuf (3.23.4)
13+
google-protobuf (3.25.3)
1414
parallel (1.20.1)
1515
parser (2.7.2.0)
1616
ast (~> 2.4.1)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ not correctly handle all CTEs, or rewrite columns with explicit table names.
178178

179179
Currently tested and officially supported Ruby versions:
180180

181-
* CRuby 2.6
182181
* CRuby 2.7
183182
* CRuby 3.0
184183
* CRuby 3.1
185184
* CRuby 3.2
185+
* CRuby 3.3
186186

187187
Not supported:
188188

pg_query.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ Gem::Specification.new do |s|
2626
s.add_development_dependency 'rubocop', '0.49.1'
2727
s.add_development_dependency 'rubocop-rspec', '1.15.1'
2828
s.add_development_dependency 'simplecov', '~> 0'
29-
s.add_dependency 'google-protobuf', '>= 3.22.3'
29+
s.add_dependency 'google-protobuf', '>= 3.25.3'
3030
end

0 commit comments

Comments
 (0)