koko_keywords 0.3.1 → 0.3.2
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 +4 -4
- data/lib/koko_keywords/version.rb +1 -1
- data/lib/koko_keywords.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a49a80bbb68b68ddd97814738ed56bba35fc706d4cddea51e7e1f4c822011b2e
|
|
4
|
+
data.tar.gz: '029652b64d6b295be7798e2ee4da285d903cc7ad96fb53fefc74a5ef9995eab6'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74b8e4d37f774f69f55308dd30335dbec686067c818039a0bf7ddd51e4c27e943ab81892ae1bf561cfc0f14d0a8f83cf133eb16c1f56cbb5f8aa03f63127cc25
|
|
7
|
+
data.tar.gz: e4c9b688843b202368a60ec78ad0b75915513723b51c3185e5966a358cb1f286e768126be6145de50e24d9efdc4003ea5d86c47b156e4fb400a61ec1c38a0ed7
|
data/lib/koko_keywords.rb
CHANGED
|
@@ -11,16 +11,16 @@ module KokoKeywords
|
|
|
11
11
|
|
|
12
12
|
if ENV["KOKO_LIB_PATH"]
|
|
13
13
|
return ENV["KOKO_LIB_PATH"]
|
|
14
|
-
elsif uname[:sysname] == 'Darwin' and uname[:machine] == 'arm64'
|
|
14
|
+
elsif uname[:sysname] == 'Darwin' and (uname[:machine] == 'arm64' || uname[:machine] == 'aarch64')
|
|
15
15
|
filename = filename + '_arm64.dylib'
|
|
16
16
|
elsif uname[:sysname] == 'Darwin' and uname[:machine] == 'x86_64'
|
|
17
17
|
filename = filename + '_x86_64.dylib'
|
|
18
18
|
elsif uname[:sysname] == 'Linux' and uname[:machine] == 'x86_64'
|
|
19
19
|
filename = filename + '_x86_64.so'
|
|
20
|
-
elsif uname[:sysname] == 'Linux' and uname[:machine] == 'arm64'
|
|
20
|
+
elsif uname[:sysname] == 'Linux' and (uname[:machine] == 'arm64' || uname[:machine] == 'aarch64')
|
|
21
21
|
filename = filename + '_arm64.so'
|
|
22
22
|
else
|
|
23
|
-
raise RuntimeError("Unsupported platform #{uname[:sysname]}, #{uname[:machine]} contact api@kokocares.org for support")
|
|
23
|
+
raise RuntimeError.new("Unsupported platform #{uname[:sysname]}, #{uname[:machine]} contact api@kokocares.org for support")
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
__dir__ + '/../clib/' + filename
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: koko_keywords
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kareem Kouddous
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|