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,285 +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/coderay/all/coderay.rbi
9
- #
10
- # coderay-1.1.3
11
-
12
- module CodeRay
13
- def self.coderay_path(*path); end
14
- def self.encode(code, lang, format, options = nil); end
15
- def self.encode_file(filename, format, options = nil); end
16
- def self.encode_tokens(tokens, format, options = nil); end
17
- def self.encoder(format, options = nil); end
18
- def self.get_scanner_options(options); end
19
- def self.highlight(code, lang, options = nil, format = nil); end
20
- def self.highlight_file(filename, options = nil, format = nil); end
21
- def self.scan(code, lang, options = nil, &block); end
22
- def self.scan_file(filename, lang = nil, options = nil, &block); end
23
- def self.scanner(lang, options = nil, &block); end
24
- end
25
- module CodeRay::FileType
26
- def self.[](filename, read_shebang = nil); end
27
- def self.fetch(filename, default = nil, read_shebang = nil); end
28
- def self.type_from_shebang(filename); end
29
- end
30
- class CodeRay::FileType::UnknownFileType < Exception
31
- end
32
- class CodeRay::Tokens < Array
33
- def begin_group(kind); end
34
- def begin_line(kind); end
35
- def count; end
36
- def encode(encoder, options = nil); end
37
- def end_group(kind); end
38
- def end_line(kind); end
39
- def method_missing(meth, options = nil); end
40
- def scanner; end
41
- def scanner=(arg0); end
42
- def split_into_parts(*sizes); end
43
- def text_token(*arg0); end
44
- def to_s; end
45
- def tokens(*arg0); end
46
- end
47
- class CodeRay::TokensProxy
48
- def block; end
49
- def block=(arg0); end
50
- def each(*args, &blk); end
51
- def encode(encoder, options = nil); end
52
- def initialize(input, lang, options = nil, block = nil); end
53
- def input; end
54
- def input=(arg0); end
55
- def lang; end
56
- def lang=(arg0); end
57
- def method_missing(method, *args, &blk); end
58
- def options; end
59
- def options=(arg0); end
60
- def scanner; end
61
- def tokens; end
62
- end
63
- module CodeRay::PluginHost
64
- def [](id, *args, &blk); end
65
- def all_plugins; end
66
- def const_missing(const); end
67
- def default(id = nil); end
68
- def list; end
69
- def load(id, *args, &blk); end
70
- def load_all; end
71
- def load_plugin_map; end
72
- def make_plugin_hash; end
73
- def map(hash); end
74
- def path_to(plugin_id); end
75
- def plugin_hash; end
76
- def plugin_path(*args); end
77
- def register(plugin, id); end
78
- def self.extended(mod); end
79
- def validate_id(id); end
80
- end
81
- class CodeRay::PluginHost::PluginNotFound < LoadError
82
- end
83
- class CodeRay::PluginHost::HostNotFound < LoadError
84
- end
85
- module CodeRay::Plugin
86
- def aliases; end
87
- def plugin_host(host = nil); end
88
- def plugin_id; end
89
- def register_for(id); end
90
- def title(title = nil); end
91
- end
92
- module CodeRay::Scanners
93
- extend CodeRay::PluginHost
94
- end
95
- class CodeRay::Scanners::Scanner < StringScanner
96
- def binary_string; end
97
- def column(pos = nil); end
98
- def each(&block); end
99
- def file_extension; end
100
- def initialize(code = nil, options = nil); end
101
- def lang; end
102
- def line(pos = nil); end
103
- def raise_inspect(message, tokens, state = nil, ambit = nil, backtrace = nil); end
104
- def raise_inspect_arguments(message, tokens, state, ambit); end
105
- def reset; end
106
- def reset_instance; end
107
- def scan_rest; end
108
- def scan_tokens(tokens, options); end
109
- def scanner_state_info(state); end
110
- def self.encode_with_encoding(code, target_encoding); end
111
- def self.encoding(name = nil); end
112
- def self.file_extension(extension = nil); end
113
- def self.guess_encoding(s); end
114
- def self.lang; end
115
- def self.normalize(code); end
116
- def self.to_unix(code); end
117
- def set_string_from_source(source); end
118
- def set_tokens_from_options(options); end
119
- def setup; end
120
- def state; end
121
- def state=(arg0); end
122
- def string=(code); end
123
- def tokenize(source = nil, options = nil); end
124
- def tokens; end
125
- def tokens_last(tokens, n); end
126
- def tokens_size(tokens); end
127
- extend CodeRay::Plugin
128
- include Enumerable
129
- end
130
- class CodeRay::Scanners::Scanner::ScanError < StandardError
131
- end
132
- class CodeRay::WordList < Hash
133
- def add(words, value = nil); end
134
- def initialize(default = nil); end
135
- end
136
- class CodeRay::WordList::CaseIgnoring < CodeRay::WordList
137
- def [](key); end
138
- def []=(key, value); end
139
- end
140
- module CodeRay::Scanners::Java::BuiltinTypes
141
- end
142
- class CodeRay::Scanners::Java < CodeRay::Scanners::Scanner
143
- def scan_tokens(encoder, options); end
144
- end
145
- class CodeRay::Scanners::Ruby < CodeRay::Scanners::Scanner
146
- def interpreted_string_state; end
147
- def scan_tokens(encoder, options); end
148
- def setup; end
149
- end
150
- module CodeRay::Scanners::Ruby::Patterns
151
- end
152
- class Anonymous_Struct_1 < Struct
153
- def delim; end
154
- def delim=(_); end
155
- def heredoc; end
156
- def heredoc=(_); end
157
- def interpreted; end
158
- def interpreted=(_); end
159
- def next_state; end
160
- def next_state=(_); end
161
- def opening_paren; end
162
- def opening_paren=(_); end
163
- def paren_depth; end
164
- def paren_depth=(_); end
165
- def pattern; end
166
- def pattern=(_); end
167
- def self.[](*arg0); end
168
- def self.inspect; end
169
- def self.members; end
170
- def self.new(*arg0); end
171
- def type; end
172
- def type=(_); end
173
- end
174
- class CodeRay::Scanners::Ruby::StringState < Anonymous_Struct_1
175
- def heredoc_pattern(delim, interpreted, indented); end
176
- def initialize(kind, interpreted, delim, heredoc = nil); end
177
- def self.simple_key_pattern(delim); end
178
- end
179
- module CodeRay::Encoders
180
- extend CodeRay::PluginHost
181
- end
182
- class CodeRay::Encoders::Encoder
183
- def <<(token); end
184
- def begin_group(kind); end
185
- def begin_line(kind); end
186
- def compile(tokens, options = nil); end
187
- def encode(code, lang, options = nil); end
188
- def encode_tokens(tokens, options = nil); end
189
- def end_group(kind); end
190
- def end_line(kind); end
191
- def file_extension; end
192
- def finish(options); end
193
- def get_output(options); end
194
- def highlight(code, lang, options = nil); end
195
- def initialize(options = nil); end
196
- def options; end
197
- def options=(arg0); end
198
- def output(data); end
199
- def scanner; end
200
- def scanner=(arg0); end
201
- def self.const_missing(sym); end
202
- def self.file_extension; end
203
- def setup(options); end
204
- def text_token(text, kind); end
205
- def token(content, kind); end
206
- def tokens(tokens, options = nil); end
207
- extend CodeRay::Plugin
208
- end
209
- class CodeRay::Encoders::HTML < CodeRay::Encoders::Encoder
210
- def begin_group(kind); end
211
- def begin_line(kind); end
212
- def break_lines(text, style); end
213
- def check_group_nesting(name, kind); end
214
- def check_options!(options); end
215
- def close_span; end
216
- def css; end
217
- def css_class_for_kinds(kinds); end
218
- def end_group(kind); end
219
- def end_line(kind); end
220
- def finish(options); end
221
- def make_span_for_kinds(method, hint); end
222
- def self.make_html_escape_hash; end
223
- def self.token_path_to_hint(hint, kinds); end
224
- def setup(options); end
225
- def style_for_kinds(kinds); end
226
- def text_token(text, kind); end
227
- end
228
- module CodeRay::Encoders::HTML::Output
229
- def apply_title!(title); end
230
- def css; end
231
- def css=(arg0); end
232
- def self.extended(o); end
233
- def self.make_stylesheet(css, in_tag = nil); end
234
- def self.page_template_for_css(css); end
235
- def stylesheet(in_tag = nil); end
236
- def wrap!(element, *args); end
237
- def wrap_in!(template); end
238
- def wrapped_in; end
239
- def wrapped_in=(arg0); end
240
- def wrapped_in?(element); end
241
- end
242
- class CodeRay::Encoders::HTML::Output::Template < String
243
- def apply(target, replacement); end
244
- def self.wrap!(str, template, target); end
245
- end
246
- class CodeRay::Encoders::HTML::CSS
247
- def get_style_for_css_classes(css_classes); end
248
- def initialize(style = nil); end
249
- def parse(stylesheet); end
250
- def self.load_stylesheet(style = nil); end
251
- def stylesheet; end
252
- end
253
- module CodeRay::Encoders::HTML::Numbering
254
- def self.number!(output, mode = nil, options = nil); end
255
- end
256
- module CodeRay::Styles
257
- extend CodeRay::PluginHost
258
- end
259
- class CodeRay::Styles::Style
260
- extend CodeRay::Plugin
261
- end
262
- class CodeRay::Duo
263
- def call(code, options = nil); end
264
- def encode(code, options = nil); end
265
- def encoder; end
266
- def format; end
267
- def format=(arg0); end
268
- def highlight(code, options = nil); end
269
- def initialize(lang = nil, format = nil, options = nil); end
270
- def lang; end
271
- def lang=(arg0); end
272
- def options; end
273
- def options=(arg0); end
274
- def scanner; end
275
- def self.[](*arg0); end
276
- end
277
- class CodeRay::Encoders::Terminal < CodeRay::Encoders::Encoder
278
- def begin_group(kind); end
279
- def begin_line(kind); end
280
- def end_group(kind); end
281
- def end_line(kind); end
282
- def open_token(kind); end
283
- def setup(options); end
284
- def text_token(text, kind); end
285
- end