yggdrasil-engine 0.0.5.beta.12-x64-mingw32 → 0.0.5.beta.13-x64-mingw32
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.dll +0 -0
- data/lib/yggdrasil_engine.rb +19 -5
- metadata +2 -2
- data/lib/yggdrasilffi.dll +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac98593d52d6ef91f7bb32b0d0662af16ca0d6dffede18e874f5c3d6c6fc4feb
|
4
|
+
data.tar.gz: f36919c80fe90463fd845e867c312f2f8313e90e20b88845e70f2bc0266483b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c7ce4c38c69c4996976ff748dd880c721e3630b5e53714635502d4a6763654123f153da6e54074daa72b3511f0ef6f47cc1c2bfc01201ada86ce0bf9f28a601
|
7
|
+
data.tar.gz: 599f2d670279a54c2c8f10b744d3e37b8b264dbb590af543589f5ba60d9e3b8555028637eef4abd5c53ada9da063b50ab34aa447cc7606dbcb03792304cfc064
|
Binary file
|
data/lib/yggdrasil_engine.rb
CHANGED
@@ -7,16 +7,30 @@ ERROR_RESPONSE = 'Error'.freeze
|
|
7
7
|
OK_RESPONSE = 'Ok'.freeze
|
8
8
|
|
9
9
|
def platform_specific_lib
|
10
|
-
|
10
|
+
os = RbConfig::CONFIG['host_os']
|
11
|
+
cpu = RbConfig::CONFIG['host_cpu']
|
12
|
+
|
13
|
+
extension = case os
|
11
14
|
when /darwin|mac os/
|
12
|
-
'
|
15
|
+
'dylib'
|
13
16
|
when /linux/
|
14
|
-
'
|
17
|
+
'so'
|
15
18
|
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
16
|
-
'
|
19
|
+
'dll'
|
17
20
|
else
|
18
|
-
raise "unsupported platform #{
|
21
|
+
raise "unsupported platform #{os}"
|
19
22
|
end
|
23
|
+
|
24
|
+
arch_suffix = case cpu
|
25
|
+
when /x86_64/
|
26
|
+
'x86_64'
|
27
|
+
when /arm|aarch64/
|
28
|
+
'arm'
|
29
|
+
else
|
30
|
+
raise "unsupported architecture #{cpu}"
|
31
|
+
end
|
32
|
+
|
33
|
+
"libyggdrasilffi_#{arch_suffix}.#{extension}"
|
20
34
|
end
|
21
35
|
|
22
36
|
def to_variant(raw_variant)
|
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.5.beta.
|
4
|
+
version: 0.0.5.beta.13
|
5
5
|
platform: x64-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_x86_64.dll
|
35
36
|
- lib/yggdrasil_engine.rb
|
36
|
-
- lib/yggdrasilffi.dll
|
37
37
|
- spec/custom_strategy_spec.rb
|
38
38
|
- spec/yggdrasil_engine_spec.rb
|
39
39
|
homepage: http://github.com/username/my_gem
|
data/lib/yggdrasilffi.dll
DELETED
Binary file
|