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
@@ -1,175 +1,197 @@
|
|
1
|
-
#
|
2
|
-
#
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `rake` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem rake`.
|
3
4
|
|
4
5
|
# 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/rake/all/rake.rbi
|
9
|
-
#
|
10
|
-
# rake-13.0.1
|
11
6
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
def
|
19
|
-
def
|
20
|
-
def
|
21
|
-
def
|
22
|
-
|
23
|
-
|
24
|
-
|
7
|
+
FileList = Rake::FileList
|
8
|
+
|
9
|
+
module FileUtils
|
10
|
+
include ::FileUtils::StreamUtils_
|
11
|
+
extend ::FileUtils::StreamUtils_
|
12
|
+
|
13
|
+
def ruby(*args, **options, &block); end
|
14
|
+
def safe_ln(*args, **options); end
|
15
|
+
def sh(*cmd, &block); end
|
16
|
+
def split_all(path); end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def create_shell_runner(cmd); end
|
21
|
+
def set_verbose_option(options); end
|
22
|
+
def sh_show_command(cmd); end
|
25
23
|
end
|
24
|
+
|
25
|
+
FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
|
26
|
+
FileUtils::RUBY = T.let(T.unsafe(nil), String)
|
27
|
+
|
26
28
|
class Module
|
27
29
|
def rake_extension(method); end
|
28
30
|
end
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
31
|
+
|
32
|
+
module Rake
|
33
|
+
extend ::FileUtils::StreamUtils_
|
34
|
+
extend ::FileUtils
|
35
|
+
extend ::Rake::FileUtilsExt
|
36
|
+
|
37
|
+
class << self
|
38
|
+
def add_rakelib(*files); end
|
39
|
+
def application; end
|
40
|
+
def application=(app); end
|
41
|
+
def each_dir_parent(dir); end
|
42
|
+
def from_pathname(path); end
|
43
|
+
def load_rakefile(path); end
|
44
|
+
def original_dir; end
|
45
|
+
def suggested_thread_count; end
|
46
|
+
def with_application(block_application = T.unsafe(nil)); end
|
47
|
+
end
|
40
48
|
end
|
41
|
-
|
49
|
+
|
50
|
+
class Rake::Application
|
51
|
+
include ::Rake::TaskManager
|
52
|
+
include ::Rake::TraceOutput
|
53
|
+
|
54
|
+
def initialize; end
|
55
|
+
|
56
|
+
def add_import(fn); end
|
57
|
+
def add_loader(ext, loader); end
|
58
|
+
def collect_command_line_tasks(args); end
|
59
|
+
def default_task_name; end
|
60
|
+
def deprecate(old_usage, new_usage, call_site); end
|
61
|
+
def display_cause_details(ex); end
|
62
|
+
def display_error_message(ex); end
|
63
|
+
def display_exception_backtrace(ex); end
|
64
|
+
def display_exception_details(ex); end
|
65
|
+
def display_exception_details_seen; end
|
66
|
+
def display_exception_message_details(ex); end
|
67
|
+
def display_prerequisites; end
|
68
|
+
def display_tasks_and_comments; end
|
69
|
+
def dynamic_width; end
|
70
|
+
def dynamic_width_stty; end
|
71
|
+
def dynamic_width_tput; end
|
72
|
+
def exit_because_of_exception(ex); end
|
73
|
+
def find_rakefile_location; end
|
74
|
+
def handle_options(argv); end
|
75
|
+
def has_cause?(ex); end
|
76
|
+
def have_rakefile; end
|
77
|
+
def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end
|
78
|
+
def invoke_task(task_string); end
|
79
|
+
def load_imports; end
|
80
|
+
def load_rakefile; end
|
81
|
+
def name; end
|
82
|
+
def options; end
|
83
|
+
def original_dir; end
|
84
|
+
def parse_task_string(string); end
|
85
|
+
def print_rakefile_directory(location); end
|
86
|
+
def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
|
87
|
+
def rakefile; end
|
88
|
+
def rakefile_location(backtrace = T.unsafe(nil)); end
|
89
|
+
def raw_load_rakefile; end
|
90
|
+
def run(argv = T.unsafe(nil)); end
|
91
|
+
def run_with_threads; end
|
92
|
+
def set_default_options; end
|
93
|
+
def standard_exception_handling; end
|
94
|
+
def standard_rake_options; end
|
95
|
+
def system_dir; end
|
96
|
+
def terminal_columns; end
|
97
|
+
def terminal_columns=(_arg0); end
|
98
|
+
def terminal_width; end
|
99
|
+
def thread_pool; end
|
100
|
+
def top_level; end
|
101
|
+
def top_level_tasks; end
|
102
|
+
def trace(*strings); end
|
103
|
+
def truncate(string, width); end
|
104
|
+
def truncate_output?; end
|
105
|
+
def tty_output=(_arg0); end
|
106
|
+
def tty_output?; end
|
107
|
+
def unix?; end
|
108
|
+
def windows?; end
|
109
|
+
|
110
|
+
private
|
111
|
+
|
112
|
+
def glob(path, &block); end
|
113
|
+
def has_chain?(exception); end
|
114
|
+
def select_tasks_to_show(options, show_tasks, value); end
|
115
|
+
def select_trace_output(options, trace_option, value); end
|
116
|
+
def sort_options(options); end
|
117
|
+
def standard_system_dir; end
|
42
118
|
end
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
def inspect; end
|
51
|
-
def self.cons(head, tail); end
|
52
|
-
def self.empty; end
|
53
|
-
def self.make(*args); end
|
54
|
-
def tail; end
|
55
|
-
def to_s; end
|
56
|
-
include Enumerable
|
119
|
+
|
120
|
+
Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
|
121
|
+
|
122
|
+
module Rake::Backtrace
|
123
|
+
class << self
|
124
|
+
def collapse(backtrace); end
|
125
|
+
end
|
57
126
|
end
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
127
|
+
|
128
|
+
Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
|
129
|
+
Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
|
130
|
+
Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
|
131
|
+
Rake::Backtrace::SYS_KEYS = T.let(T.unsafe(nil), Array)
|
132
|
+
Rake::Backtrace::SYS_PATHS = T.let(T.unsafe(nil), Array)
|
133
|
+
|
134
|
+
module Rake::Cloneable
|
135
|
+
private
|
136
|
+
|
137
|
+
def initialize_copy(source); end
|
62
138
|
end
|
139
|
+
|
140
|
+
class Rake::CommandLineOptionError < ::StandardError; end
|
141
|
+
|
63
142
|
class Rake::CpuCounter
|
64
143
|
def count; end
|
65
|
-
def count_with_default(default = nil); end
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
def path_with_task_name(task_name); end
|
71
|
-
def trim(n); end
|
72
|
-
end
|
73
|
-
class Rake::Scope::EmptyScope < Rake::LinkedList::EmptyLinkedList
|
74
|
-
def path; end
|
75
|
-
def path_with_task_name(task_name); end
|
76
|
-
end
|
77
|
-
class Rake::TaskArgumentError < ArgumentError
|
78
|
-
end
|
79
|
-
class Rake::RuleRecursionOverflowError < StandardError
|
80
|
-
def add_target(target); end
|
81
|
-
def initialize(*args); end
|
82
|
-
def message; end
|
144
|
+
def count_with_default(default = T.unsafe(nil)); end
|
145
|
+
|
146
|
+
class << self
|
147
|
+
def count; end
|
148
|
+
end
|
83
149
|
end
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
def
|
93
|
-
def
|
94
|
-
def
|
95
|
-
def
|
96
|
-
def
|
97
|
-
def
|
98
|
-
def
|
99
|
-
def
|
100
|
-
def
|
101
|
-
def last_description; end
|
102
|
-
def last_description=(arg0); end
|
103
|
-
def lookup(task_name, initial_scope = nil); end
|
104
|
-
def lookup_in_scope(name, scope); end
|
105
|
-
def make_sources(task_name, task_pattern, extensions); end
|
106
|
-
def resolve_args(args); end
|
107
|
-
def resolve_args_with_dependencies(args, hash); end
|
108
|
-
def resolve_args_without_dependencies(args); end
|
109
|
-
def self.record_task_metadata; end
|
110
|
-
def self.record_task_metadata=(arg0); end
|
111
|
-
def synthesize_file_task(task_name); end
|
112
|
-
def tasks; end
|
113
|
-
def tasks_in_scope(scope); end
|
114
|
-
def trace_rule(level, message); end
|
150
|
+
|
151
|
+
module Rake::DSL
|
152
|
+
include ::FileUtils::StreamUtils_
|
153
|
+
include ::FileUtils
|
154
|
+
include ::Rake::FileUtilsExt
|
155
|
+
|
156
|
+
private
|
157
|
+
|
158
|
+
def desc(description); end
|
159
|
+
def directory(*args, &block); end
|
160
|
+
def file(*args, &block); end
|
161
|
+
def file_create(*args, &block); end
|
162
|
+
def import(*fns); end
|
163
|
+
def multitask(*args, &block); end
|
164
|
+
def namespace(name = T.unsafe(nil), &block); end
|
165
|
+
def rule(*args, &block); end
|
166
|
+
def task(*args, &block); end
|
115
167
|
end
|
116
|
-
|
117
|
-
|
168
|
+
|
169
|
+
class Rake::DefaultLoader
|
170
|
+
def load(fn); end
|
118
171
|
end
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
172
|
+
|
173
|
+
Rake::EARLY = T.let(T.unsafe(nil), Rake::EarlyTime)
|
174
|
+
Rake::EMPTY_TASK_ARGS = T.let(T.unsafe(nil), Rake::TaskArguments)
|
175
|
+
|
176
|
+
class Rake::EarlyTime
|
177
|
+
include ::Comparable
|
178
|
+
include ::Singleton
|
179
|
+
extend ::Singleton::SingletonClassMethods
|
180
|
+
|
181
|
+
def <=>(other); end
|
182
|
+
def to_s; end
|
127
183
|
end
|
128
|
-
|
129
|
-
|
130
|
-
def
|
131
|
-
def
|
132
|
-
def chmod_R(*args, **options, &block); end
|
133
|
-
def chown(*args, **options, &block); end
|
134
|
-
def chown_R(*args, **options, &block); end
|
135
|
-
def copy(*args, **options, &block); end
|
136
|
-
def cp(*args, **options, &block); end
|
137
|
-
def cp_lr(*args, **options, &block); end
|
138
|
-
def cp_r(*args, **options, &block); end
|
139
|
-
def install(*args, **options, &block); end
|
140
|
-
def link(*args, **options, &block); end
|
141
|
-
def ln(*args, **options, &block); end
|
142
|
-
def ln_s(*args, **options, &block); end
|
143
|
-
def ln_sf(*args, **options, &block); end
|
144
|
-
def makedirs(*args, **options, &block); end
|
145
|
-
def mkdir(*args, **options, &block); end
|
146
|
-
def mkdir_p(*args, **options, &block); end
|
147
|
-
def mkpath(*args, **options, &block); end
|
148
|
-
def move(*args, **options, &block); end
|
149
|
-
def mv(*args, **options, &block); end
|
150
|
-
def nowrite(value = nil); end
|
151
|
-
def rake_check_options(options, *optdecl); end
|
152
|
-
def rake_output_message(message); end
|
153
|
-
def remove(*args, **options, &block); end
|
154
|
-
def rm(*args, **options, &block); end
|
155
|
-
def rm_f(*args, **options, &block); end
|
156
|
-
def rm_r(*args, **options, &block); end
|
157
|
-
def rm_rf(*args, **options, &block); end
|
158
|
-
def rmdir(*args, **options, &block); end
|
159
|
-
def rmtree(*args, **options, &block); end
|
160
|
-
def safe_unlink(*args, **options, &block); end
|
161
|
-
def self.nowrite_flag; end
|
162
|
-
def self.nowrite_flag=(arg0); end
|
163
|
-
def self.verbose_flag; end
|
164
|
-
def self.verbose_flag=(arg0); end
|
165
|
-
def symlink(*args, **options, &block); end
|
166
|
-
def touch(*args, **options, &block); end
|
167
|
-
def verbose(value = nil); end
|
168
|
-
def when_writing(msg = nil); end
|
169
|
-
extend Rake::FileUtilsExt
|
170
|
-
include FileUtils
|
184
|
+
|
185
|
+
class Rake::FileCreationTask < ::Rake::FileTask
|
186
|
+
def needed?; end
|
187
|
+
def timestamp; end
|
171
188
|
end
|
189
|
+
|
172
190
|
class Rake::FileList
|
191
|
+
include ::Rake::Cloneable
|
192
|
+
|
193
|
+
def initialize(*patterns); end
|
194
|
+
|
173
195
|
def &(*args, &block); end
|
174
196
|
def *(other); end
|
175
197
|
def +(*args, &block); end
|
@@ -180,7 +202,6 @@ class Rake::FileList
|
|
180
202
|
def [](*args, &block); end
|
181
203
|
def []=(*args, &block); end
|
182
204
|
def add(*filenames); end
|
183
|
-
def add_matching(pattern); end
|
184
205
|
def all?(*args, &block); end
|
185
206
|
def any?(*args, &block); end
|
186
207
|
def append(*args, &block); end
|
@@ -193,15 +214,16 @@ class Rake::FileList
|
|
193
214
|
def chunk_while(*args, &block); end
|
194
215
|
def clear(*args, &block); end
|
195
216
|
def clear_exclude; end
|
196
|
-
def collect!(*args, &block); end
|
197
217
|
def collect(*args, &block); end
|
218
|
+
def collect!(*args, &block); end
|
198
219
|
def collect_concat(*args, &block); end
|
199
220
|
def combination(*args, &block); end
|
200
|
-
def compact!(*args, &block); end
|
201
221
|
def compact(*args, &block); end
|
222
|
+
def compact!(*args, &block); end
|
202
223
|
def concat(*args, &block); end
|
203
224
|
def count(*args, &block); end
|
204
225
|
def cycle(*args, &block); end
|
226
|
+
def deconstruct(*args, &block); end
|
205
227
|
def delete(*args, &block); end
|
206
228
|
def delete_at(*args, &block); end
|
207
229
|
def delete_if(*args, &block); end
|
@@ -222,34 +244,34 @@ class Rake::FileList
|
|
222
244
|
def entries(*args, &block); end
|
223
245
|
def exclude(*patterns, &block); end
|
224
246
|
def excluded_from_list?(fn); end
|
225
|
-
def existing!; end
|
226
247
|
def existing; end
|
227
|
-
def
|
228
|
-
def
|
248
|
+
def existing!; end
|
249
|
+
def ext(newext = T.unsafe(nil)); end
|
229
250
|
def fetch(*args, &block); end
|
230
251
|
def fill(*args, &block); end
|
231
|
-
def filter!(*args, &block); end
|
232
252
|
def filter(*args, &block); end
|
253
|
+
def filter!(*args, &block); end
|
254
|
+
def filter_map(*args, &block); end
|
233
255
|
def find(*args, &block); end
|
234
256
|
def find_all(*args, &block); end
|
235
257
|
def find_index(*args, &block); end
|
236
258
|
def first(*args, &block); end
|
237
259
|
def flat_map(*args, &block); end
|
238
|
-
def flatten!(*args, &block); end
|
239
260
|
def flatten(*args, &block); end
|
261
|
+
def flatten!(*args, &block); end
|
240
262
|
def grep(*args, &block); end
|
241
263
|
def grep_v(*args, &block); end
|
242
264
|
def group_by(*args, &block); end
|
243
|
-
def gsub!(pat, rep); end
|
244
265
|
def gsub(pat, rep); end
|
266
|
+
def gsub!(pat, rep); end
|
245
267
|
def import(array); end
|
246
268
|
def include(*filenames); end
|
247
269
|
def include?(*args, &block); end
|
248
270
|
def index(*args, &block); end
|
249
|
-
def initialize(*patterns); end
|
250
271
|
def inject(*args, &block); end
|
251
272
|
def insert(*args, &block); end
|
252
273
|
def inspect(*args, &block); end
|
274
|
+
def intersection(*args, &block); end
|
253
275
|
def is_a?(klass); end
|
254
276
|
def join(*args, &block); end
|
255
277
|
def keep_if(*args, &block); end
|
@@ -257,8 +279,8 @@ class Rake::FileList
|
|
257
279
|
def last(*args, &block); end
|
258
280
|
def lazy(*args, &block); end
|
259
281
|
def length(*args, &block); end
|
260
|
-
def map!(*args, &block); end
|
261
282
|
def map(*args, &block); end
|
283
|
+
def map!(*args, &block); end
|
262
284
|
def max(*args, &block); end
|
263
285
|
def max_by(*args, &block); end
|
264
286
|
def member?(*args, &block); end
|
@@ -270,7 +292,7 @@ class Rake::FileList
|
|
270
292
|
def one?(*args, &block); end
|
271
293
|
def pack(*args, &block); end
|
272
294
|
def partition(&block); end
|
273
|
-
def pathmap(spec = nil, &block); end
|
295
|
+
def pathmap(spec = T.unsafe(nil), &block); end
|
274
296
|
def permutation(*args, &block); end
|
275
297
|
def pop(*args, &block); end
|
276
298
|
def prepend(*args, &block); end
|
@@ -278,227 +300,299 @@ class Rake::FileList
|
|
278
300
|
def push(*args, &block); end
|
279
301
|
def rassoc(*args, &block); end
|
280
302
|
def reduce(*args, &block); end
|
281
|
-
def reject!(*args, &block); end
|
282
303
|
def reject(*args, &block); end
|
304
|
+
def reject!(*args, &block); end
|
283
305
|
def repeated_combination(*args, &block); end
|
284
306
|
def repeated_permutation(*args, &block); end
|
285
307
|
def replace(*args, &block); end
|
286
308
|
def resolve; end
|
287
|
-
def resolve_add(fn); end
|
288
|
-
def resolve_exclude; end
|
289
|
-
def reverse!(*args, &block); end
|
290
309
|
def reverse(*args, &block); end
|
310
|
+
def reverse!(*args, &block); end
|
291
311
|
def reverse_each(*args, &block); end
|
292
312
|
def rindex(*args, &block); end
|
293
|
-
def rotate!(*args, &block); end
|
294
313
|
def rotate(*args, &block); end
|
314
|
+
def rotate!(*args, &block); end
|
295
315
|
def sample(*args, &block); end
|
296
|
-
def select!(*args, &block); end
|
297
316
|
def select(*args, &block); end
|
298
|
-
def
|
299
|
-
def self.glob(pattern, *args); end
|
317
|
+
def select!(*args, &block); end
|
300
318
|
def shelljoin(*args, &block); end
|
301
319
|
def shift(*args, &block); end
|
302
|
-
def shuffle!(*args, &block); end
|
303
320
|
def shuffle(*args, &block); end
|
321
|
+
def shuffle!(*args, &block); end
|
304
322
|
def size(*args, &block); end
|
305
|
-
def slice!(*args, &block); end
|
306
323
|
def slice(*args, &block); end
|
324
|
+
def slice!(*args, &block); end
|
307
325
|
def slice_after(*args, &block); end
|
308
326
|
def slice_before(*args, &block); end
|
309
327
|
def slice_when(*args, &block); end
|
310
|
-
def sort!(*args, &block); end
|
311
328
|
def sort(*args, &block); end
|
312
|
-
def
|
329
|
+
def sort!(*args, &block); end
|
313
330
|
def sort_by(*args, &block); end
|
314
|
-
def
|
331
|
+
def sort_by!(*args, &block); end
|
315
332
|
def sub(pat, rep); end
|
333
|
+
def sub!(pat, rep); end
|
316
334
|
def sum(*args, &block); end
|
317
335
|
def take(*args, &block); end
|
318
336
|
def take_while(*args, &block); end
|
337
|
+
def tally(*args, &block); end
|
319
338
|
def to_a; end
|
320
339
|
def to_ary; end
|
321
|
-
def to_default_s(*args, &block); end
|
322
|
-
def to_formatted_s(*args, &block); end
|
323
340
|
def to_h(*args, &block); end
|
324
341
|
def to_s; end
|
325
|
-
def to_sentence(*args, &block); end
|
326
342
|
def to_set(*args, &block); end
|
327
|
-
def to_xml(*args, &block); end
|
328
343
|
def transpose(*args, &block); end
|
329
344
|
def union(*args, &block); end
|
330
|
-
def uniq!(*args, &block); end
|
331
345
|
def uniq(*args, &block); end
|
346
|
+
def uniq!(*args, &block); end
|
332
347
|
def unshift(*args, &block); end
|
333
348
|
def values_at(*args, &block); end
|
334
349
|
def zip(*args, &block); end
|
335
350
|
def |(*args, &block); end
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
def
|
340
|
-
def
|
341
|
-
def
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
def stat(*args); end
|
348
|
-
def value; end
|
349
|
-
def work; end
|
351
|
+
|
352
|
+
private
|
353
|
+
|
354
|
+
def add_matching(pattern); end
|
355
|
+
def resolve_add(fn); end
|
356
|
+
def resolve_exclude; end
|
357
|
+
|
358
|
+
class << self
|
359
|
+
def [](*args); end
|
360
|
+
def glob(pattern, *args); end
|
361
|
+
end
|
350
362
|
end
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
def
|
363
|
+
|
364
|
+
Rake::FileList::ARRAY_METHODS = T.let(T.unsafe(nil), Array)
|
365
|
+
Rake::FileList::DEFAULT_IGNORE_PATTERNS = T.let(T.unsafe(nil), Array)
|
366
|
+
Rake::FileList::DEFAULT_IGNORE_PROCS = T.let(T.unsafe(nil), Array)
|
367
|
+
Rake::FileList::DELEGATING_METHODS = T.let(T.unsafe(nil), Array)
|
368
|
+
Rake::FileList::GLOB_PATTERN = T.let(T.unsafe(nil), Regexp)
|
369
|
+
Rake::FileList::MUST_DEFINE = T.let(T.unsafe(nil), Array)
|
370
|
+
Rake::FileList::MUST_NOT_DEFINE = T.let(T.unsafe(nil), Array)
|
371
|
+
Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array)
|
372
|
+
|
373
|
+
class Rake::FileTask < ::Rake::Task
|
374
|
+
def needed?; end
|
375
|
+
def timestamp; end
|
376
|
+
|
377
|
+
private
|
378
|
+
|
379
|
+
def out_of_date?(stamp); end
|
380
|
+
|
381
|
+
class << self
|
382
|
+
def scope_name(scope, task_name); end
|
383
|
+
end
|
363
384
|
end
|
364
|
-
|
365
|
-
|
385
|
+
|
386
|
+
module Rake::FileUtilsExt
|
387
|
+
include ::FileUtils::StreamUtils_
|
388
|
+
include ::FileUtils
|
389
|
+
extend ::FileUtils::StreamUtils_
|
390
|
+
extend ::FileUtils
|
391
|
+
extend ::Rake::FileUtilsExt
|
392
|
+
|
393
|
+
def cd(*args, **options, &block); end
|
394
|
+
def chdir(*args, **options, &block); end
|
395
|
+
def chmod(*args, **options, &block); end
|
396
|
+
def chmod_R(*args, **options, &block); end
|
397
|
+
def chown(*args, **options, &block); end
|
398
|
+
def chown_R(*args, **options, &block); end
|
399
|
+
def copy(*args, **options, &block); end
|
400
|
+
def cp(*args, **options, &block); end
|
401
|
+
def cp_lr(*args, **options, &block); end
|
402
|
+
def cp_r(*args, **options, &block); end
|
403
|
+
def install(*args, **options, &block); end
|
404
|
+
def link(*args, **options, &block); end
|
405
|
+
def ln(*args, **options, &block); end
|
406
|
+
def ln_s(*args, **options, &block); end
|
407
|
+
def ln_sf(*args, **options, &block); end
|
408
|
+
def makedirs(*args, **options, &block); end
|
409
|
+
def mkdir(*args, **options, &block); end
|
410
|
+
def mkdir_p(*args, **options, &block); end
|
411
|
+
def mkpath(*args, **options, &block); end
|
412
|
+
def move(*args, **options, &block); end
|
413
|
+
def mv(*args, **options, &block); end
|
414
|
+
def nowrite(value = T.unsafe(nil)); end
|
415
|
+
def rake_check_options(options, *optdecl); end
|
416
|
+
def rake_output_message(message); end
|
417
|
+
def remove(*args, **options, &block); end
|
418
|
+
def rm(*args, **options, &block); end
|
419
|
+
def rm_f(*args, **options, &block); end
|
420
|
+
def rm_r(*args, **options, &block); end
|
421
|
+
def rm_rf(*args, **options, &block); end
|
422
|
+
def rmdir(*args, **options, &block); end
|
423
|
+
def rmtree(*args, **options, &block); end
|
424
|
+
def safe_unlink(*args, **options, &block); end
|
425
|
+
def symlink(*args, **options, &block); end
|
426
|
+
def touch(*args, **options, &block); end
|
427
|
+
def verbose(value = T.unsafe(nil)); end
|
428
|
+
def when_writing(msg = T.unsafe(nil)); end
|
429
|
+
|
430
|
+
class << self
|
431
|
+
def nowrite_flag; end
|
432
|
+
def nowrite_flag=(_arg0); end
|
433
|
+
def verbose_flag; end
|
434
|
+
def verbose_flag=(_arg0); end
|
435
|
+
end
|
366
436
|
end
|
367
|
-
|
368
|
-
|
437
|
+
|
438
|
+
Rake::FileUtilsExt::DEFAULT = T.let(T.unsafe(nil), Object)
|
439
|
+
|
440
|
+
class Rake::InvocationChain < ::Rake::LinkedList
|
441
|
+
def append(invocation); end
|
442
|
+
def member?(invocation); end
|
443
|
+
def to_s; end
|
444
|
+
|
445
|
+
private
|
446
|
+
|
447
|
+
def prefix; end
|
448
|
+
|
449
|
+
class << self
|
450
|
+
def append(invocation, chain); end
|
451
|
+
end
|
369
452
|
end
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
def
|
375
|
-
def
|
376
|
-
def
|
377
|
-
extend Rake::PrivateReader::ClassMethods
|
378
|
-
include Rake::PrivateReader
|
453
|
+
|
454
|
+
Rake::InvocationChain::EMPTY = T.let(T.unsafe(nil), Rake::InvocationChain::EmptyInvocationChain)
|
455
|
+
|
456
|
+
class Rake::InvocationChain::EmptyInvocationChain < ::Rake::LinkedList::EmptyLinkedList
|
457
|
+
def append(invocation); end
|
458
|
+
def member?(obj); end
|
459
|
+
def to_s; end
|
379
460
|
end
|
380
|
-
|
381
|
-
|
461
|
+
|
462
|
+
module Rake::InvocationExceptionMixin
|
463
|
+
def chain; end
|
464
|
+
def chain=(value); end
|
382
465
|
end
|
383
|
-
|
466
|
+
|
467
|
+
Rake::LATE = T.let(T.unsafe(nil), Rake::LateTime)
|
468
|
+
|
469
|
+
class Rake::LateTime
|
470
|
+
include ::Comparable
|
471
|
+
include ::Singleton
|
472
|
+
extend ::Singleton::SingletonClassMethods
|
473
|
+
|
474
|
+
def <=>(other); end
|
475
|
+
def to_s; end
|
384
476
|
end
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
def
|
390
|
-
|
391
|
-
def
|
392
|
-
def
|
393
|
-
def
|
394
|
-
def
|
395
|
-
def
|
396
|
-
def
|
397
|
-
def
|
398
|
-
def
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
477
|
+
|
478
|
+
class Rake::LinkedList
|
479
|
+
include ::Enumerable
|
480
|
+
|
481
|
+
def initialize(head, tail = T.unsafe(nil)); end
|
482
|
+
|
483
|
+
def ==(other); end
|
484
|
+
def conj(item); end
|
485
|
+
def each; end
|
486
|
+
def empty?; end
|
487
|
+
def head; end
|
488
|
+
def inspect; end
|
489
|
+
def tail; end
|
490
|
+
def to_s; end
|
491
|
+
|
492
|
+
class << self
|
493
|
+
def cons(head, tail); end
|
494
|
+
def empty; end
|
495
|
+
def make(*args); end
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList)
|
500
|
+
|
501
|
+
class Rake::LinkedList::EmptyLinkedList < ::Rake::LinkedList
|
410
502
|
def initialize; end
|
411
|
-
|
412
|
-
def
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
def
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
def
|
427
|
-
|
428
|
-
def
|
429
|
-
def
|
430
|
-
def
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
def trace(*strings); end
|
440
|
-
def truncate(string, width); end
|
441
|
-
def truncate_output?; end
|
442
|
-
def tty_output=(arg0); end
|
443
|
-
def tty_output?; end
|
444
|
-
def unix?; end
|
445
|
-
def windows?; end
|
446
|
-
include Rake::TaskManager
|
447
|
-
include Rake::TraceOutput
|
503
|
+
|
504
|
+
def empty?; end
|
505
|
+
|
506
|
+
class << self
|
507
|
+
def cons(head, tail); end
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
class Rake::MultiTask < ::Rake::Task
|
512
|
+
private
|
513
|
+
|
514
|
+
def invoke_prerequisites(task_args, invocation_chain); end
|
515
|
+
end
|
516
|
+
|
517
|
+
class Rake::NameSpace
|
518
|
+
def initialize(task_manager, scope_list); end
|
519
|
+
|
520
|
+
def [](name); end
|
521
|
+
def scope; end
|
522
|
+
def tasks; end
|
523
|
+
end
|
524
|
+
|
525
|
+
module Rake::PrivateReader
|
526
|
+
mixes_in_class_methods ::Rake::PrivateReader::ClassMethods
|
527
|
+
|
528
|
+
class << self
|
529
|
+
def included(base); end
|
530
|
+
end
|
448
531
|
end
|
532
|
+
|
533
|
+
module Rake::PrivateReader::ClassMethods
|
534
|
+
def private_reader(*names); end
|
535
|
+
end
|
536
|
+
|
537
|
+
class Rake::Promise
|
538
|
+
def initialize(args, &block); end
|
539
|
+
|
540
|
+
def recorder; end
|
541
|
+
def recorder=(_arg0); end
|
542
|
+
def value; end
|
543
|
+
def work; end
|
544
|
+
|
545
|
+
private
|
546
|
+
|
547
|
+
def chore; end
|
548
|
+
def complete?; end
|
549
|
+
def discard; end
|
550
|
+
def error?; end
|
551
|
+
def result?; end
|
552
|
+
def stat(*args); end
|
553
|
+
end
|
554
|
+
|
555
|
+
Rake::Promise::NOT_SET = T.let(T.unsafe(nil), Object)
|
556
|
+
|
449
557
|
class Rake::PseudoStatus
|
558
|
+
def initialize(code = T.unsafe(nil)); end
|
559
|
+
|
450
560
|
def >>(n); end
|
451
561
|
def exited?; end
|
452
562
|
def exitstatus; end
|
453
|
-
def initialize(code = nil); end
|
454
563
|
def stopped?; end
|
455
564
|
def to_i; end
|
456
565
|
end
|
457
|
-
|
458
|
-
|
459
|
-
def
|
460
|
-
|
461
|
-
def
|
462
|
-
def
|
463
|
-
def initialize(names, values, parent = nil); end
|
464
|
-
def inspect; end
|
465
|
-
def key?(key); end
|
466
|
-
def lookup(name); end
|
467
|
-
def method_missing(sym, *args); end
|
468
|
-
def names; end
|
469
|
-
def new_scope(names); end
|
470
|
-
def to_a; end
|
471
|
-
def to_hash; end
|
472
|
-
def to_s; end
|
473
|
-
def values_at(*keys); end
|
474
|
-
def with_defaults(defaults); end
|
475
|
-
include Enumerable
|
476
|
-
end
|
477
|
-
class Rake::InvocationChain < Rake::LinkedList
|
478
|
-
def append(invocation); end
|
479
|
-
def member?(invocation); end
|
480
|
-
def prefix; end
|
481
|
-
def self.append(invocation, chain); end
|
482
|
-
def to_s; end
|
566
|
+
|
567
|
+
class Rake::RuleRecursionOverflowError < ::StandardError
|
568
|
+
def initialize(*args); end
|
569
|
+
|
570
|
+
def add_target(target); end
|
571
|
+
def message; end
|
483
572
|
end
|
484
|
-
|
485
|
-
|
486
|
-
def
|
487
|
-
def
|
573
|
+
|
574
|
+
class Rake::Scope < ::Rake::LinkedList
|
575
|
+
def path; end
|
576
|
+
def path_with_task_name(task_name); end
|
577
|
+
def trim(n); end
|
488
578
|
end
|
489
|
-
|
490
|
-
|
491
|
-
|
579
|
+
|
580
|
+
Rake::Scope::EMPTY = T.let(T.unsafe(nil), Rake::Scope::EmptyScope)
|
581
|
+
|
582
|
+
class Rake::Scope::EmptyScope < ::Rake::LinkedList::EmptyLinkedList
|
583
|
+
def path; end
|
584
|
+
def path_with_task_name(task_name); end
|
492
585
|
end
|
586
|
+
|
493
587
|
class Rake::Task
|
588
|
+
def initialize(task_name, app); end
|
589
|
+
|
494
590
|
def actions; end
|
495
|
-
def add_chain_to(exception, new_chain); end
|
496
|
-
def add_comment(comment); end
|
497
591
|
def add_description(description); end
|
498
592
|
def all_prerequisite_tasks; end
|
499
593
|
def already_invoked; end
|
500
594
|
def application; end
|
501
|
-
def application=(
|
595
|
+
def application=(_arg0); end
|
502
596
|
def arg_description; end
|
503
597
|
def arg_names; end
|
504
598
|
def clear; end
|
@@ -506,23 +600,17 @@ class Rake::Task
|
|
506
600
|
def clear_args; end
|
507
601
|
def clear_comments; end
|
508
602
|
def clear_prerequisites; end
|
509
|
-
def collect_prerequisites(seen); end
|
510
603
|
def comment; end
|
511
604
|
def comment=(comment); end
|
512
|
-
def enhance(deps = nil, &block); end
|
513
|
-
def execute(args = nil); end
|
514
|
-
def first_sentence(string); end
|
515
|
-
def format_trace_flags; end
|
605
|
+
def enhance(deps = T.unsafe(nil), &block); end
|
606
|
+
def execute(args = T.unsafe(nil)); end
|
516
607
|
def full_comment; end
|
517
|
-
def initialize(task_name, app); end
|
518
608
|
def inspect; end
|
519
609
|
def investigation; end
|
520
610
|
def invoke(*args); end
|
521
611
|
def invoke_prerequisites(task_args, invocation_chain); end
|
522
612
|
def invoke_prerequisites_concurrently(task_args, invocation_chain); end
|
523
|
-
def invoke_with_call_chain(task_args, invocation_chain); end
|
524
613
|
def locations; end
|
525
|
-
def lookup_prerequisite(prerequisite_name); end
|
526
614
|
def name; end
|
527
615
|
def name_with_args; end
|
528
616
|
def needed?; end
|
@@ -532,117 +620,176 @@ class Rake::Task
|
|
532
620
|
def prerequisites; end
|
533
621
|
def reenable; end
|
534
622
|
def scope; end
|
535
|
-
def self.[](task_name); end
|
536
|
-
def self.clear; end
|
537
|
-
def self.create_rule(*args, &block); end
|
538
|
-
def self.define_task(*args, &block); end
|
539
|
-
def self.format_deps(deps); end
|
540
|
-
def self.scope_name(scope, task_name); end
|
541
|
-
def self.task_defined?(task_name); end
|
542
|
-
def self.tasks; end
|
543
623
|
def set_arg_names(args); end
|
544
624
|
def source; end
|
545
625
|
def sources; end
|
546
|
-
def sources=(
|
626
|
+
def sources=(_arg0); end
|
547
627
|
def timestamp; end
|
548
628
|
def to_s; end
|
549
|
-
def transform_comments(separator, &block); end
|
550
629
|
def |(deps); end
|
630
|
+
|
631
|
+
protected
|
632
|
+
|
633
|
+
def collect_prerequisites(seen); end
|
634
|
+
def invoke_with_call_chain(task_args, invocation_chain); end
|
635
|
+
|
636
|
+
private
|
637
|
+
|
638
|
+
def add_chain_to(exception, new_chain); end
|
639
|
+
def add_comment(comment); end
|
640
|
+
def first_sentence(string); end
|
641
|
+
def format_trace_flags; end
|
642
|
+
def lookup_prerequisite(prerequisite_name); end
|
643
|
+
def transform_comments(separator, &block); end
|
644
|
+
|
645
|
+
class << self
|
646
|
+
def [](task_name); end
|
647
|
+
def clear; end
|
648
|
+
def create_rule(*args, &block); end
|
649
|
+
def define_task(*args, &block); end
|
650
|
+
def format_deps(deps); end
|
651
|
+
def scope_name(scope, task_name); end
|
652
|
+
def task_defined?(task_name); end
|
653
|
+
def tasks; end
|
654
|
+
end
|
551
655
|
end
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
656
|
+
|
657
|
+
class Rake::TaskArgumentError < ::ArgumentError; end
|
658
|
+
|
659
|
+
class Rake::TaskArguments
|
660
|
+
include ::Enumerable
|
661
|
+
|
662
|
+
def initialize(names, values, parent = T.unsafe(nil)); end
|
663
|
+
|
664
|
+
def [](index); end
|
665
|
+
def each(&block); end
|
666
|
+
def extras; end
|
667
|
+
def fetch(*args, &block); end
|
668
|
+
def has_key?(key); end
|
669
|
+
def inspect; end
|
670
|
+
def key?(key); end
|
671
|
+
def method_missing(sym, *args); end
|
672
|
+
def names; end
|
673
|
+
def new_scope(names); end
|
674
|
+
def to_a; end
|
675
|
+
def to_hash; end
|
557
676
|
def to_s; end
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
def
|
564
|
-
def out_of_date?(stamp); end
|
565
|
-
def self.scope_name(scope, task_name); end
|
566
|
-
def timestamp; end
|
567
|
-
end
|
568
|
-
class Rake::FileCreationTask < Rake::FileTask
|
569
|
-
def needed?; end
|
570
|
-
def timestamp; end
|
677
|
+
def values_at(*keys); end
|
678
|
+
def with_defaults(defaults); end
|
679
|
+
|
680
|
+
protected
|
681
|
+
|
682
|
+
def lookup(name); end
|
571
683
|
end
|
572
|
-
|
573
|
-
|
684
|
+
|
685
|
+
module Rake::TaskManager
|
686
|
+
def initialize; end
|
687
|
+
|
688
|
+
def [](task_name, scopes = T.unsafe(nil)); end
|
689
|
+
def clear; end
|
690
|
+
def create_rule(*args, &block); end
|
691
|
+
def current_scope; end
|
692
|
+
def define_task(task_class, *args, &block); end
|
693
|
+
def enhance_with_matching_rule(task_name, level = T.unsafe(nil)); end
|
694
|
+
def generate_did_you_mean_suggestions(task_name); end
|
695
|
+
def generate_message_for_undefined_task(task_name); end
|
696
|
+
def in_namespace(name); end
|
697
|
+
def intern(task_class, task_name); end
|
698
|
+
def last_description; end
|
699
|
+
def last_description=(_arg0); end
|
700
|
+
def lookup(task_name, initial_scope = T.unsafe(nil)); end
|
701
|
+
def resolve_args(args); end
|
702
|
+
def synthesize_file_task(task_name); end
|
703
|
+
def tasks; end
|
704
|
+
def tasks_in_scope(scope); end
|
705
|
+
|
706
|
+
private
|
707
|
+
|
708
|
+
def add_location(task); end
|
709
|
+
def attempt_rule(task_name, task_pattern, args, extensions, block, level); end
|
710
|
+
def find_location; end
|
711
|
+
def generate_name; end
|
712
|
+
def get_description(task); end
|
713
|
+
def lookup_in_scope(name, scope); end
|
714
|
+
def make_sources(task_name, task_pattern, extensions); end
|
715
|
+
def resolve_args_with_dependencies(args, hash); end
|
716
|
+
def resolve_args_without_dependencies(args); end
|
717
|
+
def trace_rule(level, message); end
|
718
|
+
|
719
|
+
class << self
|
720
|
+
def record_task_metadata; end
|
721
|
+
def record_task_metadata=(_arg0); end
|
722
|
+
end
|
574
723
|
end
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
def
|
581
|
-
|
582
|
-
def
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
def
|
587
|
-
def
|
588
|
-
def
|
589
|
-
def
|
590
|
-
def import(*fns); end
|
591
|
-
def install(*args, **options, &block); end
|
592
|
-
def link(*args, **options, &block); end
|
593
|
-
def ln(*args, **options, &block); end
|
594
|
-
def ln_s(*args, **options, &block); end
|
595
|
-
def ln_sf(*args, **options, &block); end
|
596
|
-
def makedirs(*args, **options, &block); end
|
597
|
-
def mkdir(*args, **options, &block); end
|
598
|
-
def mkdir_p(*args, **options, &block); end
|
599
|
-
def mkpath(*args, **options, &block); end
|
600
|
-
def move(*args, **options, &block); end
|
601
|
-
def multitask(*args, &block); end
|
602
|
-
def mv(*args, **options, &block); end
|
603
|
-
def namespace(name = nil, &block); end
|
604
|
-
def nowrite(value = nil); end
|
605
|
-
def rake_check_options(options, *optdecl); end
|
606
|
-
def rake_output_message(message); end
|
607
|
-
def remove(*args, **options, &block); end
|
608
|
-
def rm(*args, **options, &block); end
|
609
|
-
def rm_f(*args, **options, &block); end
|
610
|
-
def rm_r(*args, **options, &block); end
|
611
|
-
def rm_rf(*args, **options, &block); end
|
612
|
-
def rmdir(*args, **options, &block); end
|
613
|
-
def rmtree(*args, **options, &block); end
|
614
|
-
def ruby(*args, **options, &block); end
|
615
|
-
def rule(*args, &block); end
|
616
|
-
def safe_ln(*args, **options); end
|
617
|
-
def safe_unlink(*args, **options, &block); end
|
618
|
-
def sh(*cmd, &block); end
|
619
|
-
def split_all(path); end
|
620
|
-
def symlink(*args, **options, &block); end
|
621
|
-
def task(*args, &block); end
|
622
|
-
def touch(*args, **options, &block); end
|
623
|
-
def verbose(value = nil); end
|
624
|
-
def when_writing(msg = nil); end
|
625
|
-
include Rake::FileUtilsExt
|
724
|
+
|
725
|
+
class Rake::ThreadHistoryDisplay
|
726
|
+
include ::Rake::PrivateReader
|
727
|
+
extend ::Rake::PrivateReader::ClassMethods
|
728
|
+
|
729
|
+
def initialize(stats); end
|
730
|
+
|
731
|
+
def show; end
|
732
|
+
|
733
|
+
private
|
734
|
+
|
735
|
+
def items; end
|
736
|
+
def rename(hash, key, renames); end
|
737
|
+
def stats; end
|
738
|
+
def threads; end
|
626
739
|
end
|
627
|
-
|
628
|
-
|
740
|
+
|
741
|
+
class Rake::ThreadPool
|
742
|
+
def initialize(thread_count); end
|
743
|
+
|
744
|
+
def future(*args, &block); end
|
745
|
+
def gather_history; end
|
746
|
+
def history; end
|
747
|
+
def join; end
|
748
|
+
def statistics; end
|
749
|
+
|
750
|
+
private
|
751
|
+
|
752
|
+
def __queue__; end
|
753
|
+
def process_queue_item; end
|
754
|
+
def safe_thread_count; end
|
755
|
+
def start_thread; end
|
756
|
+
def stat(event, data = T.unsafe(nil)); end
|
629
757
|
end
|
630
|
-
|
631
|
-
|
632
|
-
def
|
633
|
-
def self.instance; end
|
634
|
-
def self.new(*arg0); end
|
635
|
-
def to_s; end
|
636
|
-
extend Singleton::SingletonClassMethods
|
637
|
-
include Comparable
|
638
|
-
include Singleton
|
758
|
+
|
759
|
+
module Rake::TraceOutput
|
760
|
+
def trace_on(out, *strings); end
|
639
761
|
end
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
762
|
+
|
763
|
+
Rake::VERSION = T.let(T.unsafe(nil), String)
|
764
|
+
module Rake::Version; end
|
765
|
+
Rake::Version::BUILD = T.let(T.unsafe(nil), String)
|
766
|
+
Rake::Version::MAJOR = T.let(T.unsafe(nil), String)
|
767
|
+
Rake::Version::MINOR = T.let(T.unsafe(nil), String)
|
768
|
+
Rake::Version::NUMBERS = T.let(T.unsafe(nil), Array)
|
769
|
+
Rake::Version::OTHER = T.let(T.unsafe(nil), Array)
|
770
|
+
|
771
|
+
module Rake::Win32
|
772
|
+
class << self
|
773
|
+
def normalize(path); end
|
774
|
+
def win32_system_dir; end
|
775
|
+
def windows?; end
|
776
|
+
end
|
645
777
|
end
|
646
|
-
|
647
|
-
|
778
|
+
|
779
|
+
class Rake::Win32::Win32HomeError < ::RuntimeError; end
|
780
|
+
RakeFileUtils = Rake::FileUtilsExt
|
781
|
+
|
782
|
+
class String
|
783
|
+
include ::Comparable
|
784
|
+
include ::JSON::Ext::Generator::GeneratorMethods::String
|
785
|
+
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
786
|
+
|
787
|
+
def ext(newext = T.unsafe(nil)); end
|
788
|
+
def pathmap(spec = T.unsafe(nil), &block); end
|
789
|
+
|
790
|
+
protected
|
791
|
+
|
792
|
+
def pathmap_explode; end
|
793
|
+
def pathmap_partial(n); end
|
794
|
+
def pathmap_replace(patterns, &block); end
|
648
795
|
end
|