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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pgp-rb/version.rb +1 -1
  3. data/lib/pgp.rb +6 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87773a657777ffaffe5028aa824ccd7a6533579d2ca34d0c2d48f53b811b85db
4
- data.tar.gz: '080b24377a21fce3c21fc00e001a0e304518bc739aa9d5f4e5347b9438ae9722'
3
+ metadata.gz: a621e6d634d3ec9240cc4bf74b2ea45f375424dd5164a101f586db849bda42f1
4
+ data.tar.gz: da97fa5b38282ad40bf9e2ae8383f275aacd3e4e94425d41f3513f7f51ecd711
5
5
  SHA512:
6
- metadata.gz: 64724fb99e7e3412e5159a3c268172dff2edded11b0283c4e854a847055ee80abbdd2fb0752f921bec822fcfcc4b5ff7adfb38dc52f1d39906bd6a786d3cf1ad
7
- data.tar.gz: 6ce9184266a1b3061438dc7d7ef8660aae7b585da188c218d4afd7a33630dc3f58f572ccf71c4439893b0481ca16e8f3c65edcced1c5efea148b8777bce051ca
6
+ metadata.gz: 260352ec932e8bc6a1309ae19a7a0794e18347301030db3e53b2473fbbc7504bb70e984fbd39848ad839655401fc915aacbcd22523f9fe02988eebbfb21d509b
7
+ data.tar.gz: 50e6f87d7c6a3803c93054e605c1bc76eedce66eb51ce61fbfe52c404a143a8d668ef0c2a0f0b4ea4750e4735773a76278e3f3194212f86a8b9bba2b4f40fd0c
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PGP
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
data/lib/pgp.rb CHANGED
@@ -1,6 +1,10 @@
1
1
  # frozen_string_literal: true
2
-
3
- require_relative 'pgp-rb/pgp_rb'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgp-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Kirill Zaitsev