cheesy-gallery 0.8.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yaml +20 -0
- data/.github/workflows/tests.yaml +39 -0
- data/CHANGELOG.md +16 -0
- data/README.md +40 -18
- data/cheesy-gallery.gemspec +0 -2
- data/lib/cheesy-gallery/base_image_file.rb +21 -7
- data/lib/cheesy-gallery/gallery_index.rb +2 -5
- data/lib/cheesy-gallery/generator.rb +2 -6
- data/lib/cheesy-gallery/image_file.rb +9 -7
- data/lib/cheesy-gallery/image_thumb.rb +3 -7
- data/lib/cheesy-gallery/version.rb +1 -2
- data/lib/cheesy-gallery.rb +0 -2
- metadata +6 -79
- data/.travis.yml +0 -33
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/addressable.rbi +0 -147
- data/sorbet/rbi/gems/ast.rbi +0 -49
- data/sorbet/rbi/gems/codecov.rbi +0 -49
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/colorator.rbi +0 -60
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -225
- data/sorbet/rbi/gems/docile.rbi +0 -36
- data/sorbet/rbi/gems/ffi.rbi +0 -560
- data/sorbet/rbi/gems/forwardable-extended.rbi +0 -24
- data/sorbet/rbi/gems/i18n.rbi +0 -108
- data/sorbet/rbi/gems/jekyll-sass-converter.rbi +0 -61
- data/sorbet/rbi/gems/jekyll.rbi +0 -726
- data/sorbet/rbi/gems/kramdown.rbi +0 -250
- data/sorbet/rbi/gems/liquid.rbi +0 -649
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/parallel.rbi +0 -83
- data/sorbet/rbi/gems/parser.rbi +0 -1429
- data/sorbet/rbi/gems/pathutil.rbi +0 -188
- data/sorbet/rbi/gems/pry.rbi +0 -1898
- data/sorbet/rbi/gems/public_suffix.rbi +0 -104
- data/sorbet/rbi/gems/rainbow.rbi +0 -118
- data/sorbet/rbi/gems/rake.rbi +0 -647
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -926
- data/sorbet/rbi/gems/rexml.rbi +0 -599
- data/sorbet/rbi/gems/rmagick.rbi +0 -1249
- data/sorbet/rbi/gems/rspec-core.rbi +0 -1894
- data/sorbet/rbi/gems/rspec-expectations.rbi +0 -1148
- data/sorbet/rbi/gems/rspec-mocks.rbi +0 -1091
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1357
- data/sorbet/rbi/gems/rubocop.rbi +0 -8027
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/safe_yaml.rbi +0 -124
- data/sorbet/rbi/gems/sassc.rbi +0 -532
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -419
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -22
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -6233
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -13059
- data/sorbet/rbi/rmagick.rbi +0 -18
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -1891
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +0 -7799
- data/sorbet/rbi/todo.rbi +0 -6
data/sorbet/rbi/gems/ffi.rbi
DELETED
@@ -1,560 +0,0 @@
|
|
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
|
@@ -1,24 +0,0 @@
|
|
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/forwardable-extended/all/forwardable-extended.rbi
|
9
|
-
#
|
10
|
-
# forwardable-extended-2.6.0
|
11
|
-
|
12
|
-
module Forwardable
|
13
|
-
end
|
14
|
-
module Forwardable::Extended
|
15
|
-
def def_delegator(accessor, method, alias_ = nil, **kwd); end
|
16
|
-
def def_delegators(accessor, *methods); end
|
17
|
-
def def_hash_delegator(hash, method, key: nil, **kwd); end
|
18
|
-
def def_ivar_delegator(ivar, alias_ = nil, **kwd); end
|
19
|
-
def def_modern_delegator(accessor, method, alias_ = nil, args: nil, **kwd); end
|
20
|
-
def delegate_debug(str); end
|
21
|
-
def prepare_delegate(wrap: nil, bool: nil); end
|
22
|
-
def rb_delegate(method, to: nil, alias_of: nil, **kwd); end
|
23
|
-
def self.extended(klass); end
|
24
|
-
end
|
data/sorbet/rbi/gems/i18n.rbi
DELETED
@@ -1,108 +0,0 @@
|
|
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/i18n/all/i18n.rbi
|
9
|
-
#
|
10
|
-
# i18n-1.8.10
|
11
|
-
|
12
|
-
module I18n
|
13
|
-
def self.interpolate(string, values); end
|
14
|
-
def self.interpolate_hash(string, values); end
|
15
|
-
def self.new_double_nested_cache; end
|
16
|
-
extend I18n::Base
|
17
|
-
end
|
18
|
-
class I18n::ExceptionHandler
|
19
|
-
def call(exception, _locale, _key, _options); end
|
20
|
-
end
|
21
|
-
class I18n::ArgumentError < ArgumentError
|
22
|
-
end
|
23
|
-
class I18n::Disabled < I18n::ArgumentError
|
24
|
-
def initialize(method); end
|
25
|
-
end
|
26
|
-
class I18n::InvalidLocale < I18n::ArgumentError
|
27
|
-
def initialize(locale); end
|
28
|
-
def locale; end
|
29
|
-
end
|
30
|
-
class I18n::InvalidLocaleData < I18n::ArgumentError
|
31
|
-
def filename; end
|
32
|
-
def initialize(filename, exception_message); end
|
33
|
-
end
|
34
|
-
class I18n::MissingTranslation < I18n::ArgumentError
|
35
|
-
include I18n::MissingTranslation::Base
|
36
|
-
end
|
37
|
-
module I18n::MissingTranslation::Base
|
38
|
-
def initialize(locale, key, options = nil); end
|
39
|
-
def key; end
|
40
|
-
def keys; end
|
41
|
-
def locale; end
|
42
|
-
def message; end
|
43
|
-
def options; end
|
44
|
-
def to_exception; end
|
45
|
-
def to_s; end
|
46
|
-
end
|
47
|
-
class I18n::MissingTranslationData < I18n::ArgumentError
|
48
|
-
include I18n::MissingTranslation::Base
|
49
|
-
end
|
50
|
-
class I18n::InvalidPluralizationData < I18n::ArgumentError
|
51
|
-
def count; end
|
52
|
-
def entry; end
|
53
|
-
def initialize(entry, count, key); end
|
54
|
-
def key; end
|
55
|
-
end
|
56
|
-
class I18n::MissingInterpolationArgument < I18n::ArgumentError
|
57
|
-
def initialize(key, values, string); end
|
58
|
-
def key; end
|
59
|
-
def string; end
|
60
|
-
def values; end
|
61
|
-
end
|
62
|
-
class I18n::ReservedInterpolationKey < I18n::ArgumentError
|
63
|
-
def initialize(key, string); end
|
64
|
-
def key; end
|
65
|
-
def string; end
|
66
|
-
end
|
67
|
-
class I18n::UnknownFileType < I18n::ArgumentError
|
68
|
-
def filename; end
|
69
|
-
def initialize(type, filename); end
|
70
|
-
def type; end
|
71
|
-
end
|
72
|
-
module I18n::Base
|
73
|
-
def available_locales; end
|
74
|
-
def available_locales=(value); end
|
75
|
-
def available_locales_initialized?; end
|
76
|
-
def backend; end
|
77
|
-
def backend=(value); end
|
78
|
-
def config; end
|
79
|
-
def config=(value); end
|
80
|
-
def default_locale; end
|
81
|
-
def default_locale=(value); end
|
82
|
-
def default_separator; end
|
83
|
-
def default_separator=(value); end
|
84
|
-
def eager_load!; end
|
85
|
-
def enforce_available_locales!(locale); end
|
86
|
-
def enforce_available_locales; end
|
87
|
-
def enforce_available_locales=(value); end
|
88
|
-
def exception_handler; end
|
89
|
-
def exception_handler=(value); end
|
90
|
-
def exists?(key, _locale = nil, locale: nil, **options); end
|
91
|
-
def handle_exception(handling, exception, locale, key, options); end
|
92
|
-
def l(object, locale: nil, format: nil, **options); end
|
93
|
-
def load_path; end
|
94
|
-
def load_path=(value); end
|
95
|
-
def locale; end
|
96
|
-
def locale=(value); end
|
97
|
-
def locale_available?(locale); end
|
98
|
-
def localize(object, locale: nil, format: nil, **options); end
|
99
|
-
def normalize_key(key, separator); end
|
100
|
-
def normalize_keys(locale, key, scope, separator = nil); end
|
101
|
-
def reload!; end
|
102
|
-
def t!(key, **options); end
|
103
|
-
def t(key = nil, throw: nil, raise: nil, locale: nil, **options); end
|
104
|
-
def translate!(key, **options); end
|
105
|
-
def translate(key = nil, throw: nil, raise: nil, locale: nil, **options); end
|
106
|
-
def transliterate(key, throw: nil, raise: nil, locale: nil, replacement: nil, **options); end
|
107
|
-
def with_locale(tmp_locale = nil); end
|
108
|
-
end
|