pgp-rb 0.1.0-x86_64-darwin → 0.1.1-x86_64-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: 11bd8109b2ce2b4883d3c1263a614d7ed093fe7a62ee63a2a646eccb268288ec
|
4
|
+
data.tar.gz: 6b3b08685e3478944e88ec39e15d0b7352b149301dce477986279bd41abc69e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 894f24d42c49b08d2f3b3d0925e2f065264cb239d9985b8d693f19d89ec1c42be25f64013f0eaa5ea474cf91240575b1fbe1f394a847818a71b64d5974074e37
|
7
|
+
data.tar.gz: 4d8a11eb00a5657ebbf121f27979bb49d447ae3fa0c176dc50e18b095e07084dc6c76cca90bb57d4710f9074d942b69dabfd29101f3fe34c4326cd25f9983c6b
|
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
|