frontman-ssg 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/CHANGELOG.md +13 -2
  4. data/Rakefile +5 -2
  5. data/frontman-ssg.gemspec +1 -0
  6. data/lib/frontman.rb +0 -5
  7. data/lib/frontman/app.rb +1 -3
  8. data/lib/frontman/builder/file.rb +1 -3
  9. data/lib/frontman/commands/init.rb +2 -3
  10. data/lib/frontman/commands/serve.rb +29 -28
  11. data/lib/frontman/concerns/forward_calls_to_app.rb +1 -1
  12. data/lib/frontman/context.rb +68 -57
  13. data/lib/frontman/data_store.rb +1 -3
  14. data/lib/frontman/iterator.rb +1 -3
  15. data/lib/frontman/renderers/erb_renderer.rb +19 -1
  16. data/lib/frontman/renderers/haml_renderer.rb +29 -1
  17. data/lib/frontman/renderers/renderer_resolver.rb +18 -5
  18. data/lib/frontman/renderers/slim_renderer.rb +30 -0
  19. data/lib/frontman/resource.rb +9 -13
  20. data/lib/frontman/sitemap_tree.rb +1 -3
  21. data/lib/frontman/version.rb +1 -1
  22. data/project-templates/webpack/helpers/assets_helper.rb +1 -3
  23. data/sorbet/rbi/gems/ast.rbi +48 -0
  24. data/sorbet/rbi/gems/better_errors.rbi +180 -0
  25. data/sorbet/rbi/gems/binding_of_caller.rbi +23 -0
  26. data/sorbet/rbi/gems/coderay.rbi +24 -0
  27. data/sorbet/rbi/gems/debug_inspector.rbi +19 -0
  28. data/sorbet/rbi/gems/docile.rbi +32 -0
  29. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  30. data/sorbet/rbi/gems/erubi.rbi +27 -0
  31. data/sorbet/rbi/gems/erubis.rbi +280 -0
  32. data/sorbet/rbi/gems/haml.rbi +521 -0
  33. data/sorbet/rbi/gems/htmlentities.rbi +46 -0
  34. data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
  35. data/sorbet/rbi/gems/kramdown-parser-gfm.rbi +29 -0
  36. data/sorbet/rbi/gems/kramdown.rbi +338 -0
  37. data/sorbet/rbi/gems/listen.rbi +301 -0
  38. data/sorbet/rbi/gems/mustermann.rbi +481 -0
  39. data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
  40. data/sorbet/rbi/gems/parallel.rbi +82 -0
  41. data/sorbet/rbi/gems/parser.rbi +1405 -0
  42. data/sorbet/rbi/gems/rack-protection.rbi +16 -0
  43. data/sorbet/rbi/gems/rack.rbi +507 -0
  44. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  45. data/sorbet/rbi/gems/rake.rbi +641 -0
  46. data/sorbet/rbi/gems/rexml.rbi +93 -0
  47. data/sorbet/rbi/gems/rouge.rbi +1551 -0
  48. data/sorbet/rbi/gems/rspec-core.rbi +1893 -0
  49. data/sorbet/rbi/gems/rspec-expectations.rbi +1125 -0
  50. data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
  51. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  52. data/sorbet/rbi/gems/rspec.rbi +15 -0
  53. data/sorbet/rbi/gems/rubocop-performance.rbi +274 -0
  54. data/sorbet/rbi/gems/rubocop.rbi +7403 -0
  55. data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
  56. data/sorbet/rbi/gems/ruby2_keywords.rbi +17 -0
  57. data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
  58. data/sorbet/rbi/gems/simplecov.rbi +405 -0
  59. data/sorbet/rbi/gems/sinatra.rbi +488 -0
  60. data/sorbet/rbi/gems/slim.rbi +144 -0
  61. data/sorbet/rbi/gems/temple.rbi +281 -0
  62. data/sorbet/rbi/gems/thor.rbi +522 -0
  63. data/sorbet/rbi/gems/tilt.rbi +82 -0
  64. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  65. data/sorbet/rbi/gems/yaml-front-matter.rbi +16 -0
  66. data/sorbet/rbi/hidden-definitions/errors.txt +2859 -24228
  67. data/sorbet/rbi/hidden-definitions/hidden.rbi +7111 -40830
  68. data/sorbet/rbi/sorbet-typed/lib/nokogiri/1.10.10/nokogiri.rbi +1615 -0
  69. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  70. data/sorbet/rbi/todo.rbi +6 -0
  71. data/spec/frontman/bootstrapper_spec.rb +1 -1
  72. data/spec/frontman/context_spec.rb +45 -6
  73. data/spec/frontman/mocks/context.haml +18 -0
  74. data/spec/frontman/renderers/slim_renderer_spec.rb +12 -0
  75. metadata +66 -4
@@ -0,0 +1,46 @@
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/htmlentities/all/htmlentities.rbi
9
+ #
10
+ # htmlentities-4.3.4
11
+
12
+ class HTMLEntities
13
+ def decode(source); end
14
+ def encode(source, *instructions); end
15
+ def initialize(flavor = nil); end
16
+ end
17
+ class HTMLEntities::InstructionError < RuntimeError
18
+ end
19
+ class HTMLEntities::Encoder
20
+ def basic_entity_regexp; end
21
+ def build_basic_entity_encoder(instructions); end
22
+ def build_extended_entity_encoder(instructions); end
23
+ def contains_only_ascii?(string); end
24
+ def encode(source); end
25
+ def encode_decimal(char); end
26
+ def encode_hexadecimal(char); end
27
+ def encode_named(char); end
28
+ def extended_entity_regexp; end
29
+ def initialize(flavor, instructions); end
30
+ def minimize_encoding(string); end
31
+ def prepare(string); end
32
+ def replace_basic(string); end
33
+ def replace_extended(string); end
34
+ def reverse_map; end
35
+ def validate_instructions(instructions); end
36
+ end
37
+ class HTMLEntities::Decoder
38
+ def decode(source); end
39
+ def entity_regexp; end
40
+ def initialize(flavor); end
41
+ def prepare(string); end
42
+ end
43
+ module HTMLEntities::VERSION
44
+ end
45
+ class HTMLEntities::UnknownFlavor < RuntimeError
46
+ end
@@ -0,0 +1,15 @@
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/jaro_winkler/all/jaro_winkler.rbi
9
+ #
10
+ # jaro_winkler-1.5.4
11
+
12
+ module JaroWinkler
13
+ def self.distance(*arg0); end
14
+ def self.jaro_distance(*arg0); end
15
+ end
@@ -0,0 +1,29 @@
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/kramdown-parser-gfm/all/kramdown-parser-gfm.rbi
9
+ #
10
+ # kramdown-parser-gfm-1.1.0
11
+
12
+ module Kramdown
13
+ end
14
+ module Kramdown::Options
15
+ end
16
+ module Kramdown::Parser
17
+ end
18
+ class Kramdown::Parser::GFM < Kramdown::Parser::Kramdown
19
+ def generate_gfm_header_id(text); end
20
+ def initialize(source, options); end
21
+ def paragraph_end; end
22
+ def parse; end
23
+ def parse_atx_header_gfm_quirk; end
24
+ def parse_list; end
25
+ def parse_strikethrough_gfm; end
26
+ def update_elements(element); end
27
+ def update_raw_text(item); end
28
+ def update_text_type(element, child); end
29
+ end
@@ -0,0 +1,338 @@
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/kramdown/all/kramdown.rbi
9
+ #
10
+ # kramdown-2.3.0
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::Converter::Base
91
+ def apply_template_after?; end
92
+ def apply_template_before?; end
93
+ def basic_generate_id(str); end
94
+ def convert(_el); end
95
+ def data; end
96
+ def extract_code_language!(attr); end
97
+ def extract_code_language(attr); end
98
+ def format_math(el, opts = nil); end
99
+ def generate_id(str); end
100
+ def highlight_code(text, lang, type, opts = nil); end
101
+ def in_toc?(el); end
102
+ def initialize(root, options); end
103
+ def options; end
104
+ def output_header_level(level); end
105
+ def root; end
106
+ def self.allocate; end
107
+ def self.apply_template(converter, body); end
108
+ def self.convert(tree, options = nil); end
109
+ def self.get_template(template); end
110
+ def self.new(*arg0); end
111
+ def smart_quote_entity(el); end
112
+ def warning(text); end
113
+ def warnings; end
114
+ end
115
+ module Kramdown::Utils::Html
116
+ def entity_to_str(e, original = nil); end
117
+ def escape_html(str, type = nil); end
118
+ def fix_cjk_line_break(str); end
119
+ def html_attributes(attr); end
120
+ end
121
+ class Kramdown::Parser::Base
122
+ def adapt_source(source); end
123
+ def add_text(text, tree = nil, type = nil); end
124
+ def extract_string(range, strscan); end
125
+ def initialize(source, options); end
126
+ def options; end
127
+ def parse; end
128
+ def root; end
129
+ def self.allocate; end
130
+ def self.new(*arg0); end
131
+ def self.parse(source, options = nil); end
132
+ def source; end
133
+ def warning(text); end
134
+ def warnings; end
135
+ end
136
+ module Kramdown::Utils::Entities
137
+ def entity(point_or_name); end
138
+ def self.entity(point_or_name); end
139
+ end
140
+ class Kramdown::Utils::Entities::Entity < Struct
141
+ def char; end
142
+ def code_point; end
143
+ def code_point=(_); end
144
+ def name; end
145
+ def name=(_); end
146
+ def self.[](*arg0); end
147
+ def self.inspect; end
148
+ def self.members; end
149
+ def self.new(*arg0); end
150
+ end
151
+ class Kramdown::Parser::Html < Kramdown::Parser::Base
152
+ def parse; end
153
+ include Kramdown::Parser::Html::Parser
154
+ end
155
+ module Kramdown::Parser::Html::Constants
156
+ end
157
+ module Kramdown::Parser::Html::Parser
158
+ def handle_html_start_tag(line = nil); end
159
+ def handle_raw_html_tag(name); end
160
+ def parse_html_attributes(str, line = nil, in_html_tag = nil); end
161
+ def parse_raw_html(el, &block); end
162
+ include Kramdown::Parser::Html::Constants
163
+ end
164
+ class Kramdown::Parser::Html::ElementConverter
165
+ def convert_a(el); end
166
+ def convert_b(el); end
167
+ def convert_code(el); end
168
+ def convert_em(el); end
169
+ def convert_h1(el); end
170
+ def convert_h2(el); end
171
+ def convert_h3(el); end
172
+ def convert_h4(el); end
173
+ def convert_h5(el); end
174
+ def convert_h6(el); end
175
+ def convert_i(el); end
176
+ def convert_pre(el); end
177
+ def convert_script(el); end
178
+ def convert_strong(el); end
179
+ def convert_table(el); end
180
+ def convert_textarea(el); end
181
+ def extract_text(el, raw); end
182
+ def handle_math_tag(el); end
183
+ def initialize(root); end
184
+ def is_math_tag?(el); end
185
+ def is_simple_table?(el); end
186
+ def process(el, do_conversion = nil, preserve_text = nil, parent = nil); end
187
+ def process_children(el, do_conversion = nil, preserve_text = nil); end
188
+ def process_html_element(el, do_conversion = nil, preserve_text = nil); end
189
+ def process_text(raw, preserve = nil); end
190
+ def remove_text_children(el); end
191
+ def remove_whitespace_children(el); end
192
+ def self.convert(root, el = nil); end
193
+ def set_basics(el, type, opts = nil); end
194
+ def strip_whitespace(el); end
195
+ def wrap_text_children(el); end
196
+ include Kramdown::Parser::Html::Constants
197
+ include Kramdown::Utils::Entities
198
+ end
199
+ class Kramdown::Converter::Html < Kramdown::Converter::Base
200
+ def add_syntax_highlighter_to_class_attr(attr, lang = nil); end
201
+ def convert(el, indent = nil); end
202
+ def convert_a(el, indent); end
203
+ def convert_abbreviation(el, _indent); end
204
+ def convert_blank(_el, _indent); end
205
+ def convert_blockquote(el, indent); end
206
+ def convert_br(_el, _indent); end
207
+ def convert_codeblock(el, indent); end
208
+ def convert_codespan(el, _indent); end
209
+ def convert_comment(el, indent); end
210
+ def convert_dd(el, indent); end
211
+ def convert_dl(el, indent); end
212
+ def convert_dt(el, indent); end
213
+ def convert_em(el, indent); end
214
+ def convert_entity(el, _indent); end
215
+ def convert_footnote(el, _indent); end
216
+ def convert_header(el, indent); end
217
+ def convert_hr(el, indent); end
218
+ def convert_html_element(el, indent); end
219
+ def convert_img(el, _indent); end
220
+ def convert_li(el, indent); end
221
+ def convert_math(el, indent); end
222
+ def convert_ol(el, indent); end
223
+ def convert_p(el, indent); end
224
+ def convert_raw(el, _indent); end
225
+ def convert_root(el, indent); end
226
+ def convert_smart_quote(el, _indent); end
227
+ def convert_standalone_image(el, indent); end
228
+ def convert_strong(el, indent); end
229
+ def convert_table(el, indent); end
230
+ def convert_tbody(el, indent); end
231
+ def convert_td(el, indent); end
232
+ def convert_text(el, _indent); end
233
+ def convert_tfoot(el, indent); end
234
+ def convert_thead(el, indent); end
235
+ def convert_tr(el, indent); end
236
+ def convert_typographic_sym(el, _indent); end
237
+ def convert_ul(el, indent); end
238
+ def convert_xml_comment(el, indent); end
239
+ def convert_xml_pi(el, indent); end
240
+ def fix_for_toc_entry(elements); end
241
+ def footnote_content; end
242
+ def format_as_block_html(name, attr, body, indent); end
243
+ def format_as_indented_block_html(name, attr, body, indent); end
244
+ def format_as_span_html(name, attr, body); end
245
+ def generate_toc_tree(toc, type, attr); end
246
+ def indent; end
247
+ def indent=(arg0); end
248
+ def initialize(root, options); end
249
+ def inner(el, indent); end
250
+ def obfuscate(text); end
251
+ def remove_footnotes(elements); end
252
+ def unwrap_links(elements); end
253
+ include Kramdown::Parser::Html::Constants
254
+ include Kramdown::Utils::Html
255
+ end
256
+ class Kramdown::Parser::Kramdown < Kramdown::Parser::Base
257
+ def add_header(level, text, id); end
258
+ def add_link(el, href, title, alt_text = nil, ial = nil); end
259
+ def after_block_boundary?; end
260
+ def before_block_boundary?; end
261
+ def configure_parser; end
262
+ def correct_abbreviations_attributes; end
263
+ def fetch_pattern(type, indentation); end
264
+ def handle_extension(name, opts, body, type, line_no = nil); end
265
+ def handle_kramdown_html_tag(el, closed, handle_body); end
266
+ def initialize(source, options); end
267
+ def new_block_el(*args); end
268
+ def normalize_link_id(id); end
269
+ def paragraph_end; end
270
+ def parse; end
271
+ def parse_abbrev_definition; end
272
+ def parse_attribute_list(str, opts); end
273
+ def parse_atx_header; end
274
+ def parse_autolink; end
275
+ def parse_blank_line; end
276
+ def parse_block_extensions; end
277
+ def parse_block_html; end
278
+ def parse_block_math; end
279
+ def parse_blockquote; end
280
+ def parse_blocks(el, text = nil); end
281
+ def parse_codeblock; end
282
+ def parse_codeblock_fenced; end
283
+ def parse_codespan; end
284
+ def parse_definition_list; end
285
+ def parse_emphasis; end
286
+ def parse_eob_marker; end
287
+ def parse_escaped_chars; end
288
+ def parse_extension_start_tag(type); end
289
+ def parse_first_list_line(indentation, content); end
290
+ def parse_footnote_definition; end
291
+ def parse_footnote_marker; end
292
+ def parse_header_contents; end
293
+ def parse_horizontal_rule; end
294
+ def parse_html_entity; end
295
+ def parse_inline_math; end
296
+ def parse_line_break; end
297
+ def parse_link; end
298
+ def parse_link_definition; end
299
+ def parse_list; end
300
+ def parse_paragraph; end
301
+ def parse_setext_header; end
302
+ def parse_smart_quotes; end
303
+ def parse_span_extensions; end
304
+ def parse_span_html; end
305
+ def parse_spans(el, stop_re = nil, parsers = nil, text_type = nil); end
306
+ def parse_table; end
307
+ def parse_typographic_syms; end
308
+ def replace_abbreviations(el, regexps = nil); end
309
+ def reset_env(opts = nil); end
310
+ def restore_env(env); end
311
+ def save_env; end
312
+ def self.define_parser(name, start_re, span_start = nil, meth_name = nil); end
313
+ def self.has_parser?(name); end
314
+ def self.parser(name = nil); end
315
+ def span_parser_regexps(parsers = nil); end
316
+ def span_pattern_cache(stop_re, span_start); end
317
+ def update_attr_with_ial(attr, ial); end
318
+ def update_ial_with_ial(ial, opts); end
319
+ def update_link_definitions(link_defs); end
320
+ def update_raw_text(item); end
321
+ def update_tree(element); end
322
+ include Kramdown
323
+ include Kramdown::Parser::Html::Parser
324
+ end
325
+ class Kramdown::Parser::Kramdown::Data < Struct
326
+ def method; end
327
+ def method=(_); end
328
+ def name; end
329
+ def name=(_); end
330
+ def self.[](*arg0); end
331
+ def self.inspect; end
332
+ def self.members; end
333
+ def self.new(*arg0); end
334
+ def span_start; end
335
+ def span_start=(_); end
336
+ def start_re; end
337
+ def start_re=(_); end
338
+ end
@@ -0,0 +1,301 @@
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/listen/all/listen.rbi
9
+ #
10
+ # listen-3.3.3
11
+
12
+ module Listen
13
+ def self.default_logger; end
14
+ def self.logger; end
15
+ def self.logger=(arg0); end
16
+ def self.stop; end
17
+ def self.to(*args, &block); end
18
+ end
19
+ class Listen::Options
20
+ def initialize(opts, defaults); end
21
+ def method_missing(name, *_); end
22
+ def respond_to_missing?(name, *_); end
23
+ end
24
+ class Listen::Record
25
+ def _auto_hash; end
26
+ def _fast_build_dir(remaining, symlink_detector); end
27
+ def _fast_try_file(entry); end
28
+ def _fast_unset_path(dirname, basename); end
29
+ def _fast_update_file(dirname, basename, data); end
30
+ def _sub_tree(rel_path); end
31
+ def add_dir(rel_path); end
32
+ def build; end
33
+ def dir_entries(rel_path); end
34
+ def file_data(rel_path); end
35
+ def initialize(directory); end
36
+ def root; end
37
+ def unset_path(rel_path); end
38
+ def update_file(rel_path, data); end
39
+ end
40
+ class Listen::Record::Entry
41
+ def _entries(dir); end
42
+ def _join; end
43
+ def children; end
44
+ def initialize(root, relative, name = nil); end
45
+ def meta; end
46
+ def name; end
47
+ def real_path; end
48
+ def record_dir_key; end
49
+ def relative; end
50
+ def root; end
51
+ def sys_path; end
52
+ end
53
+ class Listen::Record::SymlinkDetector
54
+ def _fail(symlinked, real_path); end
55
+ def initialize; end
56
+ def verify_unwatched!(entry); end
57
+ end
58
+ class Listen::Record::SymlinkDetector::Error < RuntimeError
59
+ end
60
+ class Listen::File
61
+ def self.change(record, rel_path); end
62
+ def self.inaccurate_mac_time?(stat); end
63
+ end
64
+ class Listen::Directory
65
+ def self._async_changes(snapshot, path, previous, options); end
66
+ def self._change(snapshot, type, path, options); end
67
+ def self._children(path); end
68
+ def self.ascendant_of?(base, other); end
69
+ def self.scan(snapshot, rel_path, options); end
70
+ end
71
+ class Listen::Change
72
+ def initialize(config, record); end
73
+ def invalidate(type, rel_path, options); end
74
+ def record; end
75
+ end
76
+ class Listen::Change::Config
77
+ def initialize(queue, silencer); end
78
+ def queue(*args); end
79
+ def silenced?(path, type); end
80
+ end
81
+ module Listen::Thread
82
+ def self._exception_with_causes(exception); end
83
+ def self._log_exception(exception, thread_name, caller_stack: nil); end
84
+ def self.new(name, &block); end
85
+ def self.rescue_and_log(method_name, *args, caller_stack: nil); end
86
+ end
87
+ module Listen::Adapter
88
+ def self._usable_adapter_class; end
89
+ def self._warn_polling_fallback(options); end
90
+ def self.select(options = nil); end
91
+ end
92
+ class Listen::Adapter::Base
93
+ def _log_exception(msg, caller_stack); end
94
+ def _queue_change(type, dir, rel_path, options); end
95
+ def _stop; end
96
+ def _timed(title); end
97
+ def config; end
98
+ def configure; end
99
+ def initialize(config); end
100
+ def options; end
101
+ def self.usable?; end
102
+ def start; end
103
+ def started?; end
104
+ def stop; end
105
+ end
106
+ class Listen::Adapter::BSD < Listen::Adapter::Base
107
+ def _change(event_flags); end
108
+ def _configure(directory, &callback); end
109
+ def _event_path(event); end
110
+ def _find(*paths, &block); end
111
+ def _process_event(dir, event); end
112
+ def _run; end
113
+ def _watch_file(path, queue); end
114
+ def _watch_for_new_file(event); end
115
+ def self.usable?; end
116
+ end
117
+ class Listen::Adapter::Darwin < Listen::Adapter::Base
118
+ def _configure(dir, &callback); end
119
+ def _process_changes(dirs); end
120
+ def _process_event(dir, path); end
121
+ def _run; end
122
+ def _stop; end
123
+ def self.usable?; end
124
+ end
125
+ class Listen::Adapter::Linux < Listen::Adapter::Base
126
+ def _change(event_flags); end
127
+ def _configure(directory, &callback); end
128
+ def _dir_event?(event); end
129
+ def _process_event(dir, event); end
130
+ def _run; end
131
+ def _skip_event?(event); end
132
+ def _stop; end
133
+ end
134
+ class Listen::Adapter::Polling < Listen::Adapter::Base
135
+ def _configure(_, &callback); end
136
+ def _process_event(dir, _); end
137
+ def _run; end
138
+ end
139
+ class Listen::Adapter::Windows < Listen::Adapter::Base
140
+ def _change(type); end
141
+ def _configure(dir); end
142
+ def _process_event(dir, event); end
143
+ def _run; end
144
+ def self.usable?; end
145
+ end
146
+ class Listen::Adapter::Config
147
+ def adapter_options; end
148
+ def directories; end
149
+ def initialize(directories, queue, silencer, adapter_options); end
150
+ def queue; end
151
+ def silencer; end
152
+ end
153
+ class Listen::Backend
154
+ def adapter; end
155
+ def initialize(directories, queue, silencer, config); end
156
+ def min_delay_between_events; end
157
+ def start(*args, &block); end
158
+ def stop(*args, &block); end
159
+ extend Forwardable
160
+ end
161
+ class Listen::Silencer
162
+ def _ignore?(path); end
163
+ def _init_ignores(ignores, overrides); end
164
+ def _only?(path); end
165
+ def configure(options); end
166
+ def ignore_patterns; end
167
+ def ignore_patterns=(arg0); end
168
+ def initialize; end
169
+ def only_patterns; end
170
+ def only_patterns=(arg0); end
171
+ def silenced?(relative_path, type); end
172
+ end
173
+ class Listen::Silencer::Controller
174
+ def _reconfigure_silencer(extra_options); end
175
+ def append_ignores(*regexps); end
176
+ def initialize(silencer, default_options); end
177
+ def replace_with_bang_ignores(regexps); end
178
+ def replace_with_only(regexps); end
179
+ end
180
+ class Listen::QueueOptimizer
181
+ def _calculate_add_remove_difference(actions, path, default_if_exists); end
182
+ def _logical_action_for(path, actions); end
183
+ def _reinterpret_related_changes(cookies); end
184
+ def _squash_changes(changes); end
185
+ def config; end
186
+ def editor_modified?(changes); end
187
+ def initialize(config); end
188
+ def smoosh_changes(changes); end
189
+ end
190
+ class Listen::QueueOptimizer::Config
191
+ def debug(*args, &block); end
192
+ def exist?(path); end
193
+ def initialize(adapter_class, silencer); end
194
+ def silenced?(path, type); end
195
+ end
196
+ module Listen::FSM
197
+ def current_state; end
198
+ def initialize_fsm; end
199
+ def self.included(klass); end
200
+ def state; end
201
+ def transition!(new_state_name); end
202
+ def transition(new_state_name); end
203
+ def transition_with_callbacks!(new_state); end
204
+ def validate_and_sanitize_new_state(new_state_name); end
205
+ def wait_for_state(*wait_for_states, timeout: nil); end
206
+ end
207
+ module Listen::FSM::ClassMethods
208
+ def start_state(new_start_state = nil); end
209
+ def state(state_name, to: nil, &block); end
210
+ def states; end
211
+ end
212
+ class Listen::FSM::State
213
+ def call(obj); end
214
+ def initialize(name, transitions, &block); end
215
+ def name; end
216
+ def transitions; end
217
+ def valid_transition?(new_state); end
218
+ end
219
+ module Listen::Event
220
+ end
221
+ class Listen::Event::Processor
222
+ def _check_stopped; end
223
+ def _deadline; end
224
+ def _flush_wakeup_reasons; end
225
+ def _process_changes(event); end
226
+ def _remember_time_of_first_unprocessed_event; end
227
+ def _reset_no_unprocessed_events; end
228
+ def _sleep(seconds); end
229
+ def _timestamp; end
230
+ def _wait_until_events; end
231
+ def _wait_until_events_calm_down; end
232
+ def _wait_until_no_longer_paused; end
233
+ def config; end
234
+ def initialize(config, reasons); end
235
+ def loop_for(latency); end
236
+ end
237
+ class Listen::Event::Processor::Stopped < RuntimeError
238
+ end
239
+ class Listen::Event::Loop
240
+ def _process_changes; end
241
+ def _wakeup(reason); end
242
+ def initialize(config); end
243
+ def pause; end
244
+ def start; end
245
+ def started?; end
246
+ def stop; end
247
+ def stopped?; end
248
+ def wakeup_on_event; end
249
+ extend Listen::FSM::ClassMethods
250
+ include Listen::FSM
251
+ end
252
+ class Listen::Event::Loop::Error < RuntimeError
253
+ end
254
+ class Listen::Event::Loop::Error::NotStarted < Listen::Event::Loop::Error
255
+ end
256
+ class Listen::Event::Queue
257
+ def <<(args); end
258
+ def _safe_relative_from_cwd(dir); end
259
+ def close(*args, &block); end
260
+ def empty?(*args, &block); end
261
+ def initialize(config); end
262
+ def pop(*args, &block); end
263
+ extend Forwardable
264
+ end
265
+ class Listen::Event::Queue::Config
266
+ def initialize(relative); end
267
+ def relative?; end
268
+ end
269
+ class Listen::Event::Config
270
+ def call(*args); end
271
+ def callable?; end
272
+ def event_queue; end
273
+ def initialize(listener, event_queue, queue_optimizer, wait_for_delay, &block); end
274
+ def listener; end
275
+ def min_delay_between_events; end
276
+ def optimize_changes(changes); end
277
+ def sleep(seconds); end
278
+ def timestamp; end
279
+ end
280
+ class Listen::Listener
281
+ def ignore!(regexps); end
282
+ def ignore(regexps); end
283
+ def initialize(*dirs, &block); end
284
+ def only(regexps); end
285
+ def pause; end
286
+ def paused?; end
287
+ def processing?; end
288
+ def start; end
289
+ def stop; end
290
+ def stopped?; end
291
+ extend Listen::FSM::ClassMethods
292
+ include Listen::FSM
293
+ end
294
+ class Listen::Listener::Config
295
+ def adapter_instance_options(klass); end
296
+ def adapter_select_options; end
297
+ def initialize(opts); end
298
+ def min_delay_between_events; end
299
+ def relative?; end
300
+ def silencer_rules; end
301
+ end