argon2-kdf 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c06476125b733921b5e0cbf53709f71e88c96130a1a5d3874caa4d2d94b28a0
4
- data.tar.gz: 306aea1bab00473fed55dcdda11d8a95ca61834dfa67e798e9ce5d408f24c6b2
3
+ metadata.gz: 7f93f6f8d6b288fe0bf774cfb98f11681e2dcd547749d8a386179f53f8f7167b
4
+ data.tar.gz: 1a3751d1249910ddd83aa585971df9d973733b5e92a85f5ad78d7ba8fcf5d2bb
5
5
  SHA512:
6
- metadata.gz: 1a6d60caaa86cb52d94719475c92aa2cd60311e292a6faa6ea80a8003a27c75e5fd23b788c4989a4008c600e38c10a30b5e509786fba9a6614de53e5cd0b5e3c
7
- data.tar.gz: 0f7bb523e3667ae856143bd05c81e79f33a91bb03e99a60d757f9d8a1023242e4c6c265ecd075b632eec0cdddf54b5b5a083e9ce404a601bf4fcd4f862e6c2a1
6
+ metadata.gz: 8501b2793ceb5a1d74bcf03881b4788c7e153abbf9d13ae47977460c7700a43ea807842c9165ca69e3760f625155436ad171b6b4bb4c0f4391b5e2efc1d09e1a
7
+ data.tar.gz: 89624447fc7c5b36d786710f4081ef4ce8bd98c24f135a74a7a01821f51ee840eba20b68ab480937a32c158356b23a8ef4a52273cf1c21d93165f25d23bd5c1f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.7 (2021-12-13)
2
+
3
+ - Improved ARM detection
4
+
1
5
  ## 0.1.6 (2021-03-10)
2
6
 
3
7
  - Added ARM shared library for Linux
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020 Andrew Kane
1
+ Copyright (c) 2020-2021 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
@@ -1,5 +1,5 @@
1
1
  module Argon2
2
2
  module KDF
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
data/lib/argon2/kdf.rb CHANGED
@@ -15,13 +15,13 @@ module Argon2
15
15
  if Gem.win_platform?
16
16
  "argon2.dll"
17
17
  elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
18
- if RbConfig::CONFIG["host_cpu"] =~ /arm/i
18
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
19
19
  "libargon2.arm64.dylib"
20
20
  else
21
21
  "libargon2.dylib"
22
22
  end
23
23
  else
24
- if RbConfig::CONFIG["host_cpu"] =~ /aarch64/i
24
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
25
25
  "libargon2.arm64.so"
26
26
  else
27
27
  "libargon2.so"
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: argon2-kdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
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-03-10 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
- email: andrew@chartkick.com
14
+ email: andrew@ankane.org
15
15
  executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  requirements: []
50
- rubygems_version: 3.2.3
50
+ rubygems_version: 3.2.32
51
51
  signing_key:
52
52
  specification_version: 4
53
53
  summary: Argon2 key derivation for Ruby