yggdrasil-engine 0.0.8.beta.2-x86_64-linux-musl → 0.0.9-x86_64-linux-musl
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libyggdrasilffi_x86_64-musl.so +0 -0
- data/lib/yggdrasil_engine.rb +21 -21
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e919f58ac0d37dc8a57e8ccc38b0fa465783ba4e98d1208d036788d2cd613de3
|
4
|
+
data.tar.gz: 27f7f2f1e9aeca6c794e83a682809392c0f5dc54f753c6a97bd91f5ceb2f82c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c6260019c1e5bf83dc39ec49482e4f2ceafb51e76a73d558c5bcc9018b01a0200978074f1aecb1bebfdd6e1853f37ba98d83292324a9d5fc82517bef64570e
|
7
|
+
data.tar.gz: 4cfb3cffe1b044e617cdd6158c8cc5e757b90a17e4d491b62e431b99ff8e374573b6926aed169eb20f52770a1317276048f3e276d05b3db39fbe87a63804749a
|
Binary file
|
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
|
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: x86_64-linux-musl
|
6
6
|
authors:
|
7
7
|
- Unleash
|
@@ -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:
|