cheesy-gallery 1.1.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 +5 -0
- data/cheesy-gallery.gemspec +0 -2
- data/lib/cheesy-gallery/base_image_file.rb +2 -9
- data/lib/cheesy-gallery/gallery_index.rb +2 -5
- data/lib/cheesy-gallery/generator.rb +1 -5
- data/lib/cheesy-gallery/image_file.rb +4 -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 +5 -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/liquid.rbi
DELETED
@@ -1,649 +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/liquid/all/liquid.rbi
|
9
|
-
#
|
10
|
-
# liquid-4.0.3
|
11
|
-
|
12
|
-
module Liquid
|
13
|
-
def self.cache_classes; end
|
14
|
-
def self.cache_classes=(arg0); end
|
15
|
-
end
|
16
|
-
class Liquid::ParseTreeVisitor
|
17
|
-
def add_callback_for(*classes, &block); end
|
18
|
-
def children; end
|
19
|
-
def initialize(node, callbacks); end
|
20
|
-
def self.for(node, callbacks = nil); end
|
21
|
-
def visit(context = nil); end
|
22
|
-
end
|
23
|
-
class Liquid::Lexer
|
24
|
-
def initialize(input); end
|
25
|
-
def tokenize; end
|
26
|
-
end
|
27
|
-
class Liquid::Parser
|
28
|
-
def argument; end
|
29
|
-
def consume(type = nil); end
|
30
|
-
def consume?(type); end
|
31
|
-
def expression; end
|
32
|
-
def id?(str); end
|
33
|
-
def initialize(input); end
|
34
|
-
def jump(point); end
|
35
|
-
def look(type, ahead = nil); end
|
36
|
-
def variable_signature; end
|
37
|
-
end
|
38
|
-
class Liquid::I18n
|
39
|
-
def deep_fetch_translation(name); end
|
40
|
-
def initialize(path = nil); end
|
41
|
-
def interpolate(name, vars); end
|
42
|
-
def locale; end
|
43
|
-
def path; end
|
44
|
-
def t(name, vars = nil); end
|
45
|
-
def translate(name, vars = nil); end
|
46
|
-
end
|
47
|
-
class Liquid::I18n::TranslationError < StandardError
|
48
|
-
end
|
49
|
-
class Liquid::Drop
|
50
|
-
def [](method_or_key); end
|
51
|
-
def context=(arg0); end
|
52
|
-
def inspect; end
|
53
|
-
def invoke_drop(method_or_key); end
|
54
|
-
def key?(_name); end
|
55
|
-
def liquid_method_missing(method); end
|
56
|
-
def self.invokable?(method_name); end
|
57
|
-
def self.invokable_methods; end
|
58
|
-
def to_liquid; end
|
59
|
-
def to_s; end
|
60
|
-
end
|
61
|
-
class Liquid::TablerowloopDrop < Liquid::Drop
|
62
|
-
def col0; end
|
63
|
-
def col; end
|
64
|
-
def col_first; end
|
65
|
-
def col_last; end
|
66
|
-
def first; end
|
67
|
-
def increment!; end
|
68
|
-
def index0; end
|
69
|
-
def index; end
|
70
|
-
def initialize(length, cols); end
|
71
|
-
def last; end
|
72
|
-
def length; end
|
73
|
-
def rindex0; end
|
74
|
-
def rindex; end
|
75
|
-
def row; end
|
76
|
-
end
|
77
|
-
class Liquid::ForloopDrop < Liquid::Drop
|
78
|
-
def first; end
|
79
|
-
def increment!; end
|
80
|
-
def index0; end
|
81
|
-
def index; end
|
82
|
-
def initialize(name, length, parentloop); end
|
83
|
-
def last; end
|
84
|
-
def length; end
|
85
|
-
def name; end
|
86
|
-
def parentloop; end
|
87
|
-
def rindex0; end
|
88
|
-
def rindex; end
|
89
|
-
end
|
90
|
-
class String
|
91
|
-
def to_liquid; end
|
92
|
-
end
|
93
|
-
class Symbol
|
94
|
-
def to_liquid; end
|
95
|
-
end
|
96
|
-
class Array
|
97
|
-
def to_liquid; end
|
98
|
-
end
|
99
|
-
class Hash
|
100
|
-
def to_liquid; end
|
101
|
-
end
|
102
|
-
class Numeric
|
103
|
-
def to_liquid; end
|
104
|
-
end
|
105
|
-
class Range
|
106
|
-
def to_liquid; end
|
107
|
-
end
|
108
|
-
class Time
|
109
|
-
def to_liquid; end
|
110
|
-
end
|
111
|
-
class DateTime < Date
|
112
|
-
def to_liquid; end
|
113
|
-
end
|
114
|
-
class Date
|
115
|
-
def to_liquid; end
|
116
|
-
end
|
117
|
-
class TrueClass
|
118
|
-
def to_liquid; end
|
119
|
-
end
|
120
|
-
class FalseClass
|
121
|
-
def to_liquid; end
|
122
|
-
end
|
123
|
-
class NilClass
|
124
|
-
def to_liquid; end
|
125
|
-
end
|
126
|
-
class Liquid::Error < StandardError
|
127
|
-
def line_number; end
|
128
|
-
def line_number=(arg0); end
|
129
|
-
def markup_context; end
|
130
|
-
def markup_context=(arg0); end
|
131
|
-
def message_prefix; end
|
132
|
-
def template_name; end
|
133
|
-
def template_name=(arg0); end
|
134
|
-
def to_s(with_prefix = nil); end
|
135
|
-
end
|
136
|
-
class Liquid::ArgumentError < Liquid::Error
|
137
|
-
end
|
138
|
-
class Liquid::ContextError < Liquid::Error
|
139
|
-
end
|
140
|
-
class Liquid::FileSystemError < Liquid::Error
|
141
|
-
end
|
142
|
-
class Liquid::StandardError < Liquid::Error
|
143
|
-
end
|
144
|
-
class Liquid::SyntaxError < Liquid::Error
|
145
|
-
end
|
146
|
-
class Liquid::StackLevelError < Liquid::Error
|
147
|
-
end
|
148
|
-
class Liquid::TaintedError < Liquid::Error
|
149
|
-
end
|
150
|
-
class Liquid::MemoryError < Liquid::Error
|
151
|
-
end
|
152
|
-
class Liquid::ZeroDivisionError < Liquid::Error
|
153
|
-
end
|
154
|
-
class Liquid::FloatDomainError < Liquid::Error
|
155
|
-
end
|
156
|
-
class Liquid::UndefinedVariable < Liquid::Error
|
157
|
-
end
|
158
|
-
class Liquid::UndefinedDropMethod < Liquid::Error
|
159
|
-
end
|
160
|
-
class Liquid::UndefinedFilter < Liquid::Error
|
161
|
-
end
|
162
|
-
class Liquid::MethodOverrideError < Liquid::Error
|
163
|
-
end
|
164
|
-
class Liquid::InternalError < Liquid::Error
|
165
|
-
end
|
166
|
-
class Liquid::Interrupt
|
167
|
-
def initialize(message = nil); end
|
168
|
-
def message; end
|
169
|
-
end
|
170
|
-
class Liquid::BreakInterrupt < Liquid::Interrupt
|
171
|
-
end
|
172
|
-
class Liquid::ContinueInterrupt < Liquid::Interrupt
|
173
|
-
end
|
174
|
-
class Liquid::Strainer
|
175
|
-
def initialize(context); end
|
176
|
-
def invoke(method, *args); end
|
177
|
-
def self.add_filter(filter); end
|
178
|
-
def self.create(context, filters = nil); end
|
179
|
-
def self.filter_methods; end
|
180
|
-
def self.global_filter(filter); end
|
181
|
-
def self.invokable?(method); end
|
182
|
-
end
|
183
|
-
class Liquid::Expression
|
184
|
-
def self.parse(markup); end
|
185
|
-
end
|
186
|
-
class Liquid::Expression::MethodLiteral
|
187
|
-
def initialize(method_name, to_s); end
|
188
|
-
def method_name; end
|
189
|
-
def to_liquid; end
|
190
|
-
def to_s; end
|
191
|
-
end
|
192
|
-
class Liquid::Context
|
193
|
-
def [](expression); end
|
194
|
-
def []=(key, value); end
|
195
|
-
def add_filters(filters); end
|
196
|
-
def apply_global_filter(obj); end
|
197
|
-
def clear_instance_assigns; end
|
198
|
-
def environments; end
|
199
|
-
def errors; end
|
200
|
-
def evaluate(object); end
|
201
|
-
def exception_renderer; end
|
202
|
-
def exception_renderer=(arg0); end
|
203
|
-
def find_variable(key, raise_on_not_found: nil); end
|
204
|
-
def global_filter; end
|
205
|
-
def global_filter=(arg0); end
|
206
|
-
def handle_error(e, line_number = nil); end
|
207
|
-
def initialize(environments = nil, outer_scope = nil, registers = nil, rethrow_errors = nil, resource_limits = nil); end
|
208
|
-
def internal_error; end
|
209
|
-
def interrupt?; end
|
210
|
-
def invoke(method, *args); end
|
211
|
-
def key?(key); end
|
212
|
-
def lookup_and_evaluate(obj, key, raise_on_not_found: nil); end
|
213
|
-
def merge(new_scopes); end
|
214
|
-
def partial; end
|
215
|
-
def partial=(arg0); end
|
216
|
-
def pop; end
|
217
|
-
def pop_interrupt; end
|
218
|
-
def push(new_scope = nil); end
|
219
|
-
def push_interrupt(e); end
|
220
|
-
def registers; end
|
221
|
-
def resource_limits; end
|
222
|
-
def scopes; end
|
223
|
-
def squash_instance_assigns_with_environments; end
|
224
|
-
def stack(new_scope = nil); end
|
225
|
-
def strainer; end
|
226
|
-
def strict_filters; end
|
227
|
-
def strict_filters=(arg0); end
|
228
|
-
def strict_variables; end
|
229
|
-
def strict_variables=(arg0); end
|
230
|
-
def template_name; end
|
231
|
-
def template_name=(arg0); end
|
232
|
-
def warnings; end
|
233
|
-
end
|
234
|
-
module Liquid::ParserSwitching
|
235
|
-
def markup_context(markup); end
|
236
|
-
def parse_with_selected_parser(markup); end
|
237
|
-
def strict_parse_with_error_context(markup); end
|
238
|
-
end
|
239
|
-
class Liquid::Tag
|
240
|
-
def blank?; end
|
241
|
-
def initialize(tag_name, markup, parse_context); end
|
242
|
-
def line_number; end
|
243
|
-
def name; end
|
244
|
-
def nodelist; end
|
245
|
-
def options; end
|
246
|
-
def parse(_tokens); end
|
247
|
-
def parse_context; end
|
248
|
-
def raw; end
|
249
|
-
def render(_context); end
|
250
|
-
def self.new(*arg0); end
|
251
|
-
def self.parse(tag_name, markup, tokenizer, options); end
|
252
|
-
def tag_name; end
|
253
|
-
include Liquid::ParserSwitching
|
254
|
-
end
|
255
|
-
class Liquid::Block < Liquid::Tag
|
256
|
-
def blank?; end
|
257
|
-
def block_delimiter; end
|
258
|
-
def block_name; end
|
259
|
-
def initialize(tag_name, markup, options); end
|
260
|
-
def nodelist; end
|
261
|
-
def parse(tokens); end
|
262
|
-
def parse_body(body, tokens); end
|
263
|
-
def render(context); end
|
264
|
-
def unknown_tag(tag, _params, _tokens); end
|
265
|
-
end
|
266
|
-
class Liquid::BlockBody
|
267
|
-
def blank?; end
|
268
|
-
def check_resources(context, node_output); end
|
269
|
-
def create_variable(token, parse_context); end
|
270
|
-
def initialize; end
|
271
|
-
def nodelist; end
|
272
|
-
def parse(tokenizer, parse_context); end
|
273
|
-
def raise_missing_tag_terminator(token, parse_context); end
|
274
|
-
def raise_missing_variable_terminator(token, parse_context); end
|
275
|
-
def registered_tags; end
|
276
|
-
def render(context); end
|
277
|
-
def render_node_to_output(node, output, context, skip_output = nil); end
|
278
|
-
def whitespace_handler(token, parse_context); end
|
279
|
-
end
|
280
|
-
class Liquid::Document < Liquid::BlockBody
|
281
|
-
def parse(tokens, parse_context); end
|
282
|
-
def self.parse(tokens, parse_context); end
|
283
|
-
def unknown_tag(tag, parse_context); end
|
284
|
-
end
|
285
|
-
class Liquid::Variable
|
286
|
-
def evaluate_filter_expressions(context, filter_args, filter_kwargs); end
|
287
|
-
def filters; end
|
288
|
-
def filters=(arg0); end
|
289
|
-
def initialize(markup, parse_context); end
|
290
|
-
def lax_parse(markup); end
|
291
|
-
def line_number; end
|
292
|
-
def line_number=(arg0); end
|
293
|
-
def markup_context(markup); end
|
294
|
-
def name; end
|
295
|
-
def name=(arg0); end
|
296
|
-
def options; end
|
297
|
-
def parse_context; end
|
298
|
-
def parse_filter_expressions(filter_name, unparsed_args); end
|
299
|
-
def parse_filterargs(p); end
|
300
|
-
def raw; end
|
301
|
-
def render(context); end
|
302
|
-
def strict_parse(markup); end
|
303
|
-
def taint_check(context, obj); end
|
304
|
-
include Liquid::ParserSwitching
|
305
|
-
end
|
306
|
-
class Liquid::Variable::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
307
|
-
def children; end
|
308
|
-
end
|
309
|
-
class Liquid::VariableLookup
|
310
|
-
def ==(other); end
|
311
|
-
def evaluate(context); end
|
312
|
-
def initialize(markup); end
|
313
|
-
def lookups; end
|
314
|
-
def name; end
|
315
|
-
def self.parse(markup); end
|
316
|
-
def state; end
|
317
|
-
end
|
318
|
-
class Liquid::VariableLookup::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
319
|
-
def children; end
|
320
|
-
end
|
321
|
-
class Liquid::RangeLookup
|
322
|
-
def evaluate(context); end
|
323
|
-
def initialize(start_obj, end_obj); end
|
324
|
-
def self.parse(start_markup, end_markup); end
|
325
|
-
def to_integer(input); end
|
326
|
-
end
|
327
|
-
class Liquid::BlankFileSystem
|
328
|
-
def read_template_file(_template_path); end
|
329
|
-
end
|
330
|
-
class Liquid::LocalFileSystem
|
331
|
-
def full_path(template_path); end
|
332
|
-
def initialize(root, pattern = nil); end
|
333
|
-
def read_template_file(template_path); end
|
334
|
-
def root; end
|
335
|
-
def root=(arg0); end
|
336
|
-
end
|
337
|
-
class Liquid::ResourceLimits
|
338
|
-
def assign_score; end
|
339
|
-
def assign_score=(arg0); end
|
340
|
-
def assign_score_limit; end
|
341
|
-
def assign_score_limit=(arg0); end
|
342
|
-
def initialize(limits); end
|
343
|
-
def reached?; end
|
344
|
-
def render_length; end
|
345
|
-
def render_length=(arg0); end
|
346
|
-
def render_length_limit; end
|
347
|
-
def render_length_limit=(arg0); end
|
348
|
-
def render_score; end
|
349
|
-
def render_score=(arg0); end
|
350
|
-
def render_score_limit; end
|
351
|
-
def render_score_limit=(arg0); end
|
352
|
-
def reset; end
|
353
|
-
end
|
354
|
-
class Liquid::Template
|
355
|
-
def apply_options_to_context(context, options); end
|
356
|
-
def assigns; end
|
357
|
-
def errors; end
|
358
|
-
def initialize; end
|
359
|
-
def instance_assigns; end
|
360
|
-
def parse(source, options = nil); end
|
361
|
-
def profiler; end
|
362
|
-
def registers; end
|
363
|
-
def render!(*args); end
|
364
|
-
def render(*args); end
|
365
|
-
def resource_limits; end
|
366
|
-
def root; end
|
367
|
-
def root=(arg0); end
|
368
|
-
def self.default_exception_renderer; end
|
369
|
-
def self.default_exception_renderer=(arg0); end
|
370
|
-
def self.default_resource_limits; end
|
371
|
-
def self.error_mode; end
|
372
|
-
def self.error_mode=(arg0); end
|
373
|
-
def self.file_system; end
|
374
|
-
def self.file_system=(obj); end
|
375
|
-
def self.parse(source, options = nil); end
|
376
|
-
def self.register_filter(mod); end
|
377
|
-
def self.register_tag(name, klass); end
|
378
|
-
def self.tags; end
|
379
|
-
def self.taint_mode; end
|
380
|
-
def self.taint_mode=(arg0); end
|
381
|
-
def tokenize(source); end
|
382
|
-
def warnings; end
|
383
|
-
def with_profiling(context); end
|
384
|
-
end
|
385
|
-
class Liquid::Template::TagRegistry
|
386
|
-
def [](tag_name); end
|
387
|
-
def []=(tag_name, klass); end
|
388
|
-
def delete(tag_name); end
|
389
|
-
def each(&block); end
|
390
|
-
def initialize; end
|
391
|
-
def lookup_class(name); end
|
392
|
-
include Enumerable
|
393
|
-
end
|
394
|
-
module Liquid::StandardFilters
|
395
|
-
def abs(input); end
|
396
|
-
def append(input, string); end
|
397
|
-
def apply_operation(input, operand, operation); end
|
398
|
-
def at_least(input, n); end
|
399
|
-
def at_most(input, n); end
|
400
|
-
def capitalize(input); end
|
401
|
-
def ceil(input); end
|
402
|
-
def compact(input, property = nil); end
|
403
|
-
def concat(input, array); end
|
404
|
-
def date(input, format); end
|
405
|
-
def default(input, default_value = nil); end
|
406
|
-
def divided_by(input, operand); end
|
407
|
-
def downcase(input); end
|
408
|
-
def escape(input); end
|
409
|
-
def escape_once(input); end
|
410
|
-
def first(array); end
|
411
|
-
def floor(input); end
|
412
|
-
def h(input); end
|
413
|
-
def join(input, glue = nil); end
|
414
|
-
def last(array); end
|
415
|
-
def lstrip(input); end
|
416
|
-
def map(input, property); end
|
417
|
-
def minus(input, operand); end
|
418
|
-
def modulo(input, operand); end
|
419
|
-
def newline_to_br(input); end
|
420
|
-
def nil_safe_casecmp(a, b); end
|
421
|
-
def nil_safe_compare(a, b); end
|
422
|
-
def plus(input, operand); end
|
423
|
-
def prepend(input, string); end
|
424
|
-
def raise_property_error(property); end
|
425
|
-
def remove(input, string); end
|
426
|
-
def remove_first(input, string); end
|
427
|
-
def replace(input, string, replacement = nil); end
|
428
|
-
def replace_first(input, string, replacement = nil); end
|
429
|
-
def reverse(input); end
|
430
|
-
def round(input, n = nil); end
|
431
|
-
def rstrip(input); end
|
432
|
-
def size(input); end
|
433
|
-
def slice(input, offset, length = nil); end
|
434
|
-
def sort(input, property = nil); end
|
435
|
-
def sort_natural(input, property = nil); end
|
436
|
-
def split(input, pattern); end
|
437
|
-
def strip(input); end
|
438
|
-
def strip_html(input); end
|
439
|
-
def strip_newlines(input); end
|
440
|
-
def times(input, operand); end
|
441
|
-
def truncate(input, length = nil, truncate_string = nil); end
|
442
|
-
def truncatewords(input, words = nil, truncate_string = nil); end
|
443
|
-
def uniq(input, property = nil); end
|
444
|
-
def upcase(input); end
|
445
|
-
def url_decode(input); end
|
446
|
-
def url_encode(input); end
|
447
|
-
def where(input, property, target_value = nil); end
|
448
|
-
end
|
449
|
-
class Liquid::StandardFilters::InputIterator
|
450
|
-
def compact; end
|
451
|
-
def concat(args); end
|
452
|
-
def each; end
|
453
|
-
def empty?; end
|
454
|
-
def initialize(input); end
|
455
|
-
def join(glue); end
|
456
|
-
def reverse; end
|
457
|
-
def uniq(&block); end
|
458
|
-
include Enumerable
|
459
|
-
end
|
460
|
-
class Liquid::Condition
|
461
|
-
def and(condition); end
|
462
|
-
def attach(attachment); end
|
463
|
-
def attachment; end
|
464
|
-
def child_condition; end
|
465
|
-
def child_relation; end
|
466
|
-
def else?; end
|
467
|
-
def equal_variables(left, right); end
|
468
|
-
def evaluate(context = nil); end
|
469
|
-
def initialize(left = nil, operator = nil, right = nil); end
|
470
|
-
def inspect; end
|
471
|
-
def interpret_condition(left, right, op, context); end
|
472
|
-
def left; end
|
473
|
-
def left=(arg0); end
|
474
|
-
def operator; end
|
475
|
-
def operator=(arg0); end
|
476
|
-
def or(condition); end
|
477
|
-
def right; end
|
478
|
-
def right=(arg0); end
|
479
|
-
def self.operators; end
|
480
|
-
end
|
481
|
-
class Liquid::Condition::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
482
|
-
def children; end
|
483
|
-
end
|
484
|
-
class Liquid::ElseCondition < Liquid::Condition
|
485
|
-
def else?; end
|
486
|
-
def evaluate(_context); end
|
487
|
-
end
|
488
|
-
module Liquid::Utils
|
489
|
-
def self.slice_collection(collection, from, to); end
|
490
|
-
def self.slice_collection_using_each(collection, from, to); end
|
491
|
-
def self.to_date(obj); end
|
492
|
-
def self.to_integer(num); end
|
493
|
-
def self.to_number(obj); end
|
494
|
-
end
|
495
|
-
class Liquid::Tokenizer
|
496
|
-
def initialize(source, line_numbers = nil); end
|
497
|
-
def line_number; end
|
498
|
-
def shift; end
|
499
|
-
def tokenize; end
|
500
|
-
end
|
501
|
-
class Liquid::ParseContext
|
502
|
-
def [](option_key); end
|
503
|
-
def depth; end
|
504
|
-
def depth=(arg0); end
|
505
|
-
def error_mode; end
|
506
|
-
def initialize(options = nil); end
|
507
|
-
def line_number; end
|
508
|
-
def line_number=(arg0); end
|
509
|
-
def locale; end
|
510
|
-
def locale=(arg0); end
|
511
|
-
def partial; end
|
512
|
-
def partial=(value); end
|
513
|
-
def partial_options; end
|
514
|
-
def trim_whitespace; end
|
515
|
-
def trim_whitespace=(arg0); end
|
516
|
-
def warnings; end
|
517
|
-
end
|
518
|
-
class Liquid::Assign < Liquid::Tag
|
519
|
-
def assign_score_of(val); end
|
520
|
-
def blank?; end
|
521
|
-
def from; end
|
522
|
-
def initialize(tag_name, markup, options); end
|
523
|
-
def render(context); end
|
524
|
-
def to; end
|
525
|
-
end
|
526
|
-
class Liquid::Assign::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
527
|
-
def children; end
|
528
|
-
end
|
529
|
-
class Liquid::Break < Liquid::Tag
|
530
|
-
def interrupt; end
|
531
|
-
end
|
532
|
-
class Liquid::Capture < Liquid::Block
|
533
|
-
def blank?; end
|
534
|
-
def initialize(tag_name, markup, options); end
|
535
|
-
def render(context); end
|
536
|
-
end
|
537
|
-
class Liquid::Case < Liquid::Block
|
538
|
-
def blocks; end
|
539
|
-
def initialize(tag_name, markup, options); end
|
540
|
-
def left; end
|
541
|
-
def nodelist; end
|
542
|
-
def parse(tokens); end
|
543
|
-
def record_else_condition(markup); end
|
544
|
-
def record_when_condition(markup); end
|
545
|
-
def render(context); end
|
546
|
-
def unknown_tag(tag, markup, tokens); end
|
547
|
-
end
|
548
|
-
class Liquid::Case::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
549
|
-
def children; end
|
550
|
-
end
|
551
|
-
class Liquid::Comment < Liquid::Block
|
552
|
-
def blank?; end
|
553
|
-
def render(_context); end
|
554
|
-
def unknown_tag(_tag, _markup, _tokens); end
|
555
|
-
end
|
556
|
-
class Liquid::Continue < Liquid::Tag
|
557
|
-
def interrupt; end
|
558
|
-
end
|
559
|
-
class Liquid::Cycle < Liquid::Tag
|
560
|
-
def initialize(tag_name, markup, options); end
|
561
|
-
def render(context); end
|
562
|
-
def variables; end
|
563
|
-
def variables_from_string(markup); end
|
564
|
-
end
|
565
|
-
class Liquid::Cycle::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
566
|
-
def children; end
|
567
|
-
end
|
568
|
-
class Liquid::Decrement < Liquid::Tag
|
569
|
-
def initialize(tag_name, markup, options); end
|
570
|
-
def render(context); end
|
571
|
-
end
|
572
|
-
class Liquid::For < Liquid::Block
|
573
|
-
def collection_name; end
|
574
|
-
def collection_segment(context); end
|
575
|
-
def from; end
|
576
|
-
def initialize(tag_name, markup, options); end
|
577
|
-
def lax_parse(markup); end
|
578
|
-
def limit; end
|
579
|
-
def nodelist; end
|
580
|
-
def parse(tokens); end
|
581
|
-
def render(context); end
|
582
|
-
def render_else(context); end
|
583
|
-
def render_segment(context, segment); end
|
584
|
-
def set_attribute(key, expr); end
|
585
|
-
def strict_parse(markup); end
|
586
|
-
def unknown_tag(tag, markup, tokens); end
|
587
|
-
def variable_name; end
|
588
|
-
end
|
589
|
-
class Liquid::For::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
590
|
-
def children; end
|
591
|
-
end
|
592
|
-
class Liquid::If < Liquid::Block
|
593
|
-
def blocks; end
|
594
|
-
def initialize(tag_name, markup, options); end
|
595
|
-
def lax_parse(markup); end
|
596
|
-
def nodelist; end
|
597
|
-
def parse(tokens); end
|
598
|
-
def parse_binary_comparisons(p); end
|
599
|
-
def parse_comparison(p); end
|
600
|
-
def push_block(tag, markup); end
|
601
|
-
def render(context); end
|
602
|
-
def strict_parse(markup); end
|
603
|
-
def unknown_tag(tag, markup, tokens); end
|
604
|
-
end
|
605
|
-
class Liquid::If::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
606
|
-
def children; end
|
607
|
-
end
|
608
|
-
class Liquid::Ifchanged < Liquid::Block
|
609
|
-
def render(context); end
|
610
|
-
end
|
611
|
-
class Liquid::Include < Liquid::Tag
|
612
|
-
def attributes; end
|
613
|
-
def initialize(tag_name, markup, options); end
|
614
|
-
def load_cached_partial(template_name, context); end
|
615
|
-
def parse(_tokens); end
|
616
|
-
def parse_context; end
|
617
|
-
def read_template_from_file_system(context); end
|
618
|
-
def render(context); end
|
619
|
-
def template_name_expr; end
|
620
|
-
def variable_name_expr; end
|
621
|
-
end
|
622
|
-
class Liquid::Include::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
623
|
-
def children; end
|
624
|
-
end
|
625
|
-
class Liquid::Increment < Liquid::Tag
|
626
|
-
def initialize(tag_name, markup, options); end
|
627
|
-
def render(context); end
|
628
|
-
end
|
629
|
-
class Liquid::Raw < Liquid::Block
|
630
|
-
def blank?; end
|
631
|
-
def ensure_valid_markup(tag_name, markup, parse_context); end
|
632
|
-
def initialize(tag_name, markup, parse_context); end
|
633
|
-
def nodelist; end
|
634
|
-
def parse(tokens); end
|
635
|
-
def render(_context); end
|
636
|
-
end
|
637
|
-
class Liquid::TableRow < Liquid::Block
|
638
|
-
def attributes; end
|
639
|
-
def collection_name; end
|
640
|
-
def initialize(tag_name, markup, options); end
|
641
|
-
def render(context); end
|
642
|
-
def variable_name; end
|
643
|
-
end
|
644
|
-
class Liquid::TableRow::ParseTreeVisitor < Liquid::ParseTreeVisitor
|
645
|
-
def children; end
|
646
|
-
end
|
647
|
-
class Liquid::Unless < Liquid::If
|
648
|
-
def render(context); end
|
649
|
-
end
|
@@ -1,64 +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/method_source/all/method_source.rbi
|
9
|
-
#
|
10
|
-
# method_source-1.0.0
|
11
|
-
|
12
|
-
module MethodSource
|
13
|
-
def self.comment_helper(source_location, name = nil); end
|
14
|
-
def self.extract_code(source_location); end
|
15
|
-
def self.lines_for(file_name, name = nil); end
|
16
|
-
def self.source_helper(source_location, name = nil); end
|
17
|
-
def self.valid_expression?(str); end
|
18
|
-
extend MethodSource::CodeHelpers
|
19
|
-
end
|
20
|
-
module MethodSource::ReeSourceLocation
|
21
|
-
def source_location; end
|
22
|
-
end
|
23
|
-
module MethodSource::SourceLocation
|
24
|
-
end
|
25
|
-
module MethodSource::SourceLocation::MethodExtensions
|
26
|
-
def source_location; end
|
27
|
-
def trace_func(event, file, line, id, binding, classname); end
|
28
|
-
end
|
29
|
-
module MethodSource::SourceLocation::ProcExtensions
|
30
|
-
def source_location; end
|
31
|
-
end
|
32
|
-
module MethodSource::SourceLocation::UnboundMethodExtensions
|
33
|
-
def source_location; end
|
34
|
-
end
|
35
|
-
module MethodSource::CodeHelpers
|
36
|
-
def comment_describing(file, line_number); end
|
37
|
-
def complete_expression?(str); end
|
38
|
-
def expression_at(file, line_number, options = nil); end
|
39
|
-
def extract_first_expression(lines, consume = nil, &block); end
|
40
|
-
def extract_last_comment(lines); end
|
41
|
-
end
|
42
|
-
module MethodSource::CodeHelpers::IncompleteExpression
|
43
|
-
def self.===(ex); end
|
44
|
-
def self.rbx?; end
|
45
|
-
end
|
46
|
-
class MethodSource::SourceNotFoundError < StandardError
|
47
|
-
end
|
48
|
-
module MethodSource::MethodExtensions
|
49
|
-
def comment; end
|
50
|
-
def self.included(klass); end
|
51
|
-
def source; end
|
52
|
-
end
|
53
|
-
class Method
|
54
|
-
include MethodSource::MethodExtensions
|
55
|
-
include MethodSource::SourceLocation::MethodExtensions
|
56
|
-
end
|
57
|
-
class UnboundMethod
|
58
|
-
include MethodSource::MethodExtensions
|
59
|
-
include MethodSource::SourceLocation::UnboundMethodExtensions
|
60
|
-
end
|
61
|
-
class Proc
|
62
|
-
include MethodSource::MethodExtensions
|
63
|
-
include MethodSource::SourceLocation::ProcExtensions
|
64
|
-
end
|