Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#9302) Add Ruby 3.3 to CI matrix #9303

Merged
merged 1 commit into from
Sep 13, 2024
Merged
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
2 changes: 2 additions & 0 deletions .github/workflows/rspec_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
- {os: ubuntu-latest, ruby: '3.1'}
- {os: ubuntu-20.04, ruby: '3.2'} # openssl 1.1.1
- {os: ubuntu-22.04, ruby: '3.2'} # openssl 3
- {os: ubuntu-22.04, ruby: '3.3'} # openssl 3 / latest Ruby
- {os: ubuntu-latest, ruby: 'jruby-9.4.3.0'}
- {os: windows-2019, ruby: '3.1'}
- {os: windows-2019, ruby: '3.2'} # openssl 3
- {os: windows-2019, ruby: '3.3'} # openssl 3 / latest Ruby

runs-on: ${{ matrix.cfg.os }}
env:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ group(:test) do
# 1.16.0 - 1.16.2 are broken on Windows
gem 'ffi', '>= 1.15.5', '< 1.17.0', '!= 1.16.0', '!= 1.16.1', '!= 1.16.2', require: false
gem "json-schema", "~> 2.0", require: false
gem "racc", "1.5.2", require: false
gem "rake", *location_for(ENV['RAKE_LOCATION'] || '~> 13.0')
gem "rspec", "~> 3.1", require: false
gem "rspec-expectations", ["~> 3.9", "!= 3.9.3"]
Expand All @@ -62,7 +63,6 @@ end
group(:development, optional: true) do
gem 'memory_profiler', require: false, platforms: [:mri]
gem 'pry', require: false, platforms: [:ruby]
gem "racc", "1.5.2", require: false, platforms: [:ruby]
if RUBY_PLATFORM != 'java'
gem 'ruby-prof', '>= 0.16.0', require: false
end
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/x509/cert_provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def expects_private_file(path)
# password is 74695716c8b6
expect {
provider.load_private_key('encrypted-key')
}.to raise_error(OpenSSL::PKey::PKeyError, /Could not parse PKey: (no start line|bad decrypt)/)
}.to raise_error(OpenSSL::PKey::PKeyError, /Could not parse PKey/)
end

it 'decrypts an RSA key previously saved using 3DES' do
Expand Down Expand Up @@ -315,7 +315,7 @@ def expects_private_file(path)
# password is 74695716c8b6
expect {
provider.load_private_key('encrypted-ec-key')
}.to raise_error(OpenSSL::PKey::PKeyError, /(unknown|invalid) curve name|Could not parse PKey: (no start line|bad decrypt)/)
}.to raise_error(OpenSSL::PKey::PKeyError, /(unknown|invalid) curve name|Could not parse PKey/)
end
end
end
Expand Down