argon2-kdf 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 316f06f1f8fda0fa39322a743f1bad3df6d2ebd63d635002a25ee364ad36cad2
4
- data.tar.gz: 552444d8c7755c4333f032c66dc03d4941e8282d2505f3253f87d992cb462521
3
+ metadata.gz: 4c06476125b733921b5e0cbf53709f71e88c96130a1a5d3874caa4d2d94b28a0
4
+ data.tar.gz: 306aea1bab00473fed55dcdda11d8a95ca61834dfa67e798e9ce5d408f24c6b2
5
5
  SHA512:
6
- metadata.gz: dc0e85e38196db93e901c08eb12380301974a2640a758930f34749865b081c5ecb7fe9946c3d52fdb4d3f796d59a70e9bda8327f3dd3e63d0e165de13976be22
7
- data.tar.gz: aa09a7dde3810f24202884d8b994cbb42e232d79f227643aa5c450edd0309cd572aa7125570a04d964604e56ac5a3df901d107624b161ec310f46b9884fc55c6
6
+ metadata.gz: 1a6d60caaa86cb52d94719475c92aa2cd60311e292a6faa6ea80a8003a27c75e5fd23b788c4989a4008c600e38c10a30b5e509786fba9a6614de53e5cd0b5e3c
7
+ data.tar.gz: 0f7bb523e3667ae856143bd05c81e79f33a91bb03e99a60d757f9d8a1023242e4c6c265ecd075b632eec0cdddf54b5b5a083e9ce404a601bf4fcd4f862e6c2a1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.6 (2021-03-10)
2
+
3
+ - Added ARM shared library for Linux
4
+
1
5
  ## 0.1.5 (2021-01-05)
2
6
 
3
7
  - Fixed ARM detection
data/lib/argon2/kdf.rb CHANGED
@@ -21,7 +21,11 @@ module Argon2
21
21
  "libargon2.dylib"
22
22
  end
23
23
  else
24
- "libargon2.so"
24
+ if RbConfig::CONFIG["host_cpu"] =~ /aarch64/i
25
+ "libargon2.arm64.so"
26
+ else
27
+ "libargon2.so"
28
+ end
25
29
  end
26
30
  vendor_lib = File.expand_path("../../vendor/#{lib_name}", __dir__)
27
31
  self.ffi_lib = [vendor_lib]
@@ -1,5 +1,5 @@
1
1
  module Argon2
2
2
  module KDF
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: argon2-kdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-06 00:00:00.000000000 Z
11
+ date: 2021-03-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: andrew@chartkick.com
@@ -25,6 +25,7 @@ files:
25
25
  - vendor/LICENSE
26
26
  - vendor/argon2.dll
27
27
  - vendor/libargon2.arm64.dylib
28
+ - vendor/libargon2.arm64.so
28
29
  - vendor/libargon2.dylib
29
30
  - vendor/libargon2.so
30
31
  homepage: https://github.com/ankane/argon2-kdf