dry-monads-sorbet 1.1.2 → 1.1.6.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +7 -3
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +18 -2
  5. data/lib/bundled_rbi/dry-monads.rbi +12 -525
  6. data/lib/dry-monads-sorbet.rb +1 -0
  7. data/lib/dry-monads-sorbet/railtie.rb +1 -0
  8. data/lib/dry/monads/sorbet/version.rb +2 -1
  9. data/sorbet/config +4 -0
  10. data/sorbet/rbi/gems/activesupport.rbi +1722 -0
  11. data/sorbet/rbi/gems/ast.rbi +48 -0
  12. data/sorbet/rbi/gems/byebug.rbi +1041 -0
  13. data/sorbet/rbi/gems/coderay.rbi +285 -0
  14. data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
  15. data/sorbet/rbi/gems/docile.rbi +32 -0
  16. data/sorbet/rbi/gems/dry-core.rbi +38 -0
  17. data/sorbet/rbi/gems/dry-equalizer.rbi +26 -0
  18. data/sorbet/rbi/gems/dry-monads.rbi +510 -0
  19. data/sorbet/rbi/gems/em-websocket.rbi +225 -0
  20. data/sorbet/rbi/gems/eventmachine.rbi +489 -0
  21. data/sorbet/rbi/gems/ffaker.rbi +60 -0
  22. data/sorbet/rbi/gems/guard.rbi +397 -0
  23. data/sorbet/rbi/gems/http_parser.rb.rbi +37 -0
  24. data/sorbet/rbi/gems/i18n.rbi +133 -0
  25. data/sorbet/rbi/gems/kwalify.rbi +340 -0
  26. data/sorbet/rbi/gems/listen.rbi +324 -0
  27. data/sorbet/rbi/gems/lumberjack.rbi +300 -0
  28. data/sorbet/rbi/gems/method_source.rbi +64 -0
  29. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  30. data/sorbet/rbi/gems/nenv.rbi +60 -0
  31. data/sorbet/rbi/gems/notiffany.rbi +215 -0
  32. data/sorbet/rbi/gems/parallel.rbi +82 -0
  33. data/sorbet/rbi/gems/parser.rbi +1846 -0
  34. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  35. data/sorbet/rbi/gems/pry.rbi +1949 -0
  36. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  37. data/sorbet/rbi/gems/rake.rbi +648 -0
  38. data/sorbet/rbi/gems/rb-fsevent.rbi +31 -0
  39. data/sorbet/rbi/gems/rb-readline.rbi +767 -0
  40. data/sorbet/rbi/gems/reek.rbi +1027 -0
  41. data/sorbet/rbi/gems/regexp_parser.rbi +913 -0
  42. data/sorbet/rbi/gems/rexml.rbi +605 -0
  43. data/sorbet/rbi/gems/rspec-core.rbi +1913 -0
  44. data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
  45. data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
  46. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  47. data/sorbet/rbi/gems/rspec.rbi +15 -0
  48. data/sorbet/rbi/gems/rubocop-ast.rbi +1053 -0
  49. data/sorbet/rbi/gems/rubocop-rspec.rbi +937 -0
  50. data/sorbet/rbi/gems/rubocop.rbi +6841 -0
  51. data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
  52. data/sorbet/rbi/gems/shellany.rbi +29 -0
  53. data/sorbet/rbi/gems/shoulda-matchers.rbi +1848 -0
  54. data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
  55. data/sorbet/rbi/gems/simplecov.rbi +361 -0
  56. data/sorbet/rbi/gems/sqlite3.rbi +354 -0
  57. data/sorbet/rbi/gems/stackprof.rbi +52 -0
  58. data/sorbet/rbi/gems/thor.rbi +32 -0
  59. data/sorbet/rbi/gems/thread_safe.rbi +82 -0
  60. data/sorbet/rbi/gems/timecop.rbi +98 -0
  61. data/sorbet/rbi/gems/tzinfo.rbi +406 -0
  62. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  63. data/sorbet/rbi/hidden-definitions/errors.txt +7267 -0
  64. data/sorbet/rbi/hidden-definitions/hidden.rbi +14661 -0
  65. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  66. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
  67. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  68. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  69. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +398 -0
  70. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +2072 -0
  71. data/sorbet/rbi/todo.rbi +8 -0
  72. metadata +71 -8
@@ -0,0 +1,60 @@
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/ffaker/all/ffaker.rbi
9
+ #
10
+ # ffaker-2.16.0
11
+
12
+ module FFaker
13
+ def self.bothify(masks); end
14
+ def self.hexify(*masks); end
15
+ def self.letterify(*masks); end
16
+ def self.numerify(*masks); end
17
+ extend FFaker::ModuleUtils
18
+ end
19
+ module FFaker::RandomUtils
20
+ def fetch_sample(list, options = nil); end
21
+ def rand(max = nil); end
22
+ def shuffle(list); end
23
+ end
24
+ module FFaker::ArrayUtils
25
+ def freeze_all; end
26
+ def rand; end
27
+ def random_pick(num); end
28
+ def self.const_array(argument); end
29
+ def self.freeze_all(array); end
30
+ def self.rand(array); end
31
+ def self.random_pick(array, num); end
32
+ def self.shuffle(array); end
33
+ def shuffle; end
34
+ extend FFaker::RandomUtils
35
+ end
36
+ class FFaker::UniqueUtils
37
+ def add_results_to_hash(name, *arguments); end
38
+ def clear; end
39
+ def initialize(generator, max_retries); end
40
+ def method_missing(name, *arguments); end
41
+ def respond_to_missing?(method_name, include_private = nil); end
42
+ def self.clear; end
43
+ end
44
+ class FFaker::UniqueUtils::RetryLimitExceeded < StandardError
45
+ end
46
+ module FFaker::ModuleUtils
47
+ def const_missing(const_name); end
48
+ def k(arg); end
49
+ def underscore(string); end
50
+ def unique(max_retries = nil); end
51
+ include FFaker::RandomUtils
52
+ end
53
+ module FFaker::Random
54
+ def self.new_rng; end
55
+ def self.rand(max = nil); end
56
+ def self.reset!; end
57
+ def self.rng; end
58
+ def self.seed; end
59
+ def self.seed=(new_seed); end
60
+ end
@@ -0,0 +1,397 @@
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/guard/all/guard.rbi
9
+ #
10
+ # guard-2.16.2
11
+
12
+ module Guard
13
+ def self._evaluate(options); end
14
+ def self._guardfile_deprecated_check(modified); end
15
+ def self._listener_callback; end
16
+ def self._pluginless_guardfile?; end
17
+ def self._relative_pathnames(paths); end
18
+ def self._relevant_changes?(changes); end
19
+ def self.async_queue_add(changes); end
20
+ def self.init(cmdline_options); end
21
+ def self.interactor; end
22
+ def self.listener; end
23
+ def self.queue; end
24
+ def self.setup(cmdline_options = nil); end
25
+ def self.state; end
26
+ extend Guard::Deprecated::Guard::ClassMethods
27
+ end
28
+ class Anonymous_Nenv_Environment_15 < Nenv::Environment
29
+ def gem_silence_deprecations?; end
30
+ def strict?; end
31
+ end
32
+ class Guard::Config < Anonymous_Nenv_Environment_15
33
+ def initialize; end
34
+ def silence_deprecations?; end
35
+ end
36
+ module Guard::UI
37
+ def self._calling_plugin_name; end
38
+ def self._filter(plugin); end
39
+ def self._filtered_logger_message(message, method, color_name, options = nil); end
40
+ def self.action_with_scopes(action, scope); end
41
+ def self.clear(opts = nil); end
42
+ def self.clearable; end
43
+ def self.color(text, *color_options); end
44
+ def self.color_enabled?; end
45
+ def self.debug(message, options = nil); end
46
+ def self.deprecation(message, options = nil); end
47
+ def self.error(message, options = nil); end
48
+ def self.info(message, options = nil); end
49
+ def self.level=(new_level); end
50
+ def self.logger; end
51
+ def self.options; end
52
+ def self.options=(options); end
53
+ def self.reset_and_clear; end
54
+ def self.reset_line; end
55
+ def self.reset_logger; end
56
+ def self.warning(message, options = nil); end
57
+ include Guard::UI::Colors
58
+ end
59
+ module Guard::UI::Colors
60
+ end
61
+ class Guard::Options < Thor::CoreExt::HashWithIndifferentAccess
62
+ def fetch(name); end
63
+ def initialize(opts = nil, default_opts = nil); end
64
+ end
65
+ class Guard::UI::Logger
66
+ end
67
+ class Guard::UI::Logger::Config < Guard::Options
68
+ def initialize(options = nil); end
69
+ def level=(value); end
70
+ end
71
+ class Guard::UI::Config < Guard::Options
72
+ def [](name); end
73
+ def device; end
74
+ def except; end
75
+ def initialize(options = nil); end
76
+ def logger_config; end
77
+ def only; end
78
+ def with_progname(name); end
79
+ end
80
+ class Guard::Terminal
81
+ def self.clear; end
82
+ end
83
+ class Guard::PluginUtil
84
+ def _constant_name; end
85
+ def _full_gem_path(name); end
86
+ def _plugin_constant; end
87
+ def add_to_guardfile; end
88
+ def initialize(name); end
89
+ def initialize_plugin(options); end
90
+ def name; end
91
+ def name=(arg0); end
92
+ def plugin_class(options = nil); end
93
+ def plugin_location; end
94
+ def self._gem_valid?(gem); end
95
+ def self.plugin_names; end
96
+ end
97
+ class Guard::Group
98
+ def initialize(name, options = nil); end
99
+ def name; end
100
+ def name=(arg0); end
101
+ def options; end
102
+ def options=(arg0); end
103
+ def title; end
104
+ def to_s; end
105
+ end
106
+ module Guard::Internals
107
+ end
108
+ class Guard::Internals::Groups
109
+ def add(name, options = nil); end
110
+ def all(filter = nil); end
111
+ def initialize; end
112
+ def matcher_for(filter); end
113
+ end
114
+ class Guard::Plugin
115
+ def _register_callbacks; end
116
+ def callbacks; end
117
+ def callbacks=(arg0); end
118
+ def group; end
119
+ def group=(arg0); end
120
+ def hook(event, *args); end
121
+ def initialize(options = nil); end
122
+ def name; end
123
+ def options; end
124
+ def options=(arg0); end
125
+ def self.add_callback(listener, guard_plugin, events); end
126
+ def self.callbacks; end
127
+ def self.non_namespaced_classname; end
128
+ def self.non_namespaced_name; end
129
+ def self.notify(guard_plugin, event, *args); end
130
+ def self.reset_callbacks!; end
131
+ def self.template(plugin_location); end
132
+ def title; end
133
+ def to_s; end
134
+ def watchers; end
135
+ def watchers=(arg0); end
136
+ end
137
+ class Guard::Internals::Plugins
138
+ def add(name, options); end
139
+ def all(filter = nil); end
140
+ def initialize; end
141
+ def matcher_for(filter); end
142
+ def remove(plugin); end
143
+ end
144
+ class Guard::Internals::Session
145
+ def clear?; end
146
+ def clearing(on); end
147
+ def clearing?; end
148
+ def cmdline_groups; end
149
+ def cmdline_plugins; end
150
+ def convert_scope(entries); end
151
+ def debug?; end
152
+ def evaluator_options; end
153
+ def groups; end
154
+ def guardfile_group_scope; end
155
+ def guardfile_ignore; end
156
+ def guardfile_ignore=(ignores); end
157
+ def guardfile_ignore_bang; end
158
+ def guardfile_ignore_bang=(arg0); end
159
+ def guardfile_notification=(config); end
160
+ def guardfile_plugin_scope; end
161
+ def guardfile_scope(scope); end
162
+ def initialize(new_options); end
163
+ def interactor_name; end
164
+ def listener_args; end
165
+ def notify_options; end
166
+ def plugins; end
167
+ def watchdirs; end
168
+ def watchdirs=(dirs); end
169
+ end
170
+ class Guard::Internals::Scope
171
+ def _find_non_empty_scope(type, local_scope); end
172
+ def _groups; end
173
+ def _hashify_scope(type); end
174
+ def _instantiate(meth, obj); end
175
+ def _plugins; end
176
+ def _scope_names(new_scope, name); end
177
+ def from_interactor(scope); end
178
+ def grouped_plugins(scope = nil); end
179
+ def initialize; end
180
+ def titles(scope = nil); end
181
+ def to_hash; end
182
+ end
183
+ module Guard::Deprecated
184
+ end
185
+ module Guard::Deprecated::Watcher
186
+ def self.add_deprecated(klass); end
187
+ end
188
+ module Guard::Deprecated::Watcher::ClassMethods
189
+ def match_guardfile?(files); end
190
+ end
191
+ class Guard::Watcher
192
+ def ==(other); end
193
+ def action; end
194
+ def action=(arg0); end
195
+ def call_action(matches); end
196
+ def initialize(pattern, action = nil); end
197
+ def match(string_or_pathname); end
198
+ def pattern; end
199
+ def pattern=(arg0); end
200
+ def self.match_files(guard, files); end
201
+ extend Guard::Deprecated::Watcher::ClassMethods
202
+ end
203
+ class Guard::Watcher::Pattern
204
+ def self.create(pattern); end
205
+ end
206
+ class Guard::Watcher::Pattern::MatchResult
207
+ def [](index); end
208
+ def initialize(match_result, original_value); end
209
+ end
210
+ class Guard::Watcher::Pattern::Matcher
211
+ def ==(other); end
212
+ def initialize(obj); end
213
+ def match(string_or_pathname); end
214
+ def matcher; end
215
+ def normalized(string_or_pathname); end
216
+ end
217
+ class Guard::Watcher::Pattern::DeprecatedRegexp
218
+ def deprecated?; end
219
+ def initialize(pattern); end
220
+ def self.convert(pattern); end
221
+ def self.show_deprecation(pattern); end
222
+ end
223
+ class Guard::Watcher::Pattern::SimplePath
224
+ def initialize(string_or_pathname); end
225
+ def match(string_or_pathname); end
226
+ def normalize(string_or_pathname); end
227
+ end
228
+ class Guard::Watcher::Pattern::PathnamePath < Guard::Watcher::Pattern::SimplePath
229
+ def normalize(string_or_pathname); end
230
+ end
231
+ class Guard::Runner
232
+ def _run_group_plugins(plugins); end
233
+ def _supervise(plugin, task, *args); end
234
+ def run(task, scope_hash = nil); end
235
+ def run_on_changes(modified, added, removed); end
236
+ def self.stopping_symbol_for(guard); end
237
+ end
238
+ class Guard::Internals::State
239
+ def initialize(cmdline_opts); end
240
+ def scope; end
241
+ def session; end
242
+ end
243
+ module Guard::Deprecated::Evaluator
244
+ def evaluate_guardfile; end
245
+ def reevaluate_guardfile; end
246
+ def self.add_deprecated(klass); end
247
+ end
248
+ class Guard::Interactor
249
+ def background(*args, &block); end
250
+ def foreground(*args, &block); end
251
+ def handle_interrupt(*args, &block); end
252
+ def idle_job; end
253
+ def initialize(no_interaction = nil); end
254
+ def interactive?; end
255
+ def self.enabled; end
256
+ def self.enabled=(arg0); end
257
+ def self.enabled?; end
258
+ def self.options; end
259
+ def self.options=(arg0); end
260
+ extend Forwardable
261
+ end
262
+ class Guard::Notifier
263
+ def self.connect(options = nil); end
264
+ def self.detected; end
265
+ def self.disconnect; end
266
+ def self.notify(message, options = nil); end
267
+ def self.supported; end
268
+ def self.toggle; end
269
+ def self.turn_on; end
270
+ end
271
+ module Guard::Deprecated::Dsl
272
+ def self.add_deprecated(dsl_klass); end
273
+ end
274
+ module Guard::Deprecated::Dsl::ClassMethods
275
+ def evaluate_guardfile(options = nil); end
276
+ end
277
+ class Guard::Dsl
278
+ def _cleanup_backtrace(backtrace); end
279
+ def callback(*args, &block); end
280
+ def clearing(on); end
281
+ def directories(directories); end
282
+ def evaluate(contents, filename, lineno); end
283
+ def filter!(*regexps); end
284
+ def filter(*regexps); end
285
+ def group(*args); end
286
+ def guard(name, options = nil); end
287
+ def ignore!(*regexps); end
288
+ def ignore(*regexps); end
289
+ def interactor(options); end
290
+ def logger(options); end
291
+ def notification(notifier, opts = nil); end
292
+ def scope(scope = nil); end
293
+ def watch(pattern, &action); end
294
+ extend Guard::Deprecated::Dsl::ClassMethods
295
+ end
296
+ class Guard::Dsl::Error < RuntimeError
297
+ end
298
+ class Guard::DslReader < Guard::Dsl
299
+ def callback(*_args, &_block); end
300
+ def clearing(_on); end
301
+ def directories(_directories); end
302
+ def group(*_args); end
303
+ def guard(name, _options = nil); end
304
+ def ignore!(*_regexps); end
305
+ def ignore(*_regexps); end
306
+ def initialize; end
307
+ def interactor(_options); end
308
+ def logger(_options); end
309
+ def notification(_notifier, _opts = nil); end
310
+ def plugin_names; end
311
+ def scope(_scope = nil); end
312
+ def watch(_pattern, &_action); end
313
+ end
314
+ module Guard::Guardfile
315
+ end
316
+ class Guard::Guardfile::Evaluator
317
+ def _fetch_guardfile_contents; end
318
+ def _from_deprecated(opts); end
319
+ def _guardfile_contents; end
320
+ def _guardfile_contents_usable?; end
321
+ def _guardfile_contents_without_user_config; end
322
+ def _instance_eval_guardfile(contents); end
323
+ def _read(path); end
324
+ def _use_default!; end
325
+ def _use_inline; end
326
+ def _use_provided; end
327
+ def custom?; end
328
+ def evaluate; end
329
+ def guardfile_contents; end
330
+ def guardfile_include?(plugin_name); end
331
+ def guardfile_path; end
332
+ def guardfile_source; end
333
+ def initialize(opts = nil); end
334
+ def inline?; end
335
+ def options; end
336
+ def path; end
337
+ include Guard::Deprecated::Evaluator
338
+ end
339
+ class Guard::Guardfile::Evaluator::Error < RuntimeError
340
+ end
341
+ class Guard::Guardfile::Evaluator::NoGuardfileError < Guard::Guardfile::Evaluator::Error
342
+ end
343
+ class Guard::Guardfile::Evaluator::NoCustomGuardfile < Guard::Guardfile::Evaluator::Error
344
+ end
345
+ class Guard::Guardfile::Evaluator::NoPluginsError < Guard::Guardfile::Evaluator::Error
346
+ end
347
+ module Guard::Deprecated::Guard
348
+ def self.add_deprecated(klass); end
349
+ end
350
+ module Guard::Deprecated::Guard::ClassMethods
351
+ def add_group(name, options = nil); end
352
+ def add_guard(*args); end
353
+ def add_plugin(name, options = nil); end
354
+ def evaluate_guardfile; end
355
+ def evaluator; end
356
+ def get_guard_class(name, fail_gracefully = nil); end
357
+ def group(filter); end
358
+ def groups(filter); end
359
+ def guard_gem_names; end
360
+ def guards(filter = nil); end
361
+ def listener=(_); end
362
+ def locate_guard(name); end
363
+ def lock; end
364
+ def options; end
365
+ def plugin(filter); end
366
+ def plugins(filter); end
367
+ def reset_evaluator(_options); end
368
+ def runner; end
369
+ def running; end
370
+ def scope; end
371
+ def scope=(scope); end
372
+ end
373
+ module Guard::Internals::Helpers
374
+ def _relative_pathname(path); end
375
+ end
376
+ module Guard::Internals::Tracing
377
+ def self.trace(mod, meth); end
378
+ def self.untrace(mod, meth); end
379
+ end
380
+ class Guard::Internals::Debugging
381
+ def self._notify(*args); end
382
+ def self._reset; end
383
+ def self._trace(mod, meth, &block); end
384
+ def self._untrace(mod, meth); end
385
+ def self.start; end
386
+ def self.stop; end
387
+ end
388
+ module Guard::Internals::Traps
389
+ def self.handle(signal, &block); end
390
+ end
391
+ class Guard::Internals::Queue
392
+ def <<(changes); end
393
+ def _run_actions(actions); end
394
+ def initialize(commander); end
395
+ def pending?; end
396
+ def process; end
397
+ end