Skip to content

Commit de2d652

Browse files
committed
Remove upper version constraint on OpenSSL
This stops us from blocking newer Ruby or OpenSSL gem releases, for any future incompatibilities application authors can pin their OpenSSL version if need be Updated Rubies and gemfiles for CI
1 parent 4fee93d commit de2d652

File tree

5 files changed

+28
-5
lines changed

5 files changed

+28
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
ruby-version:
19-
- 3.0.0
20-
- 2.7.2
19+
- 3.2.0
20+
- 3.1.3
21+
- 3.0.5
22+
- 2.7.7
2123
- 2.6.6
2224
- 2.5.8
2325
- 2.4.10
2426
gemfile:
27+
- openssl_3_1
2528
- openssl_3_0
2629
- openssl_2_2
2730
- openssl_2_1
@@ -30,6 +33,10 @@ jobs:
3033
gemfile: openssl_3_0
3134
- ruby-version: '2.5.8'
3235
gemfile: openssl_3_0
36+
- ruby-version: '2.4.10'
37+
gemfile: openssl_3_1
38+
- ruby-version: '2.5.8'
39+
gemfile: openssl_3_1
3340
env:
3441
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
3542
steps:

Appraisals

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# frozen_string_literal: true
2+
appraise "openssl_3_1" do
3+
gem "openssl", "~> 3.1.0"
4+
end
25

36
appraise "openssl_3_0" do
47
gem "openssl", "~> 3.0.0"

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
openssl-signature_algorithm (1.2.1)
5-
openssl (> 2.0, < 3.1)
5+
openssl (> 2.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -61,4 +61,4 @@ DEPENDENCIES
6161
rubocop (~> 0.80.1)
6262

6363
BUNDLED WITH
64-
2.2.8
64+
2.3.26

gemfiles/openssl_3_1.gemfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", "~> 2.2"
6+
gem "byebug", "~> 11.0"
7+
gem "ed25519", "~> 1.2"
8+
gem "rake", "~> 13.0"
9+
gem "rspec", "~> 3.0"
10+
gem "rubocop", "~> 0.80.1"
11+
gem "openssl", "~> 3.1.0"
12+
13+
gemspec path: "../"

openssl-signature_algorithm.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
2828
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2929
spec.require_paths = ["lib"]
3030

31-
spec.add_runtime_dependency "openssl", "> 2.0", "< 3.1"
31+
spec.add_runtime_dependency "openssl", "> 2.0"
3232
end

0 commit comments

Comments
 (0)