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.
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: 8533834a529a1e5502280bd7953452b72e8623b2166df4c1f304e40539abb397
4
- data.tar.gz: 42a1b791e7da86c182c7db85dffd26430ea237018d00d0102473408c3f0b30b1
3
+ metadata.gz: 90fd4f4bf325fcba5803871730d7caa3780c2f814523ec39cd4ab1cab3205728
4
+ data.tar.gz: b174d3df1645d108892a11e48a71cb7e1afa132b27b364e0fb959ff3d1f01a74
5
5
  SHA512:
6
- metadata.gz: 001bc2e00c416ef5eabfae8211758cc826ebd907e06d2ac9edad6cb99e02b17cefec848bcf950e8a78affb53f376bb0f787da10103a977a0d73a69d84760f55d
7
- data.tar.gz: e4f3c4b4562bb798cdbc1204cb3c23e0d7afdef2b50079b29d312d71312de15a702d7a74be375b35e8bc16b2c7ed9b9f0a1e76ce32823921008c6c4274bc36c1
6
+ metadata.gz: aedc0c8f29ec123b376491a563a2158a6a5c6a648101e099dd1520aab2f3da9d7d4aa860e94b111f2406705b881ec4c0d5d9665933406b3bbd0bc93aa3b3ee21
7
+ data.tar.gz: bfd3ff9ae54d156efd33f5cb88d05003dec589bb8b3677dbf7a2e38ad8e11f3b9f8c20fa01a1601813e252b0c002ebd97de64f49565c1516f7bcb5936dc7664d
@@ -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: arm64-darwin
6
6
  authors:
7
7
  - Kirill Zaitsev