koko_keywords 0.3.1 → 0.3.2

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: 22ff783634a1cea41759c8a6b4c0826a2b2477a196cdaedf5994f108adc94188
4
- data.tar.gz: 93051f0187513cf6db3552a2c55b0698be0fd826bf8dbdb3f7307e154c0dc13a
3
+ metadata.gz: a49a80bbb68b68ddd97814738ed56bba35fc706d4cddea51e7e1f4c822011b2e
4
+ data.tar.gz: '029652b64d6b295be7798e2ee4da285d903cc7ad96fb53fefc74a5ef9995eab6'
5
5
  SHA512:
6
- metadata.gz: 67b8ae4439cb4bbdd83026e4ff205576dd5ff5c77cc09f5ed0f73a7a40fa8ce7b8c675a9e5a2906c287218e31fcfa3c2bf016328e319500760f5a9b083fc53d6
7
- data.tar.gz: 8c9a4e3d71e5035d0dc8d14d132406d351345603a046188bd15535fc1bfee0df3ed5ef5febdcbb2354d48af0b667e7380bfb5e0f816bc070da769768e5d813b5
6
+ metadata.gz: 74b8e4d37f774f69f55308dd30335dbec686067c818039a0bf7ddd51e4c27e943ab81892ae1bf561cfc0f14d0a8f83cf133eb16c1f56cbb5f8aa03f63127cc25
7
+ data.tar.gz: e4c9b688843b202368a60ec78ad0b75915513723b51c3185e5966a358cb1f286e768126be6145de50e24d9efdc4003ea5d86c47b156e4fb400a61ec1c38a0ed7
@@ -1,3 +1,3 @@
1
1
  module KokoKeywords
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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: 2022-11-01 00:00:00.000000000 Z
11
+ date: 2023-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi