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,280 +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/rspec-support/all/rspec-support.rbi
9
- #
10
- # rspec-support-3.9.3
11
-
12
- module RSpec
13
- extend RSpec::Support::Warnings
14
- end
15
- module RSpec::Support
16
- def self.class_of(object); end
17
- def self.define_optimized_require_for_rspec(lib, &require_relative); end
18
- def self.deregister_matcher_definition(&block); end
19
- def self.failure_notifier; end
20
- def self.failure_notifier=(callable); end
21
- def self.is_a_matcher?(object); end
22
- def self.matcher_definitions; end
23
- def self.method_handle_for(object, method_name); end
24
- def self.notify_failure(failure, options = nil); end
25
- def self.register_matcher_definition(&block); end
26
- def self.require_rspec_support(f); end
27
- def self.rspec_description_for_object(object); end
28
- def self.thread_local_data; end
29
- def self.warning_notifier; end
30
- def self.warning_notifier=(arg0); end
31
- def self.with_failure_notifier(callable); end
32
- end
33
- module RSpec::Support::Version
34
- end
35
- class RSpec::Support::ComparableVersion
36
- def <=>(other); end
37
- def initialize(string); end
38
- def segments; end
39
- def string; end
40
- include Comparable
41
- end
42
- module RSpec::Support::OS
43
- def self.windows?; end
44
- def self.windows_file_path?; end
45
- def windows?; end
46
- def windows_file_path?; end
47
- end
48
- module RSpec::Support::Ruby
49
- def jruby?; end
50
- def jruby_9000?; end
51
- def jruby_version; end
52
- def mri?; end
53
- def non_mri?; end
54
- def rbx?; end
55
- def self.jruby?; end
56
- def self.jruby_9000?; end
57
- def self.jruby_version; end
58
- def self.mri?; end
59
- def self.non_mri?; end
60
- def self.rbx?; end
61
- def self.truffleruby?; end
62
- def truffleruby?; end
63
- end
64
- module RSpec::Support::RubyFeatures
65
- def caller_locations_supported?; end
66
- def fork_supported?; end
67
- def kw_args_supported?; end
68
- def module_prepends_supported?; end
69
- def module_refinement_supported?; end
70
- def optional_and_splat_args_supported?; end
71
- def required_kw_args_supported?; end
72
- def ripper_supported?; end
73
- def self.caller_locations_supported?; end
74
- def self.fork_supported?; end
75
- def self.kw_args_supported?; end
76
- def self.module_prepends_supported?; end
77
- def self.module_refinement_supported?; end
78
- def self.optional_and_splat_args_supported?; end
79
- def self.required_kw_args_supported?; end
80
- def self.ripper_supported?; end
81
- def self.supports_exception_cause?; end
82
- def self.supports_rebinding_module_methods?; end
83
- def self.supports_taint?; end
84
- def supports_exception_cause?; end
85
- def supports_rebinding_module_methods?; end
86
- def supports_taint?; end
87
- end
88
- module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
89
- def self.===(exception); end
90
- end
91
- class RSpec::CallerFilter
92
- def self.first_non_rspec_line(skip_frames = nil, increment = nil); end
93
- end
94
- module RSpec::Support::Warnings
95
- def deprecate(deprecated, options = nil); end
96
- def warn_deprecation(message, options = nil); end
97
- def warn_with(message, options = nil); end
98
- def warning(text, options = nil); end
99
- end
100
- class RSpec::Support::EncodedString
101
- def <<(string); end
102
- def ==(*args, &block); end
103
- def detect_source_encoding(string); end
104
- def empty?(*args, &block); end
105
- def encoding(*args, &block); end
106
- def eql?(*args, &block); end
107
- def initialize(string, encoding = nil); end
108
- def lines(*args, &block); end
109
- def matching_encoding(string); end
110
- def remove_invalid_bytes(string); end
111
- def self.pick_encoding(source_a, source_b); end
112
- def source_encoding; end
113
- def split(regex_or_string); end
114
- def to_s; end
115
- def to_str; end
116
- end
117
- class RSpec::Support::ReentrantMutex
118
- def enter; end
119
- def exit; end
120
- def initialize; end
121
- def synchronize; end
122
- end
123
- class RSpec::Support::Mutex < Thread::Mutex
124
- def self.new; end
125
- end
126
- class RSpec::Support::DirectoryMaker
127
- def self.directory_exists?(dirname); end
128
- def self.generate_path(stack, part); end
129
- def self.generate_stack(path); end
130
- def self.mkdir_p(path); end
131
- end
132
- class RSpec::Support::MethodSignature
133
- def arbitrary_kw_args?; end
134
- def classify_arity(arity = nil); end
135
- def classify_parameters; end
136
- def could_contain_kw_args?(args); end
137
- def description; end
138
- def has_kw_args_in?(args); end
139
- def initialize(method); end
140
- def invalid_kw_args_from(given_kw_args); end
141
- def max_non_kw_args; end
142
- def min_non_kw_args; end
143
- def missing_kw_args_from(given_kw_args); end
144
- def non_kw_args_arity_description; end
145
- def optional_kw_args; end
146
- def required_kw_args; end
147
- def unlimited_args?; end
148
- def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = nil); end
149
- end
150
- class RSpec::Support::MethodSignatureExpectation
151
- def empty?; end
152
- def expect_arbitrary_keywords; end
153
- def expect_arbitrary_keywords=(arg0); end
154
- def expect_unlimited_arguments; end
155
- def expect_unlimited_arguments=(arg0); end
156
- def initialize; end
157
- def keywords; end
158
- def keywords=(values); end
159
- def max_count; end
160
- def max_count=(number); end
161
- def min_count; end
162
- def min_count=(number); end
163
- end
164
- class RSpec::Support::BlockSignature < RSpec::Support::MethodSignature
165
- def classify_parameters; end
166
- end
167
- class RSpec::Support::MethodSignatureVerifier
168
- def arbitrary_kw_args?; end
169
- def error_message; end
170
- def initialize(signature, args = nil); end
171
- def invalid_kw_args; end
172
- def kw_args; end
173
- def max_non_kw_args; end
174
- def min_non_kw_args; end
175
- def missing_kw_args; end
176
- def non_kw_args; end
177
- def split_args(*args); end
178
- def unlimited_args?; end
179
- def valid?; end
180
- def valid_non_kw_args?; end
181
- def with_expectation(expectation); end
182
- end
183
- class RSpec::Support::LooseSignatureVerifier < RSpec::Support::MethodSignatureVerifier
184
- def split_args(*args); end
185
- end
186
- class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
187
- def has_kw_args_in?(args); end
188
- def initialize(signature); end
189
- def invalid_kw_args_from(_kw_args); end
190
- def missing_kw_args_from(_kw_args); end
191
- def non_kw_args_arity_description; end
192
- def valid_non_kw_args?(*args); end
193
- end
194
- module RSpec::Support::WithKeywordsWhenNeeded
195
- def class_exec(klass, *args, &block); end
196
- def self.class_exec(klass, *args, &block); end
197
- end
198
- module RSpec::Support::RecursiveConstMethods
199
- def const_defined_on?(mod, const_name); end
200
- def constants_defined_on(mod); end
201
- def get_const_defined_on(mod, const_name); end
202
- def normalize_const_name(const_name); end
203
- def recursive_const_defined?(const_name); end
204
- def recursive_const_get(const_name); end
205
- end
206
- class RSpec::Support::ObjectFormatter
207
- def format(object); end
208
- def initialize(max_formatted_output_length = nil); end
209
- def max_formatted_output_length; end
210
- def max_formatted_output_length=(arg0); end
211
- def prepare_array(array); end
212
- def prepare_element(element); end
213
- def prepare_for_inspection(object); end
214
- def prepare_hash(input_hash); end
215
- def recursive_structure?(object); end
216
- def self.default_instance; end
217
- def self.format(object); end
218
- def self.prepare_for_inspection(object); end
219
- def sort_hash_keys(input_hash); end
220
- def truncate_string(str, start_index, end_index); end
221
- def with_entering_structure(structure); end
222
- end
223
- class RSpec::Support::ObjectFormatter::InspectableItem < Struct
224
- def inspect; end
225
- def pretty_print(pp); end
226
- def self.[](*arg0); end
227
- def self.inspect; end
228
- def self.members; end
229
- def self.new(*arg0); end
230
- def text; end
231
- def text=(_); end
232
- end
233
- class RSpec::Support::ObjectFormatter::BaseInspector < Struct
234
- def formatter; end
235
- def formatter=(_); end
236
- def inspect; end
237
- def object; end
238
- def object=(_); end
239
- def pretty_print(pp); end
240
- def self.[](*arg0); end
241
- def self.can_inspect?(_object); end
242
- def self.inspect; end
243
- def self.members; end
244
- def self.new(*arg0); end
245
- end
246
- class RSpec::Support::ObjectFormatter::TimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
247
- def inspect; end
248
- def self.can_inspect?(object); end
249
- end
250
- class RSpec::Support::ObjectFormatter::DateTimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
251
- def inspect; end
252
- def self.can_inspect?(object); end
253
- end
254
- class RSpec::Support::ObjectFormatter::BigDecimalInspector < RSpec::Support::ObjectFormatter::BaseInspector
255
- def inspect; end
256
- def self.can_inspect?(object); end
257
- end
258
- class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < RSpec::Support::ObjectFormatter::BaseInspector
259
- def inspect; end
260
- def self.can_inspect?(object); end
261
- end
262
- class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
263
- def inspect; end
264
- def klass; end
265
- def native_object_id; end
266
- def self.can_inspect?(object); end
267
- end
268
- class RSpec::Support::ObjectFormatter::DelegatorInspector < RSpec::Support::ObjectFormatter::BaseInspector
269
- def inspect; end
270
- def self.can_inspect?(object); end
271
- end
272
- class RSpec::Support::ObjectFormatter::InspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
273
- def inspect; end
274
- def self.can_inspect?(object); end
275
- end
276
- module RSpec::Support::FuzzyMatcher
277
- def self.arrays_match?(expected_list, actual_list); end
278
- def self.hashes_match?(expected_hash, actual_hash); end
279
- def self.values_match?(expected, actual); end
280
- end
@@ -1,15 +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/rspec/all/rspec.rbi
9
- #
10
- # rspec-3.9.0
11
-
12
- module RSpec
13
- end
14
- module RSpec::Version
15
- end