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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -22
- data/.gitignore +2 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -5
- data/bin/tapioca +29 -0
- data/lib/rspec/sorbet/doubles.rb +1 -1
- data/lib/rspec/sorbet/version.rb +1 -1
- data/nix/sources.json +14 -0
- data/nix/sources.nix +174 -0
- data/run_ci.sh +7 -0
- data/shell.nix +20 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +9 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/em-websocket@0.5.2.rbi +8 -0
- data/sorbet/rbi/gems/eventmachine@1.2.7.rbi +45 -0
- data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
- data/sorbet/rbi/gems/ffi@1.15.4.rbi +8 -0
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +31 -0
- data/sorbet/rbi/gems/guard-livereload@2.5.2.rbi +8 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +211 -0
- data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
- data/sorbet/rbi/gems/http_parser.rb@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/listen@3.7.0.rbi +8 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
- data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
- data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2308 -1766
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
- data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
- data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
- data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
- data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +60 -64
- data/.reek.yml +0 -32
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/activesupport.rbi +0 -1722
- data/sorbet/rbi/gems/byebug.rbi +0 -1041
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
- data/sorbet/rbi/gems/docile.rbi +0 -32
- data/sorbet/rbi/gems/em-websocket.rbi +0 -225
- data/sorbet/rbi/gems/eventmachine.rbi +0 -489
- data/sorbet/rbi/gems/ffaker.rbi +0 -60
- data/sorbet/rbi/gems/guard.rbi +0 -397
- data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
- data/sorbet/rbi/gems/i18n.rbi +0 -133
- data/sorbet/rbi/gems/kwalify.rbi +0 -340
- data/sorbet/rbi/gems/listen.rbi +0 -324
- data/sorbet/rbi/gems/lumberjack.rbi +0 -300
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/multi_json.rbi +0 -62
- data/sorbet/rbi/gems/nenv.rbi +0 -60
- data/sorbet/rbi/gems/notiffany.rbi +0 -215
- data/sorbet/rbi/gems/parallel.rbi +0 -82
- data/sorbet/rbi/gems/parser.rbi +0 -1846
- data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
- data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
- data/sorbet/rbi/gems/rb-readline.rbi +0 -767
- data/sorbet/rbi/gems/reek.rbi +0 -1027
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
- data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
- data/sorbet/rbi/gems/rubocop.rbi +0 -6841
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
- data/sorbet/rbi/gems/shellany.rbi +0 -29
- data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -361
- data/sorbet/rbi/gems/sqlite3.rbi +0 -354
- data/sorbet/rbi/gems/stackprof.rbi +0 -52
- data/sorbet/rbi/gems/thor.rbi +0 -32
- data/sorbet/rbi/gems/thread_safe.rbi +0 -82
- data/sorbet/rbi/gems/timecop.rbi +0 -98
- data/sorbet/rbi/gems/tzinfo.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -7275
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14595
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
- data/sorbet/rbi/todo.rbi +0 -9
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `ffi` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem ffi`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `formatador` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem formatador`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `guard-compat` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem guard-compat`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Guard; end
|
8
|
+
|
9
|
+
module Guard::Compat
|
10
|
+
class << self
|
11
|
+
def matching_files(plugin, files); end
|
12
|
+
def watched_directories; end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module Guard::Compat::UI
|
17
|
+
class << self
|
18
|
+
def color(text, *colors); end
|
19
|
+
def color_enabled?; end
|
20
|
+
def debug(message, options = T.unsafe(nil)); end
|
21
|
+
def deprecation(message, options = T.unsafe(nil)); end
|
22
|
+
def error(message, options = T.unsafe(nil)); end
|
23
|
+
def info(message, options = T.unsafe(nil)); end
|
24
|
+
def notify(msg, options = T.unsafe(nil)); end
|
25
|
+
def warning(message, options = T.unsafe(nil)); end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
class Guard::Plugin
|
30
|
+
def initialize(_options = T.unsafe(nil)); end
|
31
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `guard-livereload` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem guard-livereload`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,211 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `guard-rspec` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem guard-rspec`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Guard; end
|
8
|
+
|
9
|
+
class Guard::RSpec < ::Guard::Plugin
|
10
|
+
def initialize(options = T.unsafe(nil)); end
|
11
|
+
|
12
|
+
def options; end
|
13
|
+
def options=(_arg0); end
|
14
|
+
def reload; end
|
15
|
+
def run_all; end
|
16
|
+
def run_on_modifications(paths); end
|
17
|
+
def runner; end
|
18
|
+
def runner=(_arg0); end
|
19
|
+
def start; end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def _throw_if_failed; end
|
24
|
+
end
|
25
|
+
|
26
|
+
class Guard::RSpec::Command < ::String
|
27
|
+
def initialize(paths, options = T.unsafe(nil)); end
|
28
|
+
|
29
|
+
def options; end
|
30
|
+
def options=(_arg0); end
|
31
|
+
def paths; end
|
32
|
+
def paths=(_arg0); end
|
33
|
+
|
34
|
+
private
|
35
|
+
|
36
|
+
def _cmd_include_formatter?; end
|
37
|
+
def _guard_formatter; end
|
38
|
+
def _parts; end
|
39
|
+
def _paths(options); end
|
40
|
+
def _rspec_formatters; end
|
41
|
+
def _visual_formatter; end
|
42
|
+
end
|
43
|
+
|
44
|
+
Guard::RSpec::Command::FAILURE_EXIT_CODE = T.let(T.unsafe(nil), Integer)
|
45
|
+
|
46
|
+
class Guard::RSpec::Deprecator
|
47
|
+
def initialize(options = T.unsafe(nil)); end
|
48
|
+
|
49
|
+
def options; end
|
50
|
+
def options=(_arg0); end
|
51
|
+
def warns_about_deprecated_options; end
|
52
|
+
|
53
|
+
private
|
54
|
+
|
55
|
+
def _deprecated(message); end
|
56
|
+
def _exclude_option; end
|
57
|
+
def _focus_on_failed_option; end
|
58
|
+
def _keep_failed_option; end
|
59
|
+
def _spec_opts_env; end
|
60
|
+
def _use_cmd_option; end
|
61
|
+
def _version_option; end
|
62
|
+
|
63
|
+
class << self
|
64
|
+
def warns_about_deprecated_options(options = T.unsafe(nil)); end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
module Guard::RSpec::Inspectors; end
|
69
|
+
|
70
|
+
class Guard::RSpec::Inspectors::BaseInspector
|
71
|
+
def initialize(options = T.unsafe(nil)); end
|
72
|
+
|
73
|
+
def failed(_locations); end
|
74
|
+
def options; end
|
75
|
+
def options=(_arg0); end
|
76
|
+
def paths(_paths); end
|
77
|
+
def reload; end
|
78
|
+
def spec_paths; end
|
79
|
+
def spec_paths=(_arg0); end
|
80
|
+
|
81
|
+
private
|
82
|
+
|
83
|
+
def _clean(paths); end
|
84
|
+
def _collect_files(pattern); end
|
85
|
+
def _paths_with_chdir(paths, chdir); end
|
86
|
+
def _select_only_spec_dirs(paths); end
|
87
|
+
def _select_only_spec_files(paths); end
|
88
|
+
def _spec_paths_with_chdir; end
|
89
|
+
end
|
90
|
+
|
91
|
+
class Guard::RSpec::Inspectors::Factory
|
92
|
+
class << self
|
93
|
+
def create(options = T.unsafe(nil)); end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
class Guard::RSpec::Inspectors::FocusedInspector < ::Guard::RSpec::Inspectors::BaseInspector
|
98
|
+
def initialize(options = T.unsafe(nil)); end
|
99
|
+
|
100
|
+
def failed(locations); end
|
101
|
+
def focused_locations; end
|
102
|
+
def focused_locations=(_arg0); end
|
103
|
+
def paths(paths); end
|
104
|
+
def reload; end
|
105
|
+
end
|
106
|
+
|
107
|
+
class Guard::RSpec::Inspectors::KeepingInspector < ::Guard::RSpec::Inspectors::BaseInspector
|
108
|
+
def initialize(options = T.unsafe(nil)); end
|
109
|
+
|
110
|
+
def failed(locations); end
|
111
|
+
def failed_locations; end
|
112
|
+
def failed_locations=(_arg0); end
|
113
|
+
def paths(paths); end
|
114
|
+
def reload; end
|
115
|
+
|
116
|
+
private
|
117
|
+
|
118
|
+
def _location_path(location); end
|
119
|
+
def _with_failed_locations(paths); end
|
120
|
+
end
|
121
|
+
|
122
|
+
class Guard::RSpec::Inspectors::SimpleInspector < ::Guard::RSpec::Inspectors::BaseInspector
|
123
|
+
def failed(_locations); end
|
124
|
+
def paths(paths); end
|
125
|
+
def reload; end
|
126
|
+
end
|
127
|
+
|
128
|
+
class Guard::RSpec::Notifier
|
129
|
+
def initialize(options = T.unsafe(nil)); end
|
130
|
+
|
131
|
+
def notify(summary); end
|
132
|
+
def notify_failure; end
|
133
|
+
def options; end
|
134
|
+
def options=(_arg0); end
|
135
|
+
|
136
|
+
private
|
137
|
+
|
138
|
+
def _image(failure_count, pending_count); end
|
139
|
+
def _parse_summary(summary); end
|
140
|
+
def _priority(image); end
|
141
|
+
end
|
142
|
+
|
143
|
+
module Guard::RSpec::Options
|
144
|
+
class << self
|
145
|
+
def with_defaults(options = T.unsafe(nil)); end
|
146
|
+
|
147
|
+
private
|
148
|
+
|
149
|
+
def _deep_merge(hash1, hash2); end
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
Guard::RSpec::Options::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
154
|
+
|
155
|
+
class Guard::RSpec::RSpecProcess
|
156
|
+
def initialize(command, formatter_tmp_file, options = T.unsafe(nil)); end
|
157
|
+
|
158
|
+
def all_green?; end
|
159
|
+
def options; end
|
160
|
+
def results; end
|
161
|
+
|
162
|
+
private
|
163
|
+
|
164
|
+
def _read_results; end
|
165
|
+
def _really_run; end
|
166
|
+
def _run; end
|
167
|
+
def _warn_unless_absolute_path(formatter_tmp_file); end
|
168
|
+
def _with_desired_bundler_env; end
|
169
|
+
def command; end
|
170
|
+
def exit_code; end
|
171
|
+
def formatter_tmp_file; end
|
172
|
+
end
|
173
|
+
|
174
|
+
class Guard::RSpec::RSpecProcess::Failure < ::RuntimeError; end
|
175
|
+
|
176
|
+
class Guard::RSpec::Results
|
177
|
+
def initialize(filename); end
|
178
|
+
|
179
|
+
def failed_paths; end
|
180
|
+
def summary; end
|
181
|
+
end
|
182
|
+
|
183
|
+
class Guard::RSpec::Results::InvalidData < ::RuntimeError; end
|
184
|
+
|
185
|
+
class Guard::RSpec::Runner
|
186
|
+
def initialize(options = T.unsafe(nil)); end
|
187
|
+
|
188
|
+
def inspector; end
|
189
|
+
def inspector=(_arg0); end
|
190
|
+
def notifier; end
|
191
|
+
def notifier=(_arg0); end
|
192
|
+
def options; end
|
193
|
+
def options=(_arg0); end
|
194
|
+
def reload; end
|
195
|
+
def run(paths); end
|
196
|
+
def run_all; end
|
197
|
+
|
198
|
+
private
|
199
|
+
|
200
|
+
def _open_launchy; end
|
201
|
+
def _really_run(cmd, options); end
|
202
|
+
def _results_file(results_file, chdir); end
|
203
|
+
def _run(paths, options, &block); end
|
204
|
+
end
|
205
|
+
|
206
|
+
class Guard::RSpec::Runner::NoCmdOptionError < ::RuntimeError
|
207
|
+
def initialize; end
|
208
|
+
end
|
209
|
+
|
210
|
+
class Guard::RSpecDefaults; end
|
211
|
+
Guard::RSpecDefaults::TEMPORARY_FILE_PATH = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `guard` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem guard`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `http_parser.rb` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem http_parser.rb`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `listen` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem listen`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `lumberjack` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem lumberjack`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `method_source` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem method_source`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module MethodSource
|
8
|
+
extend ::MethodSource::CodeHelpers
|
9
|
+
|
10
|
+
class << self
|
11
|
+
def comment_helper(source_location, name = T.unsafe(nil)); end
|
12
|
+
def extract_code(source_location); end
|
13
|
+
def lines_for(file_name, name = T.unsafe(nil)); end
|
14
|
+
def source_helper(source_location, name = T.unsafe(nil)); end
|
15
|
+
def valid_expression?(str); end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module MethodSource::CodeHelpers
|
20
|
+
def comment_describing(file, line_number); end
|
21
|
+
def complete_expression?(str); end
|
22
|
+
def expression_at(file, line_number, options = T.unsafe(nil)); end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def extract_first_expression(lines, consume = T.unsafe(nil), &block); end
|
27
|
+
def extract_last_comment(lines); end
|
28
|
+
end
|
29
|
+
|
30
|
+
module MethodSource::CodeHelpers::IncompleteExpression
|
31
|
+
class << self
|
32
|
+
def ===(ex); end
|
33
|
+
def rbx?; end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
MethodSource::CodeHelpers::IncompleteExpression::GENERIC_REGEXPS = T.let(T.unsafe(nil), Array)
|
38
|
+
MethodSource::CodeHelpers::IncompleteExpression::RBX_ONLY_REGEXPS = T.let(T.unsafe(nil), Array)
|
39
|
+
|
40
|
+
module MethodSource::MethodExtensions
|
41
|
+
def comment; end
|
42
|
+
def source; end
|
43
|
+
|
44
|
+
class << self
|
45
|
+
def included(klass); end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
module MethodSource::ReeSourceLocation
|
50
|
+
def source_location; end
|
51
|
+
end
|
52
|
+
|
53
|
+
module MethodSource::SourceLocation; end
|
54
|
+
|
55
|
+
module MethodSource::SourceLocation::MethodExtensions
|
56
|
+
def source_location; end
|
57
|
+
|
58
|
+
private
|
59
|
+
|
60
|
+
def trace_func(event, file, line, id, binding, classname); end
|
61
|
+
end
|
62
|
+
|
63
|
+
module MethodSource::SourceLocation::ProcExtensions
|
64
|
+
def source_location; end
|
65
|
+
end
|
66
|
+
|
67
|
+
module MethodSource::SourceLocation::UnboundMethodExtensions
|
68
|
+
def source_location; end
|
69
|
+
end
|
70
|
+
|
71
|
+
class MethodSource::SourceNotFoundError < ::StandardError; end
|
72
|
+
MethodSource::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `multi_json` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem multi_json`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `nenv` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem nenv`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `notiffany` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem notiffany`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,113 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `parallel` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem parallel`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Parallel
|
8
|
+
extend ::Parallel::ProcessorCount
|
9
|
+
|
10
|
+
class << self
|
11
|
+
def all?(*args, &block); end
|
12
|
+
def any?(*args, &block); end
|
13
|
+
def each(array, options = T.unsafe(nil), &block); end
|
14
|
+
def each_with_index(array, options = T.unsafe(nil), &block); end
|
15
|
+
def flat_map(*args, &block); end
|
16
|
+
def in_processes(options = T.unsafe(nil), &block); end
|
17
|
+
def in_threads(options = T.unsafe(nil)); end
|
18
|
+
def map(source, options = T.unsafe(nil), &block); end
|
19
|
+
def map_with_index(array, options = T.unsafe(nil), &block); end
|
20
|
+
def worker_number; end
|
21
|
+
def worker_number=(worker_num); end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def add_progress_bar!(job_factory, options); end
|
26
|
+
def call_with_index(item, index, options, &block); end
|
27
|
+
def create_workers(job_factory, options, &block); end
|
28
|
+
def extract_count_from_options(options); end
|
29
|
+
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
30
|
+
def replace_worker(job_factory, workers, index, options, blk); end
|
31
|
+
def with_instrumentation(item, index, options); end
|
32
|
+
def work_direct(job_factory, options, &block); end
|
33
|
+
def work_in_processes(job_factory, options, &blk); end
|
34
|
+
def work_in_threads(job_factory, options, &block); end
|
35
|
+
def worker(job_factory, options, &block); end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
class Parallel::Break < ::StandardError
|
40
|
+
def initialize(value = T.unsafe(nil)); end
|
41
|
+
|
42
|
+
def value; end
|
43
|
+
end
|
44
|
+
|
45
|
+
class Parallel::DeadWorker < ::StandardError; end
|
46
|
+
|
47
|
+
class Parallel::ExceptionWrapper
|
48
|
+
def initialize(exception); end
|
49
|
+
|
50
|
+
def exception; end
|
51
|
+
end
|
52
|
+
|
53
|
+
class Parallel::JobFactory
|
54
|
+
def initialize(source, mutex); end
|
55
|
+
|
56
|
+
def next; end
|
57
|
+
def pack(item, index); end
|
58
|
+
def size; end
|
59
|
+
def unpack(data); end
|
60
|
+
|
61
|
+
private
|
62
|
+
|
63
|
+
def producer?; end
|
64
|
+
def queue_wrapper(array); end
|
65
|
+
end
|
66
|
+
|
67
|
+
class Parallel::Kill < ::Parallel::Break; end
|
68
|
+
|
69
|
+
module Parallel::ProcessorCount
|
70
|
+
def physical_processor_count; end
|
71
|
+
def processor_count; end
|
72
|
+
end
|
73
|
+
|
74
|
+
Parallel::Stop = T.let(T.unsafe(nil), Object)
|
75
|
+
|
76
|
+
class Parallel::UndumpableException < ::StandardError
|
77
|
+
def initialize(original); end
|
78
|
+
|
79
|
+
def backtrace; end
|
80
|
+
end
|
81
|
+
|
82
|
+
class Parallel::UserInterruptHandler
|
83
|
+
class << self
|
84
|
+
def kill(thing); end
|
85
|
+
def kill_on_ctrl_c(pids, options); end
|
86
|
+
|
87
|
+
private
|
88
|
+
|
89
|
+
def restore_interrupt(old, signal); end
|
90
|
+
def trap_interrupt(signal); end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
|
95
|
+
Parallel::VERSION = T.let(T.unsafe(nil), String)
|
96
|
+
Parallel::Version = T.let(T.unsafe(nil), String)
|
97
|
+
|
98
|
+
class Parallel::Worker
|
99
|
+
def initialize(read, write, pid); end
|
100
|
+
|
101
|
+
def close_pipes; end
|
102
|
+
def pid; end
|
103
|
+
def read; end
|
104
|
+
def stop; end
|
105
|
+
def thread; end
|
106
|
+
def thread=(_arg0); end
|
107
|
+
def work(data); end
|
108
|
+
def write; end
|
109
|
+
|
110
|
+
private
|
111
|
+
|
112
|
+
def wait; end
|
113
|
+
end
|