pgp-rb 0.1.0-aarch64-linux → 0.1.1-aarch64-linux
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: a621e6d634d3ec9240cc4bf74b2ea45f375424dd5164a101f586db849bda42f1
|
4
|
+
data.tar.gz: da97fa5b38282ad40bf9e2ae8383f275aacd3e4e94425d41f3513f7f51ecd711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 260352ec932e8bc6a1309ae19a7a0794e18347301030db3e53b2473fbbc7504bb70e984fbd39848ad839655401fc915aacbcd22523f9fe02988eebbfb21d509b
|
7
|
+
data.tar.gz: 50e6f87d7c6a3803c93054e605c1bc76eedce66eb51ce61fbfe52c404a143a8d668ef0c2a0f0b4ea4750e4735773a76278e3f3194212f86a8b9bba2b4f40fd0c
|
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
|