inigorb 0.27.0 → 0.27.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e791ddc3c65690a0c084dcff9a9fa39aea83ae31d16934524673f2dd77186f70
4
- data.tar.gz: b1bbe89fe0ba69850cd97dd13168a7c0a040bfbf52abca8fe043d94e0f2dcd2a
3
+ metadata.gz: 8c9c780a1544a555500b9cc630a4e5319f7de6364ef3b0173f60d4a7a9632eb7
4
+ data.tar.gz: 056b6fcc94471f2e3922448ae70949d464bf8993f8db93867d23303ab1e103be
5
5
  SHA512:
6
- metadata.gz: '00698478fce03d2e46bce576ce96889576a61bc61d35129ee24125d9c68e3c3af3e121363a867a9efea4c3956583408cb35b48c49999ce8817f5bd409b6e9e52'
7
- data.tar.gz: 3bda1d2d795779161ec69c534f5703ebfe2ebeb83331c97778cb04e5d7a4ebe27b3b4eaf46225485745e18baf067d54ea96d78188faa954be9b9bb356399e1dc
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 == 'x86_64' && ['64bit', 'universal'].include?(RUBY_PLATFORM.match(/(\d+)/)[0])
15
- return 'amd64'
16
- elsif machine == 'aarch64'
14
+ if machine == 'aarch64'
17
15
  return 'arm64'
18
- elsif machine == 'x86_64' && RUBY_PLATFORM.match?(/(i\d86|x\d86)/)
19
- return '386'
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
Binary file
Binary file
Binary file
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', '/query')
161
+ @@path = settings.fetch('INIGO_PATH', '/graphql')
162
162
 
163
163
  # Create Inigo instance
164
164
  @@instance = Inigo.create(config.pointer.address)
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.0
4
+ version: 0.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inigo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-26 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt