wt_activerecord_index_spy 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +3 -0
  3. data/.rubocop.yml +3 -0
  4. data/CHANGELOG.md +3 -0
  5. data/Rakefile +0 -14
  6. data/lib/wt_activerecord_index_spy/aggregator.rb +29 -4
  7. data/lib/wt_activerecord_index_spy/notification_listener.rb +3 -2
  8. data/lib/wt_activerecord_index_spy/query_analyser/mysql.rb +1 -0
  9. data/lib/wt_activerecord_index_spy/query_analyser/postgres.rb +1 -0
  10. data/lib/wt_activerecord_index_spy/query_analyser.rb +1 -0
  11. data/lib/wt_activerecord_index_spy/test_helpers.rb +1 -0
  12. data/lib/wt_activerecord_index_spy/test_models.rb +1 -0
  13. data/lib/wt_activerecord_index_spy/version.rb +2 -1
  14. data/lib/wt_activerecord_index_spy.rb +2 -0
  15. data/sorbet/config +3 -0
  16. data/sorbet/rbi/gems/activemodel.rbi +839 -0
  17. data/sorbet/rbi/gems/activerecord.rbi +5324 -0
  18. data/sorbet/rbi/gems/activesupport.rbi +1783 -0
  19. data/sorbet/rbi/gems/ast.rbi +49 -0
  20. data/sorbet/rbi/gems/byebug.rbi +1041 -0
  21. data/sorbet/rbi/gems/coderay.rbi +92 -0
  22. data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
  23. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  24. data/sorbet/rbi/gems/faraday.rbi +544 -0
  25. data/sorbet/rbi/gems/gemfury.rbi +135 -0
  26. data/sorbet/rbi/gems/highline.rbi +567 -0
  27. data/sorbet/rbi/gems/i18n.rbi +445 -0
  28. data/sorbet/rbi/gems/method_source.rbi +64 -0
  29. data/sorbet/rbi/gems/minitest.rbi +420 -0
  30. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  31. data/sorbet/rbi/gems/multipart-post.rbi +53 -0
  32. data/sorbet/rbi/gems/mysql2.rbi +114 -0
  33. data/sorbet/rbi/gems/netrc.rbi +51 -0
  34. data/sorbet/rbi/gems/parallel.rbi +83 -0
  35. data/sorbet/rbi/gems/parser.rbi +1431 -0
  36. data/sorbet/rbi/gems/pg.rbi +546 -0
  37. data/sorbet/rbi/gems/progressbar.rbi +14 -0
  38. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  39. data/sorbet/rbi/gems/pry.rbi +1949 -0
  40. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  41. data/sorbet/rbi/gems/rake.rbi +662 -0
  42. data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
  43. data/sorbet/rbi/gems/rexml.rbi +599 -0
  44. data/sorbet/rbi/gems/rspec-core.rbi +1961 -0
  45. data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
  46. data/sorbet/rbi/gems/rspec-mocks.rbi +1091 -0
  47. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  48. data/sorbet/rbi/gems/rspec.rbi +15 -0
  49. data/sorbet/rbi/gems/rubocop-ast.rbi +1372 -0
  50. data/sorbet/rbi/gems/rubocop-sorbet.rbi +197 -0
  51. data/sorbet/rbi/gems/rubocop.rbi +8089 -0
  52. data/sorbet/rbi/gems/ruby-progressbar.rbi +303 -0
  53. data/sorbet/rbi/gems/thor.rbi +525 -0
  54. data/sorbet/rbi/gems/tzinfo.rbi +588 -0
  55. data/sorbet/rbi/gems/unicode-display_width.rbi +20 -0
  56. data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
  57. data/sorbet/rbi/hidden-definitions/errors.txt +15220 -0
  58. data/sorbet/rbi/hidden-definitions/hidden.rbi +28001 -0
  59. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +715 -0
  60. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5/activerecord.rbi +97 -0
  61. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +29 -0
  62. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1674 -0
  63. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/model_schema.rbi +79 -0
  64. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/sanitization.rbi +36 -0
  65. data/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.1.0.rc1/activerecord.rbi +502 -0
  66. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  67. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  68. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
  69. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  70. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  71. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  72. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  73. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +12 -0
  74. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  75. data/sorbet/rbi/todo.rbi +10 -0
  76. data/sorbet.md +23 -0
  77. data/wt_activerecord_index_spy.gemspec +3 -0
  78. metadata +106 -2
@@ -0,0 +1,108 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi sorbet-typed
3
+ #
4
+ # If you would like to make changes to this file, great! Please upstream any changes you make here:
5
+ #
6
+ # https://github.com/sorbet/sorbet-typed/edit/master/lib/minitest/all/minitest.rbi
7
+ #
8
+ # typed: strong
9
+
10
+ module Minitest
11
+ class Runnable
12
+ end
13
+
14
+ class Test < Runnable
15
+ include Minitest::Assertions
16
+ end
17
+
18
+ sig { void }
19
+ def self.autorun; end
20
+
21
+ sig { params(args: T::Array[String]).returns(T::Boolean) }
22
+ def self.run(args = []); end
23
+ end
24
+
25
+ module Minitest::Assertions
26
+ extend T::Sig
27
+
28
+ sig { params(test: T.untyped, msg: T.nilable(String)).returns(TrueClass) }
29
+ def assert(test, msg = nil); end
30
+
31
+ sig do
32
+ params(
33
+ exp: BasicObject,
34
+ msg: T.nilable(String)
35
+ ).returns(TrueClass)
36
+ end
37
+ def assert_empty(exp, msg = nil); end
38
+
39
+ sig do
40
+ params(
41
+ exp: BasicObject,
42
+ act: BasicObject,
43
+ msg: T.nilable(String)
44
+ ).returns(TrueClass)
45
+ end
46
+ def assert_equal(exp, act, msg = nil); end
47
+
48
+ sig do
49
+ params(
50
+ collection: T::Enumerable[T.untyped],
51
+ obj: BasicObject,
52
+ msg: T.nilable(String)
53
+ ).returns(TrueClass)
54
+ end
55
+ def assert_includes(collection, obj, msg = nil); end
56
+
57
+ sig do
58
+ params(
59
+ obj: BasicObject,
60
+ msg: T.nilable(String)
61
+ ).returns(TrueClass)
62
+ end
63
+ def assert_nil(obj, msg = nil); end
64
+
65
+ sig do
66
+ params(
67
+ exp: T.untyped
68
+ ).returns(StandardError)
69
+ end
70
+ def assert_raises(*exp, &block); end
71
+
72
+ sig { params(test: T.untyped, msg: T.nilable(String)).returns(TrueClass) }
73
+ def refute(test, msg = nil); end
74
+
75
+ sig do
76
+ params(
77
+ exp: BasicObject,
78
+ msg: T.nilable(String)
79
+ ).returns(TrueClass)
80
+ end
81
+ def refute_empty(exp, msg = nil); end
82
+
83
+ sig do
84
+ params(
85
+ exp: BasicObject,
86
+ act: BasicObject,
87
+ msg: T.nilable(String)
88
+ ).returns(TrueClass)
89
+ end
90
+ def refute_equal(exp, act, msg = nil); end
91
+
92
+ sig do
93
+ params(
94
+ collection: T::Enumerable[T.untyped],
95
+ obj: BasicObject,
96
+ msg: T.nilable(String)
97
+ ).returns(TrueClass)
98
+ end
99
+ def refute_includes(collection, obj, msg = nil); end
100
+
101
+ sig do
102
+ params(
103
+ obj: BasicObject,
104
+ msg: T.nilable(String)
105
+ ).returns(TrueClass)
106
+ end
107
+ def refute_nil(obj, msg = nil); end
108
+ end
@@ -0,0 +1,276 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi sorbet-typed
3
+ #
4
+ # If you would like to make changes to this file, great! Please upstream any changes you make here:
5
+ #
6
+ # https://github.com/sorbet/sorbet-typed/edit/master/lib/rainbow/all/rainbow.rbi
7
+ #
8
+ # typed: strong
9
+
10
+ module Rainbow
11
+ sig { returns(T::Boolean) }
12
+ attr_accessor :enabled
13
+
14
+ class Color
15
+ sig { returns(Symbol) }
16
+ attr_reader :ground
17
+
18
+ sig do
19
+ params(
20
+ ground: Symbol,
21
+ values: T.any([Integer], [Integer, Integer, Integer])
22
+ ).returns(Color)
23
+ end
24
+ def self.build(ground, values); end
25
+
26
+ sig { params(hex: String).returns([Integer, Integer, Integer]) }
27
+ def self.parse_hex_color(hex); end
28
+
29
+ class Indexed < Color
30
+ sig { returns(Integer) }
31
+ attr_reader :num
32
+
33
+ sig { params(ground: Symbol, num: Integer).returns(Indexed) }
34
+ def initialize(ground, num); end
35
+
36
+ sig { returns(T::Array[Integer]) }
37
+ def codes; end
38
+ end
39
+
40
+ class Named < Indexed
41
+ NAMES = T.let(nil, T::Hash[Symbol, Integer])
42
+
43
+ sig { returns(T::Array[Symbol]) }
44
+ def self.color_names; end
45
+
46
+ sig { returns(String) }
47
+ def self.valid_names; end
48
+
49
+ sig { params(ground: Symbol, name: Symbol).returns(Named) }
50
+ def initialize(ground, name); end
51
+ end
52
+
53
+ class RGB < Indexed
54
+ sig { returns(Integer) }
55
+ attr_accessor :r, :g, :b
56
+
57
+ sig { params(value: Numeric).returns(Integer) }
58
+ def to_ansi_domain(value); end
59
+
60
+ sig { params(ground: Symbol, values: Integer).returns(RGB) }
61
+ def initialize(ground, *values); end
62
+
63
+ sig { returns(T::Array[Integer]) }
64
+ def codes; end
65
+ end
66
+
67
+ class X11Named < RGB
68
+ include X11ColorNames
69
+
70
+ sig { returns(T::Array[Symbol]) }
71
+ def self.color_names; end
72
+
73
+ sig { returns(String) }
74
+ def self.valid_names; end
75
+
76
+ sig { params(ground: Symbol, name: Symbol).returns(X11Named) }
77
+ def initialize(ground, name); end
78
+ end
79
+ end
80
+
81
+ sig { returns(Wrapper) }
82
+ def self.global; end
83
+
84
+ sig { returns(T::Boolean) }
85
+ def self.enabled; end
86
+
87
+ sig { params(value: T::Boolean).returns(T::Boolean) }
88
+ def self.enabled=(value); end
89
+
90
+ sig { params(string: String).returns(String) }
91
+ def self.uncolor(string); end
92
+
93
+ class NullPresenter < String
94
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
95
+ def color(*values); end
96
+
97
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
98
+ def foreground(*values); end
99
+
100
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
101
+ def fg(*values); end
102
+
103
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
104
+ def background(*values); end
105
+
106
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
107
+ def bg(*values); end
108
+
109
+ sig { returns(NullPresenter) }
110
+ def reset; end
111
+
112
+ sig { returns(NullPresenter) }
113
+ def bright; end
114
+
115
+ sig { returns(NullPresenter) }
116
+ def faint; end
117
+
118
+ sig { returns(NullPresenter) }
119
+ def italic; end
120
+
121
+ sig { returns(NullPresenter) }
122
+ def underline; end
123
+
124
+ sig { returns(NullPresenter) }
125
+ def blink; end
126
+
127
+ sig { returns(NullPresenter) }
128
+ def inverse; end
129
+
130
+ sig { returns(NullPresenter) }
131
+ def hide; end
132
+
133
+ sig { returns(NullPresenter) }
134
+ def cross_out; end
135
+
136
+ sig { returns(NullPresenter) }
137
+ def black; end
138
+
139
+ sig { returns(NullPresenter) }
140
+ def red; end
141
+
142
+ sig { returns(NullPresenter) }
143
+ def green; end
144
+
145
+ sig { returns(NullPresenter) }
146
+ def yellow; end
147
+
148
+ sig { returns(NullPresenter) }
149
+ def blue; end
150
+
151
+ sig { returns(NullPresenter) }
152
+ def magenta; end
153
+
154
+ sig { returns(NullPresenter) }
155
+ def cyan; end
156
+
157
+ sig { returns(NullPresenter) }
158
+ def white; end
159
+
160
+ sig { returns(NullPresenter) }
161
+ def bold; end
162
+
163
+ sig { returns(NullPresenter) }
164
+ def dark; end
165
+
166
+ sig { returns(NullPresenter) }
167
+ def strike; end
168
+ end
169
+
170
+ class Presenter < String
171
+ TERM_EFFECTS = T.let(nil, T::Hash[Symbol, Integer])
172
+
173
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
174
+ def color(*values); end
175
+
176
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
177
+ def foreground(*values); end
178
+
179
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
180
+ def fg(*values); end
181
+
182
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
183
+ def background(*values); end
184
+
185
+ sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
186
+ def bg(*values); end
187
+
188
+ sig { returns(Presenter) }
189
+ def reset; end
190
+
191
+ sig { returns(Presenter) }
192
+ def bright; end
193
+
194
+ sig { returns(Presenter) }
195
+ def faint; end
196
+
197
+ sig { returns(Presenter) }
198
+ def italic; end
199
+
200
+ sig { returns(Presenter) }
201
+ def underline; end
202
+
203
+ sig { returns(Presenter) }
204
+ def blink; end
205
+
206
+ sig { returns(Presenter) }
207
+ def inverse; end
208
+
209
+ sig { returns(Presenter) }
210
+ def hide; end
211
+
212
+ sig { returns(Presenter) }
213
+ def cross_out; end
214
+
215
+ sig { returns(Presenter) }
216
+ def black; end
217
+
218
+ sig { returns(Presenter) }
219
+ def red; end
220
+
221
+ sig { returns(Presenter) }
222
+ def green; end
223
+
224
+ sig { returns(Presenter) }
225
+ def yellow; end
226
+
227
+ sig { returns(Presenter) }
228
+ def blue; end
229
+
230
+ sig { returns(Presenter) }
231
+ def magenta; end
232
+
233
+ sig { returns(Presenter) }
234
+ def cyan; end
235
+
236
+ sig { returns(Presenter) }
237
+ def white; end
238
+
239
+ sig { returns(Presenter) }
240
+ def bold; end
241
+
242
+ sig { returns(Presenter) }
243
+ def dark; end
244
+
245
+ sig { returns(Presenter) }
246
+ def strike; end
247
+ end
248
+
249
+ class StringUtils
250
+ sig { params(string: String, codes: T::Array[Integer]).returns(String) }
251
+ def self.wrap_with_sgr(string, codes); end
252
+
253
+ sig { params(string: String).returns(String) }
254
+ def uncolor(string); end
255
+ end
256
+
257
+ VERSION = T.let(nil, String)
258
+
259
+ class Wrapper
260
+ sig { returns(T::Boolean) }
261
+ attr_accessor :enabled
262
+
263
+ sig { params(enabled: T::Boolean).returns(Wrapper) }
264
+ def initialize(enabled = true); end
265
+
266
+ sig { params(string: String).returns(T.any(Rainbow::Presenter, Rainbow::NullPresenter)) }
267
+ def wrap(string); end
268
+ end
269
+
270
+ module X11ColorNames
271
+ NAMES = T.let(nil, T::Hash[Symbol, [Integer, Integer, Integer]])
272
+ end
273
+ end
274
+
275
+ sig { params(string: String).returns(Rainbow::Presenter) }
276
+ def Rainbow(string); end
@@ -0,0 +1,645 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi sorbet-typed
3
+ #
4
+ # If you would like to make changes to this file, great! Please upstream any changes you make here:
5
+ #
6
+ # https://github.com/sorbet/sorbet-typed/edit/master/lib/rake/all/rake.rbi
7
+ #
8
+ # typed: strict
9
+
10
+ module Rake
11
+ def self.add_rakelib(*files); end
12
+ def self.application; end
13
+ def self.application=(app); end
14
+ def self.each_dir_parent(dir); end
15
+ def self.from_pathname(path); end
16
+ def self.load_rakefile(path); end
17
+ def self.original_dir; end
18
+ def self.suggested_thread_count; end
19
+ def self.with_application(block_application = nil); end
20
+ extend Rake::FileUtilsExt
21
+ end
22
+ module Rake::Version
23
+ end
24
+ class Module
25
+ def rake_extension(method); end
26
+ end
27
+ class String
28
+ def ext(newext = nil); end
29
+ def pathmap(spec = nil, &block); end
30
+ def pathmap_explode; end
31
+ def pathmap_partial(n); end
32
+ def pathmap_replace(patterns, &block); end
33
+ end
34
+ module Rake::Win32
35
+ def self.normalize(path); end
36
+ def self.win32_system_dir; end
37
+ def self.windows?; end
38
+ end
39
+ class Rake::Win32::Win32HomeError < RuntimeError
40
+ end
41
+ class Rake::LinkedList
42
+ def ==(other); end
43
+ def conj(item); end
44
+ def each; end
45
+ def empty?; end
46
+ def head; end
47
+ def initialize(head, tail = nil); end
48
+ def inspect; end
49
+ def self.cons(head, tail); end
50
+ def self.empty; end
51
+ def self.make(*args); end
52
+ def tail; end
53
+ def to_s; end
54
+ include Enumerable
55
+ end
56
+ class Rake::LinkedList::EmptyLinkedList < Rake::LinkedList
57
+ def empty?; end
58
+ def initialize; end
59
+ def self.cons(head, tail); end
60
+ end
61
+ class Rake::CpuCounter
62
+ def count; end
63
+ def count_with_default(default = nil); end
64
+ def self.count; end
65
+ end
66
+ class Rake::Scope < Rake::LinkedList
67
+ def path; end
68
+ def path_with_task_name(task_name); end
69
+ def trim(n); end
70
+ end
71
+ class Rake::Scope::EmptyScope < Rake::LinkedList::EmptyLinkedList
72
+ def path; end
73
+ def path_with_task_name(task_name); end
74
+ end
75
+ class Rake::TaskArgumentError < ArgumentError
76
+ end
77
+ class Rake::RuleRecursionOverflowError < StandardError
78
+ def add_target(target); end
79
+ def initialize(*args); end
80
+ def message; end
81
+ end
82
+ module Rake::TaskManager
83
+ def [](task_name, scopes = nil); end
84
+ def add_location(task); end
85
+ def attempt_rule(task_name, task_pattern, args, extensions, block, level); end
86
+ def clear; end
87
+ def create_rule(*args, &block); end
88
+ def current_scope; end
89
+ def define_task(task_class, *args, &block); end
90
+ def enhance_with_matching_rule(task_name, level = nil); end
91
+ def find_location; end
92
+ def generate_did_you_mean_suggestions(task_name); end
93
+ def generate_message_for_undefined_task(task_name); end
94
+ def generate_name; end
95
+ def get_description(task); end
96
+ def in_namespace(name); end
97
+ def initialize; end
98
+ def intern(task_class, task_name); end
99
+ def last_description; end
100
+ def last_description=(arg0); end
101
+ def lookup(task_name, initial_scope = nil); end
102
+ def lookup_in_scope(name, scope); end
103
+ def make_sources(task_name, task_pattern, extensions); end
104
+ def resolve_args(args); end
105
+ def resolve_args_with_dependencies(args, hash); end
106
+ def resolve_args_without_dependencies(args); end
107
+ def self.record_task_metadata; end
108
+ def self.record_task_metadata=(arg0); end
109
+ def synthesize_file_task(task_name); end
110
+ def tasks; end
111
+ def tasks_in_scope(scope); end
112
+ def trace_rule(level, message); end
113
+ end
114
+ module Rake::Cloneable
115
+ def initialize_copy(source); end
116
+ end
117
+ module FileUtils
118
+ def create_shell_runner(cmd); end
119
+ def ruby(*args, **options, &block); end
120
+ def safe_ln(*args, **options); end
121
+ def set_verbose_option(options); end
122
+ def sh(*cmd, &block); end
123
+ def sh_show_command(cmd); end
124
+ def split_all(path); end
125
+ end
126
+ module Rake::FileUtilsExt
127
+ def cd(*args, **options, &block); end
128
+ def chdir(*args, **options, &block); end
129
+ def chmod(*args, **options, &block); end
130
+ def chmod_R(*args, **options, &block); end
131
+ def chown(*args, **options, &block); end
132
+ def chown_R(*args, **options, &block); end
133
+ def copy(*args, **options, &block); end
134
+ def cp(*args, **options, &block); end
135
+ def cp_lr(*args, **options, &block); end
136
+ def cp_r(*args, **options, &block); end
137
+ def install(*args, **options, &block); end
138
+ def link(*args, **options, &block); end
139
+ def ln(*args, **options, &block); end
140
+ def ln_s(*args, **options, &block); end
141
+ def ln_sf(*args, **options, &block); end
142
+ def makedirs(*args, **options, &block); end
143
+ def mkdir(*args, **options, &block); end
144
+ def mkdir_p(*args, **options, &block); end
145
+ def mkpath(*args, **options, &block); end
146
+ def move(*args, **options, &block); end
147
+ def mv(*args, **options, &block); end
148
+ def nowrite(value = nil); end
149
+ def rake_check_options(options, *optdecl); end
150
+ def rake_output_message(message); end
151
+ def remove(*args, **options, &block); end
152
+ def rm(*args, **options, &block); end
153
+ def rm_f(*args, **options, &block); end
154
+ def rm_r(*args, **options, &block); end
155
+ def rm_rf(*args, **options, &block); end
156
+ def rmdir(*args, **options, &block); end
157
+ def rmtree(*args, **options, &block); end
158
+ def safe_unlink(*args, **options, &block); end
159
+ def self.nowrite_flag; end
160
+ def self.nowrite_flag=(arg0); end
161
+ def self.verbose_flag; end
162
+ def self.verbose_flag=(arg0); end
163
+ def symlink(*args, **options, &block); end
164
+ def touch(*args, **options, &block); end
165
+ def verbose(value = nil); end
166
+ def when_writing(msg = nil); end
167
+ extend Rake::FileUtilsExt
168
+ include FileUtils
169
+ end
170
+ class Rake::FileList
171
+ def &(*args, &block); end
172
+ def *(other); end
173
+ def +(*args, &block); end
174
+ def -(*args, &block); end
175
+ def <<(obj); end
176
+ def <=>(*args, &block); end
177
+ def ==(array); end
178
+ def [](*args, &block); end
179
+ def []=(*args, &block); end
180
+ def add(*filenames); end
181
+ def add_matching(pattern); end
182
+ def all?(*args, &block); end
183
+ def any?(*args, &block); end
184
+ def append(*args, &block); end
185
+ def assoc(*args, &block); end
186
+ def at(*args, &block); end
187
+ def bsearch(*args, &block); end
188
+ def bsearch_index(*args, &block); end
189
+ def chain(*args, &block); end
190
+ def chunk(*args, &block); end
191
+ def chunk_while(*args, &block); end
192
+ def clear(*args, &block); end
193
+ def clear_exclude; end
194
+ def collect!(*args, &block); end
195
+ def collect(*args, &block); end
196
+ def collect_concat(*args, &block); end
197
+ def combination(*args, &block); end
198
+ def compact!(*args, &block); end
199
+ def compact(*args, &block); end
200
+ def concat(*args, &block); end
201
+ def count(*args, &block); end
202
+ def cycle(*args, &block); end
203
+ def delete(*args, &block); end
204
+ def delete_at(*args, &block); end
205
+ def delete_if(*args, &block); end
206
+ def detect(*args, &block); end
207
+ def difference(*args, &block); end
208
+ def dig(*args, &block); end
209
+ def drop(*args, &block); end
210
+ def drop_while(*args, &block); end
211
+ def each(*args, &block); end
212
+ def each_cons(*args, &block); end
213
+ def each_entry(*args, &block); end
214
+ def each_index(*args, &block); end
215
+ def each_slice(*args, &block); end
216
+ def each_with_index(*args, &block); end
217
+ def each_with_object(*args, &block); end
218
+ def egrep(pattern, *options); end
219
+ def empty?(*args, &block); end
220
+ def entries(*args, &block); end
221
+ def exclude(*patterns, &block); end
222
+ def excluded_from_list?(fn); end
223
+ def existing!; end
224
+ def existing; end
225
+ def ext(newext = nil); end
226
+ def fetch(*args, &block); end
227
+ def fill(*args, &block); end
228
+ def filter!(*args, &block); end
229
+ def filter(*args, &block); end
230
+ def find(*args, &block); end
231
+ def find_all(*args, &block); end
232
+ def find_index(*args, &block); end
233
+ def first(*args, &block); end
234
+ def flat_map(*args, &block); end
235
+ def flatten!(*args, &block); end
236
+ def flatten(*args, &block); end
237
+ def grep(*args, &block); end
238
+ def grep_v(*args, &block); end
239
+ def group_by(*args, &block); end
240
+ def gsub!(pat, rep); end
241
+ def gsub(pat, rep); end
242
+ def import(array); end
243
+ def include(*filenames); end
244
+ def include?(*args, &block); end
245
+ def index(*args, &block); end
246
+ def initialize(*patterns); end
247
+ def inject(*args, &block); end
248
+ def insert(*args, &block); end
249
+ def inspect(*args, &block); end
250
+ def is_a?(klass); end
251
+ def join(*args, &block); end
252
+ def keep_if(*args, &block); end
253
+ def kind_of?(klass); end
254
+ def last(*args, &block); end
255
+ def lazy(*args, &block); end
256
+ def length(*args, &block); end
257
+ def map!(*args, &block); end
258
+ def map(*args, &block); end
259
+ def max(*args, &block); end
260
+ def max_by(*args, &block); end
261
+ def member?(*args, &block); end
262
+ def min(*args, &block); end
263
+ def min_by(*args, &block); end
264
+ def minmax(*args, &block); end
265
+ def minmax_by(*args, &block); end
266
+ def none?(*args, &block); end
267
+ def one?(*args, &block); end
268
+ def pack(*args, &block); end
269
+ def partition(&block); end
270
+ def pathmap(spec = nil, &block); end
271
+ def permutation(*args, &block); end
272
+ def pop(*args, &block); end
273
+ def prepend(*args, &block); end
274
+ def product(*args, &block); end
275
+ def push(*args, &block); end
276
+ def rassoc(*args, &block); end
277
+ def reduce(*args, &block); end
278
+ def reject!(*args, &block); end
279
+ def reject(*args, &block); end
280
+ def repeated_combination(*args, &block); end
281
+ def repeated_permutation(*args, &block); end
282
+ def replace(*args, &block); end
283
+ def resolve; end
284
+ def resolve_add(fn); end
285
+ def resolve_exclude; end
286
+ def reverse!(*args, &block); end
287
+ def reverse(*args, &block); end
288
+ def reverse_each(*args, &block); end
289
+ def rindex(*args, &block); end
290
+ def rotate!(*args, &block); end
291
+ def rotate(*args, &block); end
292
+ def sample(*args, &block); end
293
+ def select!(*args, &block); end
294
+ def select(*args, &block); end
295
+ def self.[](*args); end
296
+ def self.glob(pattern, *args); end
297
+ def shelljoin(*args, &block); end
298
+ def shift(*args, &block); end
299
+ def shuffle!(*args, &block); end
300
+ def shuffle(*args, &block); end
301
+ def size(*args, &block); end
302
+ def slice!(*args, &block); end
303
+ def slice(*args, &block); end
304
+ def slice_after(*args, &block); end
305
+ def slice_before(*args, &block); end
306
+ def slice_when(*args, &block); end
307
+ def sort!(*args, &block); end
308
+ def sort(*args, &block); end
309
+ def sort_by!(*args, &block); end
310
+ def sort_by(*args, &block); end
311
+ def sub!(pat, rep); end
312
+ def sub(pat, rep); end
313
+ def sum(*args, &block); end
314
+ def take(*args, &block); end
315
+ def take_while(*args, &block); end
316
+ def to_a; end
317
+ def to_ary; end
318
+ def to_h(*args, &block); end
319
+ def to_s; end
320
+ def to_set(*args, &block); end
321
+ def transpose(*args, &block); end
322
+ def union(*args, &block); end
323
+ def uniq!(*args, &block); end
324
+ def uniq(*args, &block); end
325
+ def unshift(*args, &block); end
326
+ def values_at(*args, &block); end
327
+ def zip(*args, &block); end
328
+ def |(*args, &block); end
329
+ include Rake::Cloneable
330
+ end
331
+ class Rake::Promise
332
+ def chore; end
333
+ def complete?; end
334
+ def discard; end
335
+ def error?; end
336
+ def initialize(args, &block); end
337
+ def recorder; end
338
+ def recorder=(arg0); end
339
+ def result?; end
340
+ def stat(*args); end
341
+ def value; end
342
+ def work; end
343
+ end
344
+ class Rake::ThreadPool
345
+ def __queue__; end
346
+ def future(*args, &block); end
347
+ def gather_history; end
348
+ def history; end
349
+ def initialize(thread_count); end
350
+ def join; end
351
+ def process_queue_item; end
352
+ def safe_thread_count; end
353
+ def start_thread; end
354
+ def stat(event, data = nil); end
355
+ def statistics; end
356
+ end
357
+ module Rake::PrivateReader
358
+ def self.included(base); end
359
+ end
360
+ module Rake::PrivateReader::ClassMethods
361
+ def private_reader(*names); end
362
+ end
363
+ class Rake::ThreadHistoryDisplay
364
+ def initialize(stats); end
365
+ def items; end
366
+ def rename(hash, key, renames); end
367
+ def show; end
368
+ def stats; end
369
+ def threads; end
370
+ extend Rake::PrivateReader::ClassMethods
371
+ include Rake::PrivateReader
372
+ end
373
+ module Rake::TraceOutput
374
+ def trace_on(out, *strings); end
375
+ end
376
+ class Rake::CommandLineOptionError < StandardError
377
+ end
378
+ class Rake::Application
379
+ def add_import(fn); end
380
+ def add_loader(ext, loader); end
381
+ def collect_command_line_tasks(args); end
382
+ def default_task_name; end
383
+ def deprecate(old_usage, new_usage, call_site); end
384
+ def display_cause_details(ex); end
385
+ def display_error_message(ex); end
386
+ def display_exception_backtrace(ex); end
387
+ def display_exception_details(ex); end
388
+ def display_exception_details_seen; end
389
+ def display_exception_message_details(ex); end
390
+ def display_prerequisites; end
391
+ def display_tasks_and_comments; end
392
+ def dynamic_width; end
393
+ def dynamic_width_stty; end
394
+ def dynamic_width_tput; end
395
+ def exit_because_of_exception(ex); end
396
+ def find_rakefile_location; end
397
+ def glob(path, &block); end
398
+ def handle_options(argv); end
399
+ def has_cause?(ex); end
400
+ def has_chain?(exception); end
401
+ def have_rakefile; end
402
+ def init(app_name = nil, argv = nil); end
403
+ def initialize; end
404
+ def invoke_task(task_string); end
405
+ def load_imports; end
406
+ def load_rakefile; end
407
+ def name; end
408
+ def options; end
409
+ def original_dir; end
410
+ def parse_task_string(string); end
411
+ def print_rakefile_directory(location); end
412
+ def rake_require(file_name, paths = nil, loaded = nil); end
413
+ def rakefile; end
414
+ def rakefile_location(backtrace = nil); end
415
+ def raw_load_rakefile; end
416
+ def run(argv = nil); end
417
+ def run_with_threads; end
418
+ def select_tasks_to_show(options, show_tasks, value); end
419
+ def select_trace_output(options, trace_option, value); end
420
+ def set_default_options; end
421
+ def sort_options(options); end
422
+ def standard_exception_handling; end
423
+ def standard_rake_options; end
424
+ def standard_system_dir; end
425
+ def system_dir; end
426
+ def terminal_columns; end
427
+ def terminal_columns=(arg0); end
428
+ def terminal_width; end
429
+ def thread_pool; end
430
+ def top_level; end
431
+ def top_level_tasks; end
432
+ def trace(*strings); end
433
+ def truncate(string, width); end
434
+ def truncate_output?; end
435
+ def tty_output=(arg0); end
436
+ def tty_output?; end
437
+ def unix?; end
438
+ def windows?; end
439
+ include Rake::TaskManager
440
+ include Rake::TraceOutput
441
+ end
442
+ class Rake::PseudoStatus
443
+ def >>(n); end
444
+ def exited?; end
445
+ def exitstatus; end
446
+ def initialize(code = nil); end
447
+ def stopped?; end
448
+ def to_i; end
449
+ end
450
+ class Rake::TaskArguments
451
+ def [](index); end
452
+ def each(&block); end
453
+ def extras; end
454
+ def fetch(*args, &block); end
455
+ def has_key?(key); end
456
+ def initialize(names, values, parent = nil); end
457
+ def inspect; end
458
+ def key?(key); end
459
+ def lookup(name); end
460
+ def method_missing(sym, *args); end
461
+ def names; end
462
+ def new_scope(names); end
463
+ def to_a; end
464
+ def to_hash; end
465
+ def to_s; end
466
+ def values_at(*keys); end
467
+ def with_defaults(defaults); end
468
+ include Enumerable
469
+ end
470
+ class Rake::InvocationChain < Rake::LinkedList
471
+ def append(invocation); end
472
+ def member?(invocation); end
473
+ def prefix; end
474
+ def self.append(invocation, chain); end
475
+ def to_s; end
476
+ end
477
+ class Rake::InvocationChain::EmptyInvocationChain < Rake::LinkedList::EmptyLinkedList
478
+ def append(invocation); end
479
+ def member?(obj); end
480
+ def to_s; end
481
+ end
482
+ module Rake::InvocationExceptionMixin
483
+ def chain; end
484
+ def chain=(value); end
485
+ end
486
+ class Rake::Task
487
+ def actions; end
488
+ def add_chain_to(exception, new_chain); end
489
+ def add_comment(comment); end
490
+ def add_description(description); end
491
+ def all_prerequisite_tasks; end
492
+ def already_invoked; end
493
+ def application; end
494
+ def application=(arg0); end
495
+ def arg_description; end
496
+ def arg_names; end
497
+ def clear; end
498
+ def clear_actions; end
499
+ def clear_args; end
500
+ def clear_comments; end
501
+ def clear_prerequisites; end
502
+ def collect_prerequisites(seen); end
503
+ def comment; end
504
+ def comment=(comment); end
505
+ def enhance(deps = nil, &block); end
506
+ def execute(args = nil); end
507
+ def first_sentence(string); end
508
+ def format_trace_flags; end
509
+ def full_comment; end
510
+ def initialize(task_name, app); end
511
+ def inspect; end
512
+ def investigation; end
513
+ def invoke(*args); end
514
+ def invoke_prerequisites(task_args, invocation_chain); end
515
+ def invoke_prerequisites_concurrently(task_args, invocation_chain); end
516
+ def invoke_with_call_chain(task_args, invocation_chain); end
517
+ def locations; end
518
+ def lookup_prerequisite(prerequisite_name); end
519
+ def name; end
520
+ def name_with_args; end
521
+ def needed?; end
522
+ def order_only_prerequisites; end
523
+ def prereqs; end
524
+ def prerequisite_tasks; end
525
+ def prerequisites; end
526
+ def reenable; end
527
+ def scope; end
528
+ def self.[](task_name); end
529
+ def self.clear; end
530
+ def self.create_rule(*args, &block); end
531
+ def self.define_task(*args, &block); end
532
+ def self.format_deps(deps); end
533
+ def self.scope_name(scope, task_name); end
534
+ def self.task_defined?(task_name); end
535
+ def self.tasks; end
536
+ def set_arg_names(args); end
537
+ def source; end
538
+ def sources; end
539
+ def sources=(arg0); end
540
+ def timestamp; end
541
+ def to_s; end
542
+ def transform_comments(separator, &block); end
543
+ def |(deps); end
544
+ end
545
+ class Rake::EarlyTime
546
+ def <=>(other); end
547
+ def self.allocate; end
548
+ def self.instance; end
549
+ def self.new(*arg0); end
550
+ def to_s; end
551
+ extend Singleton::SingletonClassMethods
552
+ include Comparable
553
+ include Singleton
554
+ end
555
+ class Rake::FileTask < Rake::Task
556
+ def needed?; end
557
+ def out_of_date?(stamp); end
558
+ def self.scope_name(scope, task_name); end
559
+ def timestamp; end
560
+ end
561
+ class Rake::FileCreationTask < Rake::FileTask
562
+ def needed?; end
563
+ def timestamp; end
564
+ end
565
+ class Rake::MultiTask < Rake::Task
566
+ def invoke_prerequisites(task_args, invocation_chain); end
567
+ end
568
+ module Rake::DSL
569
+ def cd(*args, **options, &block); end
570
+ def chdir(*args, **options, &block); end
571
+ def chmod(*args, **options, &block); end
572
+ def chmod_R(*args, **options, &block); end
573
+ def chown(*args, **options, &block); end
574
+ def chown_R(*args, **options, &block); end
575
+ def copy(*args, **options, &block); end
576
+ def cp(*args, **options, &block); end
577
+ def cp_lr(*args, **options, &block); end
578
+ def cp_r(*args, **options, &block); end
579
+ def desc(description); end
580
+ def directory(*args, &block); end
581
+ def file(*args, &block); end
582
+ def file_create(*args, &block); end
583
+ def import(*fns); end
584
+ def install(*args, **options, &block); end
585
+ def link(*args, **options, &block); end
586
+ def ln(*args, **options, &block); end
587
+ def ln_s(*args, **options, &block); end
588
+ def ln_sf(*args, **options, &block); end
589
+ def makedirs(*args, **options, &block); end
590
+ def mkdir(*args, **options, &block); end
591
+ def mkdir_p(*args, **options, &block); end
592
+ def mkpath(*args, **options, &block); end
593
+ def move(*args, **options, &block); end
594
+ def multitask(*args, &block); end
595
+ def mv(*args, **options, &block); end
596
+ def namespace(name = nil, &block); end
597
+ def nowrite(value = nil); end
598
+ def rake_check_options(options, *optdecl); end
599
+ def rake_output_message(message); end
600
+ def remove(*args, **options, &block); end
601
+ def rm(*args, **options, &block); end
602
+ def rm_f(*args, **options, &block); end
603
+ def rm_r(*args, **options, &block); end
604
+ def rm_rf(*args, **options, &block); end
605
+ def rmdir(*args, **options, &block); end
606
+ def rmtree(*args, **options, &block); end
607
+ def ruby(*args, **options, &block); end
608
+ def rule(*args, &block); end
609
+ def safe_ln(*args, **options); end
610
+ def safe_unlink(*args, **options, &block); end
611
+ def sh(*cmd, &block); end
612
+ def split_all(path); end
613
+ def symlink(*args, **options, &block); end
614
+ def task(*args, &block); end
615
+ def touch(*args, **options, &block); end
616
+ def verbose(value = nil); end
617
+ def when_writing(msg = nil); end
618
+ include Rake::FileUtilsExt
619
+ end
620
+ class Rake::DefaultLoader
621
+ def load(fn); end
622
+ end
623
+ class Rake::LateTime
624
+ def <=>(other); end
625
+ def self.allocate; end
626
+ def self.instance; end
627
+ def self.new(*arg0); end
628
+ def to_s; end
629
+ extend Singleton::SingletonClassMethods
630
+ include Comparable
631
+ include Singleton
632
+ end
633
+ class Rake::NameSpace
634
+ def [](name); end
635
+ def initialize(task_manager, scope_list); end
636
+ def scope; end
637
+ def tasks; end
638
+ end
639
+ module Rake::Backtrace
640
+ def self.collapse(backtrace); end
641
+ end
642
+ class Rake::TaskLib
643
+ include Rake::Cloneable
644
+ include Rake::DSL
645
+ end