yggdrasil-engine 0.0.8.beta.1-arm64-mingw32 → 0.0.9-arm64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yggdrasil_engine.rb +21 -21
- data/lib/yggdrasilffi_arm64.dll +0 -0
- metadata +4 -4
- data/lib/libyggdrasilffi_arm64.dll +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69642aa314ce7b545c3e0793326a311d522a421df50fb0d08993b3a5ede38722
|
4
|
+
data.tar.gz: 187d6d58b35a6bc0b30428e66f87625673c7a831c09b1ba003a1acb2eecff901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df127b01b8684fafd956a5ba31fe78af25d10ba4144fa95acd500ece851a9b8d238dfdd854c450d8631f4b1491cf7929504ab52b7fc8db74e7f74f7f1ec9938c
|
7
|
+
data.tar.gz: f4a4a5dfbe0793576bfd9d60f6c7c9b048bdaf8cad7488dfef7da2ab61fb3cca69a3e7f128a7fcff353a58f5befd313c3899e08f5b3f5e5a28e9d2486cdc1de7
|
data/lib/yggdrasil_engine.rb
CHANGED
@@ -11,31 +11,31 @@ def platform_specific_lib
|
|
11
11
|
cpu = RbConfig::CONFIG['host_cpu']
|
12
12
|
|
13
13
|
extension, prefix = case os
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
when /darwin|mac os/
|
15
|
+
['dylib', 'lib']
|
16
|
+
when /linux/
|
17
|
+
['so', 'lib']
|
18
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
19
|
+
['dll', '']
|
20
|
+
else
|
21
|
+
raise "unsupported platform #{os}"
|
22
|
+
end
|
23
23
|
|
24
24
|
arch_suffix = case cpu
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
when /x86_64/
|
26
|
+
'x86_64'
|
27
|
+
when /arm|aarch64/
|
28
|
+
'arm64'
|
29
|
+
else
|
30
|
+
raise "unsupported architecture #{cpu}"
|
31
|
+
end
|
32
32
|
|
33
33
|
lib_type_suffix = if os =~ /linux/
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
34
|
+
musl = system("ldd /bin/sh | grep -q musl")
|
35
|
+
musl ? "-musl" : ""
|
36
|
+
else
|
37
|
+
""
|
38
|
+
end
|
39
39
|
|
40
40
|
"#{prefix}yggdrasilffi_#{arch_suffix}#{lib_type_suffix}.#{extension}"
|
41
41
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yggdrasil-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: arm64-mingw32
|
6
6
|
authors:
|
7
7
|
- Unleash
|
@@ -32,8 +32,8 @@ extra_rdoc_files: []
|
|
32
32
|
files:
|
33
33
|
- README.md
|
34
34
|
- lib/custom_strategy.rb
|
35
|
-
- lib/libyggdrasilffi_arm64.dll
|
36
35
|
- lib/yggdrasil_engine.rb
|
36
|
+
- lib/yggdrasilffi_arm64.dll
|
37
37
|
- spec/custom_strategy_spec.rb
|
38
38
|
- spec/yggdrasil_engine_spec.rb
|
39
39
|
homepage: http://github.com/username/my_gem
|
@@ -52,9 +52,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
52
|
version: '0'
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - "
|
55
|
+
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
57
|
+
version: '0'
|
58
58
|
requirements: []
|
59
59
|
rubygems_version: 3.3.5
|
60
60
|
signing_key:
|
@@ -1 +0,0 @@
|
|
1
|
-
Not Found
|