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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81ba6c48e0f8c6f9e555258f5af17241394896c9bb7c960834db26a6fbffcf6c
4
- data.tar.gz: 604e60580f1978c5fbf2a9dd3fc5da987d5106f17559ca838dc0041b060598c3
3
+ metadata.gz: 8c9c780a1544a555500b9cc630a4e5319f7de6364ef3b0173f60d4a7a9632eb7
4
+ data.tar.gz: 056b6fcc94471f2e3922448ae70949d464bf8993f8db93867d23303ab1e103be
5
5
  SHA512:
6
- metadata.gz: 6dcd1920a565e0abdcc9f460eaca77835d6c19f87f3d9fb85a5d34485b0b98f4c99500c7788272826f5f28f51a1fbddb74c13e039022f6e6ce2d74fb90bc0be4
7
- data.tar.gz: 25c131203167a2d70eb51bfdf9c263317706395c8bb102e7baae88f4ecd5c9a45218a39a64b31daac444d719027b21a79473abcfac9d4e187942c0fbc629d60a
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inigorb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inigo