pgp-rb 0.1.0-x86_64-linux → 0.1.1-x86_64-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: af5e792befdae49af2845efbf03e77cb0b66293e14459b33c279c24e0dd1cc39
|
4
|
+
data.tar.gz: 1a7f9a5d084d0080ad29fa3f18cf96c290c5d5cc9db5869c693308b9fb30b196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e54a317c7747dd462551af7298dd19134edd63c98d0d9ecfd856128b55bff61d1305f06e7c2ad6bd9dde94e9c64f1f37f6b58ef97b991dbcd3a97b9a4475bdd
|
7
|
+
data.tar.gz: 40719cc3f56b8e81b79d5ad07e7f43fbdb43d26e6bcbc2711f01d1f7df1378ab95426185ff698c01b1bb79d4c9e4679a531337067d4b3ff032fb0b34463dfcdb
|
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
|