inigorb 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ffimod.rb +6 -5
- data/lib/inigo-darwin-amd64.dylib +0 -0
- data/lib/inigo-darwin-arm64.dylib +0 -0
- data/lib/inigo-linux-amd64.so +0 -0
- data/lib/inigo-linux-arm64.so +0 -0
- data/lib/inigo-windows-amd64.dll +0 -0
- data/lib/inigo-windows-arm64.dll +0 -0
- data/lib/inigorb.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c9c780a1544a555500b9cc630a4e5319f7de6364ef3b0173f60d4a7a9632eb7
|
|
4
|
+
data.tar.gz: 056b6fcc94471f2e3922448ae70949d464bf8993f8db93867d23303ab1e103be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1a22f338adda34de7c47f809b4d12f25969d72c1dbdc08f467b6a4858c9953e2de3eeec0ef5da03f5140937851f461842de84fb1f075c7e3cd930a4db42cd0d
|
|
7
|
+
data.tar.gz: 92ed38fa5282fdb9585380516083a501f56f80e32623b124da4cf41a68780fc8e665194f3e4dda04f31d8a010d3c8ea9f5e4d8e475818dbb9d5a741fc070dc08
|
data/lib/ffimod.rb
CHANGED
|
@@ -11,12 +11,13 @@ module Inigo
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
if system_name == 'linux'
|
|
14
|
-
if machine == '
|
|
15
|
-
return 'amd64'
|
|
16
|
-
elsif machine == 'aarch64'
|
|
14
|
+
if machine == 'aarch64'
|
|
17
15
|
return 'arm64'
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
# 32 bits systems bindings support is on the way
|
|
17
|
+
# elsif RUBY_PLATFORM.match?(/(i\d86|x\d86)/)
|
|
18
|
+
# return '386'
|
|
19
|
+
elsif machine == 'x86_64'
|
|
20
|
+
return 'amd64'
|
|
20
21
|
elsif machine.start_with?('arm') # armv7l
|
|
21
22
|
return 'arm'
|
|
22
23
|
end
|
|
Binary file
|
|
Binary file
|
data/lib/inigo-linux-amd64.so
CHANGED
|
Binary file
|
data/lib/inigo-linux-arm64.so
CHANGED
|
Binary file
|
data/lib/inigo-windows-amd64.dll
CHANGED
|
Binary file
|
data/lib/inigo-windows-arm64.dll
CHANGED
|
Binary file
|
data/lib/inigorb.rb
CHANGED
|
@@ -158,7 +158,7 @@ module Inigo
|
|
|
158
158
|
|
|
159
159
|
config[:schema] = FFI::MemoryPointer.from_string(schema.to_s.encode('UTF-8')) if schema
|
|
160
160
|
|
|
161
|
-
@@path = settings.fetch('INIGO_PATH', '/
|
|
161
|
+
@@path = settings.fetch('INIGO_PATH', '/graphql')
|
|
162
162
|
|
|
163
163
|
# Create Inigo instance
|
|
164
164
|
@@instance = Inigo.create(config.pointer.address)
|