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,303 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ruby-progressbar/all/ruby-progressbar.rbi
9
+ #
10
+ # ruby-progressbar-1.11.0
11
+
12
+ class ProgressBar
13
+ end
14
+ class ProgressBar::Output
15
+ def bar; end
16
+ def bar=(arg0); end
17
+ def clear_string; end
18
+ def initialize(options = nil); end
19
+ def length; end
20
+ def length_calculator; end
21
+ def length_calculator=(arg0); end
22
+ def log(string); end
23
+ def print_and_flush; end
24
+ def refresh(options = nil); end
25
+ def self.detect(options = nil); end
26
+ def stream; end
27
+ def stream=(arg0); end
28
+ def throttle; end
29
+ def throttle=(arg0); end
30
+ def with_refresh; end
31
+ end
32
+ module ProgressBar::Outputs
33
+ end
34
+ class ProgressBar::Outputs::Tty < ProgressBar::Output
35
+ def bar_update_string; end
36
+ def clear; end
37
+ def default_format; end
38
+ def eol; end
39
+ def refresh_with_format_change; end
40
+ def resolve_format(other_format); end
41
+ end
42
+ class ProgressBar::Outputs::NonTty < ProgressBar::Output
43
+ def bar_update_string; end
44
+ def clear; end
45
+ def default_format; end
46
+ def eol; end
47
+ def last_update_length; end
48
+ def last_update_length=(arg0); end
49
+ def refresh_with_format_change(*arg0); end
50
+ def resolve_format(*arg0); end
51
+ end
52
+ class ProgressBar::Time
53
+ def initialize(time = nil); end
54
+ def now; end
55
+ def time; end
56
+ def time=(arg0); end
57
+ def unmocked_time_method; end
58
+ end
59
+ class ProgressBar::Timer
60
+ def divide_seconds(seconds); end
61
+ def elapsed_seconds; end
62
+ def elapsed_whole_seconds; end
63
+ def initialize(options = nil); end
64
+ def pause; end
65
+ def reset; end
66
+ def reset?; end
67
+ def restart; end
68
+ def resume; end
69
+ def start; end
70
+ def started?; end
71
+ def started_at; end
72
+ def started_at=(arg0); end
73
+ def stop; end
74
+ def stopped?; end
75
+ def stopped_at; end
76
+ def stopped_at=(arg0); end
77
+ def time; end
78
+ def time=(arg0); end
79
+ end
80
+ class ProgressBar::InvalidProgressError < RuntimeError
81
+ end
82
+ class ProgressBar::Progress
83
+ def absolute; end
84
+ def decrement; end
85
+ def finish; end
86
+ def finished?; end
87
+ def increment; end
88
+ def initialize(options = nil); end
89
+ def none?; end
90
+ def percentage_completed; end
91
+ def percentage_completed_with_precision; end
92
+ def progress; end
93
+ def progress=(new_progress); end
94
+ def reset; end
95
+ def running_average; end
96
+ def running_average=(arg0); end
97
+ def smoothing; end
98
+ def smoothing=(arg0); end
99
+ def start(options = nil); end
100
+ def starting_position; end
101
+ def starting_position=(arg0); end
102
+ def total; end
103
+ def total=(new_total); end
104
+ def total_with_unknown_indicator; end
105
+ def unknown?; end
106
+ end
107
+ class ProgressBar::Throttle
108
+ def choke(options = nil); end
109
+ def initialize(options = nil); end
110
+ def rate; end
111
+ def rate=(arg0); end
112
+ def started_at; end
113
+ def started_at=(arg0); end
114
+ def stopped_at; end
115
+ def stopped_at=(arg0); end
116
+ def timer; end
117
+ def timer=(arg0); end
118
+ end
119
+ module ProgressBar::Calculators
120
+ end
121
+ class ProgressBar::Calculators::Length
122
+ def calculate_length; end
123
+ def current_length; end
124
+ def current_length=(arg0); end
125
+ def dynamic_width; end
126
+ def dynamic_width_stty; end
127
+ def dynamic_width_tput; end
128
+ def dynamic_width_via_io_object; end
129
+ def dynamic_width_via_output_stream_object; end
130
+ def dynamic_width_via_system_calls; end
131
+ def initialize(options = nil); end
132
+ def length; end
133
+ def length_changed?; end
134
+ def length_override; end
135
+ def length_override=(other); end
136
+ def output; end
137
+ def output=(arg0); end
138
+ def reset_length; end
139
+ def terminal_width; end
140
+ def unix?; end
141
+ end
142
+ class ProgressBar::Calculators::RunningAverage
143
+ def self.calculate(current_average, new_value_to_average, smoothing_factor); end
144
+ end
145
+ module ProgressBar::Components
146
+ end
147
+ class ProgressBar::Components::Bar
148
+ def bar(length); end
149
+ def bar_with_percentage(length); end
150
+ def complete_bar(length); end
151
+ def complete_bar_with_percentage(length); end
152
+ def completed_length; end
153
+ def incomplete_space(length); end
154
+ def incomplete_string; end
155
+ def initialize(options = nil); end
156
+ def integrated_percentage_complete_string; end
157
+ def length; end
158
+ def length=(arg0); end
159
+ def progress; end
160
+ def progress=(arg0); end
161
+ def progress_mark; end
162
+ def progress_mark=(arg0); end
163
+ def remainder_mark; end
164
+ def remainder_mark=(arg0); end
165
+ def standard_complete_string; end
166
+ def to_s(options = nil); end
167
+ def unknown_progress_frame; end
168
+ def unknown_string; end
169
+ def upa_steps; end
170
+ def upa_steps=(arg0); end
171
+ end
172
+ class ProgressBar::Components::Percentage
173
+ def initialize(options = nil); end
174
+ def justified_percentage; end
175
+ def justified_percentage_with_precision; end
176
+ def percentage; end
177
+ def percentage_with_precision; end
178
+ def progress; end
179
+ def progress=(arg0); end
180
+ end
181
+ class ProgressBar::Components::Rate
182
+ def base_rate; end
183
+ def elapsed_seconds; end
184
+ def initialize(options = nil); end
185
+ def progress; end
186
+ def progress=(arg0); end
187
+ def rate_of_change(format_string = nil); end
188
+ def rate_of_change_with_precision; end
189
+ def rate_scale; end
190
+ def rate_scale=(arg0); end
191
+ def scaled_rate; end
192
+ def started_at; end
193
+ def started_at=(arg0); end
194
+ def stopped_at; end
195
+ def stopped_at=(arg0); end
196
+ def timer; end
197
+ def timer=(arg0); end
198
+ end
199
+ class ProgressBar::Components::Time
200
+ def elapsed; end
201
+ def elapsed_with_label; end
202
+ def estimated; end
203
+ def estimated_seconds_remaining; end
204
+ def estimated_with_elapsed_fallback; end
205
+ def estimated_with_friendly_oob; end
206
+ def estimated_with_label; end
207
+ def estimated_with_no_oob; end
208
+ def estimated_with_unknown_oob; end
209
+ def initialize(options = nil); end
210
+ def out_of_bounds_time_format; end
211
+ def out_of_bounds_time_format=(format); end
212
+ def progress; end
213
+ def progress=(arg0); end
214
+ def timer; end
215
+ def timer=(arg0); end
216
+ end
217
+ class ProgressBar::Components::Title
218
+ def initialize(options = nil); end
219
+ def title; end
220
+ def title=(arg0); end
221
+ end
222
+ module ProgressBar::Format
223
+ end
224
+ class ProgressBar::Format::Molecule
225
+ def bar_molecule?; end
226
+ def full_key; end
227
+ def initialize(letter); end
228
+ def key; end
229
+ def key=(arg0); end
230
+ def lookup_value(environment, length = nil); end
231
+ def method_name; end
232
+ def method_name=(arg0); end
233
+ def non_bar_molecule?; end
234
+ end
235
+ class ProgressBar::Format::Formatter
236
+ def self.process(format_string, max_length, bar); end
237
+ end
238
+ class ProgressBar::Format::String < String
239
+ def bar_molecule_placeholder_length; end
240
+ def bar_molecules; end
241
+ def displayable_length; end
242
+ def molecules; end
243
+ def non_bar_molecules; end
244
+ end
245
+ class ProgressBar::Base
246
+ def autofinish; end
247
+ def autofinish=(arg0); end
248
+ def autostart; end
249
+ def autostart=(arg0); end
250
+ def bar; end
251
+ def bar=(arg0); end
252
+ def clear(*args, &block); end
253
+ def decrement; end
254
+ def finish; end
255
+ def finished; end
256
+ def finished=(arg0); end
257
+ def finished?; end
258
+ def format(other); end
259
+ def format=(other); end
260
+ def increment; end
261
+ def initialize(options = nil); end
262
+ def inspect; end
263
+ def log(*args, &block); end
264
+ def output; end
265
+ def output=(arg0); end
266
+ def pause; end
267
+ def paused?; end
268
+ def percentage; end
269
+ def percentage=(arg0); end
270
+ def progress(*args, &block); end
271
+ def progress=(new_progress); end
272
+ def progress_mark=(mark); end
273
+ def progressable; end
274
+ def progressable=(arg0); end
275
+ def rate; end
276
+ def rate=(arg0); end
277
+ def refresh(*args, &block); end
278
+ def remainder_mark=(mark); end
279
+ def reset; end
280
+ def resume; end
281
+ def start(options = nil); end
282
+ def started?; end
283
+ def stop; end
284
+ def stopped?; end
285
+ def time; end
286
+ def time=(arg0); end
287
+ def timer; end
288
+ def timer=(arg0); end
289
+ def title; end
290
+ def title=(title); end
291
+ def title_comp; end
292
+ def title_comp=(arg0); end
293
+ def to_h; end
294
+ def to_s(new_format = nil); end
295
+ def total(*args, &block); end
296
+ def total=(new_total); end
297
+ def update_progress(*args); end
298
+ extend Forwardable
299
+ end
300
+ module ProgressBar::Refinements
301
+ end
302
+ module ProgressBar::Refinements::Enumerator
303
+ end
@@ -0,0 +1,525 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/thor/all/thor.rbi
9
+ #
10
+ # thor-0.20.3
11
+
12
+ class Thor
13
+ def self.banner(command, namespace = nil, subcommand = nil); end
14
+ def self.baseclass; end
15
+ def self.check_unknown_options!(options = nil); end
16
+ def self.check_unknown_options?(config); end
17
+ def self.command_help(shell, command_name); end
18
+ def self.create_command(meth); end
19
+ def self.create_task(meth); end
20
+ def self.default_command(meth = nil); end
21
+ def self.default_task(meth = nil); end
22
+ def self.desc(usage, description, options = nil); end
23
+ def self.disable_required_check!(*command_names); end
24
+ def self.disable_required_check; end
25
+ def self.disable_required_check?(command); end
26
+ def self.dispatch(meth, given_args, given_opts, config); end
27
+ def self.dynamic_command_class; end
28
+ def self.find_command_possibilities(meth); end
29
+ def self.find_task_possibilities(meth); end
30
+ def self.help(shell, subcommand = nil); end
31
+ def self.initialize_added; end
32
+ def self.long_desc(long_description, options = nil); end
33
+ def self.map(mappings = nil); end
34
+ def self.method_option(name, options = nil); end
35
+ def self.method_options(options = nil); end
36
+ def self.normalize_command_name(meth); end
37
+ def self.normalize_task_name(meth); end
38
+ def self.option(name, options = nil); end
39
+ def self.options(options = nil); end
40
+ def self.package_name(name, _ = nil); end
41
+ def self.printable_commands(all = nil, subcommand = nil); end
42
+ def self.printable_tasks(all = nil, subcommand = nil); end
43
+ def self.register(klass, subcommand_name, usage, description, options = nil); end
44
+ def self.retrieve_command_name(args); end
45
+ def self.retrieve_task_name(args); end
46
+ def self.stop_on_unknown_option!(*command_names); end
47
+ def self.stop_on_unknown_option; end
48
+ def self.stop_on_unknown_option?(command); end
49
+ def self.subcommand(subcommand, subcommand_class); end
50
+ def self.subcommand_classes; end
51
+ def self.subcommand_help(cmd); end
52
+ def self.subcommands; end
53
+ def self.subtask(subcommand, subcommand_class); end
54
+ def self.subtask_help(cmd); end
55
+ def self.subtasks; end
56
+ def self.task_help(shell, command_name); end
57
+ extend Thor::Base::ClassMethods
58
+ extend Thor::Invocation::ClassMethods
59
+ include Thor::Base
60
+ include Thor::Invocation
61
+ include Thor::Shell
62
+ end
63
+ class Anonymous_Struct_22 < Struct
64
+ def ancestor_name; end
65
+ def ancestor_name=(_); end
66
+ def description; end
67
+ def description=(_); end
68
+ def long_description; end
69
+ def long_description=(_); end
70
+ def name; end
71
+ def name=(_); end
72
+ def options; end
73
+ def options=(_); end
74
+ def self.[](*arg0); end
75
+ def self.inspect; end
76
+ def self.members; end
77
+ def self.new(*arg0); end
78
+ def usage; end
79
+ def usage=(_); end
80
+ end
81
+ class Thor::Command < Anonymous_Struct_22
82
+ def formatted_usage(klass, namespace = nil, subcommand = nil); end
83
+ def handle_argument_error?(instance, error, caller); end
84
+ def handle_no_method_error?(instance, error, caller); end
85
+ def hidden?; end
86
+ def initialize(name, description, long_description, usage, options = nil); end
87
+ def initialize_copy(other); end
88
+ def local_method?(instance, name); end
89
+ def not_debugging?(instance); end
90
+ def private_method?(instance); end
91
+ def public_method?(instance); end
92
+ def required_options; end
93
+ def run(instance, args = nil); end
94
+ def sans_backtrace(backtrace, caller); end
95
+ end
96
+ class Thor::HiddenCommand < Thor::Command
97
+ def hidden?; end
98
+ end
99
+ class Thor::DynamicCommand < Thor::Command
100
+ def initialize(name, options = nil); end
101
+ def run(instance, args = nil); end
102
+ end
103
+ module Thor::CoreExt
104
+ end
105
+ class Thor::CoreExt::HashWithIndifferentAccess < Hash
106
+ def [](key); end
107
+ def []=(key, value); end
108
+ def convert_key(key); end
109
+ def delete(key); end
110
+ def fetch(key, *args); end
111
+ def initialize(hash = nil); end
112
+ def key?(key); end
113
+ def merge!(other); end
114
+ def merge(other); end
115
+ def method_missing(method, *args); end
116
+ def replace(other_hash); end
117
+ def reverse_merge!(other_hash); end
118
+ def reverse_merge(other); end
119
+ def to_hash; end
120
+ def values_at(*indices); end
121
+ end
122
+ class Thor::CoreExt::OrderedHash < Hash
123
+ end
124
+ class Thor::NoKwargSpellChecker < DidYouMean::SpellChecker
125
+ def initialize(dictionary); end
126
+ end
127
+ class Thor::Error < StandardError
128
+ end
129
+ class Thor::UndefinedCommandError < Thor::Error
130
+ def all_commands; end
131
+ def command; end
132
+ def initialize(command, all_commands, namespace); end
133
+ end
134
+ class Thor::UndefinedCommandError::SpellChecker
135
+ def corrections; end
136
+ def error; end
137
+ def initialize(error); end
138
+ def spell_checker; end
139
+ end
140
+ class Thor::AmbiguousCommandError < Thor::Error
141
+ end
142
+ class Thor::InvocationError < Thor::Error
143
+ end
144
+ class Thor::UnknownArgumentError < Thor::Error
145
+ def initialize(switches, unknown); end
146
+ def switches; end
147
+ def unknown; end
148
+ end
149
+ class Thor::UnknownArgumentError::SpellChecker
150
+ def corrections; end
151
+ def error; end
152
+ def initialize(error); end
153
+ def spell_checker; end
154
+ end
155
+ class Thor::RequiredArgumentMissingError < Thor::InvocationError
156
+ end
157
+ class Thor::MalformattedArgumentError < Thor::InvocationError
158
+ end
159
+ module Thor::Invocation
160
+ def _parse_initialization_options(args, opts, config); end
161
+ def _retrieve_class_and_command(name, sent_command = nil); end
162
+ def _retrieve_class_and_task(name, sent_command = nil); end
163
+ def _shared_configuration; end
164
+ def current_command_chain; end
165
+ def initialize(args = nil, options = nil, config = nil, &block); end
166
+ def invoke(name = nil, *args); end
167
+ def invoke_all; end
168
+ def invoke_command(command, *args); end
169
+ def invoke_task(command, *args); end
170
+ def invoke_with_padding(*args); end
171
+ def self.included(base); end
172
+ end
173
+ module Thor::Invocation::ClassMethods
174
+ def prepare_for_invocation(key, name); end
175
+ end
176
+ class Thor::Argument
177
+ def banner; end
178
+ def default; end
179
+ def default_banner; end
180
+ def description; end
181
+ def enum; end
182
+ def human_name; end
183
+ def initialize(name, options = nil); end
184
+ def name; end
185
+ def required; end
186
+ def required?; end
187
+ def show_default?; end
188
+ def type; end
189
+ def usage; end
190
+ def valid_type?(type); end
191
+ def validate!; end
192
+ end
193
+ class Thor::Arguments
194
+ def check_requirement!; end
195
+ def current_is_value?; end
196
+ def initialize(arguments = nil); end
197
+ def last?; end
198
+ def no_or_skip?(arg); end
199
+ def parse(args); end
200
+ def parse_array(name); end
201
+ def parse_hash(name); end
202
+ def parse_numeric(name); end
203
+ def parse_string(name); end
204
+ def peek; end
205
+ def remaining; end
206
+ def self.parse(*args); end
207
+ def self.split(args); end
208
+ def shift; end
209
+ def unshift(arg); end
210
+ end
211
+ class Thor::Option < Thor::Argument
212
+ def aliases; end
213
+ def array?; end
214
+ def boolean?; end
215
+ def dasherize(str); end
216
+ def dasherized?; end
217
+ def group; end
218
+ def hash?; end
219
+ def hide; end
220
+ def human_name; end
221
+ def initialize(name, options = nil); end
222
+ def lazy_default; end
223
+ def numeric?; end
224
+ def self.parse(key, value); end
225
+ def string?; end
226
+ def switch_name; end
227
+ def undasherize(str); end
228
+ def usage(padding = nil); end
229
+ def validate!; end
230
+ def validate_default_type!; end
231
+ end
232
+ class Thor::Options < Thor::Arguments
233
+ def check_unknown!; end
234
+ def current_is_switch?; end
235
+ def current_is_switch_formatted?; end
236
+ def current_is_value?; end
237
+ def initialize(hash_options = nil, defaults = nil, stop_on_unknown = nil, disable_required_check = nil); end
238
+ def normalize_switch(arg); end
239
+ def parse(args); end
240
+ def parse_boolean(switch); end
241
+ def parse_peek(switch, option); end
242
+ def parsing_options?; end
243
+ def peek; end
244
+ def remaining; end
245
+ def self.to_switches(options); end
246
+ def switch?(arg); end
247
+ def switch_option(arg); end
248
+ end
249
+ module Thor::Base
250
+ def args; end
251
+ def args=(arg0); end
252
+ def initialize(args = nil, local_options = nil, config = nil); end
253
+ def options; end
254
+ def options=(arg0); end
255
+ def parent_options; end
256
+ def parent_options=(arg0); end
257
+ def self.included(base); end
258
+ def self.register_klass_file(klass); end
259
+ def self.shell; end
260
+ def self.shell=(arg0); end
261
+ def self.subclass_files; end
262
+ def self.subclasses; end
263
+ end
264
+ module Thor::Shell
265
+ def _shared_configuration; end
266
+ def ask(*args, &block); end
267
+ def error(*args, &block); end
268
+ def file_collision(*args, &block); end
269
+ def initialize(args = nil, options = nil, config = nil); end
270
+ def no?(*args, &block); end
271
+ def print_in_columns(*args, &block); end
272
+ def print_table(*args, &block); end
273
+ def print_wrapped(*args, &block); end
274
+ def say(*args, &block); end
275
+ def say_status(*args, &block); end
276
+ def set_color(*args, &block); end
277
+ def shell; end
278
+ def shell=(arg0); end
279
+ def terminal_width(*args, &block); end
280
+ def with_padding; end
281
+ def yes?(*args, &block); end
282
+ end
283
+ module Thor::LineEditor
284
+ def self.best_available; end
285
+ def self.readline(prompt, options = nil); end
286
+ end
287
+ class Thor::LineEditor::Basic
288
+ def echo?; end
289
+ def get_input; end
290
+ def initialize(prompt, options); end
291
+ def options; end
292
+ def prompt; end
293
+ def readline; end
294
+ def self.available?; end
295
+ end
296
+ class Thor::LineEditor::Readline < Thor::LineEditor::Basic
297
+ def add_to_history?; end
298
+ def completion_options; end
299
+ def completion_proc; end
300
+ def readline; end
301
+ def self.available?; end
302
+ def use_path_completion?; end
303
+ end
304
+ class Thor::LineEditor::Readline::PathCompletion
305
+ def absolute_matches; end
306
+ def base_path; end
307
+ def glob_pattern; end
308
+ def initialize(text); end
309
+ def matches; end
310
+ def relative_matches; end
311
+ def text; end
312
+ end
313
+ module Thor::Sandbox
314
+ end
315
+ module Thor::Util
316
+ def self.camel_case(str); end
317
+ def self.escape_globs(path); end
318
+ def self.find_by_namespace(namespace); end
319
+ def self.find_class_and_command_by_namespace(namespace, fallback = nil); end
320
+ def self.find_class_and_task_by_namespace(namespace, fallback = nil); end
321
+ def self.globs_for(path); end
322
+ def self.load_thorfile(path, content = nil, debug = nil); end
323
+ def self.namespace_from_thor_class(constant); end
324
+ def self.namespaces_in_content(contents, file = nil); end
325
+ def self.ruby_command; end
326
+ def self.snake_case(str); end
327
+ def self.thor_classes_in(klass); end
328
+ def self.thor_root; end
329
+ def self.thor_root_glob; end
330
+ def self.user_home; end
331
+ end
332
+ module Thor::Base::ClassMethods
333
+ def all_commands; end
334
+ def all_tasks; end
335
+ def argument(name, options = nil); end
336
+ def arguments; end
337
+ def attr_accessor(*arg0); end
338
+ def attr_reader(*arg0); end
339
+ def attr_writer(*arg0); end
340
+ def baseclass; end
341
+ def basename; end
342
+ def build_option(name, options, scope); end
343
+ def build_options(options, scope); end
344
+ def check_default_type!; end
345
+ def check_default_type; end
346
+ def check_default_type?; end
347
+ def check_unknown_options!; end
348
+ def check_unknown_options; end
349
+ def check_unknown_options?(config); end
350
+ def class_option(name, options = nil); end
351
+ def class_options(options = nil); end
352
+ def class_options_help(shell, groups = nil); end
353
+ def commands; end
354
+ def create_command(meth); end
355
+ def create_task(meth); end
356
+ def disable_required_check?(command_name); end
357
+ def dispatch(command, given_args, given_opts, config); end
358
+ def exit_on_failure?; end
359
+ def find_and_refresh_command(name); end
360
+ def find_and_refresh_task(name); end
361
+ def from_superclass(method, default = nil); end
362
+ def group(name = nil); end
363
+ def handle_argument_error(command, error, args, arity); end
364
+ def handle_no_command_error(command, has_namespace = nil); end
365
+ def handle_no_task_error(command, has_namespace = nil); end
366
+ def inherited(klass); end
367
+ def initialize_added; end
368
+ def is_thor_reserved_word?(word, type); end
369
+ def method_added(meth); end
370
+ def namespace(name = nil); end
371
+ def no_commands; end
372
+ def no_tasks; end
373
+ def print_options(shell, options, group_name = nil); end
374
+ def public_command(*names); end
375
+ def public_task(*names); end
376
+ def remove_argument(*names); end
377
+ def remove_class_option(*names); end
378
+ def remove_command(*names); end
379
+ def remove_task(*names); end
380
+ def start(given_args = nil, config = nil); end
381
+ def stop_on_unknown_option?(command_name); end
382
+ def strict_args_position!; end
383
+ def strict_args_position; end
384
+ def strict_args_position?(config); end
385
+ def tasks; end
386
+ end
387
+ class IO
388
+ end
389
+ module Thor::Actions
390
+ def _cleanup_options_and_set(options, key); end
391
+ def _shared_configuration; end
392
+ def action(instance); end
393
+ def add_file(destination, *args, &block); end
394
+ def add_link(destination, *args); end
395
+ def append_file(path, *args, &block); end
396
+ def append_to_file(path, *args, &block); end
397
+ def apply(path, config = nil); end
398
+ def behavior; end
399
+ def behavior=(arg0); end
400
+ def capture(*args); end
401
+ def chmod(path, mode, config = nil); end
402
+ def comment_lines(path, flag, *args); end
403
+ def concat(string); end
404
+ def copy_file(source, *args, &block); end
405
+ def create_file(destination, *args, &block); end
406
+ def create_link(destination, *args); end
407
+ def destination_root; end
408
+ def destination_root=(root); end
409
+ def directory(source, *args, &block); end
410
+ def empty_directory(destination, config = nil); end
411
+ def find_in_source_paths(file); end
412
+ def get(source, *args, &block); end
413
+ def gsub_file(path, flag, *args, &block); end
414
+ def in_root; end
415
+ def initialize(args = nil, options = nil, config = nil); end
416
+ def inject_into_class(path, klass, *args, &block); end
417
+ def inject_into_file(destination, *args, &block); end
418
+ def inject_into_module(path, module_name, *args, &block); end
419
+ def insert_into_file(destination, *args, &block); end
420
+ def inside(dir = nil, config = nil, &block); end
421
+ def link_file(source, *args); end
422
+ def output_buffer; end
423
+ def output_buffer=(arg0); end
424
+ def prepend_file(path, *args, &block); end
425
+ def prepend_to_file(path, *args, &block); end
426
+ def relative_to_original_destination_root(path, remove_dot = nil); end
427
+ def remove_dir(path, config = nil); end
428
+ def remove_file(path, config = nil); end
429
+ def run(command, config = nil); end
430
+ def run_ruby_script(command, config = nil); end
431
+ def self.included(base); end
432
+ def source_paths; end
433
+ def template(source, *args, &block); end
434
+ def thor(command, *args); end
435
+ def uncomment_lines(path, flag, *args); end
436
+ def with_output_buffer(buf = nil); end
437
+ end
438
+ class Thor::Actions::EmptyDirectory
439
+ def base; end
440
+ def config; end
441
+ def convert_encoded_instructions(filename); end
442
+ def destination; end
443
+ def destination=(destination); end
444
+ def exists?; end
445
+ def given_destination; end
446
+ def initialize(base, destination, config = nil); end
447
+ def invoke!; end
448
+ def invoke_with_conflict_check(&block); end
449
+ def on_conflict_behavior; end
450
+ def on_file_clash_behavior; end
451
+ def pretend?; end
452
+ def relative_destination; end
453
+ def revoke!; end
454
+ def say_status(status, color); end
455
+ end
456
+ class Thor::Actions::CreateFile < Thor::Actions::EmptyDirectory
457
+ def data; end
458
+ def force_on_collision?; end
459
+ def force_or_skip_or_conflict(force, skip, &block); end
460
+ def identical?; end
461
+ def initialize(base, destination, data, config = nil); end
462
+ def invoke!; end
463
+ def on_conflict_behavior(&block); end
464
+ def render; end
465
+ end
466
+ class Thor::Actions::CreateLink < Thor::Actions::CreateFile
467
+ def data; end
468
+ def exists?; end
469
+ def identical?; end
470
+ def invoke!; end
471
+ end
472
+ class Thor::Actions::Directory < Thor::Actions::EmptyDirectory
473
+ def execute!; end
474
+ def file_level_lookup(previous_lookup); end
475
+ def files(lookup); end
476
+ def initialize(base, source, destination = nil, config = nil, &block); end
477
+ def invoke!; end
478
+ def revoke!; end
479
+ def source; end
480
+ end
481
+ class Thor::Actions::CapturableERB < ERB
482
+ def set_eoutvar(compiler, eoutvar = nil); end
483
+ end
484
+ class Thor::Actions::InjectIntoFile < Thor::Actions::EmptyDirectory
485
+ def behavior; end
486
+ def flag; end
487
+ def initialize(base, destination, data, config); end
488
+ def invoke!; end
489
+ def replace!(regexp, string, force); end
490
+ def replacement; end
491
+ def revoke!; end
492
+ def say_status(behavior); end
493
+ end
494
+ module Thor::Actions::ClassMethods
495
+ def add_runtime_options!; end
496
+ def source_paths; end
497
+ def source_paths_for_search; end
498
+ def source_root(path = nil); end
499
+ end
500
+ class Thor::Group
501
+ def self.banner; end
502
+ def self.baseclass; end
503
+ def self.class_options_help(shell, groups = nil); end
504
+ def self.create_command(meth); end
505
+ def self.create_task(meth); end
506
+ def self.desc(description = nil); end
507
+ def self.dispatch(command, given_args, given_opts, config); end
508
+ def self.get_options_from_invocations(group_options, base_options); end
509
+ def self.handle_argument_error(command, error, _args, arity); end
510
+ def self.help(shell); end
511
+ def self.invocation_blocks; end
512
+ def self.invocations; end
513
+ def self.invoke(*names, &block); end
514
+ def self.invoke_from_option(*names, &block); end
515
+ def self.printable_commands(*arg0); end
516
+ def self.printable_tasks(*arg0); end
517
+ def self.remove_invocation(*names); end
518
+ def self.self_command; end
519
+ def self.self_task; end
520
+ extend Thor::Base::ClassMethods
521
+ extend Thor::Invocation::ClassMethods
522
+ include Thor::Base
523
+ include Thor::Invocation
524
+ include Thor::Shell
525
+ end