lunchmoney 1.2.0 → 1.4.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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build_and_publish_yard_docs.yml +1 -1
  3. data/.github/workflows/check_pipeline.yml +2 -2
  4. data/.github/workflows/ci.yml +1 -1
  5. data/.github/workflows/{dependabot-rbi-updater.yml → rbi-updater.yml} +2 -3
  6. data/.simplecov +1 -2
  7. data/Gemfile +2 -3
  8. data/Gemfile.lock +70 -75
  9. data/lib/lunchmoney/objects/transaction.rb +9 -1
  10. data/lib/lunchmoney/objects/user.rb +4 -1
  11. data/lib/lunchmoney/version.rb +1 -1
  12. data/sorbet/rbi/annotations/activesupport.rbi +31 -0
  13. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  14. data/sorbet/rbi/dsl/active_support/callbacks.rbi +1 -0
  15. data/sorbet/rbi/gems/{activesupport@7.1.3.2.rbi → activesupport@7.2.1.rbi} +1345 -1253
  16. data/sorbet/rbi/gems/{addressable@2.8.6.rbi → addressable@2.8.7.rbi} +2 -1
  17. data/sorbet/rbi/gems/{bigdecimal@3.1.7.rbi → bigdecimal@3.1.8.rbi} +1 -0
  18. data/sorbet/rbi/gems/{chef-utils@18.4.2.rbi → chef-utils@18.5.0.rbi} +1 -0
  19. data/sorbet/rbi/gems/{concurrent-ruby@1.2.3.rbi → concurrent-ruby@1.3.4.rbi} +64 -9
  20. data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +1 -0
  21. data/sorbet/rbi/gems/{dotenv@3.1.0.rbi → dotenv@3.1.2.rbi} +20 -17
  22. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
  23. data/sorbet/rbi/gems/{faraday-net_http@3.1.0.rbi → faraday-net_http@3.1.1.rbi} +36 -35
  24. data/sorbet/rbi/gems/{faraday@2.9.0.rbi → faraday@2.10.1.rbi} +79 -33
  25. data/sorbet/rbi/gems/{hashdiff@1.1.0.rbi → hashdiff@1.1.1.rbi} +3 -2
  26. data/sorbet/rbi/gems/{i18n@1.14.4.rbi → i18n@1.14.5.rbi} +43 -14
  27. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +72 -72
  28. data/sorbet/rbi/gems/logger@1.6.0.rbi +903 -0
  29. data/sorbet/rbi/gems/{minitest@5.22.3.rbi → minitest@5.25.1.rbi} +245 -235
  30. data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.2.8.rbi} +1 -0
  31. data/sorbet/rbi/gems/{mocha@2.1.0.rbi → mocha@2.4.5.rbi} +169 -144
  32. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
  33. data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.4.2.rbi} +233 -186
  34. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.30.0.rbi} +20933 -12761
  35. data/sorbet/rbi/gems/{public_suffix@5.0.4.rbi → public_suffix@6.0.1.rbi} +1 -0
  36. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +34 -33
  37. data/sorbet/rbi/gems/{rack@3.0.10.rbi → rack@3.1.7.rbi} +694 -987
  38. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
  39. data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.14.rbi} +904 -622
  40. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
  41. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.6.rbi} +383 -245
  42. data/sorbet/rbi/gems/{rubocop-ast@1.31.2.rbi → rubocop-ast@1.32.1.rbi} +393 -349
  43. data/sorbet/rbi/gems/{rubocop-minitest@0.35.0.rbi → rubocop-minitest@0.35.1.rbi} +11 -8
  44. data/sorbet/rbi/gems/{rubocop-rails@2.24.1.rbi → rubocop-rails@2.26.0.rbi} +604 -275
  45. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.0.rbi → rubocop-sorbet@0.8.5.rbi} +253 -127
  46. data/sorbet/rbi/gems/{rubocop@1.62.1.rbi → rubocop@1.65.1.rbi} +2334 -1779
  47. data/sorbet/rbi/gems/securerandom@0.3.1.rbi +73 -0
  48. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.4.2.rbi} +2003 -848
  49. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  50. data/sorbet/rbi/gems/{tapioca@0.13.1.rbi → tapioca@0.16.1.rbi} +294 -259
  51. data/sorbet/rbi/gems/{toys-core@0.15.5.rbi → toys-core@0.15.6.rbi} +1 -0
  52. data/sorbet/rbi/gems/{toys@0.15.5.rbi → toys@0.15.6.rbi} +4 -3
  53. data/sorbet/rbi/gems/{vcr@6.2.0.rbi → vcr@6.3.1.rbi} +72 -68
  54. data/sorbet/rbi/gems/{webmock@3.23.0.rbi → webmock@3.23.1.rbi} +1 -0
  55. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  56. metadata +46 -49
  57. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3426
  58. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
  59. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +0 -93
  60. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  61. data/sorbet/rbi/gems/pry-sorbet@0.2.1.rbi +0 -966
  62. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10077
  63. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
@@ -4,11 +4,12 @@
4
4
  # This is an autogenerated file for types exported from the `rake` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rake`.
6
6
 
7
+
7
8
  # :stopdoc:
8
9
  #
9
10
  # Some top level Constants.
10
11
  #
11
- # source://rake//lib/rake.rb#70
12
+ # source://rake//lib/rake.rb#69
12
13
  FileList = Rake::FileList
13
14
 
14
15
  # --
@@ -195,7 +196,7 @@ class Rake::Application
195
196
 
196
197
  # Add a file to the list of files to be imported.
197
198
  #
198
- # source://rake//lib/rake/application.rb#801
199
+ # source://rake//lib/rake/application.rb#807
199
200
  def add_import(fn); end
200
201
 
201
202
  # Add a loader to handle imported files ending in the extension
@@ -213,13 +214,13 @@ class Rake::Application
213
214
  # recognised command-line options, which OptionParser.parse will
214
215
  # have taken care of already.
215
216
  #
216
- # source://rake//lib/rake/application.rb#782
217
+ # source://rake//lib/rake/application.rb#788
217
218
  def collect_command_line_tasks(args); end
218
219
 
219
220
  # Default task name ("default").
220
221
  # (May be overridden by subclasses)
221
222
  #
222
- # source://rake//lib/rake/application.rb#796
223
+ # source://rake//lib/rake/application.rb#802
223
224
  def default_task_name; end
224
225
 
225
226
  # Warn about deprecated usage.
@@ -227,75 +228,75 @@ class Rake::Application
227
228
  # Example:
228
229
  # Rake.application.deprecate("import", "Rake.import", caller.first)
229
230
  #
230
- # source://rake//lib/rake/application.rb#282
231
+ # source://rake//lib/rake/application.rb#288
231
232
  def deprecate(old_usage, new_usage, call_site); end
232
233
 
233
- # source://rake//lib/rake/application.rb#244
234
+ # source://rake//lib/rake/application.rb#250
234
235
  def display_cause_details(ex); end
235
236
 
236
237
  # Display the error message that caused the exception.
237
238
  #
238
- # source://rake//lib/rake/application.rb#228
239
+ # source://rake//lib/rake/application.rb#234
239
240
  def display_error_message(ex); end
240
241
 
241
- # source://rake//lib/rake/application.rb#269
242
+ # source://rake//lib/rake/application.rb#275
242
243
  def display_exception_backtrace(ex); end
243
244
 
244
- # source://rake//lib/rake/application.rb#236
245
+ # source://rake//lib/rake/application.rb#242
245
246
  def display_exception_details(ex); end
246
247
 
247
- # source://rake//lib/rake/application.rb#251
248
+ # source://rake//lib/rake/application.rb#257
248
249
  def display_exception_details_seen; end
249
250
 
250
- # source://rake//lib/rake/application.rb#259
251
+ # source://rake//lib/rake/application.rb#265
251
252
  def display_exception_message_details(ex); end
252
253
 
253
254
  # Display the tasks and prerequisites
254
255
  #
255
- # source://rake//lib/rake/application.rb#405
256
+ # source://rake//lib/rake/application.rb#411
256
257
  def display_prerequisites; end
257
258
 
258
259
  # Display the tasks and comments.
259
260
  #
260
- # source://rake//lib/rake/application.rb#322
261
+ # source://rake//lib/rake/application.rb#328
261
262
  def display_tasks_and_comments; end
262
263
 
263
264
  # Calculate the dynamic width of the
264
265
  #
265
- # source://rake//lib/rake/application.rb#373
266
+ # source://rake//lib/rake/application.rb#379
266
267
  def dynamic_width; end
267
268
 
268
- # source://rake//lib/rake/application.rb#377
269
+ # source://rake//lib/rake/application.rb#383
269
270
  def dynamic_width_stty; end
270
271
 
271
- # source://rake//lib/rake/application.rb#381
272
+ # source://rake//lib/rake/application.rb#387
272
273
  def dynamic_width_tput; end
273
274
 
274
275
  # Exit the program because of an unhandled exception.
275
276
  # (may be overridden by subclasses)
276
277
  #
277
- # source://rake//lib/rake/application.rb#223
278
+ # source://rake//lib/rake/application.rb#229
278
279
  def exit_because_of_exception(ex); end
279
280
 
280
- # source://rake//lib/rake/application.rb#702
281
+ # source://rake//lib/rake/application.rb#708
281
282
  def find_rakefile_location; end
282
283
 
283
284
  # Read and handle the command line options. Returns the command line
284
285
  # arguments that we didn't understand, which should (in theory) be just
285
286
  # task names and env vars.
286
287
  #
287
- # source://rake//lib/rake/application.rb#668
288
+ # source://rake//lib/rake/application.rb#674
288
289
  def handle_options(argv); end
289
290
 
290
291
  # @return [Boolean]
291
292
  #
292
- # source://rake//lib/rake/application.rb#255
293
+ # source://rake//lib/rake/application.rb#261
293
294
  def has_cause?(ex); end
294
295
 
295
296
  # True if one of the files in RAKEFILES is in the current directory.
296
297
  # If a match is found, it is copied into @rakefile.
297
298
  #
298
- # source://rake//lib/rake/application.rb#298
299
+ # source://rake//lib/rake/application.rb#304
299
300
  def have_rakefile; end
300
301
 
301
302
  # Initialize the command line parameters and app name.
@@ -305,12 +306,12 @@ class Rake::Application
305
306
 
306
307
  # Invokes a task with arguments that are extracted from +task_string+
307
308
  #
308
- # source://rake//lib/rake/application.rb#179
309
+ # source://rake//lib/rake/application.rb#185
309
310
  def invoke_task(task_string); end
310
311
 
311
312
  # Load the pending list of imported files.
312
313
  #
313
- # source://rake//lib/rake/application.rb#806
314
+ # source://rake//lib/rake/application.rb#812
314
315
  def load_imports; end
315
316
 
316
317
  # Find the rakefile and then load it and any pending imports.
@@ -333,16 +334,16 @@ class Rake::Application
333
334
  # source://rake//lib/rake/application.rb#27
334
335
  def original_dir; end
335
336
 
336
- # source://rake//lib/rake/application.rb#185
337
+ # source://rake//lib/rake/application.rb#191
337
338
  def parse_task_string(string); end
338
339
 
339
- # source://rake//lib/rake/application.rb#714
340
+ # source://rake//lib/rake/application.rb#720
340
341
  def print_rakefile_directory(location); end
341
342
 
342
343
  # Similar to the regular Ruby +require+ command, but will check
343
344
  # for *.rake files in addition to *.rb files.
344
345
  #
345
- # source://rake//lib/rake/application.rb#688
346
+ # source://rake//lib/rake/application.rb#694
346
347
  def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
347
348
 
348
349
  # Name of the actual rakefile used.
@@ -350,10 +351,10 @@ class Rake::Application
350
351
  # source://rake//lib/rake/application.rb#30
351
352
  def rakefile; end
352
353
 
353
- # source://rake//lib/rake/application.rb#822
354
+ # source://rake//lib/rake/application.rb#828
354
355
  def rakefile_location(backtrace = T.unsafe(nil)); end
355
356
 
356
- # source://rake//lib/rake/application.rb#719
357
+ # source://rake//lib/rake/application.rb#725
357
358
  def raw_load_rakefile; end
358
359
 
359
360
  # Run the Rake application. The run method performs the following
@@ -375,23 +376,23 @@ class Rake::Application
375
376
  # source://rake//lib/rake/application.rb#144
376
377
  def run_with_threads; end
377
378
 
378
- # source://rake//lib/rake/application.rb#831
379
+ # source://rake//lib/rake/application.rb#837
379
380
  def set_default_options; end
380
381
 
381
382
  # Provide standard exception handling for the given block.
382
383
  #
383
- # source://rake//lib/rake/application.rb#207
384
+ # source://rake//lib/rake/application.rb#213
384
385
  def standard_exception_handling; end
385
386
 
386
387
  # A list of all the standard options used in rake, suitable for
387
388
  # passing to OptionParser.
388
389
  #
389
- # source://rake//lib/rake/application.rb#426
390
+ # source://rake//lib/rake/application.rb#432
390
391
  def standard_rake_options; end
391
392
 
392
393
  # The directory path containing the system wide rakefiles.
393
394
  #
394
- # source://rake//lib/rake/application.rb#751
395
+ # source://rake//lib/rake/application.rb#757
395
396
  def system_dir; end
396
397
 
397
398
  # Number of columns on the terminal
@@ -404,12 +405,12 @@ class Rake::Application
404
405
  # source://rake//lib/rake/application.rb#33
405
406
  def terminal_columns=(_arg0); end
406
407
 
407
- # source://rake//lib/rake/application.rb#361
408
+ # source://rake//lib/rake/application.rb#367
408
409
  def terminal_width; end
409
410
 
410
411
  # Return the thread pool used for multithreaded processing.
411
412
  #
412
- # source://rake//lib/rake/application.rb#172
413
+ # source://rake//lib/rake/application.rb#178
413
414
  def thread_pool; end
414
415
 
415
416
  # Run the top level tasks of a Rake application.
@@ -422,10 +423,10 @@ class Rake::Application
422
423
  # source://rake//lib/rake/application.rb#36
423
424
  def top_level_tasks; end
424
425
 
425
- # source://rake//lib/rake/application.rb#412
426
+ # source://rake//lib/rake/application.rb#418
426
427
  def trace(*strings); end
427
428
 
428
- # source://rake//lib/rake/application.rb#394
429
+ # source://rake//lib/rake/application.rb#400
429
430
  def truncate(string, width); end
430
431
 
431
432
  # We will truncate output if we are outputting to a TTY or if we've been
@@ -433,7 +434,7 @@ class Rake::Application
433
434
  #
434
435
  # @return [Boolean]
435
436
  #
436
- # source://rake//lib/rake/application.rb#317
437
+ # source://rake//lib/rake/application.rb#323
437
438
  def truncate_output?; end
438
439
 
439
440
  # Override the detected TTY output state (mostly for testing)
@@ -445,44 +446,44 @@ class Rake::Application
445
446
  #
446
447
  # @return [Boolean]
447
448
  #
448
- # source://rake//lib/rake/application.rb#311
449
+ # source://rake//lib/rake/application.rb#317
449
450
  def tty_output?; end
450
451
 
451
452
  # @return [Boolean]
452
453
  #
453
- # source://rake//lib/rake/application.rb#385
454
+ # source://rake//lib/rake/application.rb#391
454
455
  def unix?; end
455
456
 
456
457
  # @return [Boolean]
457
458
  #
458
- # source://rake//lib/rake/application.rb#390
459
+ # source://rake//lib/rake/application.rb#396
459
460
  def windows?; end
460
461
 
461
462
  private
462
463
 
463
- # source://rake//lib/rake/application.rb#745
464
+ # source://rake//lib/rake/application.rb#751
464
465
  def glob(path, &block); end
465
466
 
466
467
  # Does the exception have a task invocation chain?
467
468
  #
468
469
  # @return [Boolean]
469
470
  #
470
- # source://rake//lib/rake/application.rb#291
471
+ # source://rake//lib/rake/application.rb#297
471
472
  def has_chain?(exception); end
472
473
 
473
474
  # source://rake//lib/rake/application.rb#102
474
475
  def load_debug_at_stop_feature; end
475
476
 
476
- # source://rake//lib/rake/application.rb#644
477
+ # source://rake//lib/rake/application.rb#650
477
478
  def select_tasks_to_show(options, show_tasks, value); end
478
479
 
479
- # source://rake//lib/rake/application.rb#651
480
+ # source://rake//lib/rake/application.rb#657
480
481
  def select_trace_output(options, trace_option, value); end
481
482
 
482
- # source://rake//lib/rake/application.rb#417
483
+ # source://rake//lib/rake/application.rb#423
483
484
  def sort_options(options); end
484
485
 
485
- # source://rake//lib/rake/application.rb#768
486
+ # source://rake//lib/rake/application.rb#774
486
487
  def standard_system_dir; end
487
488
  end
488
489
 
@@ -492,7 +493,7 @@ Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
492
493
  # source://rake//lib/rake/backtrace.rb#3
493
494
  module Rake::Backtrace
494
495
  class << self
495
- # source://rake//lib/rake/backtrace.rb#18
496
+ # source://rake//lib/rake/backtrace.rb#19
496
497
  def collapse(backtrace); end
497
498
  end
498
499
  end
@@ -503,7 +504,7 @@ Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
503
504
  # source://rake//lib/rake/backtrace.rb#12
504
505
  Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
505
506
 
506
- # source://rake//lib/rake/backtrace.rb#16
507
+ # source://rake//lib/rake/backtrace.rb#17
507
508
  Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
508
509
 
509
510
  # source://rake//lib/rake/backtrace.rb#4
@@ -598,7 +599,7 @@ module Rake::DSL
598
599
  # # ... run tests
599
600
  # end
600
601
  #
601
- # source://rake//lib/rake/dsl_definition.rb#165
602
+ # source://rake//lib/rake/dsl_definition.rb#166
602
603
  def desc(description); end
603
604
 
604
605
  # Declare a set of files tasks to create the given directories on
@@ -646,7 +647,7 @@ module Rake::DSL
646
647
  # Example:
647
648
  # import ".depend", "my_rules"
648
649
  #
649
- # source://rake//lib/rake/dsl_definition.rb#183
650
+ # source://rake//lib/rake/dsl_definition.rb#184
650
651
  def import(*fns); end
651
652
 
652
653
  # source://rake//lib/rake/file_utils_ext.rb#34
@@ -690,7 +691,7 @@ module Rake::DSL
690
691
  # Example:
691
692
  # multitask deploy: %w[deploy_gem deploy_rdoc]
692
693
  #
693
- # source://rake//lib/rake/dsl_definition.rb#112
694
+ # source://rake//lib/rake/dsl_definition.rb#113
694
695
  def multitask(*args, &block); end
695
696
 
696
697
  # source://rake//lib/rake/file_utils_ext.rb#34
@@ -715,7 +716,7 @@ module Rake::DSL
715
716
  # # ...
716
717
  # end
717
718
  #
718
- # source://rake//lib/rake/dsl_definition.rb#135
719
+ # source://rake//lib/rake/dsl_definition.rb#136
719
720
  def namespace(name = T.unsafe(nil), &block); end
720
721
 
721
722
  # source://rake//lib/rake/file_utils_ext.rb#77
@@ -755,10 +756,10 @@ module Rake::DSL
755
756
  #
756
757
  # Example:
757
758
  # rule '.o' => '.c' do |t|
758
- # sh 'cc', '-o', t.name, t.source
759
+ # sh 'cc', '-c', '-o', t.name, t.source
759
760
  # end
760
761
  #
761
- # source://rake//lib/rake/dsl_definition.rb#151
762
+ # source://rake//lib/rake/dsl_definition.rb#152
762
763
  def rule(*args, &block); end
763
764
 
764
765
  # source://rake//lib/rake/file_utils.rb#110
@@ -3001,7 +3002,7 @@ end
3001
3002
  # source://rake//lib/rake/win32.rb#11
3002
3003
  class Rake::Win32::Win32HomeError < ::RuntimeError; end
3003
3004
 
3004
- # source://rake//lib/rake.rb#71
3005
+ # source://rake//lib/rake.rb#70
3005
3006
  RakeFileUtils = Rake::FileUtilsExt
3006
3007
 
3007
3008
  # source://rake//lib/rake/ext/string.rb#4