yggdrasil-engine 0.0.8.beta.1-x86_64-darwin → 0.0.8-x86_64-darwin
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.dylib +0 -0
- data/lib/yggdrasil_engine.rb +21 -21
- metadata +4 -4
- data/lib/yggdrasilffi_x86_64.dylib +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcb7d0b4e95d87f48ad3aa79eb027fcff058759c179d1d7d537d60addfb67b90
|
4
|
+
data.tar.gz: f00ca1cebbc86f07f1ec59e158045756ba4ebb50a7334203a0b1ab3c074e3bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3087c4a9e2b46786d1e88eadd45f486deda5f4b16b4d63f87b722f59a7dccb56ab43c3998e8a292d140617ccd3393864954783920e872f539dd1a5dccd0da7da
|
7
|
+
data.tar.gz: 53f0fd6cc71e7206eee36009e05f10ddf244048a40c901be4ae2f23f5c146ecc446876bba347f760e48c97c241c78d37a10ef1c0f0c4155fa96a13b9d764503f
|
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.8
|
4
|
+
version: 0.0.8
|
5
5
|
platform: x86_64-darwin
|
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_x86_64.dylib
|
35
36
|
- lib/yggdrasil_engine.rb
|
36
|
-
- lib/yggdrasilffi_x86_64.dylib
|
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
|