titleist 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/tests.yml +19 -0
  3. data/.gitignore +1 -2
  4. data/.rubocop.yml +26 -1
  5. data/.ruby-version +1 -1
  6. data/Gemfile +13 -2
  7. data/README.md +95 -25
  8. data/Rakefile +17 -6
  9. data/docs/index.md +7 -0
  10. data/lib/generators/titleist/titleist_generator.rb +3 -0
  11. data/lib/titleist.rb +14 -9
  12. data/lib/titleist/controller.rb +36 -0
  13. data/lib/titleist/engine.rb +10 -4
  14. data/lib/titleist/helper.rb +23 -0
  15. data/lib/titleist/title.rb +52 -89
  16. data/lib/titleist/version.rb +5 -1
  17. data/rbi/sord.rbi +117 -0
  18. data/sorbet/config +2 -0
  19. data/sorbet/rbi/gems/actioncable.rbi +318 -0
  20. data/sorbet/rbi/gems/actionmailbox.rbi +56 -0
  21. data/sorbet/rbi/gems/actionmailer.rbi +446 -0
  22. data/sorbet/rbi/gems/actionpack.rbi +3411 -0
  23. data/sorbet/rbi/gems/actiontext.rbi +79 -0
  24. data/sorbet/rbi/gems/actionview.rbi +1185 -0
  25. data/sorbet/rbi/gems/activejob.rbi +362 -0
  26. data/sorbet/rbi/gems/activemodel.rbi +749 -0
  27. data/sorbet/rbi/gems/activerecord.rbi +5713 -0
  28. data/sorbet/rbi/gems/activestorage.rbi +221 -0
  29. data/sorbet/rbi/gems/activesupport.rbi +2437 -0
  30. data/sorbet/rbi/gems/addressable.rbi +146 -0
  31. data/sorbet/rbi/gems/ast.rbi +47 -0
  32. data/sorbet/rbi/gems/capybara.rbi +1787 -0
  33. data/sorbet/rbi/gems/childprocess.rbi +106 -0
  34. data/sorbet/rbi/gems/codeclimate-test-reporter.rbi +125 -0
  35. data/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  36. data/sorbet/rbi/gems/crass.rbi +92 -0
  37. data/sorbet/rbi/gems/docile.rbi +29 -0
  38. data/sorbet/rbi/gems/erubi.rbi +26 -0
  39. data/sorbet/rbi/gems/globalid.rbi +98 -0
  40. data/sorbet/rbi/gems/i18n.rbi +191 -0
  41. data/sorbet/rbi/gems/jaro_winkler.rbi +14 -0
  42. data/sorbet/rbi/gems/loofah.rbi +129 -0
  43. data/sorbet/rbi/gems/mail.rbi +1582 -0
  44. data/sorbet/rbi/gems/marcel.rbi +12 -0
  45. data/sorbet/rbi/gems/method_source.rbi +63 -0
  46. data/sorbet/rbi/gems/mini_mime.rbi +51 -0
  47. data/sorbet/rbi/gems/minitest.rbi +419 -0
  48. data/sorbet/rbi/gems/mocha.rbi +794 -0
  49. data/sorbet/rbi/gems/nio4r.rbi +67 -0
  50. data/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  51. data/sorbet/rbi/gems/parallel.rbi +81 -0
  52. data/sorbet/rbi/gems/parser.rbi +920 -0
  53. data/sorbet/rbi/gems/public_suffix.rbi +103 -0
  54. data/sorbet/rbi/gems/puma.rbi +586 -0
  55. data/sorbet/rbi/gems/rack-test.rbi +161 -0
  56. data/sorbet/rbi/gems/rack.rbi +634 -0
  57. data/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  58. data/sorbet/rbi/gems/rails-html-sanitizer.rbi +91 -0
  59. data/sorbet/rbi/gems/railties.rbi +834 -0
  60. data/sorbet/rbi/gems/rainbow.rbi +117 -0
  61. data/sorbet/rbi/gems/rake.rbi +269 -0
  62. data/sorbet/rbi/gems/regexp_parser.rbi +912 -0
  63. data/sorbet/rbi/gems/rubocop.rbi +7232 -0
  64. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  65. data/sorbet/rbi/gems/rubyzip.rbi +546 -0
  66. data/sorbet/rbi/gems/selenium-webdriver.rbi +1450 -0
  67. data/sorbet/rbi/gems/simplecov-html.rbi +30 -0
  68. data/sorbet/rbi/gems/simplecov.rbi +189 -0
  69. data/sorbet/rbi/gems/site_ruby.rbi +265 -0
  70. data/sorbet/rbi/gems/sprockets-rails.rbi +105 -0
  71. data/sorbet/rbi/gems/sprockets.rbi +753 -0
  72. data/sorbet/rbi/gems/sqlite3.rbi +353 -0
  73. data/sorbet/rbi/gems/thor.rbi +579 -0
  74. data/sorbet/rbi/gems/thread_safe.rbi +81 -0
  75. data/sorbet/rbi/gems/tzinfo.rbi +405 -0
  76. data/sorbet/rbi/gems/unicode-display_width.rbi +16 -0
  77. data/sorbet/rbi/gems/webdrivers.rbi +155 -0
  78. data/sorbet/rbi/gems/xpath.rbi +158 -0
  79. data/sorbet/rbi/gems/yard.rbi +1159 -0
  80. data/sorbet/rbi/hidden-definitions/errors.txt +14957 -0
  81. data/sorbet/rbi/hidden-definitions/hidden.rbi +24898 -0
  82. data/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  83. data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +938 -0
  84. data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +314 -0
  85. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +425 -0
  86. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
  87. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1425 -0
  88. data/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.0.0/activerecord.rbi +475 -0
  89. data/sorbet/rbi/sorbet-typed/lib/activestorage/>=6.0.0/activestorage.rbi +19 -0
  90. data/sorbet/rbi/sorbet-typed/lib/activestorage/all/activestorage.rbi +173 -0
  91. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  92. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +858 -0
  93. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  94. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  95. data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +25 -0
  96. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +254 -0
  97. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  98. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  99. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  100. data/sorbet/rbi/todo.rbi +20 -0
  101. data/titleist.gemspec +3 -14
  102. metadata +96 -155
  103. data/.travis.yml +0 -45
  104. data/app/controllers/.keep +0 -0
  105. data/app/helpers/.keep +0 -0
  106. data/app/helpers/titleist_helper.rb +0 -47
  107. data/app/mailers/.keep +0 -0
  108. data/app/models/.keep +0 -0
  109. data/app/views/.keep +0 -0
@@ -0,0 +1,353 @@
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/sqlite3/all/sqlite3.rbi
9
+ #
10
+ # sqlite3-1.4.2
11
+ class SQLite3::Database
12
+ def authorizer(&block); end
13
+ def authorizer=(arg0); end
14
+ def busy_handler(*arg0); end
15
+ def busy_timeout(arg0); end
16
+ def busy_timeout=(arg0); end
17
+ def changes; end
18
+ def close; end
19
+ def closed?; end
20
+ def collation(arg0, arg1); end
21
+ def collations; end
22
+ def commit; end
23
+ def complete?(arg0); end
24
+ def create_aggregate(name, arity, step = nil, finalize = nil, text_rep = nil, &block); end
25
+ def create_aggregate_handler(handler); end
26
+ def create_function(name, arity, text_rep = nil, &block); end
27
+ def db_filename(arg0); end
28
+ def define_aggregator(name, aggregator); end
29
+ def define_aggregator2(arg0, arg1); end
30
+ def define_function(arg0); end
31
+ def define_function_with_flags(arg0, arg1); end
32
+ def enable_load_extension(arg0); end
33
+ def encoding; end
34
+ def errcode; end
35
+ def errmsg; end
36
+ def exec_batch(arg0, arg1); end
37
+ def execute(sql, bind_vars = nil, *args, &block); end
38
+ def execute2(sql, *bind_vars); end
39
+ def execute_batch(sql, bind_vars = nil, *args); end
40
+ def execute_batch2(sql, &block); end
41
+ def extended_result_codes=(arg0); end
42
+ def filename(db_name = nil); end
43
+ def get_first_row(sql, *bind_vars); end
44
+ def get_first_value(sql, *bind_vars); end
45
+ def initialize(file, options = nil, zvfs = nil); end
46
+ def interrupt; end
47
+ def last_insert_row_id; end
48
+ def load_extension(arg0); end
49
+ def make_type_translator(should_translate); end
50
+ def open16(arg0); end
51
+ def open_v2(arg0, arg1, arg2); end
52
+ def prepare(sql); end
53
+ def query(sql, bind_vars = nil, *args); end
54
+ def readonly?; end
55
+ def results_as_hash; end
56
+ def results_as_hash=(arg0); end
57
+ def rollback; end
58
+ def self.open(*arg0); end
59
+ def self.quote(string); end
60
+ def total_changes; end
61
+ def trace(*arg0); end
62
+ def transaction(mode = nil); end
63
+ def transaction_active?; end
64
+ def translate_from_db(types, row); end
65
+ def translator; end
66
+ def type_translation; end
67
+ def type_translation=(value); end
68
+ include SQLite3::Pragmas
69
+ end
70
+ class SQLite3::Statement
71
+ def active?; end
72
+ def bind_param(arg0, arg1); end
73
+ def bind_parameter_count; end
74
+ def bind_params(*bind_vars); end
75
+ def clear_bindings!; end
76
+ def close; end
77
+ def closed?; end
78
+ def column_count; end
79
+ def column_decltype(arg0); end
80
+ def column_name(arg0); end
81
+ def columns; end
82
+ def database_name(arg0); end
83
+ def done?; end
84
+ def each; end
85
+ def execute!(*bind_vars, &block); end
86
+ def execute(*bind_vars); end
87
+ def get_metadata; end
88
+ def initialize(arg0, arg1); end
89
+ def must_be_open!; end
90
+ def remainder; end
91
+ def reset!; end
92
+ def step; end
93
+ def types; end
94
+ include Enumerable
95
+ end
96
+ class SQLite3::Backup
97
+ def finish; end
98
+ def initialize(arg0, arg1, arg2, arg3); end
99
+ def pagecount; end
100
+ def remaining; end
101
+ def step(arg0); end
102
+ end
103
+ module SQLite3
104
+ def self.const_missing(name); end
105
+ def self.libversion; end
106
+ def self.sqlcipher?; end
107
+ def self.threadsafe; end
108
+ def self.threadsafe?; end
109
+ end
110
+ module SQLite3::Constants
111
+ end
112
+ module SQLite3::Constants::TextRep
113
+ end
114
+ module SQLite3::Constants::ColumnType
115
+ end
116
+ module SQLite3::Constants::ErrorCode
117
+ end
118
+ class SQLite3::Exception < StandardError
119
+ def code; end
120
+ end
121
+ class SQLite3::SQLException < SQLite3::Exception
122
+ end
123
+ class SQLite3::InternalException < SQLite3::Exception
124
+ end
125
+ class SQLite3::PermissionException < SQLite3::Exception
126
+ end
127
+ class SQLite3::AbortException < SQLite3::Exception
128
+ end
129
+ class SQLite3::BusyException < SQLite3::Exception
130
+ end
131
+ class SQLite3::LockedException < SQLite3::Exception
132
+ end
133
+ class SQLite3::MemoryException < SQLite3::Exception
134
+ end
135
+ class SQLite3::ReadOnlyException < SQLite3::Exception
136
+ end
137
+ class SQLite3::InterruptException < SQLite3::Exception
138
+ end
139
+ class SQLite3::IOException < SQLite3::Exception
140
+ end
141
+ class SQLite3::CorruptException < SQLite3::Exception
142
+ end
143
+ class SQLite3::NotFoundException < SQLite3::Exception
144
+ end
145
+ class SQLite3::FullException < SQLite3::Exception
146
+ end
147
+ class SQLite3::CantOpenException < SQLite3::Exception
148
+ end
149
+ class SQLite3::ProtocolException < SQLite3::Exception
150
+ end
151
+ class SQLite3::EmptyException < SQLite3::Exception
152
+ end
153
+ class SQLite3::SchemaChangedException < SQLite3::Exception
154
+ end
155
+ class SQLite3::TooBigException < SQLite3::Exception
156
+ end
157
+ class SQLite3::ConstraintException < SQLite3::Exception
158
+ end
159
+ class SQLite3::MismatchException < SQLite3::Exception
160
+ end
161
+ class SQLite3::MisuseException < SQLite3::Exception
162
+ end
163
+ class SQLite3::UnsupportedException < SQLite3::Exception
164
+ end
165
+ class SQLite3::AuthorizationException < SQLite3::Exception
166
+ end
167
+ class SQLite3::FormatException < SQLite3::Exception
168
+ end
169
+ class SQLite3::RangeException < SQLite3::Exception
170
+ end
171
+ class SQLite3::NotADatabaseException < SQLite3::Exception
172
+ end
173
+ module SQLite3::Pragmas
174
+ def application_id; end
175
+ def application_id=(integer); end
176
+ def auto_vacuum; end
177
+ def auto_vacuum=(mode); end
178
+ def automatic_index; end
179
+ def automatic_index=(mode); end
180
+ def busy_timeout; end
181
+ def busy_timeout=(milliseconds); end
182
+ def cache_size; end
183
+ def cache_size=(size); end
184
+ def cache_spill; end
185
+ def cache_spill=(mode); end
186
+ def case_sensitive_like=(mode); end
187
+ def cell_size_check; end
188
+ def cell_size_check=(mode); end
189
+ def checkpoint_fullfsync; end
190
+ def checkpoint_fullfsync=(mode); end
191
+ def collation_list(&block); end
192
+ def compile_options(&block); end
193
+ def count_changes; end
194
+ def count_changes=(mode); end
195
+ def data_version; end
196
+ def database_list(&block); end
197
+ def default_cache_size; end
198
+ def default_cache_size=(size); end
199
+ def default_synchronous; end
200
+ def default_synchronous=(mode); end
201
+ def default_temp_store; end
202
+ def default_temp_store=(mode); end
203
+ def defer_foreign_keys; end
204
+ def defer_foreign_keys=(mode); end
205
+ def encoding; end
206
+ def encoding=(mode); end
207
+ def foreign_key_check(*table, &block); end
208
+ def foreign_key_list(table, &block); end
209
+ def foreign_keys; end
210
+ def foreign_keys=(mode); end
211
+ def freelist_count; end
212
+ def full_column_names; end
213
+ def full_column_names=(mode); end
214
+ def fullfsync; end
215
+ def fullfsync=(mode); end
216
+ def get_boolean_pragma(name); end
217
+ def get_enum_pragma(name); end
218
+ def get_int_pragma(name); end
219
+ def get_query_pragma(name, *parms, &block); end
220
+ def ignore_check_constraints=(mode); end
221
+ def incremental_vacuum(pages, &block); end
222
+ def index_info(index, &block); end
223
+ def index_list(table, &block); end
224
+ def index_xinfo(index, &block); end
225
+ def integrity_check(*num_errors, &block); end
226
+ def journal_mode; end
227
+ def journal_mode=(mode); end
228
+ def journal_size_limit; end
229
+ def journal_size_limit=(size); end
230
+ def legacy_file_format; end
231
+ def legacy_file_format=(mode); end
232
+ def locking_mode; end
233
+ def locking_mode=(mode); end
234
+ def max_page_count; end
235
+ def max_page_count=(size); end
236
+ def mmap_size; end
237
+ def mmap_size=(size); end
238
+ def page_count; end
239
+ def page_size; end
240
+ def page_size=(size); end
241
+ def parser_trace=(mode); end
242
+ def query_only; end
243
+ def query_only=(mode); end
244
+ def quick_check(*num_errors, &block); end
245
+ def read_uncommitted; end
246
+ def read_uncommitted=(mode); end
247
+ def recursive_triggers; end
248
+ def recursive_triggers=(mode); end
249
+ def reverse_unordered_selects; end
250
+ def reverse_unordered_selects=(mode); end
251
+ def schema_cookie; end
252
+ def schema_cookie=(cookie); end
253
+ def schema_version; end
254
+ def schema_version=(version); end
255
+ def secure_delete; end
256
+ def secure_delete=(mode); end
257
+ def set_boolean_pragma(name, mode); end
258
+ def set_enum_pragma(name, mode, enums); end
259
+ def set_int_pragma(name, value); end
260
+ def short_column_names; end
261
+ def short_column_names=(mode); end
262
+ def shrink_memory; end
263
+ def soft_heap_limit; end
264
+ def soft_heap_limit=(mode); end
265
+ def stats(&block); end
266
+ def synchronous; end
267
+ def synchronous=(mode); end
268
+ def table_info(table); end
269
+ def temp_store; end
270
+ def temp_store=(mode); end
271
+ def threads; end
272
+ def threads=(count); end
273
+ def tweak_default(hash); end
274
+ def user_cookie; end
275
+ def user_cookie=(cookie); end
276
+ def user_version; end
277
+ def user_version=(version); end
278
+ def vdbe_addoptrace=(mode); end
279
+ def vdbe_debug=(mode); end
280
+ def vdbe_listing=(mode); end
281
+ def vdbe_trace; end
282
+ def vdbe_trace=(mode); end
283
+ def version_compare(v1, v2); end
284
+ def wal_autocheckpoint; end
285
+ def wal_autocheckpoint=(mode); end
286
+ def wal_checkpoint; end
287
+ def wal_checkpoint=(mode); end
288
+ def writable_schema=(mode); end
289
+ end
290
+ class SQLite3::ResultSet
291
+ def close; end
292
+ def closed?; end
293
+ def columns; end
294
+ def each; end
295
+ def each_hash; end
296
+ def eof?; end
297
+ def initialize(db, stmt); end
298
+ def next; end
299
+ def next_hash; end
300
+ def reset(*bind_params); end
301
+ def types; end
302
+ include Enumerable
303
+ end
304
+ class SQLite3::ResultSet::ArrayWithTypes < Array
305
+ def types; end
306
+ def types=(arg0); end
307
+ end
308
+ class SQLite3::ResultSet::ArrayWithTypesAndFields < Array
309
+ def fields; end
310
+ def fields=(arg0); end
311
+ def types; end
312
+ def types=(arg0); end
313
+ end
314
+ class SQLite3::ResultSet::HashWithTypesAndFields < Hash
315
+ def [](key); end
316
+ def fields; end
317
+ def fields=(arg0); end
318
+ def types; end
319
+ def types=(arg0); end
320
+ end
321
+ class String
322
+ def to_blob; end
323
+ end
324
+ class SQLite3::Translator
325
+ def add_translator(type, &block); end
326
+ def initialize; end
327
+ def register_default_translators; end
328
+ def translate(type, value); end
329
+ def type_name(type); end
330
+ end
331
+ class SQLite3::Value
332
+ def handle; end
333
+ def initialize(db, handle); end
334
+ def length(utf16 = nil); end
335
+ def null?; end
336
+ def to_blob; end
337
+ def to_f; end
338
+ def to_i; end
339
+ def to_int64; end
340
+ def to_s(utf16 = nil); end
341
+ def type; end
342
+ end
343
+ class SQLite3::Database::FunctionProxy
344
+ def [](key); end
345
+ def []=(key, value); end
346
+ def count; end
347
+ def initialize; end
348
+ def result; end
349
+ def result=(arg0); end
350
+ def set_error(error); end
351
+ end
352
+ module SQLite3::VersionProxy
353
+ end
@@ -0,0 +1,579 @@
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-1.0.1
11
+ class Thor
12
+ def help(command = nil, subcommand = nil); end
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.deprecation_warning(message); end
23
+ def self.desc(usage, description, options = nil); end
24
+ def self.disable_required_check!(*command_names); end
25
+ def self.disable_required_check; end
26
+ def self.disable_required_check?(command); end
27
+ def self.dispatch(meth, given_args, given_opts, config); end
28
+ def self.dynamic_command_class; end
29
+ def self.find_command_possibilities(meth); end
30
+ def self.find_task_possibilities(meth); end
31
+ def self.help(shell, subcommand = nil); end
32
+ def self.initialize_added; end
33
+ def self.long_desc(long_description, options = nil); end
34
+ def self.map(mappings = nil, **kw); end
35
+ def self.method_option(name, options = nil); end
36
+ def self.method_options(options = nil); end
37
+ def self.normalize_command_name(meth); end
38
+ def self.normalize_task_name(meth); end
39
+ def self.option(name, options = nil); end
40
+ def self.options(options = nil); end
41
+ def self.package_name(name, _ = nil); end
42
+ def self.printable_commands(all = nil, subcommand = nil); end
43
+ def self.printable_tasks(all = nil, subcommand = nil); end
44
+ def self.register(klass, subcommand_name, usage, description, options = nil); end
45
+ def self.retrieve_command_name(args); end
46
+ def self.retrieve_task_name(args); end
47
+ def self.stop_on_unknown_option!(*command_names); end
48
+ def self.stop_on_unknown_option; end
49
+ def self.stop_on_unknown_option?(command); end
50
+ def self.subcommand(subcommand, subcommand_class); end
51
+ def self.subcommand_classes; end
52
+ def self.subcommand_help(cmd); end
53
+ def self.subcommands; end
54
+ def self.subtask(subcommand, subcommand_class); end
55
+ def self.subtask_help(cmd); end
56
+ def self.subtasks; end
57
+ def self.task_help(shell, command_name); end
58
+ extend Thor::Base::ClassMethods
59
+ extend Thor::Invocation::ClassMethods
60
+ include Thor::Base
61
+ include Thor::Invocation
62
+ include Thor::Shell
63
+ end
64
+ class Anonymous_Struct_26 < Struct
65
+ def ancestor_name; end
66
+ def ancestor_name=(_); end
67
+ def description; end
68
+ def description=(_); end
69
+ def long_description; end
70
+ def long_description=(_); end
71
+ def name; end
72
+ def name=(_); end
73
+ def options; end
74
+ def options=(_); end
75
+ def self.[](*arg0); end
76
+ def self.inspect; end
77
+ def self.members; end
78
+ def self.new(*arg0); end
79
+ def usage; end
80
+ def usage=(_); end
81
+ end
82
+ class Thor::Command < Anonymous_Struct_26
83
+ def formatted_usage(klass, namespace = nil, subcommand = nil); end
84
+ def handle_argument_error?(instance, error, caller); end
85
+ def handle_no_method_error?(instance, error, caller); end
86
+ def hidden?; end
87
+ def initialize(name, description, long_description, usage, options = nil); end
88
+ def initialize_copy(other); end
89
+ def local_method?(instance, name); end
90
+ def not_debugging?(instance); end
91
+ def private_method?(instance); end
92
+ def public_method?(instance); end
93
+ def required_arguments_for(klass, usage); end
94
+ def required_options; end
95
+ def run(instance, args = nil); end
96
+ def sans_backtrace(backtrace, caller); end
97
+ end
98
+ class Thor::HiddenCommand < Thor::Command
99
+ def hidden?; end
100
+ end
101
+ class Thor::DynamicCommand < Thor::Command
102
+ def initialize(name, options = nil); end
103
+ def run(instance, args = nil); end
104
+ end
105
+ module Thor::CoreExt
106
+ end
107
+ class Thor::CoreExt::HashWithIndifferentAccess < Hash
108
+ def [](key); end
109
+ def []=(key, value); end
110
+ def convert_key(key); end
111
+ def delete(key); end
112
+ def fetch(key, *args); end
113
+ def initialize(hash = nil); end
114
+ def key?(key); end
115
+ def merge!(other); end
116
+ def merge(other); end
117
+ def method_missing(method, *args); end
118
+ def replace(other_hash); end
119
+ def reverse_merge!(other_hash); end
120
+ def reverse_merge(other); end
121
+ def to_hash; end
122
+ def values_at(*indices); end
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::NestedContext
177
+ def enter; end
178
+ def entered?; end
179
+ def initialize; end
180
+ def pop; end
181
+ def push; end
182
+ end
183
+ class Thor::Argument
184
+ def banner; end
185
+ def default; end
186
+ def default_banner; end
187
+ def description; end
188
+ def enum; end
189
+ def human_name; end
190
+ def initialize(name, options = nil); end
191
+ def name; end
192
+ def required; end
193
+ def required?; end
194
+ def show_default?; end
195
+ def type; end
196
+ def usage; end
197
+ def valid_type?(type); end
198
+ def validate!; end
199
+ end
200
+ class Thor::Arguments
201
+ def check_requirement!; end
202
+ def current_is_value?; end
203
+ def initialize(arguments = nil); end
204
+ def last?; end
205
+ def no_or_skip?(arg); end
206
+ def parse(args); end
207
+ def parse_array(name); end
208
+ def parse_hash(name); end
209
+ def parse_numeric(name); end
210
+ def parse_string(name); end
211
+ def peek; end
212
+ def remaining; end
213
+ def self.parse(*args); end
214
+ def self.split(args); end
215
+ def shift; end
216
+ def unshift(arg); end
217
+ end
218
+ class Thor::Option < Thor::Argument
219
+ def aliases; end
220
+ def array?; end
221
+ def boolean?; end
222
+ def dasherize(str); end
223
+ def dasherized?; end
224
+ def group; end
225
+ def hash?; end
226
+ def hide; end
227
+ def human_name; end
228
+ def initialize(name, options = nil); end
229
+ def lazy_default; end
230
+ def numeric?; end
231
+ def repeatable; end
232
+ def self.parse(key, value); end
233
+ def string?; end
234
+ def switch_name; end
235
+ def undasherize(str); end
236
+ def usage(padding = nil); end
237
+ def validate!; end
238
+ def validate_default_type!; end
239
+ end
240
+ class Thor::Options < Thor::Arguments
241
+ def assign_result!(option, result); end
242
+ def check_unknown!; end
243
+ def current_is_switch?; end
244
+ def current_is_switch_formatted?; end
245
+ def current_is_value?; end
246
+ def initialize(hash_options = nil, defaults = nil, stop_on_unknown = nil, disable_required_check = nil); end
247
+ def normalize_switch(arg); end
248
+ def parse(args); end
249
+ def parse_boolean(switch); end
250
+ def parse_peek(switch, option); end
251
+ def parsing_options?; end
252
+ def peek; end
253
+ def remaining; end
254
+ def self.to_switches(options); end
255
+ def switch?(arg); end
256
+ def switch_option(arg); end
257
+ end
258
+ module Thor::Base
259
+ def args; end
260
+ def args=(arg0); end
261
+ def initialize(args = nil, local_options = nil, config = nil); end
262
+ def options; end
263
+ def options=(arg0); end
264
+ def parent_options; end
265
+ def parent_options=(arg0); end
266
+ def self.included(base); end
267
+ def self.register_klass_file(klass); end
268
+ def self.shell; end
269
+ def self.shell=(arg0); end
270
+ def self.subclass_files; end
271
+ def self.subclasses; end
272
+ end
273
+ module Thor::Shell
274
+ def _shared_configuration; end
275
+ def ask(*args, &block); end
276
+ def error(*args, &block); end
277
+ def file_collision(*args, &block); end
278
+ def initialize(args = nil, options = nil, config = nil); end
279
+ def no?(*args, &block); end
280
+ def print_in_columns(*args, &block); end
281
+ def print_table(*args, &block); end
282
+ def print_wrapped(*args, &block); end
283
+ def say(*args, &block); end
284
+ def say_status(*args, &block); end
285
+ def set_color(*args, &block); end
286
+ def shell; end
287
+ def shell=(arg0); end
288
+ def terminal_width(*args, &block); end
289
+ def with_padding; end
290
+ def yes?(*args, &block); end
291
+ end
292
+ module Thor::LineEditor
293
+ def self.best_available; end
294
+ def self.readline(prompt, options = nil); end
295
+ end
296
+ class Thor::LineEditor::Basic
297
+ def echo?; end
298
+ def get_input; end
299
+ def initialize(prompt, options); end
300
+ def options; end
301
+ def prompt; end
302
+ def readline; end
303
+ def self.available?; end
304
+ end
305
+ class Thor::LineEditor::Readline < Thor::LineEditor::Basic
306
+ def add_to_history?; end
307
+ def completion_options; end
308
+ def completion_proc; end
309
+ def readline; end
310
+ def self.available?; end
311
+ def use_path_completion?; end
312
+ end
313
+ class Thor::LineEditor::Readline::PathCompletion
314
+ def absolute_matches; end
315
+ def base_path; end
316
+ def glob_pattern; end
317
+ def initialize(text); end
318
+ def matches; end
319
+ def relative_matches; end
320
+ def text; end
321
+ end
322
+ module Thor::Sandbox
323
+ end
324
+ module Thor::Util
325
+ def self.camel_case(str); end
326
+ def self.escape_globs(path); end
327
+ def self.escape_html(string); end
328
+ def self.find_by_namespace(namespace); end
329
+ def self.find_class_and_command_by_namespace(namespace, fallback = nil); end
330
+ def self.find_class_and_task_by_namespace(namespace, fallback = nil); end
331
+ def self.globs_for(path); end
332
+ def self.load_thorfile(path, content = nil, debug = nil); end
333
+ def self.namespace_from_thor_class(constant); end
334
+ def self.namespaces_in_content(contents, file = nil); end
335
+ def self.ruby_command; end
336
+ def self.snake_case(str); end
337
+ def self.thor_classes_in(klass); end
338
+ def self.thor_root; end
339
+ def self.thor_root_glob; end
340
+ def self.user_home; end
341
+ end
342
+ module Thor::Base::ClassMethods
343
+ def all_commands; end
344
+ def all_tasks; end
345
+ def allow_incompatible_default_type!; end
346
+ def argument(name, options = nil); end
347
+ def arguments; end
348
+ def attr_accessor(*arg0); end
349
+ def attr_reader(*arg0); end
350
+ def attr_writer(*arg0); end
351
+ def baseclass; end
352
+ def basename; end
353
+ def build_option(name, options, scope); end
354
+ def build_options(options, scope); end
355
+ def check_default_type!; end
356
+ def check_default_type; end
357
+ def check_unknown_options!; end
358
+ def check_unknown_options; end
359
+ def check_unknown_options?(config); end
360
+ def class_option(name, options = nil); end
361
+ def class_options(options = nil); end
362
+ def class_options_help(shell, groups = nil); end
363
+ def commands; end
364
+ def create_command(meth); end
365
+ def create_task(meth); end
366
+ def disable_required_check?(command_name); end
367
+ def dispatch(command, given_args, given_opts, config); end
368
+ def exit_on_failure?; end
369
+ def find_and_refresh_command(name); end
370
+ def find_and_refresh_task(name); end
371
+ def from_superclass(method, default = nil); end
372
+ def group(name = nil); end
373
+ def handle_argument_error(command, error, args, arity); end
374
+ def handle_no_command_error(command, has_namespace = nil); end
375
+ def handle_no_task_error(command, has_namespace = nil); end
376
+ def inherited(klass); end
377
+ def initialize_added; end
378
+ def is_thor_reserved_word?(word, type); end
379
+ def method_added(meth); end
380
+ def namespace(name = nil); end
381
+ def no_commands(&block); end
382
+ def no_commands?; end
383
+ def no_commands_context; end
384
+ def no_tasks(&block); end
385
+ def print_options(shell, options, group_name = nil); end
386
+ def public_command(*names); end
387
+ def public_task(*names); end
388
+ def remove_argument(*names); end
389
+ def remove_class_option(*names); end
390
+ def remove_command(*names); end
391
+ def remove_task(*names); end
392
+ def start(given_args = nil, config = nil); end
393
+ def stop_on_unknown_option?(command_name); end
394
+ def strict_args_position!; end
395
+ def strict_args_position; end
396
+ def strict_args_position?(config); end
397
+ def tasks; end
398
+ end
399
+ class Thor::Group
400
+ def _invoke_for_class_method(klass, command = nil, *args, &block); end
401
+ def self.banner; end
402
+ def self.baseclass; end
403
+ def self.class_options_help(shell, groups = nil); end
404
+ def self.create_command(meth); end
405
+ def self.create_task(meth); end
406
+ def self.desc(description = nil); end
407
+ def self.dispatch(command, given_args, given_opts, config); end
408
+ def self.get_options_from_invocations(group_options, base_options); end
409
+ def self.handle_argument_error(command, error, _args, arity); end
410
+ def self.help(shell); end
411
+ def self.invocation_blocks; end
412
+ def self.invocations; end
413
+ def self.invoke(*names, &block); end
414
+ def self.invoke_from_option(*names, &block); end
415
+ def self.printable_commands(*arg0); end
416
+ def self.printable_tasks(*arg0); end
417
+ def self.remove_invocation(*names); end
418
+ def self.self_command; end
419
+ def self.self_task; end
420
+ extend Thor::Base::ClassMethods
421
+ extend Thor::Invocation::ClassMethods
422
+ include Thor::Base
423
+ include Thor::Invocation
424
+ include Thor::Shell
425
+ end
426
+ class Thor::Shell::Basic
427
+ def answer_match(possibilities, answer, case_insensitive); end
428
+ def as_unicode; end
429
+ def ask(statement, *args); end
430
+ def ask_filtered(statement, color, options); end
431
+ def ask_simply(statement, color, options); end
432
+ def base; end
433
+ def base=(arg0); end
434
+ def can_display_colors?; end
435
+ def dynamic_width; end
436
+ def dynamic_width_stty; end
437
+ def dynamic_width_tput; end
438
+ def error(statement); end
439
+ def file_collision(destination); end
440
+ def file_collision_help; end
441
+ def git_merge_tool; end
442
+ def indent(count = nil); end
443
+ def initialize; end
444
+ def is?(value); end
445
+ def lookup_color(color); end
446
+ def merge(destination, content); end
447
+ def merge_tool; end
448
+ def mute; end
449
+ def mute?; end
450
+ def no?(statement, color = nil); end
451
+ def padding; end
452
+ def padding=(value); end
453
+ def prepare_message(message, *color); end
454
+ def print_in_columns(array); end
455
+ def print_table(array, options = nil); end
456
+ def print_wrapped(message, options = nil); end
457
+ def quiet?; end
458
+ def say(message = nil, color = nil, force_new_line = nil); end
459
+ def say_status(status, message, log_status = nil); end
460
+ def set_color(string, *arg1); end
461
+ def show_diff(destination, content); end
462
+ def stderr; end
463
+ def stdout; end
464
+ def terminal_width; end
465
+ def truncate(string, width); end
466
+ def unix?; end
467
+ def yes?(statement, color = nil); end
468
+ end
469
+ module Thor::Actions
470
+ def _cleanup_options_and_set(options, key); end
471
+ def _shared_configuration; end
472
+ def action(instance); end
473
+ def add_file(destination, *args, &block); end
474
+ def add_link(destination, *args); end
475
+ def append_file(path, *args, &block); end
476
+ def append_to_file(path, *args, &block); end
477
+ def apply(path, config = nil); end
478
+ def behavior; end
479
+ def behavior=(arg0); end
480
+ def capture(*args); end
481
+ def chmod(path, mode, config = nil); end
482
+ def comment_lines(path, flag, *args); end
483
+ def concat(string); end
484
+ def copy_file(source, *args, &block); end
485
+ def create_file(destination, *args, &block); end
486
+ def create_link(destination, *args); end
487
+ def destination_root; end
488
+ def destination_root=(root); end
489
+ def directory(source, *args, &block); end
490
+ def empty_directory(destination, config = nil); end
491
+ def find_in_source_paths(file); end
492
+ def get(source, *args, &block); end
493
+ def gsub_file(path, flag, *args, &block); end
494
+ def in_root; end
495
+ def initialize(args = nil, options = nil, config = nil); end
496
+ def inject_into_class(path, klass, *args, &block); end
497
+ def inject_into_file(destination, *args, &block); end
498
+ def inject_into_module(path, module_name, *args, &block); end
499
+ def insert_into_file(destination, *args, &block); end
500
+ def inside(dir = nil, config = nil, &block); end
501
+ def link_file(source, *args); end
502
+ def output_buffer; end
503
+ def output_buffer=(arg0); end
504
+ def prepend_file(path, *args, &block); end
505
+ def prepend_to_file(path, *args, &block); end
506
+ def relative_to_original_destination_root(path, remove_dot = nil); end
507
+ def remove_dir(path, config = nil); end
508
+ def remove_file(path, config = nil); end
509
+ def run(command, config = nil); end
510
+ def run_ruby_script(command, config = nil); end
511
+ def self.included(base); end
512
+ def source_paths; end
513
+ def template(source, *args, &block); end
514
+ def thor(command, *args); end
515
+ def uncomment_lines(path, flag, *args); end
516
+ def with_output_buffer(buf = nil); end
517
+ end
518
+ class Thor::Actions::EmptyDirectory
519
+ def base; end
520
+ def config; end
521
+ def convert_encoded_instructions(filename); end
522
+ def destination; end
523
+ def destination=(destination); end
524
+ def exists?; end
525
+ def given_destination; end
526
+ def initialize(base, destination, config = nil); end
527
+ def invoke!; end
528
+ def invoke_with_conflict_check(&block); end
529
+ def on_conflict_behavior; end
530
+ def on_file_clash_behavior; end
531
+ def pretend?; end
532
+ def relative_destination; end
533
+ def revoke!; end
534
+ def say_status(status, color); end
535
+ end
536
+ class Thor::Actions::CreateFile < Thor::Actions::EmptyDirectory
537
+ def data; end
538
+ def force_on_collision?; end
539
+ def force_or_skip_or_conflict(force, skip, &block); end
540
+ def identical?; end
541
+ def initialize(base, destination, data, config = nil); end
542
+ def invoke!; end
543
+ def on_conflict_behavior(&block); end
544
+ def render; end
545
+ end
546
+ class Thor::Actions::CreateLink < Thor::Actions::CreateFile
547
+ def data; end
548
+ def exists?; end
549
+ def identical?; end
550
+ def invoke!; end
551
+ end
552
+ class Thor::Actions::Directory < Thor::Actions::EmptyDirectory
553
+ def execute!; end
554
+ def file_level_lookup(previous_lookup); end
555
+ def files(lookup); end
556
+ def initialize(base, source, destination = nil, config = nil, &block); end
557
+ def invoke!; end
558
+ def revoke!; end
559
+ def source; end
560
+ end
561
+ class Thor::Actions::CapturableERB < ERB
562
+ def set_eoutvar(compiler, eoutvar = nil); end
563
+ end
564
+ class Thor::Actions::InjectIntoFile < Thor::Actions::EmptyDirectory
565
+ def behavior; end
566
+ def flag; end
567
+ def initialize(base, destination, data, config); end
568
+ def invoke!; end
569
+ def replace!(regexp, string, force); end
570
+ def replacement; end
571
+ def revoke!; end
572
+ def say_status(behavior, warning: nil, color: nil); end
573
+ end
574
+ module Thor::Actions::ClassMethods
575
+ def add_runtime_options!; end
576
+ def source_paths; end
577
+ def source_paths_for_search; end
578
+ def source_root(path = nil); end
579
+ end