lunchmoney 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
  3. data/.github/workflows/ci.yml +9 -10
  4. data/.github/workflows/rbi-updater.yml +1 -1
  5. data/.github/workflows/release_pipeline.yml +1 -1
  6. data/.rubocop.yml +1 -1
  7. data/.ruby-version +1 -1
  8. data/.toys/.toys.rb +8 -0
  9. data/Gemfile +1 -1
  10. data/Gemfile.lock +76 -60
  11. data/README.md +0 -2
  12. data/SECURITY.md +151 -0
  13. data/bin/check_vcr_version +94 -0
  14. data/lib/lunchmoney/api.rb +25 -38
  15. data/lib/lunchmoney/calls/assets.rb +10 -13
  16. data/lib/lunchmoney/calls/base.rb +59 -7
  17. data/lib/lunchmoney/calls/budgets.rb +22 -25
  18. data/lib/lunchmoney/calls/categories.rb +28 -36
  19. data/lib/lunchmoney/calls/crypto.rb +7 -9
  20. data/lib/lunchmoney/calls/plaid_accounts.rb +7 -9
  21. data/lib/lunchmoney/calls/recurring_expenses.rb +4 -5
  22. data/lib/lunchmoney/calls/tags.rb +3 -4
  23. data/lib/lunchmoney/calls/transactions.rb +28 -36
  24. data/lib/lunchmoney/calls/users.rb +3 -4
  25. data/lib/lunchmoney/configuration.rb +20 -0
  26. data/lib/lunchmoney/objects/object.rb +4 -9
  27. data/lib/lunchmoney/validators.rb +8 -6
  28. data/lib/lunchmoney/version.rb +1 -1
  29. data/lib/lunchmoney.rb +3 -3
  30. data/lunchmoney.gemspec +1 -1
  31. data/sorbet/rbi/annotations/activesupport.rbi +35 -0
  32. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -2
  33. data/sorbet/rbi/gems/{activesupport@7.2.2.1.rbi → activesupport@8.0.2.1.rbi} +1369 -989
  34. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +4 -3
  35. data/sorbet/rbi/gems/{base64@0.2.0.rbi → base64@0.3.0.rbi} +76 -39
  36. data/sorbet/rbi/gems/{benchmark@0.4.0.rbi → benchmark@0.4.1.rbi} +50 -49
  37. data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +275 -0
  38. data/sorbet/rbi/gems/{dotenv@3.1.7.rbi → dotenv@3.1.8.rbi} +9 -9
  39. data/sorbet/rbi/gems/{drb@2.2.1.rbi → drb@2.2.3.rbi} +503 -188
  40. data/sorbet/rbi/gems/{faraday-net_http@3.4.0.rbi → faraday-net_http@3.4.1.rbi} +23 -23
  41. data/sorbet/rbi/gems/{faraday@2.12.2.rbi → faraday@2.13.4.rbi} +468 -141
  42. data/sorbet/rbi/gems/{hashdiff@1.1.2.rbi → hashdiff@1.2.0.rbi} +5 -3
  43. data/sorbet/rbi/gems/{json@2.10.2.rbi → json@2.13.2.rbi} +386 -175
  44. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +316 -234
  45. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  46. data/sorbet/rbi/gems/{logger@1.6.6.rbi → logger@1.7.0.rbi} +63 -40
  47. data/sorbet/rbi/gems/{parser@3.3.7.1.rbi → parser@3.3.9.0.rbi} +303 -291
  48. data/sorbet/rbi/gems/{rack@3.1.9.rbi → rack@3.2.1.rbi} +712 -547
  49. data/sorbet/rbi/gems/{rake@13.2.1.rbi → rake@13.3.0.rbi} +238 -227
  50. data/sorbet/rbi/gems/{rbi@0.3.1.rbi → rbi@0.3.6.rbi} +1084 -2521
  51. data/sorbet/rbi/gems/{rbs@3.9.0.rbi → rbs@4.0.0.dev.4.rbi} +1336 -419
  52. data/sorbet/rbi/gems/{regexp_parser@2.10.0.rbi → regexp_parser@2.11.2.rbi} +1044 -956
  53. data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
  54. data/sorbet/rbi/gems/{rexml@3.4.1.rbi → rexml@3.4.2.rbi} +302 -292
  55. data/sorbet/rbi/gems/{rubocop-ast@1.38.0.rbi → rubocop-ast@1.46.0.rbi} +802 -1016
  56. data/sorbet/rbi/gems/{rubocop-minitest@0.36.0.rbi → rubocop-minitest@0.38.2.rbi} +129 -93
  57. data/sorbet/rbi/gems/{rubocop-rails@2.29.1.rbi → rubocop-rails@2.33.3.rbi} +575 -230
  58. data/sorbet/rbi/gems/{rubocop-shopify@2.15.1.rbi → rubocop-shopify@2.17.1.rbi} +1 -0
  59. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.7.rbi → rubocop-sorbet@0.10.5.rbi} +761 -83
  60. data/sorbet/rbi/gems/{rubocop@1.71.2.rbi → rubocop@1.80.1.rbi} +6543 -3097
  61. data/sorbet/rbi/gems/{spoom@1.6.1.rbi → spoom@1.7.6.rbi} +1179 -2621
  62. data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.7.rbi} +623 -745
  63. data/sorbet/rbi/gems/{thor@1.3.2.rbi → thor@1.4.0.rbi} +88 -67
  64. data/sorbet/rbi/gems/{unicode-display_width@3.1.4.rbi → unicode-display_width@3.1.5.rbi} +5 -5
  65. data/sorbet/rbi/gems/{vcr@6.3.1.rbi → vcr@6.3.1-ce35c236fe48899f02ddf780973b44cdb756c0ee.rbi} +140 -123
  66. metadata +42 -38
  67. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +0 -78
  68. /data/sorbet/rbi/gems/{connection_pool@2.5.0.rbi → connection_pool@2.5.3.rbi} +0 -0
  69. /data/sorbet/rbi/gems/{language_server-protocol@3.17.0.4.rbi → language_server-protocol@3.17.0.5.rbi} +0 -0
  70. /data/sorbet/rbi/gems/{parallel@1.26.3.rbi → parallel@1.27.0.rbi} +0 -0
@@ -78,7 +78,7 @@ class Thor
78
78
  #
79
79
  # Then it is required either only one of "--one" or "--two".
80
80
  #
81
- # source://thor//lib/thor.rb#246
81
+ # source://thor//lib/thor.rb#250
82
82
  def at_least_one(*args, &block); end
83
83
 
84
84
  # Extend check unknown options to accept a hash of conditions.
@@ -131,7 +131,7 @@ class Thor
131
131
  # ==== Parameters
132
132
  # meth<Symbol>:: name of the default command
133
133
  #
134
- # source://thor//lib/thor.rb#21
134
+ # source://thor//lib/thor.rb#28
135
135
  def default_task(meth = T.unsafe(nil)); end
136
136
 
137
137
  # source://thor//lib/thor/base.rb#26
@@ -188,7 +188,7 @@ class Thor
188
188
  # If you give "--one" and "--two" at the same time ExclusiveArgumentsError
189
189
  # will be raised.
190
190
  #
191
- # source://thor//lib/thor.rb#203
191
+ # source://thor//lib/thor.rb#207
192
192
  def exclusive(*args, &block); end
193
193
 
194
194
  # Prints help information for this class.
@@ -364,7 +364,7 @@ class Thor
364
364
  # :banner - String to show on usage notes.
365
365
  # :hide - If you want to hide this option from the help.
366
366
  #
367
- # source://thor//lib/thor.rb#163
367
+ # source://thor//lib/thor.rb#175
368
368
  def option(name, options = T.unsafe(nil)); end
369
369
 
370
370
  # Declares the options for the next command to be declared.
@@ -374,7 +374,7 @@ class Thor
374
374
  # is the type of the option. Can be :string, :array, :hash, :boolean, :numeric
375
375
  # or :required (string). If you give a value, the type of the value is used.
376
376
  #
377
- # source://thor//lib/thor.rb#129
377
+ # source://thor//lib/thor.rb#135
378
378
  def options(options = T.unsafe(nil)); end
379
379
 
380
380
  # Allows for custom "Command" package naming.
@@ -393,7 +393,7 @@ class Thor
393
393
 
394
394
  # Returns commands ready to be printed.
395
395
  #
396
- # source://thor//lib/thor.rb#309
396
+ # source://thor//lib/thor.rb#318
397
397
  def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end
398
398
 
399
399
  # Registers another Thor subclass as a command.
@@ -462,10 +462,10 @@ class Thor
462
462
  # source://thor//lib/thor.rb#320
463
463
  def subcommands; end
464
464
 
465
- # source://thor//lib/thor.rb#329
465
+ # source://thor//lib/thor.rb#344
466
466
  def subtask(subcommand, subcommand_class); end
467
467
 
468
- # source://thor//lib/thor.rb#320
468
+ # source://thor//lib/thor.rb#323
469
469
  def subtasks; end
470
470
 
471
471
  # Prints help information for the given command.
@@ -474,7 +474,7 @@ class Thor
474
474
  # shell<Thor::Shell>
475
475
  # command_name<String>
476
476
  #
477
- # source://thor//lib/thor.rb#258
477
+ # source://thor//lib/thor.rb#281
478
478
  def task_help(shell, command_name); end
479
479
 
480
480
  protected
@@ -493,7 +493,7 @@ class Thor
493
493
  # source://thor//lib/thor.rb#560
494
494
  def create_command(meth); end
495
495
 
496
- # source://thor//lib/thor.rb#560
496
+ # source://thor//lib/thor.rb#584
497
497
  def create_task(meth); end
498
498
 
499
499
  # help command has the required check disabled by default.
@@ -522,7 +522,7 @@ class Thor
522
522
  # and determines whether it is an unambiguous substrings of a command or
523
523
  # alias name.
524
524
  #
525
- # source://thor//lib/thor.rb#626
525
+ # source://thor//lib/thor.rb#639
526
526
  def find_task_possibilities(meth); end
527
527
 
528
528
  # source://thor//lib/thor.rb#586
@@ -567,7 +567,7 @@ class Thor
567
567
  #
568
568
  # @raise [AmbiguousTaskError]
569
569
  #
570
- # source://thor//lib/thor.rb#605
570
+ # source://thor//lib/thor.rb#621
571
571
  def normalize_task_name(meth); end
572
572
 
573
573
  # source://thor//lib/thor.rb#493
@@ -583,7 +583,7 @@ class Thor
583
583
 
584
584
  # Retrieve the command name from given args.
585
585
  #
586
- # source://thor//lib/thor.rb#592
586
+ # source://thor//lib/thor.rb#596
587
587
  def retrieve_task_name(args); end
588
588
 
589
589
  # Sort the commands, lexicographically by default.
@@ -600,7 +600,7 @@ class Thor
600
600
  # source://thor//lib/thor.rb#641
601
601
  def subcommand_help(cmd); end
602
602
 
603
- # source://thor//lib/thor.rb#641
603
+ # source://thor//lib/thor.rb#647
604
604
  def subtask_help(cmd); end
605
605
  end
606
606
  end
@@ -643,7 +643,7 @@ module Thor::Actions
643
643
  #
644
644
  # create_file "config/apache.conf", "your apache config"
645
645
  #
646
- # source://thor//lib/thor/actions/create_file.rb#22
646
+ # source://thor//lib/thor/actions/create_file.rb#27
647
647
  def add_file(destination, *args, &block); end
648
648
 
649
649
  # Create a new file relative to the destination root from the given source.
@@ -658,7 +658,7 @@ module Thor::Actions
658
658
  #
659
659
  # create_link "config/apache.conf", "/etc/apache.conf"
660
660
  #
661
- # source://thor//lib/thor/actions/create_link.rb#17
661
+ # source://thor//lib/thor/actions/create_link.rb#22
662
662
  def add_link(destination, *args); end
663
663
 
664
664
  # Append text to a file. Since it depends on insert_into_file, it's reversible.
@@ -676,7 +676,7 @@ module Thor::Actions
676
676
  # 'config.gem "rspec"'
677
677
  # end
678
678
  #
679
- # source://thor//lib/thor/actions/file_manipulation.rb#192
679
+ # source://thor//lib/thor/actions/file_manipulation.rb#197
680
680
  def append_file(path, *args, &block); end
681
681
 
682
682
  # Append text to a file. Since it depends on insert_into_file, it's reversible.
@@ -751,7 +751,7 @@ module Thor::Actions
751
751
  #
752
752
  # comment_lines 'config/initializers/session_store.rb', /cookie_store/
753
753
  #
754
- # source://thor//lib/thor/actions/file_manipulation.rb#308
754
+ # source://thor//lib/thor/actions/file_manipulation.rb#333
755
755
  def comment_lines(path, flag, *args); end
756
756
 
757
757
  # Copies the file from the relative source to the relative destination. If
@@ -928,9 +928,30 @@ module Thor::Actions
928
928
  # match << " no more. Use thor!"
929
929
  # end
930
930
  #
931
- # source://thor//lib/thor/actions/file_manipulation.rb#262
931
+ # source://thor//lib/thor/actions/file_manipulation.rb#291
932
932
  def gsub_file(path, flag, *args, &block); end
933
933
 
934
+ # Run a regular expression replacement on a file, raising an error if the
935
+ # contents of the file are not changed.
936
+ #
937
+ # ==== Parameters
938
+ # path<String>:: path of the file to be changed
939
+ # flag<Regexp|String>:: the regexp or string to be replaced
940
+ # replacement<String>:: the replacement, can be also given as a block
941
+ # config<Hash>:: give :verbose => false to not log the status, and
942
+ # :force => true, to force the replacement regardless of runner behavior.
943
+ #
944
+ # ==== Example
945
+ #
946
+ # gsub_file! 'app/controllers/application_controller.rb', /#\s*(filter_parameter_logging :password)/, '\1'
947
+ #
948
+ # gsub_file! 'README', /rake/, :green do |match|
949
+ # match << " no more. Use thor!"
950
+ # end
951
+ #
952
+ # source://thor//lib/thor/actions/file_manipulation.rb#263
953
+ def gsub_file!(path, flag, *args, &block); end
954
+
934
955
  # Goes to the root and execute the given block.
935
956
  #
936
957
  # source://thor//lib/thor/actions.rb#200
@@ -956,7 +977,7 @@ module Thor::Actions
956
977
  # source://thor//lib/thor/actions/file_manipulation.rb#216
957
978
  def inject_into_class(path, klass, *args, &block); end
958
979
 
959
- # source://thor//lib/thor/actions/inject_into_file.rb#26
980
+ # source://thor//lib/thor/actions/inject_into_file.rb#34
960
981
  def inject_into_file(destination, *args, &block); end
961
982
 
962
983
  # Injects text right after the module definition. Since it depends on
@@ -1028,7 +1049,7 @@ module Thor::Actions
1028
1049
  # 'config.gem "rspec"'
1029
1050
  # end
1030
1051
  #
1031
- # source://thor//lib/thor/actions/file_manipulation.rb#170
1052
+ # source://thor//lib/thor/actions/file_manipulation.rb#175
1032
1053
  def prepend_file(path, *args, &block); end
1033
1054
 
1034
1055
  # Prepend text to a file. Since it depends on insert_into_file, it's reversible.
@@ -1066,7 +1087,7 @@ module Thor::Actions
1066
1087
  # remove_file 'README'
1067
1088
  # remove_file 'app/controllers/application_controller.rb'
1068
1089
  #
1069
- # source://thor//lib/thor/actions/file_manipulation.rb#325
1090
+ # source://thor//lib/thor/actions/file_manipulation.rb#360
1070
1091
  def remove_dir(path, config = T.unsafe(nil)); end
1071
1092
 
1072
1093
  # Removes a file at the given location.
@@ -1080,7 +1101,7 @@ module Thor::Actions
1080
1101
  # remove_file 'README'
1081
1102
  # remove_file 'app/controllers/application_controller.rb'
1082
1103
  #
1083
- # source://thor//lib/thor/actions/file_manipulation.rb#325
1104
+ # source://thor//lib/thor/actions/file_manipulation.rb#350
1084
1105
  def remove_file(path, config = T.unsafe(nil)); end
1085
1106
 
1086
1107
  # Executes a command returning the contents of the command.
@@ -1164,7 +1185,7 @@ module Thor::Actions
1164
1185
  #
1165
1186
  # uncomment_lines 'config/initializers/session_store.rb', /active_record/
1166
1187
  #
1167
- # source://thor//lib/thor/actions/file_manipulation.rb#289
1188
+ # source://thor//lib/thor/actions/file_manipulation.rb#314
1168
1189
  def uncomment_lines(path, flag, *args); end
1169
1190
 
1170
1191
  protected
@@ -1179,25 +1200,28 @@ module Thor::Actions
1179
1200
 
1180
1201
  private
1181
1202
 
1182
- # source://thor//lib/thor/actions/file_manipulation.rb#346
1203
+ # source://thor//lib/thor/actions/file_manipulation.rb#385
1204
+ def actually_gsub_file(path, flag, args, error_on_no_change, &block); end
1205
+
1206
+ # source://thor//lib/thor/actions/file_manipulation.rb#371
1183
1207
  def capture(*args); end
1184
1208
 
1185
- # source://thor//lib/thor/actions/file_manipulation.rb#342
1209
+ # source://thor//lib/thor/actions/file_manipulation.rb#367
1186
1210
  def concat(string); end
1187
1211
 
1188
1212
  # Returns the value of attribute output_buffer.
1189
1213
  #
1190
- # source://thor//lib/thor/actions/file_manipulation.rb#337
1214
+ # source://thor//lib/thor/actions/file_manipulation.rb#362
1191
1215
  def output_buffer; end
1192
1216
 
1193
1217
  # Sets the attribute output_buffer
1194
1218
  #
1195
1219
  # @param value the value to set the attribute output_buffer to.
1196
1220
  #
1197
- # source://thor//lib/thor/actions/file_manipulation.rb#337
1221
+ # source://thor//lib/thor/actions/file_manipulation.rb#362
1198
1222
  def output_buffer=(_arg0); end
1199
1223
 
1200
- # source://thor//lib/thor/actions/file_manipulation.rb#350
1224
+ # source://thor//lib/thor/actions/file_manipulation.rb#375
1201
1225
  def with_output_buffer(buf = T.unsafe(nil)); end
1202
1226
 
1203
1227
  class << self
@@ -1209,9 +1233,9 @@ end
1209
1233
  # Thor::Actions#capture depends on what kind of buffer is used in ERB.
1210
1234
  # Thus CapturableERB fixes ERB to use String buffer.
1211
1235
  #
1212
- # source://thor//lib/thor/actions/file_manipulation.rb#362
1236
+ # source://thor//lib/thor/actions/file_manipulation.rb#398
1213
1237
  class Thor::Actions::CapturableERB < ::ERB
1214
- # source://thor//lib/thor/actions/file_manipulation.rb#363
1238
+ # source://thor//lib/thor/actions/file_manipulation.rb#399
1215
1239
  def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end
1216
1240
  end
1217
1241
 
@@ -1568,7 +1592,7 @@ class Thor::Argument
1568
1592
 
1569
1593
  # Returns the value of attribute name.
1570
1594
  #
1571
- # source://thor//lib/thor/parser/argument.rb#5
1595
+ # source://thor//lib/thor/parser/argument.rb#6
1572
1596
  def human_name; end
1573
1597
 
1574
1598
  # Returns the value of attribute name.
@@ -1852,7 +1876,7 @@ module Thor::Base::ClassMethods
1852
1876
  # Hash:: An ordered hash with commands names as keys and Thor::Command
1853
1877
  # objects as values.
1854
1878
  #
1855
- # source://thor//lib/thor/base.rb#482
1879
+ # source://thor//lib/thor/base.rb#486
1856
1880
  def all_tasks; end
1857
1881
 
1858
1882
  # If you want to use defaults that don't match the type of an option,
@@ -2090,7 +2114,7 @@ module Thor::Base::ClassMethods
2090
2114
 
2091
2115
  # @raise [UndefinedCommandError]
2092
2116
  #
2093
- # source://thor//lib/thor/base.rb#613
2117
+ # source://thor//lib/thor/base.rb#616
2094
2118
  def handle_no_task_error(command, has_namespace = T.unsafe(nil)); end
2095
2119
 
2096
2120
  # Sets the namespace for the Thor or Thor::Group class. By default the
@@ -2167,7 +2191,7 @@ module Thor::Base::ClassMethods
2167
2191
  # remove_command :this_is_not_a_command
2168
2192
  # end
2169
2193
  #
2170
- # source://thor//lib/thor/base.rb#530
2194
+ # source://thor//lib/thor/base.rb#534
2171
2195
  def no_tasks(&block); end
2172
2196
 
2173
2197
  # Allows to use private methods from parent in child classes as commands.
@@ -2193,7 +2217,7 @@ module Thor::Base::ClassMethods
2193
2217
  # public_command :foo
2194
2218
  # public_command :foo, :bar, :baz
2195
2219
  #
2196
- # source://thor//lib/thor/base.rb#606
2220
+ # source://thor//lib/thor/base.rb#611
2197
2221
  def public_task(*names); end
2198
2222
 
2199
2223
  # Removes a previous defined argument. If :undefine is given, undefine
@@ -2250,7 +2274,7 @@ module Thor::Base::ClassMethods
2250
2274
  # options<Hash>:: You can give :undefine => true if you want commands the method
2251
2275
  # to be undefined from the class as well.
2252
2276
  #
2253
- # source://thor//lib/thor/base.rb#500
2277
+ # source://thor//lib/thor/base.rb#509
2254
2278
  def remove_task(*names); end
2255
2279
 
2256
2280
  # Parses the command and options from the given args, instantiate the class
@@ -2294,7 +2318,7 @@ module Thor::Base::ClassMethods
2294
2318
  # Hash:: An ordered hash with commands names as keys and Thor::Command
2295
2319
  # objects as values.
2296
2320
  #
2297
- # source://thor//lib/thor/base.rb#471
2321
+ # source://thor//lib/thor/base.rb#474
2298
2322
  def tasks; end
2299
2323
 
2300
2324
  protected
@@ -2357,7 +2381,7 @@ module Thor::Base::ClassMethods
2357
2381
  # SIGNATURE: Creates a new command if valid_command? is true. This method is
2358
2382
  # called when a new method is added to the class.
2359
2383
  #
2360
- # source://thor//lib/thor/base.rb#782
2384
+ # source://thor//lib/thor/base.rb#784
2361
2385
  def create_task(meth); end
2362
2386
 
2363
2387
  # SIGNATURE: The hook invoked by start.
@@ -2378,7 +2402,7 @@ module Thor::Base::ClassMethods
2378
2402
  # class, just return it, otherwise dup it and add the fresh copy to the
2379
2403
  # current command hash.
2380
2404
  #
2381
- # source://thor//lib/thor/base.rb#708
2405
+ # source://thor//lib/thor/base.rb#717
2382
2406
  def find_and_refresh_task(name); end
2383
2407
 
2384
2408
  # Retrieves a value from superclass. If it reaches the baseclass,
@@ -2756,7 +2780,7 @@ class Thor::Group
2756
2780
 
2757
2781
  # Returns commands ready to be printed.
2758
2782
  #
2759
- # source://thor//lib/thor/group.rb#199
2783
+ # source://thor//lib/thor/group.rb#205
2760
2784
  def printable_tasks(*_arg0); end
2761
2785
 
2762
2786
  # Remove a previously added invocation.
@@ -2782,7 +2806,7 @@ class Thor::Group
2782
2806
  # source://thor//lib/thor/group.rb#263
2783
2807
  def create_command(meth); end
2784
2808
 
2785
- # source://thor//lib/thor/group.rb#263
2809
+ # source://thor//lib/thor/group.rb#267
2786
2810
  def create_task(meth); end
2787
2811
 
2788
2812
  # The method responsible for dispatching given the args.
@@ -2799,7 +2823,7 @@ class Thor::Group
2799
2823
 
2800
2824
  # Represents the whole class as a command.
2801
2825
  #
2802
- # source://thor//lib/thor/group.rb#254
2826
+ # source://thor//lib/thor/group.rb#257
2803
2827
  def self_task; end
2804
2828
  end
2805
2829
  end
@@ -2919,7 +2943,7 @@ module Thor::Invocation
2919
2943
 
2920
2944
  # Invoke the given command if the given args.
2921
2945
  #
2922
- # source://thor//lib/thor/invocation.rb#122
2946
+ # source://thor//lib/thor/invocation.rb#130
2923
2947
  def invoke_task(command, *args); end
2924
2948
 
2925
2949
  # Invokes using shell padding.
@@ -2947,7 +2971,7 @@ module Thor::Invocation
2947
2971
  # use the given name and return self as class. Otherwise, call
2948
2972
  # prepare_for_invocation in the current class.
2949
2973
  #
2950
- # source://thor//lib/thor/invocation.rb#153
2974
+ # source://thor//lib/thor/invocation.rb#163
2951
2975
  def _retrieve_class_and_task(name, sent_command = T.unsafe(nil)); end
2952
2976
 
2953
2977
  # Configuration values that are shared between invocations.
@@ -3128,10 +3152,10 @@ class Thor::Option < ::Thor::Argument
3128
3152
  # source://thor//lib/thor/parser/option.rb#99
3129
3153
  def aliases_for_usage; end
3130
3154
 
3131
- # source://thor//lib/thor/parser/option.rb#118
3155
+ # source://thor//lib/thor/parser/option.rb#117
3132
3156
  def array?; end
3133
3157
 
3134
- # source://thor//lib/thor/parser/option.rb#118
3158
+ # source://thor//lib/thor/parser/option.rb#117
3135
3159
  def boolean?; end
3136
3160
 
3137
3161
  # Returns the value of attribute group.
@@ -3139,7 +3163,7 @@ class Thor::Option < ::Thor::Argument
3139
3163
  # source://thor//lib/thor/parser/option.rb#3
3140
3164
  def group; end
3141
3165
 
3142
- # source://thor//lib/thor/parser/option.rb#118
3166
+ # source://thor//lib/thor/parser/option.rb#117
3143
3167
  def hash?; end
3144
3168
 
3145
3169
  # Returns the value of attribute hide.
@@ -3155,7 +3179,7 @@ class Thor::Option < ::Thor::Argument
3155
3179
  # source://thor//lib/thor/parser/option.rb#3
3156
3180
  def lazy_default; end
3157
3181
 
3158
- # source://thor//lib/thor/parser/option.rb#118
3182
+ # source://thor//lib/thor/parser/option.rb#117
3159
3183
  def numeric?; end
3160
3184
 
3161
3185
  # Returns the value of attribute repeatable.
@@ -3168,7 +3192,7 @@ class Thor::Option < ::Thor::Argument
3168
3192
  # source://thor//lib/thor/parser/option.rb#107
3169
3193
  def show_default?; end
3170
3194
 
3171
- # source://thor//lib/thor/parser/option.rb#118
3195
+ # source://thor//lib/thor/parser/option.rb#117
3172
3196
  def string?; end
3173
3197
 
3174
3198
  # source://thor//lib/thor/parser/option.rb#75
@@ -3421,37 +3445,37 @@ module Thor::Shell
3421
3445
  # source://thor//lib/thor/shell.rb#44
3422
3446
  def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
3423
3447
 
3424
- # source://thor//lib/thor/shell.rb#59
3448
+ # source://thor//lib/thor/shell.rb#58
3425
3449
  def ask(*args, &block); end
3426
3450
 
3427
- # source://thor//lib/thor/shell.rb#59
3451
+ # source://thor//lib/thor/shell.rb#58
3428
3452
  def error(*args, &block); end
3429
3453
 
3430
- # source://thor//lib/thor/shell.rb#59
3454
+ # source://thor//lib/thor/shell.rb#58
3431
3455
  def file_collision(*args, &block); end
3432
3456
 
3433
- # source://thor//lib/thor/shell.rb#59
3457
+ # source://thor//lib/thor/shell.rb#58
3434
3458
  def no?(*args, &block); end
3435
3459
 
3436
- # source://thor//lib/thor/shell.rb#59
3460
+ # source://thor//lib/thor/shell.rb#58
3437
3461
  def print_in_columns(*args, &block); end
3438
3462
 
3439
- # source://thor//lib/thor/shell.rb#59
3463
+ # source://thor//lib/thor/shell.rb#58
3440
3464
  def print_table(*args, &block); end
3441
3465
 
3442
- # source://thor//lib/thor/shell.rb#59
3466
+ # source://thor//lib/thor/shell.rb#58
3443
3467
  def print_wrapped(*args, &block); end
3444
3468
 
3445
- # source://thor//lib/thor/shell.rb#59
3469
+ # source://thor//lib/thor/shell.rb#58
3446
3470
  def say(*args, &block); end
3447
3471
 
3448
- # source://thor//lib/thor/shell.rb#59
3472
+ # source://thor//lib/thor/shell.rb#58
3449
3473
  def say_error(*args, &block); end
3450
3474
 
3451
- # source://thor//lib/thor/shell.rb#59
3475
+ # source://thor//lib/thor/shell.rb#58
3452
3476
  def say_status(*args, &block); end
3453
3477
 
3454
- # source://thor//lib/thor/shell.rb#59
3478
+ # source://thor//lib/thor/shell.rb#58
3455
3479
  def set_color(*args, &block); end
3456
3480
 
3457
3481
  # Holds the shell for the given Thor instance. If no shell is given,
@@ -3467,7 +3491,7 @@ module Thor::Shell
3467
3491
  # source://thor//lib/thor/shell.rb#25
3468
3492
  def shell=(_arg0); end
3469
3493
 
3470
- # source://thor//lib/thor/shell.rb#59
3494
+ # source://thor//lib/thor/shell.rb#58
3471
3495
  def terminal_width(*args, &block); end
3472
3496
 
3473
3497
  # Yields the given block with padding.
@@ -3475,7 +3499,7 @@ module Thor::Shell
3475
3499
  # source://thor//lib/thor/shell.rb#66
3476
3500
  def with_padding; end
3477
3501
 
3478
- # source://thor//lib/thor/shell.rb#59
3502
+ # source://thor//lib/thor/shell.rb#58
3479
3503
  def yes?(*args, &block); end
3480
3504
 
3481
3505
  protected
@@ -3688,9 +3712,6 @@ class Thor::Shell::Basic
3688
3712
  # source://thor//lib/thor/shell/basic.rb#296
3689
3713
  def file_collision_help(block_given); end
3690
3714
 
3691
- # source://thor//lib/thor/shell/basic.rb#383
3692
- def git_merge_tool; end
3693
-
3694
3715
  # @return [Boolean]
3695
3716
  #
3696
3717
  # source://thor//lib/thor/shell/basic.rb#286
@@ -4292,7 +4313,7 @@ module Thor::Util
4292
4313
  # ==== Parameters
4293
4314
  # namespace<String>
4294
4315
  #
4295
- # source://thor//lib/thor/util.rb#131
4316
+ # source://thor//lib/thor/util.rb#148
4296
4317
  def find_class_and_task_by_namespace(namespace, fallback = T.unsafe(nil)); end
4297
4318
 
4298
4319
  # Where to look for Thor files.
@@ -5,9 +5,6 @@
5
5
  # Please instead update this file by running `bin/tapioca gem unicode-display_width`.
6
6
 
7
7
 
8
- # require "rbconfig"
9
- # RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ # windows
10
- #
11
8
  # source://unicode-display_width//lib/unicode/display_width/constants.rb#3
12
9
  module Unicode; end
13
10
 
@@ -79,9 +76,12 @@ Unicode::DisplayWidth::DEFAULT_AMBIGUOUS = T.let(T.unsafe(nil), Integer)
79
76
  # source://unicode-display_width//lib/unicode/display_width.rb#32
80
77
  Unicode::DisplayWidth::EMOJI_SEQUENCES_REGEX_MAPPING = T.let(T.unsafe(nil), Hash)
81
78
 
82
- # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#6
79
+ # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#5
83
80
  module Unicode::DisplayWidth::EmojiSupport
84
81
  class << self
82
+ # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#18
83
+ def _recommended; end
84
+
85
85
  # Tries to find out which terminal emulator is used to
86
86
  # set emoji: config to best suiting value
87
87
  #
@@ -91,7 +91,7 @@ module Unicode::DisplayWidth::EmojiSupport
91
91
  # Please note: Many terminals do not set any ENV vars,
92
92
  # maybe CSI queries can help?
93
93
  #
94
- # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#15
94
+ # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#14
95
95
  def recommended; end
96
96
  end
97
97
  end