ffidb 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/AUTHORS +1 -0
- data/CHANGES.md +7 -0
- data/CREDITS.md +2 -0
- data/README.md +201 -0
- data/UNLICENSE +24 -0
- data/VERSION +1 -0
- data/bin/ffidb +387 -0
- data/etc/mappings/dart.yaml +35 -0
- data/etc/mappings/java.yaml +36 -0
- data/etc/mappings/lisp.yaml +35 -0
- data/etc/mappings/python.yaml +35 -0
- data/etc/mappings/ruby.yaml +35 -0
- data/etc/templates/c.erb +46 -0
- data/etc/templates/cpp.erb +45 -0
- data/etc/templates/dart.erb +64 -0
- data/etc/templates/go.erb +50 -0
- data/etc/templates/java.erb +56 -0
- data/etc/templates/lisp.erb +49 -0
- data/etc/templates/python.erb +59 -0
- data/etc/templates/ruby.erb +48 -0
- data/lib/ffidb.rb +34 -0
- data/lib/ffidb/enum.rb +37 -0
- data/lib/ffidb/errors.rb +64 -0
- data/lib/ffidb/exporter.rb +141 -0
- data/lib/ffidb/exporters.rb +28 -0
- data/lib/ffidb/exporters/c.rb +52 -0
- data/lib/ffidb/exporters/cpp.rb +13 -0
- data/lib/ffidb/exporters/csharp.rb +6 -0
- data/lib/ffidb/exporters/csv.rb +24 -0
- data/lib/ffidb/exporters/dart.rb +60 -0
- data/lib/ffidb/exporters/go.rb +16 -0
- data/lib/ffidb/exporters/haskell.rb +3 -0
- data/lib/ffidb/exporters/java.rb +39 -0
- data/lib/ffidb/exporters/json.rb +38 -0
- data/lib/ffidb/exporters/julia.rb +3 -0
- data/lib/ffidb/exporters/lisp.rb +41 -0
- data/lib/ffidb/exporters/luajit.rb +3 -0
- data/lib/ffidb/exporters/nim.rb +4 -0
- data/lib/ffidb/exporters/nodejs.rb +4 -0
- data/lib/ffidb/exporters/ocaml.rb +4 -0
- data/lib/ffidb/exporters/php.rb +4 -0
- data/lib/ffidb/exporters/python.rb +35 -0
- data/lib/ffidb/exporters/racket.rb +3 -0
- data/lib/ffidb/exporters/ruby.rb +33 -0
- data/lib/ffidb/exporters/rust.rb +5 -0
- data/lib/ffidb/exporters/yaml.rb +31 -0
- data/lib/ffidb/exporters/zig.rb +3 -0
- data/lib/ffidb/function.rb +70 -0
- data/lib/ffidb/glob.rb +28 -0
- data/lib/ffidb/header.rb +19 -0
- data/lib/ffidb/header_parser.rb +339 -0
- data/lib/ffidb/library.rb +120 -0
- data/lib/ffidb/library_parser.rb +132 -0
- data/lib/ffidb/location.rb +17 -0
- data/lib/ffidb/parameter.rb +35 -0
- data/lib/ffidb/registry.rb +87 -0
- data/lib/ffidb/release.rb +14 -0
- data/lib/ffidb/struct.rb +41 -0
- data/lib/ffidb/symbol_table.rb +90 -0
- data/lib/ffidb/symbolic.rb +67 -0
- data/lib/ffidb/sysexits.rb +21 -0
- data/lib/ffidb/type.rb +214 -0
- data/lib/ffidb/typedef.rb +38 -0
- data/lib/ffidb/union.rb +37 -0
- data/lib/ffidb/version.rb +21 -0
- metadata +197 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
# This is free and unencumbered software released into the public domain.
|
2
|
+
|
3
|
+
module FFIDB
|
4
|
+
module VERSION
|
5
|
+
FILE = File.expand_path('../../VERSION', __dir__).freeze
|
6
|
+
STRING = File.read(FILE).chomp.freeze
|
7
|
+
MAJOR, MINOR, TINY, EXTRA = STRING.split('.').map(&:to_i).freeze
|
8
|
+
|
9
|
+
##
|
10
|
+
# @return [String]
|
11
|
+
def self.to_s() STRING end
|
12
|
+
|
13
|
+
##
|
14
|
+
# @return [String]
|
15
|
+
def self.to_str() STRING end
|
16
|
+
|
17
|
+
##
|
18
|
+
# @return [Array(Integer, Integer, Integer)]
|
19
|
+
def self.to_a() [MAJOR, MINOR, TINY].freeze end
|
20
|
+
end # VERSION
|
21
|
+
end # FFIDB
|
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ffidb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arto Bendiken
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '13'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '13'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.9'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.9'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: yard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.9'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.9'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ffi-clang
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: tilt
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: thor
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
97
|
+
description: Command-line interface (CLI) for the FFI DB registry.
|
98
|
+
email: arto@bendiken.net
|
99
|
+
executables:
|
100
|
+
- ffidb
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- AUTHORS
|
105
|
+
- CHANGES.md
|
106
|
+
- CREDITS.md
|
107
|
+
- README.md
|
108
|
+
- UNLICENSE
|
109
|
+
- VERSION
|
110
|
+
- bin/ffidb
|
111
|
+
- etc/mappings/dart.yaml
|
112
|
+
- etc/mappings/java.yaml
|
113
|
+
- etc/mappings/lisp.yaml
|
114
|
+
- etc/mappings/python.yaml
|
115
|
+
- etc/mappings/ruby.yaml
|
116
|
+
- etc/templates/c.erb
|
117
|
+
- etc/templates/cpp.erb
|
118
|
+
- etc/templates/dart.erb
|
119
|
+
- etc/templates/go.erb
|
120
|
+
- etc/templates/java.erb
|
121
|
+
- etc/templates/lisp.erb
|
122
|
+
- etc/templates/python.erb
|
123
|
+
- etc/templates/ruby.erb
|
124
|
+
- lib/ffidb.rb
|
125
|
+
- lib/ffidb/enum.rb
|
126
|
+
- lib/ffidb/errors.rb
|
127
|
+
- lib/ffidb/exporter.rb
|
128
|
+
- lib/ffidb/exporters.rb
|
129
|
+
- lib/ffidb/exporters/c.rb
|
130
|
+
- lib/ffidb/exporters/cpp.rb
|
131
|
+
- lib/ffidb/exporters/csharp.rb
|
132
|
+
- lib/ffidb/exporters/csv.rb
|
133
|
+
- lib/ffidb/exporters/dart.rb
|
134
|
+
- lib/ffidb/exporters/go.rb
|
135
|
+
- lib/ffidb/exporters/haskell.rb
|
136
|
+
- lib/ffidb/exporters/java.rb
|
137
|
+
- lib/ffidb/exporters/json.rb
|
138
|
+
- lib/ffidb/exporters/julia.rb
|
139
|
+
- lib/ffidb/exporters/lisp.rb
|
140
|
+
- lib/ffidb/exporters/luajit.rb
|
141
|
+
- lib/ffidb/exporters/nim.rb
|
142
|
+
- lib/ffidb/exporters/nodejs.rb
|
143
|
+
- lib/ffidb/exporters/ocaml.rb
|
144
|
+
- lib/ffidb/exporters/php.rb
|
145
|
+
- lib/ffidb/exporters/python.rb
|
146
|
+
- lib/ffidb/exporters/racket.rb
|
147
|
+
- lib/ffidb/exporters/ruby.rb
|
148
|
+
- lib/ffidb/exporters/rust.rb
|
149
|
+
- lib/ffidb/exporters/yaml.rb
|
150
|
+
- lib/ffidb/exporters/zig.rb
|
151
|
+
- lib/ffidb/function.rb
|
152
|
+
- lib/ffidb/glob.rb
|
153
|
+
- lib/ffidb/header.rb
|
154
|
+
- lib/ffidb/header_parser.rb
|
155
|
+
- lib/ffidb/library.rb
|
156
|
+
- lib/ffidb/library_parser.rb
|
157
|
+
- lib/ffidb/location.rb
|
158
|
+
- lib/ffidb/parameter.rb
|
159
|
+
- lib/ffidb/registry.rb
|
160
|
+
- lib/ffidb/release.rb
|
161
|
+
- lib/ffidb/struct.rb
|
162
|
+
- lib/ffidb/symbol_table.rb
|
163
|
+
- lib/ffidb/symbolic.rb
|
164
|
+
- lib/ffidb/sysexits.rb
|
165
|
+
- lib/ffidb/type.rb
|
166
|
+
- lib/ffidb/typedef.rb
|
167
|
+
- lib/ffidb/union.rb
|
168
|
+
- lib/ffidb/version.rb
|
169
|
+
homepage: https://github.com/ffidb
|
170
|
+
licenses:
|
171
|
+
- Unlicense
|
172
|
+
metadata:
|
173
|
+
bug_tracker_uri: https://github.com/ffidb/ffidb.rb/issues
|
174
|
+
changelog_uri: https://github.com/ffidb/ffidb.rb/blob/master/CHANGES.md
|
175
|
+
documentation_uri: https://www.rubydoc.info/github/ffidb/ffidb.rb/master
|
176
|
+
homepage_uri: https://github.com/ffidb
|
177
|
+
source_code_uri: https://github.com/ffidb/ffidb.rb
|
178
|
+
post_install_message:
|
179
|
+
rdoc_options: []
|
180
|
+
require_paths:
|
181
|
+
- lib
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 2.7.0
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: 3.1.2
|
192
|
+
requirements: []
|
193
|
+
rubygems_version: 3.1.2
|
194
|
+
signing_key:
|
195
|
+
specification_version: 4
|
196
|
+
summary: Command-line interface (CLI) for the FFI DB registry.
|
197
|
+
test_files: []
|