inigorb 0.27.1 → 0.27.4
Sign up to get free protection for your applications and to get access to all the features.
- 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 +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61225748fde7b180e704d9e45ee2f831eaad0374a2b2164e614f921a48aef653
|
4
|
+
data.tar.gz: 4d077ed1e60e36916bb104d6c7a0b3e7a6a5134ff39ac0ce52209cdefcd694bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee3e3bd4854fb47afb922b985b6ec77638a14dd778618d503d74b846e24f63b6d5c7aeeda123e03ca5ed8148d42ed556d847f28a988da0d80fa80f46665acc38
|
7
|
+
data.tar.gz: e71610eb47bbc0416792de36948cf8a9e27b999f4d65695951a3c5f9ff7717f39c8c5646557f753b1ef375dde48f9f8f2ca42624c6fae381259c4f49b1ea6a9b
|
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,14 +158,14 @@ 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)
|
165
165
|
|
166
166
|
error = Inigo.check_lasterror
|
167
167
|
if error.length != 0
|
168
|
-
puts "INIGO: #{error
|
168
|
+
puts "INIGO: #{error}"
|
169
169
|
end
|
170
170
|
|
171
171
|
if @@instance == 0
|
@@ -201,4 +201,4 @@ module Inigo
|
|
201
201
|
end
|
202
202
|
|
203
203
|
end
|
204
|
-
end
|
204
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inigorb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inigo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|