cheesy-gallery 0.6.0 → 0.7.0
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 +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +0 -1
- data/lib/cheesy-gallery/generator.rb +5 -3
- data/lib/cheesy-gallery/version.rb +1 -1
- data/sorbet/rbi/gems/addressable.rbi +147 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/codecov.rbi +49 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/colorator.rbi +60 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +225 -0
- data/sorbet/rbi/gems/docile.rbi +36 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/forwardable-extended.rbi +24 -0
- data/sorbet/rbi/gems/i18n.rbi +108 -0
- data/sorbet/rbi/gems/jekyll-sass-converter.rbi +61 -0
- data/sorbet/rbi/gems/jekyll.rbi +726 -0
- data/sorbet/rbi/gems/kramdown.rbi +250 -0
- data/sorbet/rbi/gems/liquid.rbi +649 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/parallel.rbi +83 -0
- data/sorbet/rbi/gems/parser.rbi +1950 -0
- data/sorbet/rbi/gems/pathutil.rbi +188 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +647 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
- data/sorbet/rbi/gems/rexml.rbi +605 -0
- data/sorbet/rbi/gems/rmagick.rbi +1249 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1894 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1091 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1357 -0
- data/sorbet/rbi/gems/rubocop.rbi +7923 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
- data/sorbet/rbi/gems/safe_yaml.rbi +124 -0
- data/sorbet/rbi/gems/sassc.rbi +532 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +419 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +22 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +3569 -24800
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7254 -39093
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +7799 -0
- data/sorbet/rbi/todo.rbi +6 -0
- metadata +44 -4
- data/Gemfile.lock +0 -134
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
@@ -0,0 +1,60 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/colorator/all/colorator.rbi
|
9
|
+
#
|
10
|
+
# colorator-1.1.0
|
11
|
+
|
12
|
+
class String
|
13
|
+
def ansi_jump(*args); end
|
14
|
+
def black(*args); end
|
15
|
+
def blue(*args); end
|
16
|
+
def bold(*args); end
|
17
|
+
def clear_line(*args); end
|
18
|
+
def clear_screen(*args); end
|
19
|
+
def colorize(*args); end
|
20
|
+
def cyan(*args); end
|
21
|
+
def green(*args); end
|
22
|
+
def has_ansi?(*args); end
|
23
|
+
def has_color?(*args); end
|
24
|
+
def magenta(*args); end
|
25
|
+
def red(*args); end
|
26
|
+
def reset_ansi(*args); end
|
27
|
+
def reset_color(*args); end
|
28
|
+
def strip_ansi(*args); end
|
29
|
+
def strip_color(*args); end
|
30
|
+
def white(*args); end
|
31
|
+
def yellow(*args); end
|
32
|
+
end
|
33
|
+
module Colorator
|
34
|
+
def ansi_jump(str, num); end
|
35
|
+
def clear_line(str = nil); end
|
36
|
+
def clear_screen(str = nil); end
|
37
|
+
def colorize(str = nil, color); end
|
38
|
+
def has_ansi?(str); end
|
39
|
+
def reset_ansi(str = nil); end
|
40
|
+
def self.ansi_jump(str, num); end
|
41
|
+
def self.black(str); end
|
42
|
+
def self.blue(str); end
|
43
|
+
def self.bold(str); end
|
44
|
+
def self.clear_line(str = nil); end
|
45
|
+
def self.clear_screen(str = nil); end
|
46
|
+
def self.colorize(str = nil, color); end
|
47
|
+
def self.cyan(str); end
|
48
|
+
def self.green(str); end
|
49
|
+
def self.has_ansi?(str); end
|
50
|
+
def self.has_color?(str); end
|
51
|
+
def self.magenta(str); end
|
52
|
+
def self.red(str); end
|
53
|
+
def self.reset_ansi(str = nil); end
|
54
|
+
def self.reset_color(str = nil); end
|
55
|
+
def self.strip_ansi(str); end
|
56
|
+
def self.strip_color(str); end
|
57
|
+
def self.white(str); end
|
58
|
+
def self.yellow(str); end
|
59
|
+
def strip_ansi(str); end
|
60
|
+
end
|
@@ -0,0 +1,225 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/concurrent-ruby/all/concurrent-ruby.rbi
|
9
|
+
#
|
10
|
+
# concurrent-ruby-1.1.8
|
11
|
+
|
12
|
+
module Concurrent
|
13
|
+
extend Concurrent::Utility::EngineDetector
|
14
|
+
extend Concurrent::Utility::NativeExtensionLoader
|
15
|
+
end
|
16
|
+
module Concurrent::Utility
|
17
|
+
end
|
18
|
+
module Concurrent::Utility::EngineDetector
|
19
|
+
def on_cruby?; end
|
20
|
+
def on_jruby?; end
|
21
|
+
def on_jruby_9000?; end
|
22
|
+
def on_linux?; end
|
23
|
+
def on_osx?; end
|
24
|
+
def on_rbx?; end
|
25
|
+
def on_truffleruby?; end
|
26
|
+
def on_windows?; end
|
27
|
+
def ruby_engine; end
|
28
|
+
def ruby_version(version = nil, comparison, major, minor, patch); end
|
29
|
+
end
|
30
|
+
module Concurrent::Synchronization
|
31
|
+
end
|
32
|
+
class Concurrent::Synchronization::AbstractObject
|
33
|
+
def full_memory_barrier; end
|
34
|
+
def initialize; end
|
35
|
+
def self.attr_volatile(*names); end
|
36
|
+
end
|
37
|
+
module Concurrent::Utility::NativeExtensionLoader
|
38
|
+
def allow_c_extensions?; end
|
39
|
+
def c_extensions_loaded?; end
|
40
|
+
def java_extensions_loaded?; end
|
41
|
+
def load_error_path(error); end
|
42
|
+
def load_native_extensions; end
|
43
|
+
def set_c_extensions_loaded; end
|
44
|
+
def set_java_extensions_loaded; end
|
45
|
+
def try_load_c_extension(path); end
|
46
|
+
end
|
47
|
+
module Concurrent::Synchronization::MriAttrVolatile
|
48
|
+
def full_memory_barrier; end
|
49
|
+
def self.included(base); end
|
50
|
+
end
|
51
|
+
module Concurrent::Synchronization::MriAttrVolatile::ClassMethods
|
52
|
+
def attr_volatile(*names); end
|
53
|
+
end
|
54
|
+
class Concurrent::Synchronization::MriObject < Concurrent::Synchronization::AbstractObject
|
55
|
+
def initialize; end
|
56
|
+
extend Concurrent::Synchronization::MriAttrVolatile::ClassMethods
|
57
|
+
include Concurrent::Synchronization::MriAttrVolatile
|
58
|
+
end
|
59
|
+
module Concurrent::Synchronization::RbxAttrVolatile
|
60
|
+
def full_memory_barrier; end
|
61
|
+
def self.included(base); end
|
62
|
+
end
|
63
|
+
module Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
|
64
|
+
def attr_volatile(*names); end
|
65
|
+
end
|
66
|
+
class Concurrent::Synchronization::RbxObject < Concurrent::Synchronization::AbstractObject
|
67
|
+
def initialize; end
|
68
|
+
extend Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
|
69
|
+
include Concurrent::Synchronization::RbxAttrVolatile
|
70
|
+
end
|
71
|
+
module Concurrent::Synchronization::TruffleRubyAttrVolatile
|
72
|
+
def full_memory_barrier; end
|
73
|
+
def self.included(base); end
|
74
|
+
end
|
75
|
+
module Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
|
76
|
+
def attr_volatile(*names); end
|
77
|
+
end
|
78
|
+
class Concurrent::Synchronization::TruffleRubyObject < Concurrent::Synchronization::AbstractObject
|
79
|
+
def initialize; end
|
80
|
+
extend Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
|
81
|
+
include Concurrent::Synchronization::TruffleRubyAttrVolatile
|
82
|
+
end
|
83
|
+
class Concurrent::Synchronization::Object < Concurrent::Synchronization::MriObject
|
84
|
+
def __initialize_atomic_fields__; end
|
85
|
+
def initialize; end
|
86
|
+
def self.atomic_attribute?(name); end
|
87
|
+
def self.atomic_attributes(inherited = nil); end
|
88
|
+
def self.attr_atomic(*names); end
|
89
|
+
def self.define_initialize_atomic_fields; end
|
90
|
+
def self.ensure_safe_initialization_when_final_fields_are_present; end
|
91
|
+
def self.safe_initialization!; end
|
92
|
+
def self.safe_initialization?; end
|
93
|
+
end
|
94
|
+
class Concurrent::Synchronization::AbstractLockableObject < Concurrent::Synchronization::Object
|
95
|
+
def ns_broadcast; end
|
96
|
+
def ns_signal; end
|
97
|
+
def ns_wait(timeout = nil); end
|
98
|
+
def ns_wait_until(timeout = nil, &condition); end
|
99
|
+
def synchronize; end
|
100
|
+
end
|
101
|
+
module Concurrent::Synchronization::ConditionSignalling
|
102
|
+
def ns_broadcast; end
|
103
|
+
def ns_signal; end
|
104
|
+
end
|
105
|
+
class Concurrent::Synchronization::MutexLockableObject < Concurrent::Synchronization::AbstractLockableObject
|
106
|
+
def initialize(*defaults); end
|
107
|
+
def ns_wait(timeout = nil); end
|
108
|
+
def self.new(*args, &block); end
|
109
|
+
def synchronize; end
|
110
|
+
include Concurrent::Synchronization::ConditionSignalling
|
111
|
+
end
|
112
|
+
class Concurrent::Synchronization::MonitorLockableObject < Concurrent::Synchronization::AbstractLockableObject
|
113
|
+
def initialize(*defaults); end
|
114
|
+
def ns_wait(timeout = nil); end
|
115
|
+
def self.new(*args, &block); end
|
116
|
+
def synchronize; end
|
117
|
+
include Concurrent::Synchronization::ConditionSignalling
|
118
|
+
end
|
119
|
+
class Concurrent::Synchronization::RbxLockableObject < Concurrent::Synchronization::AbstractLockableObject
|
120
|
+
def initialize(*defaults); end
|
121
|
+
def ns_broadcast; end
|
122
|
+
def ns_signal; end
|
123
|
+
def ns_wait(timeout = nil); end
|
124
|
+
def self.new(*args, &block); end
|
125
|
+
def synchronize(&block); end
|
126
|
+
end
|
127
|
+
class Concurrent::Synchronization::LockableObject < Concurrent::Synchronization::MutexLockableObject
|
128
|
+
def new_condition; end
|
129
|
+
end
|
130
|
+
class Concurrent::Synchronization::Condition < Concurrent::Synchronization::LockableObject
|
131
|
+
def broadcast; end
|
132
|
+
def initialize(lock); end
|
133
|
+
def ns_broadcast; end
|
134
|
+
def ns_signal; end
|
135
|
+
def ns_wait(timeout = nil); end
|
136
|
+
def ns_wait_until(timeout = nil, &condition); end
|
137
|
+
def self.new(*args, &block); end
|
138
|
+
def self.private_new(*args, &block); end
|
139
|
+
def signal; end
|
140
|
+
def wait(timeout = nil); end
|
141
|
+
def wait_until(timeout = nil, &condition); end
|
142
|
+
end
|
143
|
+
class Concurrent::Synchronization::Lock < Concurrent::Synchronization::LockableObject
|
144
|
+
def broadcast; end
|
145
|
+
def ns_broadcast; end
|
146
|
+
def ns_signal; end
|
147
|
+
def ns_wait(timeout = nil); end
|
148
|
+
def ns_wait_until(timeout = nil, &condition); end
|
149
|
+
def signal; end
|
150
|
+
def synchronize; end
|
151
|
+
def wait(timeout = nil); end
|
152
|
+
def wait_until(timeout = nil, &condition); end
|
153
|
+
end
|
154
|
+
module Concurrent::Collection
|
155
|
+
end
|
156
|
+
class Concurrent::Collection::NonConcurrentMapBackend
|
157
|
+
def [](key); end
|
158
|
+
def []=(key, value); end
|
159
|
+
def _get(key); end
|
160
|
+
def _set(key, value); end
|
161
|
+
def clear; end
|
162
|
+
def compute(key); end
|
163
|
+
def compute_if_absent(key); end
|
164
|
+
def compute_if_present(key); end
|
165
|
+
def delete(key); end
|
166
|
+
def delete_pair(key, value); end
|
167
|
+
def dupped_backend; end
|
168
|
+
def each_pair; end
|
169
|
+
def get_and_set(key, value); end
|
170
|
+
def get_or_default(key, default_value); end
|
171
|
+
def initialize(options = nil); end
|
172
|
+
def initialize_copy(other); end
|
173
|
+
def key?(key); end
|
174
|
+
def merge_pair(key, value); end
|
175
|
+
def pair?(key, expected_value); end
|
176
|
+
def replace_if_exists(key, new_value); end
|
177
|
+
def replace_pair(key, old_value, new_value); end
|
178
|
+
def size; end
|
179
|
+
def store_computed_value(key, new_value); end
|
180
|
+
end
|
181
|
+
class Concurrent::Collection::MriMapBackend < Concurrent::Collection::NonConcurrentMapBackend
|
182
|
+
def []=(key, value); end
|
183
|
+
def clear; end
|
184
|
+
def compute(key); end
|
185
|
+
def compute_if_absent(key); end
|
186
|
+
def compute_if_present(key); end
|
187
|
+
def delete(key); end
|
188
|
+
def delete_pair(key, value); end
|
189
|
+
def get_and_set(key, value); end
|
190
|
+
def initialize(options = nil); end
|
191
|
+
def merge_pair(key, value); end
|
192
|
+
def replace_if_exists(key, new_value); end
|
193
|
+
def replace_pair(key, old_value, new_value); end
|
194
|
+
end
|
195
|
+
class Concurrent::Map < Concurrent::Collection::MriMapBackend
|
196
|
+
def [](key); end
|
197
|
+
def each; end
|
198
|
+
def each_key; end
|
199
|
+
def each_pair; end
|
200
|
+
def each_value; end
|
201
|
+
def empty?; end
|
202
|
+
def fetch(key, default_value = nil); end
|
203
|
+
def fetch_or_store(key, default_value = nil); end
|
204
|
+
def get(key); end
|
205
|
+
def initialize(options = nil, &block); end
|
206
|
+
def initialize_copy(other); end
|
207
|
+
def inspect; end
|
208
|
+
def key(value); end
|
209
|
+
def keys; end
|
210
|
+
def marshal_dump; end
|
211
|
+
def marshal_load(hash); end
|
212
|
+
def populate_from(hash); end
|
213
|
+
def put(key, value); end
|
214
|
+
def put_if_absent(key, value); end
|
215
|
+
def raise_fetch_no_key; end
|
216
|
+
def validate_options_hash!(options); end
|
217
|
+
def value?(value); end
|
218
|
+
def values; end
|
219
|
+
end
|
220
|
+
module Concurrent::ThreadSafe
|
221
|
+
end
|
222
|
+
module Concurrent::ThreadSafe::Util
|
223
|
+
end
|
224
|
+
class Concurrent::Hash < Hash
|
225
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/docile/all/docile.rbi
|
9
|
+
#
|
10
|
+
# docile-1.3.5
|
11
|
+
|
12
|
+
module Docile
|
13
|
+
def dsl_eval(dsl, *args, &block); end
|
14
|
+
def dsl_eval_immutable(dsl, *args, &block); end
|
15
|
+
def dsl_eval_with_block_return(dsl, *args, &block); end
|
16
|
+
def self.dsl_eval(dsl, *args, &block); end
|
17
|
+
def self.dsl_eval_immutable(dsl, *args, &block); end
|
18
|
+
def self.dsl_eval_with_block_return(dsl, *args, &block); end
|
19
|
+
extend Docile::Execution
|
20
|
+
end
|
21
|
+
module Docile::Execution
|
22
|
+
def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
|
23
|
+
def self.exec_in_proxy_context(dsl, proxy_type, *args, &block); end
|
24
|
+
end
|
25
|
+
class Docile::FallbackContextProxy
|
26
|
+
def initialize(receiver, fallback); end
|
27
|
+
def instance_variables; end
|
28
|
+
def method_missing(method, *args, &block); end
|
29
|
+
end
|
30
|
+
class Docile::ChainingFallbackContextProxy < Docile::FallbackContextProxy
|
31
|
+
def method_missing(method, *args, &block); end
|
32
|
+
end
|
33
|
+
module Docile::BacktraceFilter
|
34
|
+
def backtrace; end
|
35
|
+
def backtrace_locations; end
|
36
|
+
end
|
@@ -0,0 +1,560 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ffi/all/ffi.rbi
|
9
|
+
#
|
10
|
+
# ffi-1.15.0
|
11
|
+
|
12
|
+
class FFI::Type
|
13
|
+
def alignment; end
|
14
|
+
def initialize(arg0); end
|
15
|
+
def inspect; end
|
16
|
+
def size; end
|
17
|
+
end
|
18
|
+
class FFI::Type::Builtin < FFI::Type
|
19
|
+
def inspect; end
|
20
|
+
end
|
21
|
+
class FFI::ArrayType < FFI::Type
|
22
|
+
def elem_type; end
|
23
|
+
def initialize(arg0, arg1); end
|
24
|
+
def length; end
|
25
|
+
end
|
26
|
+
module FFI::LastError
|
27
|
+
def error; end
|
28
|
+
def error=(arg0); end
|
29
|
+
def self.error; end
|
30
|
+
def self.error=(arg0); end
|
31
|
+
end
|
32
|
+
class FFI::AbstractMemory
|
33
|
+
def [](arg0); end
|
34
|
+
def __copy_from__(arg0, arg1); end
|
35
|
+
def clear; end
|
36
|
+
def get(arg0, arg1); end
|
37
|
+
def get_array_of_char(arg0, arg1); end
|
38
|
+
def get_array_of_double(arg0, arg1); end
|
39
|
+
def get_array_of_float(arg0, arg1); end
|
40
|
+
def get_array_of_float32(arg0, arg1); end
|
41
|
+
def get_array_of_float64(arg0, arg1); end
|
42
|
+
def get_array_of_int(arg0, arg1); end
|
43
|
+
def get_array_of_int16(arg0, arg1); end
|
44
|
+
def get_array_of_int32(arg0, arg1); end
|
45
|
+
def get_array_of_int64(arg0, arg1); end
|
46
|
+
def get_array_of_int8(arg0, arg1); end
|
47
|
+
def get_array_of_long(arg0, arg1); end
|
48
|
+
def get_array_of_long_long(arg0, arg1); end
|
49
|
+
def get_array_of_pointer(arg0, arg1); end
|
50
|
+
def get_array_of_short(arg0, arg1); end
|
51
|
+
def get_array_of_string(*arg0); end
|
52
|
+
def get_array_of_uchar(arg0, arg1); end
|
53
|
+
def get_array_of_uint(arg0, arg1); end
|
54
|
+
def get_array_of_uint16(arg0, arg1); end
|
55
|
+
def get_array_of_uint32(arg0, arg1); end
|
56
|
+
def get_array_of_uint64(arg0, arg1); end
|
57
|
+
def get_array_of_uint8(arg0, arg1); end
|
58
|
+
def get_array_of_ulong(arg0, arg1); end
|
59
|
+
def get_array_of_ulong_long(arg0, arg1); end
|
60
|
+
def get_array_of_ushort(arg0, arg1); end
|
61
|
+
def get_bytes(arg0, arg1); end
|
62
|
+
def get_char(arg0); end
|
63
|
+
def get_double(arg0); end
|
64
|
+
def get_float(arg0); end
|
65
|
+
def get_float32(arg0); end
|
66
|
+
def get_float64(arg0); end
|
67
|
+
def get_int(arg0); end
|
68
|
+
def get_int16(arg0); end
|
69
|
+
def get_int32(arg0); end
|
70
|
+
def get_int64(arg0); end
|
71
|
+
def get_int8(arg0); end
|
72
|
+
def get_long(arg0); end
|
73
|
+
def get_long_long(arg0); end
|
74
|
+
def get_pointer(arg0); end
|
75
|
+
def get_short(arg0); end
|
76
|
+
def get_string(*arg0); end
|
77
|
+
def get_uchar(arg0); end
|
78
|
+
def get_uint(arg0); end
|
79
|
+
def get_uint16(arg0); end
|
80
|
+
def get_uint32(arg0); end
|
81
|
+
def get_uint64(arg0); end
|
82
|
+
def get_uint8(arg0); end
|
83
|
+
def get_ulong(arg0); end
|
84
|
+
def get_ulong_long(arg0); end
|
85
|
+
def get_ushort(arg0); end
|
86
|
+
def put(arg0, arg1, arg2); end
|
87
|
+
def put_array_of_char(arg0, arg1); end
|
88
|
+
def put_array_of_double(arg0, arg1); end
|
89
|
+
def put_array_of_float(arg0, arg1); end
|
90
|
+
def put_array_of_float32(arg0, arg1); end
|
91
|
+
def put_array_of_float64(arg0, arg1); end
|
92
|
+
def put_array_of_int(arg0, arg1); end
|
93
|
+
def put_array_of_int16(arg0, arg1); end
|
94
|
+
def put_array_of_int32(arg0, arg1); end
|
95
|
+
def put_array_of_int64(arg0, arg1); end
|
96
|
+
def put_array_of_int8(arg0, arg1); end
|
97
|
+
def put_array_of_long(arg0, arg1); end
|
98
|
+
def put_array_of_long_long(arg0, arg1); end
|
99
|
+
def put_array_of_pointer(arg0, arg1); end
|
100
|
+
def put_array_of_short(arg0, arg1); end
|
101
|
+
def put_array_of_uchar(arg0, arg1); end
|
102
|
+
def put_array_of_uint(arg0, arg1); end
|
103
|
+
def put_array_of_uint16(arg0, arg1); end
|
104
|
+
def put_array_of_uint32(arg0, arg1); end
|
105
|
+
def put_array_of_uint64(arg0, arg1); end
|
106
|
+
def put_array_of_uint8(arg0, arg1); end
|
107
|
+
def put_array_of_ulong(arg0, arg1); end
|
108
|
+
def put_array_of_ulong_long(arg0, arg1); end
|
109
|
+
def put_array_of_ushort(arg0, arg1); end
|
110
|
+
def put_bytes(*arg0); end
|
111
|
+
def put_char(arg0, arg1); end
|
112
|
+
def put_double(arg0, arg1); end
|
113
|
+
def put_float(arg0, arg1); end
|
114
|
+
def put_float32(arg0, arg1); end
|
115
|
+
def put_float64(arg0, arg1); end
|
116
|
+
def put_int(arg0, arg1); end
|
117
|
+
def put_int16(arg0, arg1); end
|
118
|
+
def put_int32(arg0, arg1); end
|
119
|
+
def put_int64(arg0, arg1); end
|
120
|
+
def put_int8(arg0, arg1); end
|
121
|
+
def put_long(arg0, arg1); end
|
122
|
+
def put_long_long(arg0, arg1); end
|
123
|
+
def put_pointer(arg0, arg1); end
|
124
|
+
def put_short(arg0, arg1); end
|
125
|
+
def put_string(arg0, arg1); end
|
126
|
+
def put_uchar(arg0, arg1); end
|
127
|
+
def put_uint(arg0, arg1); end
|
128
|
+
def put_uint16(arg0, arg1); end
|
129
|
+
def put_uint32(arg0, arg1); end
|
130
|
+
def put_uint64(arg0, arg1); end
|
131
|
+
def put_uint8(arg0, arg1); end
|
132
|
+
def put_ulong(arg0, arg1); end
|
133
|
+
def put_ulong_long(arg0, arg1); end
|
134
|
+
def put_ushort(arg0, arg1); end
|
135
|
+
def read_array_of_char(arg0); end
|
136
|
+
def read_array_of_double(arg0); end
|
137
|
+
def read_array_of_float(arg0); end
|
138
|
+
def read_array_of_int(arg0); end
|
139
|
+
def read_array_of_int16(arg0); end
|
140
|
+
def read_array_of_int32(arg0); end
|
141
|
+
def read_array_of_int64(arg0); end
|
142
|
+
def read_array_of_int8(arg0); end
|
143
|
+
def read_array_of_long(arg0); end
|
144
|
+
def read_array_of_long_long(arg0); end
|
145
|
+
def read_array_of_pointer(arg0); end
|
146
|
+
def read_array_of_short(arg0); end
|
147
|
+
def read_array_of_uchar(arg0); end
|
148
|
+
def read_array_of_uint(arg0); end
|
149
|
+
def read_array_of_uint16(arg0); end
|
150
|
+
def read_array_of_uint32(arg0); end
|
151
|
+
def read_array_of_uint64(arg0); end
|
152
|
+
def read_array_of_uint8(arg0); end
|
153
|
+
def read_array_of_ulong(arg0); end
|
154
|
+
def read_array_of_ulong_long(arg0); end
|
155
|
+
def read_array_of_ushort(arg0); end
|
156
|
+
def read_bytes(arg0); end
|
157
|
+
def read_char; end
|
158
|
+
def read_double; end
|
159
|
+
def read_float; end
|
160
|
+
def read_int16; end
|
161
|
+
def read_int32; end
|
162
|
+
def read_int64; end
|
163
|
+
def read_int8; end
|
164
|
+
def read_int; end
|
165
|
+
def read_long; end
|
166
|
+
def read_long_long; end
|
167
|
+
def read_pointer; end
|
168
|
+
def read_short; end
|
169
|
+
def read_uchar; end
|
170
|
+
def read_uint16; end
|
171
|
+
def read_uint32; end
|
172
|
+
def read_uint64; end
|
173
|
+
def read_uint8; end
|
174
|
+
def read_uint; end
|
175
|
+
def read_ulong; end
|
176
|
+
def read_ulong_long; end
|
177
|
+
def read_ushort; end
|
178
|
+
def size; end
|
179
|
+
def size_limit?; end
|
180
|
+
def total; end
|
181
|
+
def type_size; end
|
182
|
+
def write_array_of_char(arg0); end
|
183
|
+
def write_array_of_double(arg0); end
|
184
|
+
def write_array_of_float(arg0); end
|
185
|
+
def write_array_of_int(arg0); end
|
186
|
+
def write_array_of_int16(arg0); end
|
187
|
+
def write_array_of_int32(arg0); end
|
188
|
+
def write_array_of_int64(arg0); end
|
189
|
+
def write_array_of_int8(arg0); end
|
190
|
+
def write_array_of_long(arg0); end
|
191
|
+
def write_array_of_long_long(arg0); end
|
192
|
+
def write_array_of_pointer(arg0); end
|
193
|
+
def write_array_of_short(arg0); end
|
194
|
+
def write_array_of_uchar(arg0); end
|
195
|
+
def write_array_of_uint(arg0); end
|
196
|
+
def write_array_of_uint16(arg0); end
|
197
|
+
def write_array_of_uint32(arg0); end
|
198
|
+
def write_array_of_uint64(arg0); end
|
199
|
+
def write_array_of_uint8(arg0); end
|
200
|
+
def write_array_of_ulong(arg0); end
|
201
|
+
def write_array_of_ulong_long(arg0); end
|
202
|
+
def write_array_of_ushort(arg0); end
|
203
|
+
def write_bytes(*arg0); end
|
204
|
+
def write_char(arg0); end
|
205
|
+
def write_double(arg0); end
|
206
|
+
def write_float(arg0); end
|
207
|
+
def write_int(arg0); end
|
208
|
+
def write_int16(arg0); end
|
209
|
+
def write_int32(arg0); end
|
210
|
+
def write_int64(arg0); end
|
211
|
+
def write_int8(arg0); end
|
212
|
+
def write_long(arg0); end
|
213
|
+
def write_long_long(arg0); end
|
214
|
+
def write_pointer(arg0); end
|
215
|
+
def write_short(arg0); end
|
216
|
+
def write_uchar(arg0); end
|
217
|
+
def write_uint(arg0); end
|
218
|
+
def write_uint16(arg0); end
|
219
|
+
def write_uint32(arg0); end
|
220
|
+
def write_uint64(arg0); end
|
221
|
+
def write_uint8(arg0); end
|
222
|
+
def write_ulong(arg0); end
|
223
|
+
def write_ulong_long(arg0); end
|
224
|
+
def write_ushort(arg0); end
|
225
|
+
end
|
226
|
+
class FFI::Pointer < FFI::AbstractMemory
|
227
|
+
def +(arg0); end
|
228
|
+
def ==(arg0); end
|
229
|
+
def address; end
|
230
|
+
def autorelease=(arg0); end
|
231
|
+
def autorelease?; end
|
232
|
+
def free; end
|
233
|
+
def initialize(*arg0); end
|
234
|
+
def initialize_copy(arg0); end
|
235
|
+
def inspect; end
|
236
|
+
def null?; end
|
237
|
+
def order(*arg0); end
|
238
|
+
def read(type); end
|
239
|
+
def read_array_of_type(type, reader, length); end
|
240
|
+
def read_string(len = nil); end
|
241
|
+
def read_string_length(len); end
|
242
|
+
def read_string_to_null; end
|
243
|
+
def self.size; end
|
244
|
+
def slice(arg0, arg1); end
|
245
|
+
def to_i; end
|
246
|
+
def to_ptr; end
|
247
|
+
def to_s; end
|
248
|
+
def type_size; end
|
249
|
+
def write(type, value); end
|
250
|
+
def write_array_of_type(type, writer, ary); end
|
251
|
+
def write_string(str, len = nil); end
|
252
|
+
def write_string_length(str, len); end
|
253
|
+
end
|
254
|
+
class FFI::FunctionType < FFI::Type
|
255
|
+
def initialize(*arg0); end
|
256
|
+
def param_types; end
|
257
|
+
def result_type; end
|
258
|
+
end
|
259
|
+
class FFI::Function < FFI::Pointer
|
260
|
+
def attach(arg0, arg1); end
|
261
|
+
def autorelease; end
|
262
|
+
def autorelease=(arg0); end
|
263
|
+
def autorelease?; end
|
264
|
+
def call(*arg0); end
|
265
|
+
def free; end
|
266
|
+
def initialize(*arg0); end
|
267
|
+
def initialize_copy(arg0); end
|
268
|
+
end
|
269
|
+
class FFI::MemoryPointer < FFI::Pointer
|
270
|
+
def initialize(*arg0); end
|
271
|
+
def self.from_string(arg0); end
|
272
|
+
end
|
273
|
+
class FFI::Buffer < FFI::AbstractMemory
|
274
|
+
def +(arg0); end
|
275
|
+
def initialize(*arg0); end
|
276
|
+
def initialize_copy(arg0); end
|
277
|
+
def inspect; end
|
278
|
+
def length; end
|
279
|
+
def order(*arg0); end
|
280
|
+
def self.alloc_in(*arg0); end
|
281
|
+
def self.alloc_inout(*arg0); end
|
282
|
+
def self.alloc_out(*arg0); end
|
283
|
+
def self.new_in(*arg0); end
|
284
|
+
def self.new_inout(*arg0); end
|
285
|
+
def self.new_out(*arg0); end
|
286
|
+
def slice(arg0, arg1); end
|
287
|
+
end
|
288
|
+
class FFI::StructByValue < FFI::Type
|
289
|
+
def initialize(arg0); end
|
290
|
+
def layout; end
|
291
|
+
def struct_class; end
|
292
|
+
end
|
293
|
+
class FFI::StructLayout::Field
|
294
|
+
def alignment; end
|
295
|
+
def get(arg0); end
|
296
|
+
def initialize(*arg0); end
|
297
|
+
def name; end
|
298
|
+
def offset; end
|
299
|
+
def put(arg0, arg1); end
|
300
|
+
def size; end
|
301
|
+
def type; end
|
302
|
+
end
|
303
|
+
class FFI::StructLayout::Function < FFI::StructLayout::Field
|
304
|
+
def get(arg0); end
|
305
|
+
def put(arg0, arg1); end
|
306
|
+
end
|
307
|
+
class FFI::StructLayout::Array < FFI::StructLayout::Field
|
308
|
+
def get(arg0); end
|
309
|
+
def put(arg0, arg1); end
|
310
|
+
end
|
311
|
+
class FFI::StructLayout < FFI::Type
|
312
|
+
def [](arg0); end
|
313
|
+
def __union!; end
|
314
|
+
def fields; end
|
315
|
+
def initialize(arg0, arg1, arg2); end
|
316
|
+
def members; end
|
317
|
+
def offset_of(field_name); end
|
318
|
+
def offsets; end
|
319
|
+
def to_a; end
|
320
|
+
end
|
321
|
+
class FFI::Struct
|
322
|
+
def [](arg0); end
|
323
|
+
def []=(arg0, arg1); end
|
324
|
+
def align; end
|
325
|
+
def alignment; end
|
326
|
+
def clear; end
|
327
|
+
def initialize(*arg0); end
|
328
|
+
def initialize_copy(arg0); end
|
329
|
+
def layout; end
|
330
|
+
def layout=(arg0); end
|
331
|
+
def members; end
|
332
|
+
def null?; end
|
333
|
+
def offset_of(name); end
|
334
|
+
def offsets; end
|
335
|
+
def order(*arg0); end
|
336
|
+
def pointer; end
|
337
|
+
def pointer=(arg0); end
|
338
|
+
def self.align(alignment = nil); end
|
339
|
+
def self.aligned(alignment = nil); end
|
340
|
+
def self.alignment; end
|
341
|
+
def self.alloc_in(*arg0); end
|
342
|
+
def self.alloc_inout(*arg0); end
|
343
|
+
def self.alloc_out(*arg0); end
|
344
|
+
def self.array_layout(builder, spec); end
|
345
|
+
def self.auto_ptr; end
|
346
|
+
def self.by_ref(flags = nil); end
|
347
|
+
def self.by_value; end
|
348
|
+
def self.callback(params, ret); end
|
349
|
+
def self.enclosing_module; end
|
350
|
+
def self.find_field_type(type, mod = nil); end
|
351
|
+
def self.find_type(type, mod = nil); end
|
352
|
+
def self.hash_layout(builder, spec); end
|
353
|
+
def self.in; end
|
354
|
+
def self.layout(*spec); end
|
355
|
+
def self.members; end
|
356
|
+
def self.new_in(*arg0); end
|
357
|
+
def self.new_inout(*arg0); end
|
358
|
+
def self.new_out(*arg0); end
|
359
|
+
def self.offset_of(name); end
|
360
|
+
def self.offsets; end
|
361
|
+
def self.out; end
|
362
|
+
def self.pack(packed = nil); end
|
363
|
+
def self.packed(packed = nil); end
|
364
|
+
def self.ptr(flags = nil); end
|
365
|
+
def self.size; end
|
366
|
+
def self.size=(size); end
|
367
|
+
def self.val; end
|
368
|
+
def size; end
|
369
|
+
def to_ptr; end
|
370
|
+
def values; end
|
371
|
+
end
|
372
|
+
class FFI::Struct::InlineArray
|
373
|
+
def [](arg0); end
|
374
|
+
def []=(arg0, arg1); end
|
375
|
+
def each; end
|
376
|
+
def initialize(arg0, arg1); end
|
377
|
+
def size; end
|
378
|
+
def to_a; end
|
379
|
+
def to_ptr; end
|
380
|
+
end
|
381
|
+
class FFI::StructLayout::CharArray < FFI::Struct::InlineArray
|
382
|
+
def to_s; end
|
383
|
+
def to_str; end
|
384
|
+
end
|
385
|
+
class FFI::DynamicLibrary
|
386
|
+
def find_function(arg0); end
|
387
|
+
def find_symbol(arg0); end
|
388
|
+
def find_variable(arg0); end
|
389
|
+
def initialize(arg0, arg1); end
|
390
|
+
def last_error; end
|
391
|
+
def name; end
|
392
|
+
def self.last_error; end
|
393
|
+
def self.open(arg0, arg1); end
|
394
|
+
end
|
395
|
+
class FFI::DynamicLibrary::Symbol < FFI::Pointer
|
396
|
+
def initialize_copy(arg0); end
|
397
|
+
def inspect; end
|
398
|
+
end
|
399
|
+
class FFI::VariadicInvoker
|
400
|
+
def attach(mod, mname); end
|
401
|
+
def call(*args, &block); end
|
402
|
+
def initialize(arg0, arg1, arg2, arg3); end
|
403
|
+
def invoke(arg0, arg1); end
|
404
|
+
end
|
405
|
+
class FFI::Type::Mapped < FFI::Type
|
406
|
+
def from_native(*arg0); end
|
407
|
+
def initialize(arg0); end
|
408
|
+
def native_type; end
|
409
|
+
def to_native(*arg0); end
|
410
|
+
def type; end
|
411
|
+
end
|
412
|
+
module FFI
|
413
|
+
def self.add_typedef(old, add); end
|
414
|
+
def self.errno; end
|
415
|
+
def self.errno=(error); end
|
416
|
+
def self.find_type(name, type_map = nil); end
|
417
|
+
def self.map_library_name(lib); end
|
418
|
+
def self.type_size(type); end
|
419
|
+
def self.typedef(old, add); end
|
420
|
+
end
|
421
|
+
class FFI::PlatformError < LoadError
|
422
|
+
end
|
423
|
+
module FFI::Platform
|
424
|
+
def self.bsd?; end
|
425
|
+
def self.is_os(os); end
|
426
|
+
def self.mac?; end
|
427
|
+
def self.solaris?; end
|
428
|
+
def self.unix?; end
|
429
|
+
def self.windows?; end
|
430
|
+
end
|
431
|
+
module FFI::DataConverter
|
432
|
+
def from_native(value, ctx); end
|
433
|
+
def native_type(type = nil); end
|
434
|
+
def to_native(value, ctx); end
|
435
|
+
end
|
436
|
+
class FFI::StrPtrConverter
|
437
|
+
def self.from_native(val, ctx); end
|
438
|
+
extend FFI::DataConverter
|
439
|
+
end
|
440
|
+
class FFI::NotFoundError < LoadError
|
441
|
+
def initialize(function, *libraries); end
|
442
|
+
end
|
443
|
+
module FFI::Library
|
444
|
+
def attach_function(name, func, args, returns = nil, options = nil); end
|
445
|
+
def attach_variable(mname, a1, a2 = nil); end
|
446
|
+
def bitmask(*args); end
|
447
|
+
def callback(*args); end
|
448
|
+
def enum(*args); end
|
449
|
+
def enum_type(name); end
|
450
|
+
def enum_value(symbol); end
|
451
|
+
def ffi_convention(convention = nil); end
|
452
|
+
def ffi_lib(*names); end
|
453
|
+
def ffi_lib_flags(*flags); end
|
454
|
+
def ffi_libraries; end
|
455
|
+
def find_type(t); end
|
456
|
+
def function_names(name, arg_types); end
|
457
|
+
def generic_enum(klass, *args); end
|
458
|
+
def self.extended(mod); end
|
459
|
+
def typedef(old, add, info = nil); end
|
460
|
+
end
|
461
|
+
class FFI::StructLayout::Enum < FFI::StructLayout::Field
|
462
|
+
def get(ptr); end
|
463
|
+
def put(ptr, value); end
|
464
|
+
end
|
465
|
+
class FFI::StructLayout::InnerStruct < FFI::StructLayout::Field
|
466
|
+
def get(ptr); end
|
467
|
+
def put(ptr, value); end
|
468
|
+
end
|
469
|
+
class FFI::StructLayout::Mapped < FFI::StructLayout::Field
|
470
|
+
def get(ptr); end
|
471
|
+
def initialize(name, offset, type, orig_field); end
|
472
|
+
def put(ptr, value); end
|
473
|
+
end
|
474
|
+
class FFI::StructLayoutBuilder
|
475
|
+
def add(name, type, offset = nil); end
|
476
|
+
def add_array(name, type, count, offset = nil); end
|
477
|
+
def add_field(name, type, offset = nil); end
|
478
|
+
def add_struct(name, type, offset = nil); end
|
479
|
+
def align(offset, align); end
|
480
|
+
def alignment; end
|
481
|
+
def alignment=(align); end
|
482
|
+
def build; end
|
483
|
+
def field_for_type(name, offset, type); end
|
484
|
+
def initialize; end
|
485
|
+
def packed=(packed); end
|
486
|
+
def size; end
|
487
|
+
def size=(size); end
|
488
|
+
def union=(is_union); end
|
489
|
+
def union?; end
|
490
|
+
end
|
491
|
+
class FFI::StructByReference
|
492
|
+
def from_native(value, ctx); end
|
493
|
+
def initialize(struct_class); end
|
494
|
+
def native_type; end
|
495
|
+
def struct_class; end
|
496
|
+
def to_native(value, ctx); end
|
497
|
+
include FFI::DataConverter
|
498
|
+
end
|
499
|
+
class FFI::Struct::ManagedStructConverter < FFI::StructByReference
|
500
|
+
def from_native(ptr, ctx); end
|
501
|
+
def initialize(struct_class); end
|
502
|
+
end
|
503
|
+
class FFI::Union < FFI::Struct
|
504
|
+
def self.builder; end
|
505
|
+
end
|
506
|
+
class FFI::ManagedStruct < FFI::Struct
|
507
|
+
def initialize(pointer = nil); end
|
508
|
+
end
|
509
|
+
module FFI::IO
|
510
|
+
def self.for_fd(fd, mode = nil); end
|
511
|
+
def self.native_read(io, buf, len); end
|
512
|
+
end
|
513
|
+
class FFI::AutoPointer < FFI::Pointer
|
514
|
+
def autorelease=(autorelease); end
|
515
|
+
def autorelease?; end
|
516
|
+
def free; end
|
517
|
+
def initialize(ptr, proc = nil, &block); end
|
518
|
+
def self.from_native(val, ctx); end
|
519
|
+
def self.native_type; end
|
520
|
+
extend FFI::DataConverter
|
521
|
+
end
|
522
|
+
class FFI::AutoPointer::Releaser
|
523
|
+
def autorelease; end
|
524
|
+
def autorelease=(arg0); end
|
525
|
+
def call(*args); end
|
526
|
+
def free; end
|
527
|
+
def initialize(ptr, proc); end
|
528
|
+
end
|
529
|
+
class FFI::AutoPointer::DefaultReleaser < FFI::AutoPointer::Releaser
|
530
|
+
def release(ptr); end
|
531
|
+
end
|
532
|
+
class FFI::AutoPointer::CallableReleaser < FFI::AutoPointer::Releaser
|
533
|
+
def release(ptr); end
|
534
|
+
end
|
535
|
+
class FFI::Enums
|
536
|
+
def <<(enum); end
|
537
|
+
def __map_symbol(symbol); end
|
538
|
+
def find(query); end
|
539
|
+
def initialize; end
|
540
|
+
end
|
541
|
+
class FFI::Enum
|
542
|
+
def [](query); end
|
543
|
+
def find(query); end
|
544
|
+
def from_native(val, ctx); end
|
545
|
+
def initialize(*args); end
|
546
|
+
def native_type; end
|
547
|
+
def symbol_map; end
|
548
|
+
def symbols; end
|
549
|
+
def tag; end
|
550
|
+
def to_h; end
|
551
|
+
def to_hash; end
|
552
|
+
def to_native(val, ctx); end
|
553
|
+
include FFI::DataConverter
|
554
|
+
end
|
555
|
+
class FFI::Bitmask < FFI::Enum
|
556
|
+
def [](*query); end
|
557
|
+
def from_native(val, ctx); end
|
558
|
+
def initialize(*args); end
|
559
|
+
def to_native(query, ctx); end
|
560
|
+
end
|