rspec-sorbet 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -22
  3. data/.gitignore +2 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -5
  6. data/bin/tapioca +29 -0
  7. data/lib/rspec/sorbet/doubles.rb +1 -1
  8. data/lib/rspec/sorbet/version.rb +1 -1
  9. data/nix/sources.json +14 -0
  10. data/nix/sources.nix +174 -0
  11. data/run_ci.sh +7 -0
  12. data/shell.nix +20 -0
  13. data/sorbet/config +2 -0
  14. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  15. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  16. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  17. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +9 -0
  18. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  19. data/sorbet/rbi/gems/em-websocket@0.5.2.rbi +8 -0
  20. data/sorbet/rbi/gems/eventmachine@1.2.7.rbi +45 -0
  21. data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
  22. data/sorbet/rbi/gems/ffi@1.15.4.rbi +8 -0
  23. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  24. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +31 -0
  25. data/sorbet/rbi/gems/guard-livereload@2.5.2.rbi +8 -0
  26. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +211 -0
  27. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  28. data/sorbet/rbi/gems/http_parser.rb@0.6.0.rbi +8 -0
  29. data/sorbet/rbi/gems/listen@3.7.0.rbi +8 -0
  30. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  31. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  32. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  33. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  34. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  35. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  36. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
  37. data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
  38. data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
  39. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  40. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
  41. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  42. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  43. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  44. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  45. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
  46. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2308 -1766
  47. data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
  48. data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
  49. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  50. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  51. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  52. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  53. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  54. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  55. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  56. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  57. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  58. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  59. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  60. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  61. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  62. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  63. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  64. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  65. data/sorbet/tapioca/require.rb +4 -0
  66. metadata +60 -64
  67. data/.reek.yml +0 -32
  68. data/.ruby-version +0 -1
  69. data/sorbet/rbi/gems/activesupport.rbi +0 -1722
  70. data/sorbet/rbi/gems/byebug.rbi +0 -1041
  71. data/sorbet/rbi/gems/coderay.rbi +0 -285
  72. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  73. data/sorbet/rbi/gems/docile.rbi +0 -32
  74. data/sorbet/rbi/gems/em-websocket.rbi +0 -225
  75. data/sorbet/rbi/gems/eventmachine.rbi +0 -489
  76. data/sorbet/rbi/gems/ffaker.rbi +0 -60
  77. data/sorbet/rbi/gems/guard.rbi +0 -397
  78. data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
  79. data/sorbet/rbi/gems/i18n.rbi +0 -133
  80. data/sorbet/rbi/gems/kwalify.rbi +0 -340
  81. data/sorbet/rbi/gems/listen.rbi +0 -324
  82. data/sorbet/rbi/gems/lumberjack.rbi +0 -300
  83. data/sorbet/rbi/gems/method_source.rbi +0 -64
  84. data/sorbet/rbi/gems/multi_json.rbi +0 -62
  85. data/sorbet/rbi/gems/nenv.rbi +0 -60
  86. data/sorbet/rbi/gems/notiffany.rbi +0 -215
  87. data/sorbet/rbi/gems/parallel.rbi +0 -82
  88. data/sorbet/rbi/gems/parser.rbi +0 -1846
  89. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  90. data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
  91. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  92. data/sorbet/rbi/gems/reek.rbi +0 -1027
  93. data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
  94. data/sorbet/rbi/gems/rspec-support.rbi +0 -280
  95. data/sorbet/rbi/gems/rspec.rbi +0 -15
  96. data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
  97. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
  98. data/sorbet/rbi/gems/rubocop.rbi +0 -6841
  99. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  100. data/sorbet/rbi/gems/shellany.rbi +0 -29
  101. data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
  102. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  103. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  104. data/sorbet/rbi/gems/sqlite3.rbi +0 -354
  105. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  106. data/sorbet/rbi/gems/thor.rbi +0 -32
  107. data/sorbet/rbi/gems/thread_safe.rbi +0 -82
  108. data/sorbet/rbi/gems/timecop.rbi +0 -98
  109. data/sorbet/rbi/gems/tzinfo.rbi +0 -406
  110. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  111. data/sorbet/rbi/hidden-definitions/errors.txt +0 -7275
  112. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14595
  113. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  114. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
  115. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  116. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  117. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
  118. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
  119. data/sorbet/rbi/todo.rbi +0 -9
@@ -1,340 +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/kwalify/all/kwalify.rbi
9
- #
10
- # kwalify-0.7.2
11
-
12
- module Kwalify
13
- def self.meta_validator; end
14
- def self.msg(key); end
15
- def self.word(key); end
16
- extend Kwalify::ErrorHelper
17
- extend Kwalify::Types
18
- end
19
- module Kwalify::Boolean
20
- end
21
- class TrueClass
22
- include Kwalify::Boolean
23
- include Kwalify::Scalar
24
- end
25
- class FalseClass
26
- include Kwalify::Boolean
27
- include Kwalify::Scalar
28
- end
29
- module Kwalify::Text
30
- include Kwalify::Scalar
31
- end
32
- class String
33
- include Kwalify::Scalar
34
- include Kwalify::Text
35
- end
36
- class Numeric
37
- include Kwalify::Scalar
38
- include Kwalify::Text
39
- end
40
- module Kwalify::Scalar
41
- end
42
- class Date
43
- include Kwalify::Scalar
44
- end
45
- class Time
46
- include Kwalify::Scalar
47
- end
48
- class NilClass
49
- include Kwalify::Scalar
50
- end
51
- module Kwalify::Types
52
- def collection?(val); end
53
- def collection_type?(type); end
54
- def scalar?(val); end
55
- def scalar_type?(type); end
56
- def self.collection?(val); end
57
- def self.collection_type?(type); end
58
- def self.get_type_class(type); end
59
- def self.scalar?(val); end
60
- def self.scalar_type?(type); end
61
- def self.type_class(type); end
62
- def self.type_table; end
63
- end
64
- class Kwalify::KwalifyError < StandardError
65
- end
66
- class Kwalify::AssertionError < Kwalify::KwalifyError
67
- def initialize(msg); end
68
- end
69
- class Kwalify::BaseError < Kwalify::KwalifyError
70
- def <=>(ex); end
71
- def _to_s; end
72
- def column; end
73
- def column=(arg0); end
74
- def error_symbol; end
75
- def error_symbol=(arg0); end
76
- def filename; end
77
- def filename=(arg0); end
78
- def initialize(message = nil, path = nil, value = nil, rule = nil, error_symbol = nil); end
79
- def linenum; end
80
- def linenum=(arg0); end
81
- def message; end
82
- def path; end
83
- def path=(arg0); end
84
- def rule; end
85
- def rule=(arg0); end
86
- def to_s; end
87
- def value; end
88
- def value=(arg0); end
89
- end
90
- class Kwalify::SchemaError < Kwalify::BaseError
91
- def initialize(message = nil, path = nil, rule = nil, value = nil, error_symbol = nil); end
92
- end
93
- class Kwalify::ValidationError < Kwalify::BaseError
94
- def initialize(message = nil, path = nil, rule = nil, value = nil, error_symbol = nil); end
95
- end
96
- class Kwalify::SyntaxError < Kwalify::BaseError
97
- def initialize(msg, linenum = nil, error_symbol = nil); end
98
- def message; end
99
- end
100
- class Kwalify::YamlSyntaxError < Kwalify::SyntaxError
101
- end
102
- module Kwalify::ErrorHelper
103
- def _build_message(message_key, val, args); end
104
- def assert_error(message = nil); end
105
- def schema_error(error_symbol, rule, path, val, args = nil); end
106
- def self._build_message(message_key, val, args); end
107
- def self.validate_error(error_symbol, rule, path, val, args = nil); end
108
- def validate_error(error_symbol, rule, path, val, args = nil); end
109
- end
110
- class Kwalify::Rule
111
- def _check_confliction(hash, rule, path); end
112
- def _init(hash, path = nil, rule_table = nil); end
113
- def _init_assert_value(val, rule, path); end
114
- def _init_class_value(val, rule, path); end
115
- def _init_default_value(val, rule, path); end
116
- def _init_desc_value(val, rule, path); end
117
- def _init_enum_value(val, rule, path); end
118
- def _init_ident_value(val, rule, path); end
119
- def _init_length_value(val, rule, path); end
120
- def _init_mapping_value(val, rule, path, rule_table); end
121
- def _init_name_value(val, rule, path); end
122
- def _init_pattern_value(val, rule, path); end
123
- def _init_range_value(val, rule, path); end
124
- def _init_required_value(val, rule, path); end
125
- def _init_sequence_value(val, rule, path, rule_table); end
126
- def _init_type_value(val, rule, path); end
127
- def _init_unique_value(val, rule, path); end
128
- def _inspect(str = nil, level = nil, done = nil); end
129
- def _uniqueness_check_table; end
130
- def assert; end
131
- def assert_proc; end
132
- def classname; end
133
- def classobj; end
134
- def default; end
135
- def desc; end
136
- def enum; end
137
- def get_init_method(sym); end
138
- def ident; end
139
- def initialize(hash = nil, parent = nil); end
140
- def length; end
141
- def mapping; end
142
- def name; end
143
- def parent; end
144
- def parent=(arg0); end
145
- def pattern; end
146
- def range; end
147
- def regexp; end
148
- def required; end
149
- def sequence; end
150
- def type; end
151
- def type_class; end
152
- def unique; end
153
- include Kwalify::ErrorHelper
154
- end
155
- class Kwalify::Validator
156
- def _inspect; end
157
- def _validate(value, rule, path, errors, done, uniq_table, recursive = nil); end
158
- def _validate_assert(value, rule, path, errors); end
159
- def _validate_enum(value, rule, path, errors); end
160
- def _validate_length(value, rule, path, errors); end
161
- def _validate_mapping(hash, map_rule, path, errors, done, uniq_table, recursive = nil); end
162
- def _validate_mapping_required_keys(hash, map_rule, path, errors); end
163
- def _validate_pattern(value, rule, path, errors); end
164
- def _validate_range(value, rule, path, errors); end
165
- def _validate_scalar(value, rule, path, errors, done, uniq_table); end
166
- def _validate_sequence(list, seq_rule, path, errors, done, uniq_table, recursive = nil); end
167
- def _validate_unique(value, rule, path, errors, uniq_table); end
168
- def initialize(hash_or_rule, &block); end
169
- def rule; end
170
- def validate(value); end
171
- def validate_hook(value, rule, path, errors); end
172
- include Kwalify::ErrorHelper
173
- end
174
- module Kwalify::Util
175
- def _traverse_rule(rule, _done = nil, &block); end
176
- def _traverse_schema(hash, _done = nil, &block); end
177
- def create_hashtable(hashlist, primarykey, flag_duplicate_check = nil); end
178
- def get_class(classname); end
179
- def get_value(obj, path); end
180
- def self._traverse_rule(rule, _done = nil, &block); end
181
- def self._traverse_schema(hash, _done = nil, &block); end
182
- def self.create_hashtable(hashlist, primarykey, flag_duplicate_check = nil); end
183
- def self.get_class(classname); end
184
- def self.get_value(obj, path); end
185
- def self.traverse_rule(validator, &block); end
186
- def self.traverse_schema(schema, &block); end
187
- def self.untabify(str, width = nil); end
188
- def traverse_rule(validator, &block); end
189
- def traverse_schema(schema, &block); end
190
- def untabify(str, width = nil); end
191
- end
192
- class Kwalify::BaseParser
193
- def _getch; end
194
- def _set_column_and_linenum(s); end
195
- def _syntax_error(message, path = nil, linenum = nil, column = nil); end
196
- def column; end
197
- def eos?; end
198
- def filename; end
199
- def group(n); end
200
- def linenum; end
201
- def match?(regexp); end
202
- def peep(n = nil); end
203
- def reset(input, filename = nil, untabify = nil); end
204
- def scan(regexp); end
205
- def scan_string; end
206
- end
207
- module Kwalify::Yaml
208
- def self.load(yaml_str, opts = nil); end
209
- def self.load_file(filename, opts = nil); end
210
- end
211
- class Kwalify::Yaml::Parser < Kwalify::BaseParser
212
- def _error(klass, message, path, linenum, column); end
213
- def _getclass(classname); end
214
- def _parse_map_value(map, map_rule, path, level, key, is_merged, uniq_table, _linenum, _column, _linenum2, _column2); end
215
- def _set_error_info(linenum = nil, column = nil, &block); end
216
- def _validate_map_value(map, map_rule, rule, path, uniq_table, key, val, _linenum, _column); end
217
- def add_to_seq(rule, seq, val, linenum, column); end
218
- def create_mapping(rule, linenum, column); end
219
- def create_scalar(rule, value, linenum, column); end
220
- def create_sequence(rule, linenum, column); end
221
- def data_binding; end
222
- def data_binding=(arg0); end
223
- def document_start?; end
224
- def errors; end
225
- def has_next?; end
226
- def initialize(validator = nil, properties = nil); end
227
- def location(path); end
228
- def mapping_class; end
229
- def mapping_class=(arg0); end
230
- def parse(input = nil, opts = nil); end
231
- def parse_alias(rule, path, uniq_table, container); end
232
- def parse_anchor(rule, path, uniq_table, container); end
233
- def parse_block_map(map, map_rule, path, uniq_table); end
234
- def parse_block_scalar(rule, path, uniq_table); end
235
- def parse_block_seq(seq, seq_rule, path, uniq_table); end
236
- def parse_block_text(column, rule, path, uniq_table); end
237
- def parse_block_value(level, rule, path, uniq_table, container); end
238
- def parse_documents(input, opts = nil, &block); end
239
- def parse_file(filename, opts = nil); end
240
- def parse_flow_map(map, map_rule, path, uniq_table); end
241
- def parse_flow_scalar(rule, path, uniq_table); end
242
- def parse_flow_seq(seq, seq_rule, path, uniq_table); end
243
- def parse_flow_value(rule, path, uniq_table, container); end
244
- def parse_next; end
245
- def parse_stream(input, opts = nil, &block); end
246
- def preceding_alias; end
247
- def preceding_alias=(arg0); end
248
- def put_to_map(rule, map, key, val, linenum, column); end
249
- def reset_parser; end
250
- def reset_scanner(input, filename = nil, untabify = nil); end
251
- def resolve_preceding_aliases(val); end
252
- def sequence_class; end
253
- def sequence_class=(arg0); end
254
- def set_errors_linenum(errors); end
255
- def skip_spaces_and_comments; end
256
- def stream_end?; end
257
- def to_mapkey(str); end
258
- def to_scalar(str); end
259
- def validator; end
260
- def validator=(arg0); end
261
- end
262
- class Kwalify::MetaValidator < Kwalify::Validator
263
- def initialize(schema, &block); end
264
- def self.instance; end
265
- def validate_hook(value, rule, path, errors); end
266
- end
267
- class Kwalify::PlainYamlParser
268
- def _getchar; end
269
- def _getline; end
270
- def add_to_map(map, key, value, linenum); end
271
- def add_to_seq(seq, value, linenum); end
272
- def assert(bool_expr); end
273
- def create_mapping(linenum = nil); end
274
- def create_scalar(value, linenum = nil); end
275
- def create_sequence(linenum = nil); end
276
- def current_char; end
277
- def current_line; end
278
- def current_linenum; end
279
- def getchar; end
280
- def getchar_or_nl; end
281
- def getlabel; end
282
- def getline; end
283
- def has_next?; end
284
- def initialize(yaml_str); end
285
- def merge_map(map, map2, linenum); end
286
- def parse; end
287
- def parse_alias(column, value); end
288
- def parse_all; end
289
- def parse_anchor(column, value); end
290
- def parse_block_text(column, value); end
291
- def parse_child(column); end
292
- def parse_flow(depth); end
293
- def parse_flow_map(depth); end
294
- def parse_flow_map_item(depth); end
295
- def parse_flow_scalar(depth); end
296
- def parse_flow_seq(depth); end
297
- def parse_flow_seq_item(depth); end
298
- def parse_flowstyle(column, value); end
299
- def parse_mapping(column, value); end
300
- def parse_scalar(indent, value); end
301
- def parse_sequence(column, value); end
302
- def parse_tag(column, value); end
303
- def parse_value(column, value, value_start_column); end
304
- def register_alias(label); end
305
- def register_anchor(label, data); end
306
- def reset_sbuf(str); end
307
- def resolve_aliases(data); end
308
- def set_default(map, value, linenum); end
309
- def set_map_with(map, key, value, linenum); end
310
- def set_seq_at(seq, i, value, linenum); end
311
- def syntax_error(error_symbol, arg = nil, linenum = nil); end
312
- def to_scalar(str); end
313
- def white?(ch); end
314
- end
315
- class Kwalify::PlainYamlParser::Alias
316
- def initialize(label, linenum); end
317
- def label; end
318
- def linenum; end
319
- end
320
- class Kwalify::YamlParser < Kwalify::PlainYamlParser
321
- def add_to_map(map, key, value, linenum); end
322
- def add_to_seq(seq, value, linenum); end
323
- def create_mapping(linenum = nil); end
324
- def create_scalar(value, linenum = nil); end
325
- def create_sequence(linenum = nil); end
326
- def initialize(*args); end
327
- def merge_map(map, collection, linenum); end
328
- def parse; end
329
- def path_linenum(path); end
330
- def set_default(map, value, linenum); end
331
- def set_error_linenums(errors); end
332
- def set_errors_linenum(errors); end
333
- def set_map_with(map, key, value, linenum); end
334
- def set_seq_at(seq, i, value, linenum); end
335
- end
336
- class Kwalify::Parser < Kwalify::YamlParser
337
- def initialize(yaml_str); end
338
- end
339
- module Kwalify::Json
340
- end
@@ -1,324 +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/listen/all/listen.rbi
9
- #
10
- # listen-3.2.1
11
-
12
- module Listen
13
- def self.logger; end
14
- def self.logger=(logger); end
15
- def self.setup_default_logger_if_unset; end
16
- def self.stop; end
17
- def self.to(*args, &block); end
18
- end
19
- class Listen::Logger
20
- def self.debug(*args, &block); end
21
- def self.error(*args, &block); end
22
- def self.fatal(*args, &block); end
23
- def self.info(*args, &block); end
24
- def self.warn(*args, &block); end
25
- end
26
- class Listen::Options
27
- def initialize(opts, defaults); end
28
- def method_missing(name, *_); end
29
- end
30
- class Listen::Record
31
- def _auto_hash; end
32
- def _fast_build_dir(remaining, symlink_detector); end
33
- def _fast_try_file(entry); end
34
- def _fast_unset_path(dirname, basename); end
35
- def _fast_update_file(dirname, basename, data); end
36
- def add_dir(rel_path); end
37
- def build; end
38
- def dir_entries(rel_path); end
39
- def file_data(rel_path); end
40
- def initialize(directory); end
41
- def root; end
42
- def tree; end
43
- def unset_path(rel_path); end
44
- def update_file(rel_path, data); end
45
- end
46
- class Listen::Record::Entry
47
- def _entries(dir); end
48
- def _join; end
49
- def children; end
50
- def initialize(root, relative, name = nil); end
51
- def meta; end
52
- def name; end
53
- def real_path; end
54
- def record_dir_key; end
55
- def relative; end
56
- def root; end
57
- def sys_path; end
58
- end
59
- class Listen::Record::SymlinkDetector
60
- def _fail(symlinked, real_path); end
61
- def initialize; end
62
- def verify_unwatched!(entry); end
63
- end
64
- class Listen::Record::SymlinkDetector::Error < RuntimeError
65
- end
66
- class Listen::File
67
- def self.change(record, rel_path); end
68
- def self.inaccurate_mac_time?(stat); end
69
- end
70
- class Listen::Directory
71
- def self._async_changes(snapshot, path, previous, options); end
72
- def self._change(snapshot, type, path, options); end
73
- def self._children(path); end
74
- def self.ascendant_of?(base, other); end
75
- def self.scan(snapshot, rel_path, options); end
76
- end
77
- class Listen::Change
78
- def config; end
79
- def initialize(config, record); end
80
- def invalidate(type, rel_path, options); end
81
- def record; end
82
- end
83
- class Listen::Change::Config
84
- def initialize(queue, silencer); end
85
- def queue(*args); end
86
- def silenced?(path, type); end
87
- end
88
- module Listen::Adapter
89
- def self._log(type, message); end
90
- def self._usable_adapter_class; end
91
- def self._warn_polling_fallback(options); end
92
- def self.select(options = nil); end
93
- end
94
- class Listen::Adapter::Base
95
- def _log(*args, &block); end
96
- def _log_exception(msg, caller_stack); end
97
- def _queue_change(type, dir, rel_path, options); end
98
- def _stop; end
99
- def _timed(title); end
100
- def config; end
101
- def configure; end
102
- def initialize(config); end
103
- def options; end
104
- def self._log(*args, &block); end
105
- def self.usable?; end
106
- def start; end
107
- def started?; end
108
- def stop; end
109
- end
110
- class Listen::Adapter::BSD < Listen::Adapter::Base
111
- def _change(event_flags); end
112
- def _configure(directory, &callback); end
113
- def _event_path(event); end
114
- def _find(*paths, &block); end
115
- def _process_event(dir, event); end
116
- def _run; end
117
- def _watch_file(path, queue); end
118
- def _watch_for_new_file(event); end
119
- def self.usable?; end
120
- end
121
- module Listen::Internals
122
- end
123
- module Listen::Internals::ThreadPool
124
- def self.add(&block); end
125
- def self.stop; end
126
- end
127
- class Listen::Adapter::Darwin < Listen::Adapter::Base
128
- def _configure(dir, &callback); end
129
- def _process_changes(dirs); end
130
- def _process_event(dir, path); end
131
- def _run; end
132
- def _run_worker(worker); end
133
- def self.usable?; end
134
- end
135
- class Listen::Adapter::Linux < Listen::Adapter::Base
136
- def _change(event_flags); end
137
- def _configure(directory, &callback); end
138
- def _dir_event?(event); end
139
- def _process_event(dir, event); end
140
- def _run; end
141
- def _skip_event?(event); end
142
- def _stop; end
143
- end
144
- class Listen::Adapter::Polling < Listen::Adapter::Base
145
- def _configure(_, &callback); end
146
- def _process_event(dir, _); end
147
- def _run; end
148
- end
149
- class Listen::Adapter::Windows < Listen::Adapter::Base
150
- def _change(type); end
151
- def _configure(dir); end
152
- def _process_event(dir, event); end
153
- def _run; end
154
- def self.usable?; end
155
- end
156
- class Listen::Adapter::Config
157
- def adapter_options; end
158
- def directories; end
159
- def initialize(directories, queue, silencer, adapter_options); end
160
- def queue; end
161
- def silencer; end
162
- end
163
- class Listen::Backend
164
- def adapter; end
165
- def initialize(directories, queue, silencer, config); end
166
- def min_delay_between_events; end
167
- def start(*args, &block); end
168
- def stop(*args, &block); end
169
- extend Forwardable
170
- end
171
- class Listen::Silencer
172
- def _init_ignores(ignores, overrides); end
173
- def configure(options); end
174
- def ignore_patterns; end
175
- def ignore_patterns=(arg0); end
176
- def initialize; end
177
- def only_patterns; end
178
- def only_patterns=(arg0); end
179
- def options; end
180
- def silenced?(relative_path, type); end
181
- end
182
- class Listen::Silencer::Controller
183
- def _reconfigure_silencer(extra_options); end
184
- def append_ignores(*regexps); end
185
- def initialize(silencer, default_options); end
186
- def replace_with_bang_ignores(regexps); end
187
- def replace_with_only(regexps); end
188
- end
189
- class Listen::QueueOptimizer
190
- def _calculate_add_remove_difference(actions, path, default_if_exists); end
191
- def _detect_possible_editor_save(changes); end
192
- def _logical_action_for(path, actions); end
193
- def _reinterpret_related_changes(cookies); end
194
- def _squash_changes(changes); end
195
- def config; end
196
- def initialize(config); end
197
- def smoosh_changes(changes); end
198
- end
199
- class Listen::QueueOptimizer::Config
200
- def debug(*args, &block); end
201
- def exist?(path); end
202
- def initialize(adapter_class, silencer); end
203
- def silenced?(path, type); end
204
- end
205
- module Listen::FSM
206
- def current_state; end
207
- def current_state_name; end
208
- def default_state; end
209
- def initialize; end
210
- def self.included(klass); end
211
- def state; end
212
- def states; end
213
- def transition!(state_name); end
214
- def transition(state_name); end
215
- def transition_with_callbacks!(state_name); end
216
- def validate_and_sanitize_new_state(state_name); end
217
- end
218
- module Listen::FSM::ClassMethods
219
- def default_state(new_default = nil); end
220
- def state(*args, &block); end
221
- def states; end
222
- end
223
- class Listen::FSM::State
224
- def call(obj); end
225
- def initialize(name, transitions = nil, &block); end
226
- def name; end
227
- def transitions; end
228
- def valid_transition?(new_state); end
229
- end
230
- module Listen::Event
231
- end
232
- class Listen::Event::Processor
233
- def _check_stopped; end
234
- def _deadline; end
235
- def _flush_wakeup_reasons; end
236
- def _process_changes; end
237
- def _remember_time_of_first_unprocessed_event; end
238
- def _reset_no_unprocessed_events; end
239
- def _sleep(_local_reason, *args); end
240
- def _timestamp; end
241
- def _wait_until_events; end
242
- def _wait_until_events_calm_down; end
243
- def _wait_until_no_longer_paused; end
244
- def config; end
245
- def initialize(config, reasons); end
246
- def loop_for(latency); end
247
- end
248
- class Listen::Event::Processor::Stopped < RuntimeError
249
- end
250
- class Listen::Event::Loop
251
- def _nice_error(ex); end
252
- def _sleep(*args); end
253
- def _wait_for_changes(ready_queue, config); end
254
- def _wait_until_resumed(ready_queue); end
255
- def _wakeup(reason); end
256
- def config; end
257
- def initialize(config); end
258
- def pause; end
259
- def paused?; end
260
- def processing?; end
261
- def resume; end
262
- def setup; end
263
- def state; end
264
- def state=(arg0); end
265
- def stopped?; end
266
- def teardown; end
267
- def wait_thread; end
268
- def wakeup_on_event; end
269
- end
270
- class Listen::Event::Loop::Error < RuntimeError
271
- end
272
- class Listen::Event::Loop::Error::NotStarted < Listen::Event::Loop::Error
273
- end
274
- class Listen::Event::Queue
275
- def <<(args); end
276
- def _safe_relative_from_cwd(dir); end
277
- def block; end
278
- def config; end
279
- def empty?(*args, &block); end
280
- def event_queue; end
281
- def initialize(config, &block); end
282
- def pop(*args, &block); end
283
- extend Forwardable
284
- end
285
- class Listen::Event::Queue::Config
286
- def initialize(relative); end
287
- def relative?; end
288
- end
289
- class Listen::Event::Config
290
- def call(*args); end
291
- def callable?; end
292
- def event_queue; end
293
- def initialize(listener, event_queue, queue_optimizer, wait_for_delay, &block); end
294
- def listener; end
295
- def min_delay_between_events; end
296
- def optimize_changes(changes); end
297
- def paused?; end
298
- def sleep(*args); end
299
- def stopped?; end
300
- def timestamp; end
301
- end
302
- class Listen::Listener
303
- def backend; end
304
- def ignore!(regexps); end
305
- def ignore(regexps); end
306
- def initialize(*dirs, &block); end
307
- def only(regexps); end
308
- def pause; end
309
- def paused?; end
310
- def processing?; end
311
- def processor; end
312
- def start; end
313
- def stop; end
314
- extend Listen::FSM::ClassMethods
315
- include Listen::FSM
316
- end
317
- class Listen::Listener::Config
318
- def adapter_instance_options(klass); end
319
- def adapter_select_options; end
320
- def initialize(opts); end
321
- def min_delay_between_events; end
322
- def relative?; end
323
- def silencer_rules; end
324
- end