cheesy-gallery 0.5.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +12 -0
- data/.gitignore +2 -0
- data/.travis.yml +1 -2
- data/CHANGELOG.md +11 -0
- data/README.md +40 -18
- data/lib/cheesy-gallery/base_image_file.rb +21 -0
- data/lib/cheesy-gallery/generator.rb +7 -5
- data/lib/cheesy-gallery/image_file.rb +22 -7
- 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 +1429 -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 +599 -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 +8027 -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 +3516 -24801
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7269 -39103
- 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 +47 -5
- data/Gemfile.lock +0 -134
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
@@ -0,0 +1,250 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: ignore
|
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/kramdown/all/kramdown.rbi
|
9
|
+
#
|
10
|
+
# kramdown-2.3.1
|
11
|
+
|
12
|
+
module Kramdown
|
13
|
+
def self.data_dir; end
|
14
|
+
end
|
15
|
+
class Kramdown::Element
|
16
|
+
def attr; end
|
17
|
+
def block?; end
|
18
|
+
def children; end
|
19
|
+
def children=(arg0); end
|
20
|
+
def initialize(type, value = nil, attr = nil, options = nil); end
|
21
|
+
def inspect; end
|
22
|
+
def options; end
|
23
|
+
def self.category(el); end
|
24
|
+
def span?; end
|
25
|
+
def type; end
|
26
|
+
def type=(arg0); end
|
27
|
+
def value; end
|
28
|
+
def value=(arg0); end
|
29
|
+
end
|
30
|
+
class Kramdown::Error < RuntimeError
|
31
|
+
end
|
32
|
+
module Kramdown::Parser
|
33
|
+
end
|
34
|
+
module Kramdown::Utils
|
35
|
+
def self.camelize(name); end
|
36
|
+
def self.deep_const_get(str); end
|
37
|
+
def self.snake_case(name); end
|
38
|
+
end
|
39
|
+
module Kramdown::Utils::Configurable
|
40
|
+
def configurable(name); end
|
41
|
+
end
|
42
|
+
module Kramdown::Converter
|
43
|
+
def self.add_math_engine(data, *args, &block); end
|
44
|
+
def self.add_syntax_highlighter(data, *args, &block); end
|
45
|
+
def self.configurables; end
|
46
|
+
def self.math_engine(data); end
|
47
|
+
def self.syntax_highlighter(data); end
|
48
|
+
extend Kramdown::Utils::Configurable
|
49
|
+
end
|
50
|
+
module Kramdown::Options
|
51
|
+
def self.defaults; end
|
52
|
+
def self.define(name, type, default, desc, &block); end
|
53
|
+
def self.defined?(name); end
|
54
|
+
def self.definitions; end
|
55
|
+
def self.merge(hash); end
|
56
|
+
def self.parse(name, data); end
|
57
|
+
def self.simple_array_validator(val, name, size = nil); end
|
58
|
+
def self.simple_hash_validator(val, name); end
|
59
|
+
def self.str_to_sym(data); end
|
60
|
+
end
|
61
|
+
class Kramdown::Options::Boolean
|
62
|
+
def self.===(other); end
|
63
|
+
end
|
64
|
+
class Kramdown::Options::Definition < Struct
|
65
|
+
def default; end
|
66
|
+
def default=(_); end
|
67
|
+
def desc; end
|
68
|
+
def desc=(_); end
|
69
|
+
def name; end
|
70
|
+
def name=(_); end
|
71
|
+
def self.[](*arg0); end
|
72
|
+
def self.inspect; end
|
73
|
+
def self.members; end
|
74
|
+
def self.new(*arg0); end
|
75
|
+
def type; end
|
76
|
+
def type=(_); end
|
77
|
+
def validator; end
|
78
|
+
def validator=(_); end
|
79
|
+
end
|
80
|
+
class Kramdown::Document
|
81
|
+
def initialize(source, options = nil); end
|
82
|
+
def inspect; end
|
83
|
+
def method_missing(id, *attr, &block); end
|
84
|
+
def options; end
|
85
|
+
def root; end
|
86
|
+
def root=(arg0); end
|
87
|
+
def try_require(type, name); end
|
88
|
+
def warnings; end
|
89
|
+
end
|
90
|
+
class Kramdown::Parser::Base
|
91
|
+
def adapt_source(source); end
|
92
|
+
def add_text(text, tree = nil, type = nil); end
|
93
|
+
def extract_string(range, strscan); end
|
94
|
+
def initialize(source, options); end
|
95
|
+
def options; end
|
96
|
+
def parse; end
|
97
|
+
def root; end
|
98
|
+
def self.allocate; end
|
99
|
+
def self.new(*arg0); end
|
100
|
+
def self.parse(source, options = nil); end
|
101
|
+
def source; end
|
102
|
+
def warning(text); end
|
103
|
+
def warnings; end
|
104
|
+
end
|
105
|
+
class Kramdown::Parser::Kramdown < Kramdown::Parser::Base
|
106
|
+
def add_header(level, text, id); end
|
107
|
+
def add_link(el, href, title, alt_text = nil, ial = nil); end
|
108
|
+
def after_block_boundary?; end
|
109
|
+
def before_block_boundary?; end
|
110
|
+
def configure_parser; end
|
111
|
+
def correct_abbreviations_attributes; end
|
112
|
+
def fetch_pattern(type, indentation); end
|
113
|
+
def handle_extension(name, opts, body, type, line_no = nil); end
|
114
|
+
def handle_kramdown_html_tag(el, closed, handle_body); end
|
115
|
+
def initialize(source, options); end
|
116
|
+
def new_block_el(*args); end
|
117
|
+
def normalize_link_id(id); end
|
118
|
+
def paragraph_end; end
|
119
|
+
def parse; end
|
120
|
+
def parse_abbrev_definition; end
|
121
|
+
def parse_attribute_list(str, opts); end
|
122
|
+
def parse_atx_header; end
|
123
|
+
def parse_autolink; end
|
124
|
+
def parse_blank_line; end
|
125
|
+
def parse_block_extensions; end
|
126
|
+
def parse_block_html; end
|
127
|
+
def parse_block_math; end
|
128
|
+
def parse_blockquote; end
|
129
|
+
def parse_blocks(el, text = nil); end
|
130
|
+
def parse_codeblock; end
|
131
|
+
def parse_codeblock_fenced; end
|
132
|
+
def parse_codespan; end
|
133
|
+
def parse_definition_list; end
|
134
|
+
def parse_emphasis; end
|
135
|
+
def parse_eob_marker; end
|
136
|
+
def parse_escaped_chars; end
|
137
|
+
def parse_extension_start_tag(type); end
|
138
|
+
def parse_first_list_line(indentation, content); end
|
139
|
+
def parse_footnote_definition; end
|
140
|
+
def parse_footnote_marker; end
|
141
|
+
def parse_header_contents; end
|
142
|
+
def parse_horizontal_rule; end
|
143
|
+
def parse_html_entity; end
|
144
|
+
def parse_inline_math; end
|
145
|
+
def parse_line_break; end
|
146
|
+
def parse_link; end
|
147
|
+
def parse_link_definition; end
|
148
|
+
def parse_list; end
|
149
|
+
def parse_paragraph; end
|
150
|
+
def parse_setext_header; end
|
151
|
+
def parse_smart_quotes; end
|
152
|
+
def parse_span_extensions; end
|
153
|
+
def parse_span_html; end
|
154
|
+
def parse_spans(el, stop_re = nil, parsers = nil, text_type = nil); end
|
155
|
+
def parse_table; end
|
156
|
+
def parse_typographic_syms; end
|
157
|
+
def replace_abbreviations(el, regexps = nil); end
|
158
|
+
def reset_env(opts = nil); end
|
159
|
+
def restore_env(env); end
|
160
|
+
def save_env; end
|
161
|
+
def self.define_parser(name, start_re, span_start = nil, meth_name = nil); end
|
162
|
+
def self.has_parser?(name); end
|
163
|
+
def self.parser(name = nil); end
|
164
|
+
def span_parser_regexps(parsers = nil); end
|
165
|
+
def span_pattern_cache(stop_re, span_start); end
|
166
|
+
def update_attr_with_ial(attr, ial); end
|
167
|
+
def update_ial_with_ial(ial, opts); end
|
168
|
+
def update_link_definitions(link_defs); end
|
169
|
+
def update_raw_text(item); end
|
170
|
+
def update_tree(element); end
|
171
|
+
include Kramdown
|
172
|
+
include Kramdown::Parser::Html::Parser
|
173
|
+
end
|
174
|
+
module Kramdown::Utils::Entities
|
175
|
+
def entity(point_or_name); end
|
176
|
+
def self.entity(point_or_name); end
|
177
|
+
end
|
178
|
+
class Kramdown::Utils::Entities::Entity < Struct
|
179
|
+
def char; end
|
180
|
+
def code_point; end
|
181
|
+
def code_point=(_); end
|
182
|
+
def name; end
|
183
|
+
def name=(_); end
|
184
|
+
def self.[](*arg0); end
|
185
|
+
def self.inspect; end
|
186
|
+
def self.members; end
|
187
|
+
def self.new(*arg0); end
|
188
|
+
end
|
189
|
+
class Kramdown::Parser::Html < Kramdown::Parser::Base
|
190
|
+
def parse; end
|
191
|
+
include Kramdown::Parser::Html::Parser
|
192
|
+
end
|
193
|
+
module Kramdown::Parser::Html::Constants
|
194
|
+
end
|
195
|
+
module Kramdown::Parser::Html::Parser
|
196
|
+
def handle_html_start_tag(line = nil); end
|
197
|
+
def handle_raw_html_tag(name); end
|
198
|
+
def parse_html_attributes(str, line = nil, in_html_tag = nil); end
|
199
|
+
def parse_raw_html(el, &block); end
|
200
|
+
include Kramdown::Parser::Html::Constants
|
201
|
+
end
|
202
|
+
class Kramdown::Parser::Html::ElementConverter
|
203
|
+
def convert_a(el); end
|
204
|
+
def convert_b(el); end
|
205
|
+
def convert_code(el); end
|
206
|
+
def convert_em(el); end
|
207
|
+
def convert_h1(el); end
|
208
|
+
def convert_h2(el); end
|
209
|
+
def convert_h3(el); end
|
210
|
+
def convert_h4(el); end
|
211
|
+
def convert_h5(el); end
|
212
|
+
def convert_h6(el); end
|
213
|
+
def convert_i(el); end
|
214
|
+
def convert_pre(el); end
|
215
|
+
def convert_script(el); end
|
216
|
+
def convert_strong(el); end
|
217
|
+
def convert_table(el); end
|
218
|
+
def convert_textarea(el); end
|
219
|
+
def extract_text(el, raw); end
|
220
|
+
def handle_math_tag(el); end
|
221
|
+
def initialize(root); end
|
222
|
+
def is_math_tag?(el); end
|
223
|
+
def is_simple_table?(el); end
|
224
|
+
def process(el, do_conversion = nil, preserve_text = nil, parent = nil); end
|
225
|
+
def process_children(el, do_conversion = nil, preserve_text = nil); end
|
226
|
+
def process_html_element(el, do_conversion = nil, preserve_text = nil); end
|
227
|
+
def process_text(raw, preserve = nil); end
|
228
|
+
def remove_text_children(el); end
|
229
|
+
def remove_whitespace_children(el); end
|
230
|
+
def self.convert(root, el = nil); end
|
231
|
+
def set_basics(el, type, opts = nil); end
|
232
|
+
def strip_whitespace(el); end
|
233
|
+
def wrap_text_children(el); end
|
234
|
+
include Kramdown::Parser::Html::Constants
|
235
|
+
include Kramdown::Utils::Entities
|
236
|
+
end
|
237
|
+
class Kramdown::Parser::Kramdown::Data < Struct
|
238
|
+
def method; end
|
239
|
+
def method=(_); end
|
240
|
+
def name; end
|
241
|
+
def name=(_); end
|
242
|
+
def self.[](*arg0); end
|
243
|
+
def self.inspect; end
|
244
|
+
def self.members; end
|
245
|
+
def self.new(*arg0); end
|
246
|
+
def span_start; end
|
247
|
+
def span_start=(_); end
|
248
|
+
def start_re; end
|
249
|
+
def start_re=(_); end
|
250
|
+
end
|
@@ -0,0 +1,649 @@
|
|
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
|