libclang 14.0.6-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data/LICENSE.txt +21 -0
- data/README.md +50 -0
- data/certs/ianks.pem +21 -0
- data/lib/libclang/version.rb +5 -0
- data/lib/libclang.rb +21 -0
- data/vendor/lib/libclang.dylib +0 -0
- data.tar.gz.sig +0 -0
- metadata +73 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 53ab82ace609083224048c6d9373c3054a4997e50e297d3b3f9a8fdfc44e9ad5
|
4
|
+
data.tar.gz: 79a43b91cdb9168f1535fdf9f6aa286913d8c0583212a9243309c569ce874ecd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e6dcaab8c622af9e44422d341a80f10be77f0d7ea79cbabc4e84cf1eb07586d8c267ab745588cb0d29310eca572904f83812441eba93fd3f1d94893c22d6dca9
|
7
|
+
data.tar.gz: 7746717aa849f739f5c1a388301b9d27bc6fd7fafac42fab7b68766b3c1d1cbec1295cbb5594ab49e0b60ea09d73695f5821c419381db6878344a4e73ef91eda
|
checksums.yaml.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
¼��φ�yY�)��1�`B*Xm�c��Ph�;~� �,�p�L�8>�����B�s��\��'�̟]���P�Y���U_�l���r���_�ֺ��cJ��J�̓����Ns�g?����U/��h�3�����j�fyI/���tt��;������$?��L�Gt���4���g�����cW�!���Aq��0�9A.�8�n��T0E�9bPhvQВ{J�m�jt_.g/����lٻ�H�����<
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022 Ian Ker-Seymer
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# `libclang-rb`
|
2
|
+
|
3
|
+
This small gem provides a bundled `libclang` shared library which, should work well on OSX, Windows, as well as usual Linux distributions. It shamelessly uses the bundled `libclang` from the [great `libclang` PyPi project](https://pypi.org/project/libclang/).
|
4
|
+
|
5
|
+
The gem version is the same as the `libclang` version it bundles. Right now, that's corresponds `14`, but willing to add lower versions if there's demand.
|
6
|
+
|
7
|
+
## Supported Platforms
|
8
|
+
|
9
|
+
- `x86_64-darwin`
|
10
|
+
- `x86_64-linux`
|
11
|
+
- `x86_64-linux-musl`
|
12
|
+
- `x64-mingw32`
|
13
|
+
- `x64-mingw-ucrt`
|
14
|
+
- `aarch64-linux`
|
15
|
+
- `arm64-darwin`
|
16
|
+
|
17
|
+
## Installation
|
18
|
+
|
19
|
+
Install the gem and add to the application's Gemfile by executing:
|
20
|
+
|
21
|
+
$ bundle lock --add-platform $ONE_OF_THE_ABOVE_PLATFORMS
|
22
|
+
$ bundle add libclang
|
23
|
+
|
24
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
25
|
+
|
26
|
+
$ gem install libclang
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
This gem simply provides a `libclang.(so|dylib|dll)` so it does not do much. It is up to the user to use it in their own way.
|
31
|
+
|
32
|
+
```bash
|
33
|
+
$ nm -gU "$(ruby -rlibclang -e 'puts Libclang.path')"
|
34
|
+
...
|
35
|
+
0000000000025e3c T _clang_BlockCommandComment_getArgText
|
36
|
+
0000000000025d8c T _clang_BlockCommandComment_getCommandName
|
37
|
+
0000000000025e18 T _clang_BlockCommandComment_getNumArgs
|
38
|
+
0000000000025e74 T _clang_BlockCommandComment_getParagraph
|
39
|
+
....
|
40
|
+
```
|
41
|
+
|
42
|
+
## Contributing
|
43
|
+
|
44
|
+
[Bug reports and pull requests are welcome on GitHub](https://github.com/oxidize-rb/libclang-rb).
|
45
|
+
|
46
|
+
The gem is available as open source under the terms of the [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0).
|
47
|
+
|
48
|
+
## Code of Conduct
|
49
|
+
|
50
|
+
Everyone interacting in the Libclang project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ianks/libclang/blob/main/CODE_OF_CONDUCT.md).
|
data/certs/ianks.pem
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtpLmtl
|
3
|
+
cnNleW1lcjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
|
4
|
+
Y29tMB4XDTIyMDQxMzE5NTY1MVoXDTIzMDQxMzE5NTY1MVowQjEUMBIGA1UEAwwL
|
5
|
+
aS5rZXJzZXltZXIxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJ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0N5S4ZGJT1FLLsA=
|
21
|
+
-----END CERTIFICATE-----
|
data/lib/libclang.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "libclang/version"
|
4
|
+
|
5
|
+
module Libclang
|
6
|
+
class Error < StandardError; end
|
7
|
+
|
8
|
+
class << self
|
9
|
+
def version
|
10
|
+
VERSION
|
11
|
+
end
|
12
|
+
|
13
|
+
def libdir
|
14
|
+
@libdir ||= File.expand_path("../vendor/lib", __dir__)
|
15
|
+
end
|
16
|
+
|
17
|
+
def path
|
18
|
+
@path ||= Dir["#{libdir}/*clang.*"].first
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: libclang
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 14.0.6
|
5
|
+
platform: arm64-darwin
|
6
|
+
authors:
|
7
|
+
- Ian Ker-Seymer
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtpLmtl
|
14
|
+
cnNleW1lcjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
|
15
|
+
Y29tMB4XDTIyMDQxMzE5NTY1MVoXDTIzMDQxMzE5NTY1MVowQjEUMBIGA1UEAwwL
|
16
|
+
aS5rZXJzZXltZXIxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixk
|
17
|
+
ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMJ2pG+er4cP
|
18
|
+
PasxsMIKL9/tmLL4gh80EMuF3SCS0qZoh+Oo8dkvRYxW8NXdwEIcp3cCNgE+5G+J
|
19
|
+
TCMOVF8S15n1Z1P7xxXiXxa/BIofKKbtatVRngm14uR/6pjdkvLXqlrWdS57bNwv
|
20
|
+
7LtpzYVfDHfsl/qRWaEi4jq00PNCRSWjcva8teqswjBg8KlwGtyygpezPbVSWP8Y
|
21
|
+
vzWZmVF7fqRBXU78Ah0+pNOhslBXDTvI3xJdN4hQ3H7rLjpD/qxKWq/8o+Qvx6cX
|
22
|
+
dNZ3ugH/Pr3BAsqt4JFLXin9AK7PO9GDMH5JXJrUb+hAt2VNIZqpz9VlKA6BA0jN
|
23
|
+
eWGea+yCZkECAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
24
|
+
BBYEFOkrF6hsocaIMOjR/K3JBzyXCLJPMCAGA1UdEQQZMBeBFWkua2Vyc2V5bWVy
|
25
|
+
QGdtYWlsLmNvbTAgBgNVHRIEGTAXgRVpLmtlcnNleW1lckBnbWFpbC5jb20wDQYJ
|
26
|
+
KoZIhvcNAQEFBQADggEBADHnvHbZn5nldcpArIQcFF9URCBloCBZHqLFMhlGj5BX
|
27
|
+
bFvuoq4CBmEFiJpTazeoEaxPlsmIK1+4CqBXwg8lHEMC9RV5g9QtJHQry2eFE/8U
|
28
|
+
WrgCbqdxb8HBl9ayOHRcdfcv0RHBlmBHwBOoQ+hXMlInjssjfIX4BS39mTYefclE
|
29
|
+
zxOFntl+vb4kluo0j9/BGzdnGCo7iE+GfGSENFdOn2J38RCDLUzgOCmCtxzSvldq
|
30
|
+
Rl+ASkq2/1i07TkBpCf+2hq66+h/hx+/Y/KrUzXfe0jtvil0WESkJT2kqRqHWNhD
|
31
|
+
9GKBxaQlXokNDtWCm1/gl6cD8WRZ0N5S4ZGJT1FLLsA=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
34
|
+
dependencies: []
|
35
|
+
description: Provides bundled static-linked libclang shared library for different
|
36
|
+
platforms, which, should work well on OSX, Windows, as well as usual Linux distributions.
|
37
|
+
email:
|
38
|
+
- hello@ianks.com
|
39
|
+
executables: []
|
40
|
+
extensions: []
|
41
|
+
extra_rdoc_files: []
|
42
|
+
files:
|
43
|
+
- LICENSE.txt
|
44
|
+
- README.md
|
45
|
+
- certs/ianks.pem
|
46
|
+
- lib/libclang.rb
|
47
|
+
- lib/libclang/version.rb
|
48
|
+
- vendor/lib/libclang.dylib
|
49
|
+
homepage: https://github.com/oxidize-rb/libclang-rb
|
50
|
+
licenses:
|
51
|
+
- Apache-2.0
|
52
|
+
metadata:
|
53
|
+
rubygems_mfa_required: 'true'
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options: []
|
56
|
+
require_paths:
|
57
|
+
- lib
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements: []
|
69
|
+
rubygems_version: 3.3.22
|
70
|
+
signing_key:
|
71
|
+
specification_version: 4
|
72
|
+
summary: The easiest way to install libclang in Ruby
|
73
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|