ffi-clang 0.11.0 → 0.12.0

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: 54ebc6d99d0f99d46028bd950f969bacaaf32e95b8824fa504902974357882d2
4
- data.tar.gz: 9732b945316e50383c601f5f9938f555445d13f5ce25428a6acadfacb57df284
3
+ metadata.gz: 37f934d60fbdb3b3595b30bce1e3aa64606bb6a98a7e096e4d26f9deec4bdbf0
4
+ data.tar.gz: 5e82c4739b554e83fbb1753a4a7ccaa976d7e271b9ddde53d68f389e03d21f22
5
5
  SHA512:
6
- metadata.gz: e3bb22b3b0e304d05edd4628570642efb0ef7dea8fe588bd37c6d284e06291d0cf7561ceffc8ff9ded5450e1f7751943e91843cb29eaca5c59227cb891ea39cb
7
- data.tar.gz: 74d1a5920126e62a88a089fa205cdfa1b117ea2e0b8ca90ebc7807395172c436c0d72ccdcb6384a00c6d1d47b96c30e5568e0e991a2bcb0d2fc4d36df8a02731
6
+ metadata.gz: '09dfa50b6c4e1ba906d0a6114ab54d3f3e7b32af7ed23a1d5d149c879ff01a6131bf48280e2bc4b4002e04522c5665123383b9f6a786c390908c8a4202c9e6e9'
7
+ data.tar.gz: 92ab385b15e7ba6d548b796c175032c693fd467f2e308bdd76f5ba2edd10736ec184f7af7db8e7b2a9f03d3000d5aab6fd84737b212775edf8aa093859310fcb
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/ffi/clang/lib.rb CHANGED
@@ -27,26 +27,10 @@ module FFI
27
27
 
28
28
  # If we aren't building for a specific version (e.g. travis) try to find llvm-config
29
29
  unless ENV['LLVM_VERSION']
30
- llvm_config ||= MakeMakefile.find_executable0("llvm-config")
30
+ llvm_config ||= MakeMakefile.find_executable("llvm-config")
31
31
  end
32
32
 
33
33
  libs = []
34
- begin
35
- xcode_dir = `xcode-select -p`.chomp
36
- %W[
37
- #{xcode_dir}/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib
38
- #{xcode_dir}/usr/lib/libclang.dylib
39
- ].each do |f|
40
- if File.exist? f
41
- libs << f
42
- break
43
- end
44
- end
45
- rescue Errno::ENOENT
46
- # Ignore
47
- end
48
-
49
- libs << "clang"
50
34
 
51
35
  if ENV['LIBCLANG']
52
36
  libs << ENV['LIBCLANG']
@@ -65,6 +49,23 @@ module FFI
65
49
  end
66
50
  end
67
51
 
52
+ begin
53
+ xcode_dir = `xcode-select -p`.chomp
54
+ %W[
55
+ #{xcode_dir}/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib
56
+ #{xcode_dir}/usr/lib/libclang.dylib
57
+ ].each do |f|
58
+ if File.exist? f
59
+ libs << f
60
+ break
61
+ end
62
+ end
63
+ rescue Errno::ENOENT
64
+ # Ignore
65
+ end
66
+
67
+ libs << "clang"
68
+
68
69
  ffi_lib libs
69
70
 
70
71
  def self.bitmask_from(enum, opts)
@@ -7,6 +7,6 @@
7
7
 
8
8
  module FFI
9
9
  module Clang
10
- VERSION = "0.11.0"
10
+ VERSION = "0.12.0"
11
11
  end
12
12
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-clang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -55,7 +55,7 @@ cert_chain:
55
55
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
56
56
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
57
57
  -----END CERTIFICATE-----
58
- date: 2024-11-13 00:00:00.000000000 Z
58
+ date: 2024-11-27 00:00:00.000000000 Z
59
59
  dependencies:
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: ffi
metadata.gz.sig CHANGED
Binary file