pgp-rb 0.1.0-arm64-darwin → 0.1.1-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pgp-rb/version.rb +1 -1
- data/lib/pgp.rb +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90fd4f4bf325fcba5803871730d7caa3780c2f814523ec39cd4ab1cab3205728
|
4
|
+
data.tar.gz: b174d3df1645d108892a11e48a71cb7e1afa132b27b364e0fb959ff3d1f01a74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aedc0c8f29ec123b376491a563a2158a6a5c6a648101e099dd1520aab2f3da9d7d4aa860e94b111f2406705b881ec4c0d5d9665933406b3bbd0bc93aa3b3ee21
|
7
|
+
data.tar.gz: bfd3ff9ae54d156efd33f5cb88d05003dec589bb8b3677dbf7a2e38ad8e11f3b9f8c20fa01a1601813e252b0c002ebd97de64f49565c1516f7bcb5936dc7664d
|
data/lib/pgp-rb/version.rb
CHANGED
data/lib/pgp.rb
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
2
|
+
begin
|
3
|
+
/(?<ruby_version>\d+\.\d+)/ =~ RUBY_VERSION
|
4
|
+
require_relative "pgp-rb/#{ruby_version}/pgp_rb"
|
5
|
+
rescue LoadError
|
6
|
+
require_relative 'pgp-rb/pgp_rb'
|
7
|
+
end
|
4
8
|
|
5
9
|
module PGP
|
6
10
|
KEY_ALGORITHM_RSA = 1
|