File tree Expand file tree Collapse file tree 11 files changed +32
-21
lines changed Expand file tree Collapse file tree 11 files changed +32
-21
lines changed Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ elsif RUBY_VERSION > '2.2'
2
4
load "jopenssl22/openssl/#{ File . basename ( __FILE__ ) } "
3
5
elsif RUBY_VERSION > '2.1'
4
6
load "jopenssl21/openssl/#{ File . basename ( __FILE__ ) } "
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ elsif RUBY_VERSION > '2.2'
2
4
load "jopenssl22/openssl/#{ File . basename ( __FILE__ ) } "
3
5
elsif RUBY_VERSION > '2.1'
4
6
load "jopenssl21/openssl/#{ File . basename ( __FILE__ ) } "
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ elsif RUBY_VERSION > '2.2'
2
4
load "jopenssl22/openssl/#{ File . basename ( __FILE__ ) } "
3
5
elsif RUBY_VERSION > '2.1'
4
6
load "jopenssl21/openssl/#{ File . basename ( __FILE__ ) } "
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ elsif RUBY_VERSION > '2.2'
2
4
load "jopenssl22/openssl/#{ File . basename ( __FILE__ ) } "
3
5
elsif RUBY_VERSION > '2.1'
4
6
load "jopenssl21/openssl/#{ File . basename ( __FILE__ ) } "
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ elsif RUBY_VERSION > '2.2'
2
4
load "jopenssl22/openssl/#{ File . basename ( __FILE__ ) } "
3
5
elsif RUBY_VERSION > '2.1'
4
6
load "jopenssl21/openssl/#{ File . basename ( __FILE__ ) } "
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
2
- raise LoadError , "no such library in 2.2: openssl/pkcs7"
3
- elsif RUBY_VERSION > '2.1'
4
- raise LoadError , "no such library in 2.1: openssl/pkcs7"
5
- elsif RUBY_VERSION > '1.9'
6
- raise LoadError , "no such library in 1.9: openssl/pkcs7"
1
+ if RUBY_VERSION > '1.9'
2
+ raise LoadError , "no such library in #{ RUBY_VERSION } : openssl/pkcs7"
7
3
else
8
4
load "jopenssl18/openssl/pkcs7.rb"
9
5
end
Original file line number Diff line number Diff line change
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ else
4
+ raise LoadError , "no such file to load -- openssl/pkey"
5
+ end
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
2
- raise LoadError , "no such library in 2.2: openssl/ssl-internal.rb"
3
- elsif RUBY_VERSION > '2.1'
4
- raise LoadError , "no such library in 2.1: openssl/ssl-internal.rb"
1
+ if RUBY_VERSION > '2.1'
2
+ raise LoadError , "no such library in #{ RUBY_VERSION } : openssl/ssl-internal.rb"
5
3
elsif RUBY_VERSION > '1.9'
6
4
load "jopenssl19/openssl/#{ File . basename ( __FILE__ ) } "
7
5
else
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
1
+ if RUBY_VERSION > '2.3'
2
+ load "jopenssl23/openssl/#{ File . basename ( __FILE__ ) } "
3
+ elsif RUBY_VERSION > '2.2'
2
4
load "jopenssl22/openssl/#{ File . basename ( __FILE__ ) } "
3
5
elsif RUBY_VERSION > '2.1'
4
6
load "jopenssl21/openssl/#{ File . basename ( __FILE__ ) } "
Original file line number Diff line number Diff line change 1
- if RUBY_VERSION > '2.2'
2
- raise LoadError , "no such library in 2.2: openssl/x509-internal.rb"
3
- elsif RUBY_VERSION > '2.1'
4
- raise LoadError , "no such library in 2.1: openssl/x509-internal.rb"
1
+ if RUBY_VERSION > '2.1'
2
+ raise LoadError , "no such library in #{ RUBY_VERSION } : openssl/x509-internal.rb"
5
3
elsif RUBY_VERSION > '1.9'
6
4
load "jopenssl19/openssl/#{ File . basename ( __FILE__ ) } "
7
5
else
You can’t perform that action at this time.
0 commit comments