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,397 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: true
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/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_2 < Nenv::Environment
29
- def gem_silence_deprecations?; end
30
- def strict?; end
31
- end
32
- class Guard::Config < Anonymous_Nenv_Environment_2
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
@@ -1,37 +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/http_parser.rb/all/http_parser.rb.rbi
9
- #
10
- # http_parser.rb-0.6.0
11
-
12
- class HTTP::Parser
13
- def <<(arg0); end
14
- def header_value_type; end
15
- def header_value_type=(arg0); end
16
- def headers; end
17
- def http_major; end
18
- def http_method; end
19
- def http_minor; end
20
- def http_version; end
21
- def initialize(*arg0); end
22
- def keep_alive?; end
23
- def on_body=(arg0); end
24
- def on_headers_complete=(arg0); end
25
- def on_message_begin=(arg0); end
26
- def on_message_complete=(arg0); end
27
- def request_url; end
28
- def reset!; end
29
- def self.default_header_value_type; end
30
- def self.default_header_value_type=(val); end
31
- def self.strict?; end
32
- def status_code; end
33
- def upgrade?; end
34
- def upgrade_data; end
35
- end
36
- module HTTP
37
- end
@@ -1,133 +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/i18n/all/i18n.rbi
9
- #
10
- # i18n-1.8.5
11
-
12
- module I18n
13
- def self.interpolate(string, values); end
14
- def self.interpolate_hash(string, values); end
15
- def self.new_double_nested_cache; end
16
- extend I18n::Base
17
- end
18
- class I18n::ExceptionHandler
19
- def call(exception, _locale, _key, _options); end
20
- end
21
- class I18n::ArgumentError < ArgumentError
22
- end
23
- class I18n::Disabled < I18n::ArgumentError
24
- def initialize(method); end
25
- end
26
- class I18n::InvalidLocale < I18n::ArgumentError
27
- def initialize(locale); end
28
- def locale; end
29
- end
30
- class I18n::InvalidLocaleData < I18n::ArgumentError
31
- def filename; end
32
- def initialize(filename, exception_message); end
33
- end
34
- class I18n::MissingTranslation < I18n::ArgumentError
35
- include I18n::MissingTranslation::Base
36
- end
37
- module I18n::MissingTranslation::Base
38
- def initialize(locale, key, options = nil); end
39
- def key; end
40
- def keys; end
41
- def locale; end
42
- def message; end
43
- def options; end
44
- def to_exception; end
45
- def to_s; end
46
- end
47
- class I18n::MissingTranslationData < I18n::ArgumentError
48
- include I18n::MissingTranslation::Base
49
- end
50
- class I18n::InvalidPluralizationData < I18n::ArgumentError
51
- def count; end
52
- def entry; end
53
- def initialize(entry, count, key); end
54
- def key; end
55
- end
56
- class I18n::MissingInterpolationArgument < I18n::ArgumentError
57
- def initialize(key, values, string); end
58
- def key; end
59
- def string; end
60
- def values; end
61
- end
62
- class I18n::ReservedInterpolationKey < I18n::ArgumentError
63
- def initialize(key, string); end
64
- def key; end
65
- def string; end
66
- end
67
- class I18n::UnknownFileType < I18n::ArgumentError
68
- def filename; end
69
- def initialize(type, filename); end
70
- def type; end
71
- end
72
- module I18n::Base
73
- def available_locales; end
74
- def available_locales=(value); end
75
- def available_locales_initialized?; end
76
- def backend; end
77
- def backend=(value); end
78
- def config; end
79
- def config=(value); end
80
- def default_locale; end
81
- def default_locale=(value); end
82
- def default_separator; end
83
- def default_separator=(value); end
84
- def eager_load!; end
85
- def enforce_available_locales!(locale); end
86
- def enforce_available_locales; end
87
- def enforce_available_locales=(value); end
88
- def exception_handler; end
89
- def exception_handler=(value); end
90
- def exists?(key, _locale = nil, locale: nil, **options); end
91
- def handle_exception(handling, exception, locale, key, options); end
92
- def l(object, locale: nil, format: nil, **options); end
93
- def load_path; end
94
- def load_path=(value); end
95
- def locale; end
96
- def locale=(value); end
97
- def locale_available?(locale); end
98
- def localize(object, locale: nil, format: nil, **options); end
99
- def normalize_key(key, separator); end
100
- def normalize_keys(locale, key, scope, separator = nil); end
101
- def reload!; end
102
- def t!(key, options = nil); end
103
- def t(key = nil, *arg1, throw: nil, raise: nil, locale: nil, **options); end
104
- def translate!(key, options = nil); end
105
- def translate(key = nil, *arg1, throw: nil, raise: nil, locale: nil, **options); end
106
- def transliterate(key, *arg1, throw: nil, raise: nil, locale: nil, replacement: nil, **options); end
107
- def with_locale(tmp_locale = nil); end
108
- end
109
- class I18n::Config
110
- def available_locales; end
111
- def available_locales=(locales); end
112
- def available_locales_initialized?; end
113
- def available_locales_set; end
114
- def backend; end
115
- def backend=(backend); end
116
- def clear_available_locales_set; end
117
- def default_locale; end
118
- def default_locale=(locale); end
119
- def default_separator; end
120
- def default_separator=(separator); end
121
- def enforce_available_locales; end
122
- def enforce_available_locales=(enforce_available_locales); end
123
- def exception_handler; end
124
- def exception_handler=(exception_handler); end
125
- def interpolation_patterns; end
126
- def interpolation_patterns=(interpolation_patterns); end
127
- def load_path; end
128
- def load_path=(load_path); end
129
- def locale; end
130
- def locale=(locale); end
131
- def missing_interpolation_argument_handler; end
132
- def missing_interpolation_argument_handler=(exception_handler); end
133
- end