lunchmoney 1.3.0 → 1.4.1

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 (78) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +7 -0
  3. data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
  4. data/.github/workflows/ci.yml +1 -1
  5. data/.ruby-version +1 -1
  6. data/.simplecov +2 -2
  7. data/Gemfile +2 -3
  8. data/Gemfile.lock +90 -84
  9. data/lib/lunchmoney/api.rb +1 -0
  10. data/lib/lunchmoney/calls/categories.rb +0 -2
  11. data/lib/lunchmoney/calls/transactions.rb +0 -1
  12. data/lib/lunchmoney/deprecate.rb +35 -0
  13. data/lib/lunchmoney/objects/asset.rb +6 -1
  14. data/lib/lunchmoney/objects/plaid_account.rb +6 -1
  15. data/lib/lunchmoney/objects/transaction.rb +9 -1
  16. data/lib/lunchmoney/version.rb +1 -1
  17. data/sorbet/rbi/annotations/activesupport.rbi +36 -0
  18. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  19. data/sorbet/rbi/gems/{activesupport@7.1.3.2.rbi → activesupport@7.2.2.1.rbi} +1407 -1292
  20. data/sorbet/rbi/gems/{addressable@2.8.6.rbi → addressable@2.8.7.rbi} +2 -1
  21. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  22. data/sorbet/rbi/gems/{bigdecimal@3.1.7.rbi → bigdecimal@3.1.9.rbi} +1 -0
  23. data/sorbet/rbi/gems/{chef-utils@18.4.2.rbi → chef-utils@18.5.0.rbi} +1 -0
  24. data/sorbet/rbi/gems/{concurrent-ruby@1.2.3.rbi → concurrent-ruby@1.3.5.rbi} +108 -41
  25. data/sorbet/rbi/gems/{connection_pool@2.4.1.rbi → connection_pool@2.5.0.rbi} +1 -0
  26. data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +1 -0
  27. data/sorbet/rbi/gems/{dotenv@3.1.2.rbi → dotenv@3.1.7.rbi} +21 -29
  28. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +25 -15
  29. data/sorbet/rbi/gems/{faraday-net_http@3.1.0.rbi → faraday-net_http@3.4.0.rbi} +30 -29
  30. data/sorbet/rbi/gems/{faraday@2.9.0.rbi → faraday@2.12.2.rbi} +104 -49
  31. data/sorbet/rbi/gems/{hashdiff@1.1.0.rbi → hashdiff@1.1.2.rbi} +3 -2
  32. data/sorbet/rbi/gems/{i18n@1.14.4.rbi → i18n@1.14.7.rbi} +109 -80
  33. data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.10.2.rbi} +697 -146
  34. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  35. data/sorbet/rbi/gems/logger@1.6.6.rbi +940 -0
  36. data/sorbet/rbi/gems/{minitest@5.22.3.rbi → minitest@5.25.5.rbi} +319 -302
  37. data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.2.8.rbi} +1 -0
  38. data/sorbet/rbi/gems/{mocha@2.2.0.rbi → mocha@2.7.1.rbi} +174 -149
  39. data/sorbet/rbi/gems/{net-http@0.4.1.rbi → net-http@0.6.0.rbi} +360 -181
  40. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
  41. data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.7.1.rbi} +256 -203
  42. data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@1.4.0.rbi} +15882 -12137
  43. data/sorbet/rbi/gems/{public_suffix@5.0.4.rbi → public_suffix@6.0.1.rbi} +1 -0
  44. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +34 -33
  45. data/sorbet/rbi/gems/{rack@3.0.10.rbi → rack@3.1.9.rbi} +704 -989
  46. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
  47. data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
  48. data/sorbet/rbi/gems/rbs@3.9.0.rbi +6978 -0
  49. data/sorbet/rbi/gems/{regexp_parser@2.9.1.rbi → regexp_parser@2.10.0.rbi} +195 -172
  50. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.1.rbi} +844 -279
  51. data/sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi → rubocop-ast@1.38.0.rbi} +1380 -732
  52. data/sorbet/rbi/gems/{rubocop-minitest@0.35.0.rbi → rubocop-minitest@0.36.0.rbi} +13 -10
  53. data/sorbet/rbi/gems/{rubocop-rails@2.24.1.rbi → rubocop-rails@2.29.1.rbi} +9604 -6343
  54. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.3.rbi → rubocop-sorbet@0.8.7.rbi} +168 -67
  55. data/sorbet/rbi/gems/{rubocop@1.63.5.rbi → rubocop@1.71.2.rbi} +6831 -4378
  56. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
  57. data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
  58. data/sorbet/rbi/gems/{tapioca@0.14.1.rbi → tapioca@0.16.11.rbi} +471 -384
  59. data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.3.2.rbi} +58 -31
  60. data/sorbet/rbi/gems/{toys-core@0.15.5.rbi → toys-core@0.15.6.rbi} +1 -0
  61. data/sorbet/rbi/gems/{toys@0.15.5.rbi → toys@0.15.6.rbi} +4 -3
  62. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  63. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  64. data/sorbet/rbi/gems/{uri@0.13.0.rbi → uri@1.0.3.rbi} +278 -256
  65. data/sorbet/rbi/gems/{vcr@6.2.0.rbi → vcr@6.3.1.rbi} +72 -68
  66. data/sorbet/rbi/gems/{webmock@3.23.0.rbi → webmock@3.25.1.rbi} +102 -78
  67. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  68. data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +394 -235
  69. metadata +55 -58
  70. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3426
  71. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  72. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
  73. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +0 -93
  74. data/sorbet/rbi/gems/pry-sorbet@0.2.1.rbi +0 -966
  75. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10077
  76. data/sorbet/rbi/gems/rbi@0.1.13.rbi +0 -3078
  77. data/sorbet/rbi/gems/spoom@1.3.2.rbi +0 -4421
  78. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
@@ -4,13 +4,13 @@
4
4
  # This is an autogenerated file for types exported from the `concurrent-ruby` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem concurrent-ruby`.
6
6
 
7
+
7
8
  # {include:file:README.md}
8
9
  #
9
10
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/constants.rb#1
10
11
  module Concurrent
11
12
  extend ::Concurrent::Utility::EngineDetector
12
13
  extend ::Concurrent::Utility::NativeExtensionLoader
13
- extend ::Logger::Severity
14
14
  extend ::Concurrent::Concern::Logging
15
15
  extend ::Concurrent::Concern::Deprecation
16
16
 
@@ -147,20 +147,58 @@ module Concurrent
147
147
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#82
148
148
  def atomically; end
149
149
 
150
+ # Number of processors cores available for process scheduling.
151
+ # This method takes in account the CPU quota if the process is inside a cgroup with a
152
+ # dedicated CPU quota (typically Docker).
153
+ # Otherwise it returns the same value as #processor_count but as a Float.
154
+ #
155
+ # For performance reasons the calculated value will be memoized on the first
156
+ # call.
157
+ #
158
+ # @return [Float] number of available processors
159
+ #
160
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#194
161
+ def available_processor_count; end
162
+
150
163
  # @raise [ArgumentError]
151
164
  #
152
165
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#56
153
166
  def call_dataflow(method, executor, *inputs, &block); end
154
167
 
155
- # @return [Logger] Logger with provided level and output.
168
+ # The maximum number of processors cores available for process scheduling.
169
+ # Returns `nil` if there is no enforced limit, or a `Float` if the
170
+ # process is inside a cgroup with a dedicated CPU quota (typically Docker).
171
+ #
172
+ # Note that nothing prevents setting a CPU quota higher than the actual number of
173
+ # cores on the system.
174
+ #
175
+ # For performance reasons the calculated value will be memoized on the first
176
+ # call.
177
+ #
178
+ # @return [nil, Float] Maximum number of available processors as set by a cgroup CPU quota, or nil if none set
179
+ #
180
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#209
181
+ def cpu_quota; end
182
+
183
+ # The CPU shares requested by the process. For performance reasons the calculated
184
+ # value will be memoized on the first call.
156
185
  #
157
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#37
186
+ # @return [Float, nil] CPU shares requested by the process, or nil if not set
187
+ #
188
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#217
189
+ def cpu_shares; end
190
+
191
+ # Create a simple logger with provided level and output.
192
+ #
193
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#38
158
194
  def create_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
159
195
 
196
+ # Create a stdlib logger with provided level and output.
197
+ # If you use this deprecated method you might need to add logger to your Gemfile to avoid warnings from Ruby 3.3.5+.
198
+ #
160
199
  # @deprecated
161
- # @return [Logger] Logger with provided level and output.
162
200
  #
163
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#69
201
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#73
164
202
  def create_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
165
203
 
166
204
  # Dataflow allows you to create a task that will be scheduled when all of its data dependencies are available.
@@ -232,10 +270,10 @@ module Concurrent
232
270
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#62
233
271
  def global_io_executor; end
234
272
 
235
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#109
273
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#114
236
274
  def global_logger; end
237
275
 
238
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#113
276
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#118
239
277
  def global_logger=(value); end
240
278
 
241
279
  # Global thread pool user for global *timers*.
@@ -290,7 +328,7 @@ module Concurrent
290
328
  # @see http://www.unix.com/man-page/osx/1/HWPREFS/
291
329
  # @see http://linux.die.net/man/8/sysctl
292
330
  #
293
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#107
331
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#181
294
332
  def physical_processor_count; end
295
333
 
296
334
  # Number of processors seen by the OS and used for process scheduling. For
@@ -301,30 +339,30 @@ module Concurrent
301
339
  # `java.lang.Runtime.getRuntime.availableProcessors` will be used. According
302
340
  # to the Java documentation this "value may change during a particular
303
341
  # invocation of the virtual machine... [applications] should therefore
304
- # occasionally poll this property." Subsequently the result will NOT be
305
- # memoized under JRuby.
342
+ # occasionally poll this property." We still memoize this value once under
343
+ # JRuby.
306
344
  #
307
345
  # Otherwise Ruby's Etc.nprocessors will be used.
308
346
  #
309
347
  # @return [Integer] number of processors seen by the OS or Java runtime
310
348
  # @see http://docs.oracle.com/javase/6/docs/api/java/lang/Runtime.html#availableProcessors()
311
349
  #
312
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#86
350
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#160
313
351
  def processor_count; end
314
352
 
315
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#68
353
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#142
316
354
  def processor_counter; end
317
355
 
318
356
  # Use logger created by #create_simple_logger to log concurrent-ruby messages.
319
357
  #
320
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#63
358
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#66
321
359
  def use_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
322
360
 
323
361
  # Use logger created by #create_stdlib_logger to log concurrent-ruby messages.
324
362
  #
325
363
  # @deprecated
326
364
  #
327
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#96
365
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#101
328
366
  def use_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
329
367
  end
330
368
  end
@@ -429,7 +467,6 @@ Concurrent::AbstractExchanger::CANCEL = T.let(T.unsafe(nil), Object)
429
467
 
430
468
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#10
431
469
  class Concurrent::AbstractExecutorService < ::Concurrent::Synchronization::LockableObject
432
- include ::Logger::Severity
433
470
  include ::Concurrent::Concern::Logging
434
471
  include ::Concurrent::ExecutorService
435
472
  include ::Concurrent::Concern::Deprecation
@@ -847,7 +884,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject
847
884
  # hopelessly deadlock the Agent with no possibility of recovery.
848
885
  #
849
886
  # @param timeout [Float] the maximum number of seconds to wait
850
- # @raise [Concurrent::TimeoutError] when timout is reached
887
+ # @raise [Concurrent::TimeoutError] when timeout is reached
851
888
  # @return [Boolean] true if all actions complete before timeout
852
889
  #
853
890
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#377
@@ -1249,7 +1286,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject
1249
1286
  #
1250
1287
  # @param timeout [Float] the maximum number of seconds to wait
1251
1288
  # @param agents [Array<Concurrent::Agent>] the Agents on which to wait
1252
- # @raise [Concurrent::TimeoutError] when timout is reached
1289
+ # @raise [Concurrent::TimeoutError] when timeout is reached
1253
1290
  # @return [Boolean] true if all actions complete before timeout
1254
1291
  #
1255
1292
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#482
@@ -3126,9 +3163,7 @@ module Concurrent::Concern; end
3126
3163
 
3127
3164
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/deprecation.rb#8
3128
3165
  module Concurrent::Concern::Deprecation
3129
- include ::Logger::Severity
3130
3166
  include ::Concurrent::Concern::Logging
3131
- extend ::Logger::Severity
3132
3167
  extend ::Concurrent::Concern::Logging
3133
3168
  extend ::Concurrent::Concern::Deprecation
3134
3169
 
@@ -3206,21 +3241,40 @@ end
3206
3241
 
3207
3242
  # Include where logging is needed
3208
3243
  #
3209
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#10
3244
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#9
3210
3245
  module Concurrent::Concern::Logging
3211
- include ::Logger::Severity
3212
-
3213
3246
  # Logs through {Concurrent.global_logger}, it can be overridden by setting @logger
3214
3247
  #
3215
- # @param level [Integer] one of Logger::Severity constants
3248
+ # @param level [Integer] one of Concurrent::Concern::Logging constants
3216
3249
  # @param progname [String] e.g. a path of an Actor
3217
3250
  # @param message [String, nil] when nil block is used to generate the message
3218
3251
  # @yieldreturn [String] a message
3219
3252
  #
3220
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#18
3253
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#19
3221
3254
  def log(level, progname, message = T.unsafe(nil), &block); end
3222
3255
  end
3223
3256
 
3257
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
3258
+ Concurrent::Concern::Logging::DEBUG = T.let(T.unsafe(nil), Integer)
3259
+
3260
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
3261
+ Concurrent::Concern::Logging::ERROR = T.let(T.unsafe(nil), Integer)
3262
+
3263
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
3264
+ Concurrent::Concern::Logging::FATAL = T.let(T.unsafe(nil), Integer)
3265
+
3266
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
3267
+ Concurrent::Concern::Logging::INFO = T.let(T.unsafe(nil), Integer)
3268
+
3269
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#12
3270
+ Concurrent::Concern::Logging::SEV_LABEL = T.let(T.unsafe(nil), Array)
3271
+
3272
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
3273
+ Concurrent::Concern::Logging::UNKNOWN = T.let(T.unsafe(nil), Integer)
3274
+
3275
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
3276
+ Concurrent::Concern::Logging::WARN = T.let(T.unsafe(nil), Integer)
3277
+
3224
3278
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#10
3225
3279
  module Concurrent::Concern::Obligation
3226
3280
  include ::Concurrent::Concern::Dereferenceable
@@ -3673,7 +3727,7 @@ end
3673
3727
  #
3674
3728
  # When a `Delay` is created its state is set to `pending`. The value and
3675
3729
  # reason are both `nil`. The first time the `#value` method is called the
3676
- # enclosed opration will be run and the calling thread will block. Other
3730
+ # enclosed operation will be run and the calling thread will block. Other
3677
3731
  # threads attempting to call `#value` will block as well. Once the operation
3678
3732
  # is complete the *value* will be set to the result of the operation or the
3679
3733
  # *reason* will be set to the raised exception, as appropriate. All threads
@@ -3939,7 +3993,6 @@ Concurrent::ExchangerImplementation = Concurrent::RubyExchanger
3939
3993
 
3940
3994
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#157
3941
3995
  module Concurrent::ExecutorService
3942
- include ::Logger::Severity
3943
3996
  include ::Concurrent::Concern::Logging
3944
3997
 
3945
3998
  # Submit a task to the executor for asynchronous processing.
@@ -4244,7 +4297,7 @@ Concurrent::GLOBAL_IMMEDIATE_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Immedia
4244
4297
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#22
4245
4298
  Concurrent::GLOBAL_IO_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Delay)
4246
4299
 
4247
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#106
4300
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#111
4248
4301
  Concurrent::GLOBAL_LOGGER = T.let(T.unsafe(nil), Concurrent::AtomicReference)
4249
4302
 
4250
4303
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#26
@@ -6006,7 +6059,7 @@ Concurrent::NULL = T.let(T.unsafe(nil), Object)
6006
6059
 
6007
6060
  # Suppresses all output when used for logging.
6008
6061
  #
6009
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#103
6062
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#108
6010
6063
  Concurrent::NULL_LOGGER = T.let(T.unsafe(nil), Proc)
6011
6064
 
6012
6065
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/options.rb#6
@@ -6117,7 +6170,7 @@ end
6117
6170
  # - if parent is *rejected* the child will be *pending* (but will ultimately be *rejected*)
6118
6171
  #
6119
6172
  # Promises are executed asynchronously from the main thread. By the time a
6120
- # child Promise finishes intialization it may be in a different state than its
6173
+ # child Promise finishes initialization it may be in a different state than its
6121
6174
  # parent (by the time a child is created its parent may have completed
6122
6175
  # execution and changed state). Despite being asynchronous, however, the order
6123
6176
  # of execution of Promise objects in a chain (or tree) is strictly defined.
@@ -9000,7 +9053,7 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService
9000
9053
  #
9001
9054
  # This is a no-op on some pool implementation (e.g. the Java one). The Ruby
9002
9055
  # pool will auto-prune each time a new job is posted. You will need to call
9003
- # this method explicitely in case your application post jobs in bursts (a
9056
+ # this method explicitly in case your application post jobs in bursts (a
9004
9057
  # lot of jobs and then nothing for long periods)
9005
9058
  #
9006
9059
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#118
@@ -9140,7 +9193,6 @@ Concurrent::RubyThreadPoolExecutor::DEFAULT_THREAD_IDLETIMEOUT = T.let(T.unsafe(
9140
9193
 
9141
9194
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#310
9142
9195
  class Concurrent::RubyThreadPoolExecutor::Worker
9143
- include ::Logger::Severity
9144
9196
  include ::Concurrent::Concern::Logging
9145
9197
 
9146
9198
  # @return [Worker] a new instance of Worker
@@ -9373,7 +9425,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar
9373
9425
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#163
9374
9426
  def executor; end
9375
9427
 
9376
- # The `delay` value given at instanciation.
9428
+ # The `delay` value given at instantiation.
9377
9429
  #
9378
9430
  # @return [Float] the initial delay.
9379
9431
  #
@@ -9538,7 +9590,6 @@ Concurrent::SemaphoreImplementation = Concurrent::MutexSemaphore
9538
9590
  #
9539
9591
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb#24
9540
9592
  module Concurrent::SerialExecutorService
9541
- include ::Logger::Severity
9542
9593
  include ::Concurrent::Concern::Logging
9543
9594
  include ::Concurrent::ExecutorService
9544
9595
 
@@ -9557,7 +9608,6 @@ end
9557
9608
  #
9558
9609
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#8
9559
9610
  class Concurrent::SerializedExecution < ::Concurrent::Synchronization::LockableObject
9560
- include ::Logger::Severity
9561
9611
  include ::Concurrent::Concern::Logging
9562
9612
 
9563
9613
  # @return [SerializedExecution] a new instance of SerializedExecution
@@ -9655,7 +9705,6 @@ end
9655
9705
  #
9656
9706
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb#12
9657
9707
  class Concurrent::SerializedExecutionDelegator < ::SimpleDelegator
9658
- include ::Logger::Severity
9659
9708
  include ::Concurrent::Concern::Logging
9660
9709
  include ::Concurrent::ExecutorService
9661
9710
  include ::Concurrent::SerialExecutorService
@@ -9993,7 +10042,7 @@ end
9993
10042
  # is received. This pattern has several issues. The thread itself is highly
9994
10043
  # susceptible to errors during processing. Also, the thread itself must be
9995
10044
  # constantly monitored and restarted should it die. `SingleThreadExecutor`
9996
- # encapsulates all these bahaviors. The task processor is highly resilient
10045
+ # encapsulates all these behaviors. The task processor is highly resilient
9997
10046
  # to errors from within tasks. Also, should the thread die it will
9998
10047
  # automatically be restarted.
9999
10048
  #
@@ -10455,7 +10504,7 @@ class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::Abstr
10455
10504
 
10456
10505
  # Creates methods for reading and writing to a instance variable with
10457
10506
  # volatile (Java) semantic as {.attr_volatile} does.
10458
- # The instance variable should be accessed oly through generated methods.
10507
+ # The instance variable should be accessed only through generated methods.
10459
10508
  # This method generates following methods: `value`, `value=(new_value) #=> new_value`,
10460
10509
  # `swap_value(new_value) #=> old_value`,
10461
10510
  # `compare_and_set_value(expected, value) #=> true || false`, `update_value(&block)`.
@@ -11571,19 +11620,37 @@ class Concurrent::Utility::ProcessorCounter
11571
11620
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#11
11572
11621
  def initialize; end
11573
11622
 
11574
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#20
11623
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#26
11624
+ def available_processor_count; end
11625
+
11626
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#41
11627
+ def cpu_quota; end
11628
+
11629
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#45
11630
+ def cpu_shares; end
11631
+
11632
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#22
11575
11633
  def physical_processor_count; end
11576
11634
 
11577
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#16
11635
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#18
11578
11636
  def processor_count; end
11579
11637
 
11580
11638
  private
11581
11639
 
11582
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#34
11640
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#104
11641
+ def compute_cpu_quota; end
11642
+
11643
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#124
11644
+ def compute_cpu_shares; end
11645
+
11646
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#59
11583
11647
  def compute_physical_processor_count; end
11584
11648
 
11585
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#26
11649
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#51
11586
11650
  def compute_processor_count; end
11651
+
11652
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#99
11653
+ def run(command); end
11587
11654
  end
11588
11655
 
11589
11656
  # source://concurrent-ruby//lib/concurrent-ruby/concurrent/version.rb#2
@@ -4,5 +4,6 @@
4
4
  # This is an autogenerated file for types exported from the `connection_pool` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem connection_pool`.
6
6
 
7
+
7
8
  # THIS IS AN EMPTY RBI FILE.
8
9
  # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -4,6 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `docile` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem docile`.
6
6
 
7
+
7
8
  # Docile keeps your Ruby DSLs tame and well-behaved.
8
9
  #
9
10
  # source://docile//lib/docile/version.rb#3
@@ -4,6 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `dotenv` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem dotenv`.
6
6
 
7
+
7
8
  # Shim to load environment variables from `.env files into `ENV`.
8
9
  #
9
10
  # source://dotenv//lib/dotenv/version.rb#1
@@ -216,51 +217,47 @@ end
216
217
  class Dotenv::Parser
217
218
  # @return [Parser] a new instance of Parser
218
219
  #
219
- # source://dotenv//lib/dotenv/parser.rb#40
220
+ # source://dotenv//lib/dotenv/parser.rb#44
220
221
  def initialize(string, overwrite: T.unsafe(nil)); end
221
222
 
222
- # source://dotenv//lib/dotenv/parser.rb#46
223
+ # source://dotenv//lib/dotenv/parser.rb#51
223
224
  def call; end
224
225
 
225
226
  private
226
227
 
227
- # source://dotenv//lib/dotenv/parser.rb#82
228
- def expand_newlines(value); end
228
+ # Determine if a variable is already defined and should not be overwritten.
229
+ #
230
+ # @return [Boolean]
231
+ #
232
+ # source://dotenv//lib/dotenv/parser.rb#74
233
+ def existing?(key); end
229
234
 
230
- # source://dotenv//lib/dotenv/parser.rb#62
231
- def parse_line(line); end
235
+ # source://dotenv//lib/dotenv/parser.rb#100
236
+ def expand_newlines(value); end
232
237
 
233
- # source://dotenv//lib/dotenv/parser.rb#70
238
+ # source://dotenv//lib/dotenv/parser.rb#79
234
239
  def parse_value(value); end
235
240
 
236
- # source://dotenv//lib/dotenv/parser.rb#104
237
- def perform_substitutions(value, maybe_quote); end
238
-
239
- # source://dotenv//lib/dotenv/parser.rb#78
241
+ # source://dotenv//lib/dotenv/parser.rb#96
240
242
  def unescape_characters(value); end
241
243
 
242
- # source://dotenv//lib/dotenv/parser.rb#94
243
- def unescape_value(value, maybe_quote); end
244
-
245
- # @return [Boolean]
246
- #
247
- # source://dotenv//lib/dotenv/parser.rb#90
248
- def variable_not_set?(line); end
249
-
250
244
  class << self
251
- # source://dotenv//lib/dotenv/parser.rb#35
245
+ # source://dotenv//lib/dotenv/parser.rb#39
252
246
  def call(*_arg0, **_arg1, &_arg2); end
253
247
 
254
248
  # Returns the value of attribute substitutions.
255
249
  #
256
- # source://dotenv//lib/dotenv/parser.rb#33
250
+ # source://dotenv//lib/dotenv/parser.rb#37
257
251
  def substitutions; end
258
252
  end
259
253
  end
260
254
 
261
- # source://dotenv//lib/dotenv/parser.rb#14
255
+ # source://dotenv//lib/dotenv/parser.rb#16
262
256
  Dotenv::Parser::LINE = T.let(T.unsafe(nil), Regexp)
263
257
 
258
+ # source://dotenv//lib/dotenv/parser.rb#78
259
+ Dotenv::Parser::QUOTED_STRING = T.let(T.unsafe(nil), Regexp)
260
+
264
261
  # An internal monitor to synchronize access to ENV in multi-threaded environments.
265
262
  #
266
263
  # source://dotenv//lib/dotenv.rb#12
@@ -277,7 +274,7 @@ module Dotenv::Substitutions; end
277
274
  module Dotenv::Substitutions::Command
278
275
  class << self
279
276
  # source://dotenv//lib/dotenv/substitutions/command.rb#23
280
- def call(value, _env, overwrite: T.unsafe(nil)); end
277
+ def call(value, _env); end
281
278
  end
282
279
  end
283
280
 
@@ -290,12 +287,7 @@ end
290
287
  module Dotenv::Substitutions::Variable
291
288
  class << self
292
289
  # source://dotenv//lib/dotenv/substitutions/variable.rb#21
293
- def call(value, env, overwrite: T.unsafe(nil)); end
294
-
295
- private
296
-
297
- # source://dotenv//lib/dotenv/substitutions/variable.rb#31
298
- def substitute(match, variable, env); end
290
+ def call(value, env); end
299
291
  end
300
292
  end
301
293
 
@@ -4,14 +4,19 @@
4
4
  # This is an autogenerated file for types exported from the `erubi` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem erubi`.
6
6
 
7
+
7
8
  # source://erubi//lib/erubi.rb#3
8
9
  module Erubi
10
+ private
11
+
12
+ def h(_arg0); end
13
+
9
14
  class << self
10
15
  def h(_arg0); end
11
16
  end
12
17
  end
13
18
 
14
- # source://erubi//lib/erubi.rb#54
19
+ # source://erubi//lib/erubi.rb#51
15
20
  class Erubi::Engine
16
21
  # Initialize a new Erubi::Engine. Options:
17
22
  # +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
@@ -42,64 +47,69 @@ class Erubi::Engine
42
47
  #
43
48
  # @return [Engine] a new instance of Engine
44
49
  #
45
- # source://erubi//lib/erubi.rb#94
50
+ # source://erubi//lib/erubi.rb#91
46
51
  def initialize(input, properties = T.unsafe(nil)); end
47
52
 
48
53
  # The variable name used for the buffer variable.
49
54
  #
50
- # source://erubi//lib/erubi.rb#65
55
+ # source://erubi//lib/erubi.rb#62
51
56
  def bufvar; end
52
57
 
53
58
  # The filename of the template, if one was given.
54
59
  #
55
- # source://erubi//lib/erubi.rb#62
60
+ # source://erubi//lib/erubi.rb#59
56
61
  def filename; end
57
62
 
58
63
  # The frozen ruby source code generated from the template, which can be evaled.
59
64
  #
60
- # source://erubi//lib/erubi.rb#59
65
+ # source://erubi//lib/erubi.rb#56
61
66
  def src; end
62
67
 
63
68
  private
64
69
 
70
+ # :nocov:
71
+ #
72
+ # source://erubi//lib/erubi.rb#209
73
+ def _dup_string_if_frozen(string); end
74
+
65
75
  # Add ruby code to the template
66
76
  #
67
- # source://erubi//lib/erubi.rb#226
77
+ # source://erubi//lib/erubi.rb#232
68
78
  def add_code(code); end
69
79
 
70
80
  # Add the given ruby expression result to the template,
71
81
  # escaping it based on the indicator given and escape flag.
72
82
  #
73
- # source://erubi//lib/erubi.rb#235
83
+ # source://erubi//lib/erubi.rb#241
74
84
  def add_expression(indicator, code); end
75
85
 
76
86
  # Add the result of Ruby expression to the template
77
87
  #
78
- # source://erubi//lib/erubi.rb#244
88
+ # source://erubi//lib/erubi.rb#250
79
89
  def add_expression_result(code); end
80
90
 
81
91
  # Add the escaped result of Ruby expression to the template
82
92
  #
83
- # source://erubi//lib/erubi.rb#249
93
+ # source://erubi//lib/erubi.rb#255
84
94
  def add_expression_result_escaped(code); end
85
95
 
86
96
  # Add the given postamble to the src. Can be overridden in subclasses
87
97
  # to make additional changes to src that depend on the current state.
88
98
  #
89
- # source://erubi//lib/erubi.rb#255
99
+ # source://erubi//lib/erubi.rb#261
90
100
  def add_postamble(postamble); end
91
101
 
92
102
  # Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
93
103
  # Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
94
104
  #
95
- # source://erubi//lib/erubi.rb#213
105
+ # source://erubi//lib/erubi.rb#222
96
106
  def add_text(text); end
97
107
 
98
108
  # Raise an exception, as the base engine class does not support handling other indicators.
99
109
  #
100
110
  # @raise [ArgumentError]
101
111
  #
102
- # source://erubi//lib/erubi.rb#261
112
+ # source://erubi//lib/erubi.rb#267
103
113
  def handle(indicator, code, tailch, rspace, lspace); end
104
114
 
105
115
  # Make sure that any current expression has been terminated.
@@ -107,7 +117,7 @@ class Erubi::Engine
107
117
  # the chain_appends option is used, expressions may not be
108
118
  # terminated.
109
119
  #
110
- # source://erubi//lib/erubi.rb#289
120
+ # source://erubi//lib/erubi.rb#295
111
121
  def terminate_expression; end
112
122
 
113
123
  # Make sure the buffer variable is the target of the next append
@@ -117,13 +127,13 @@ class Erubi::Engine
117
127
  # This method should only be called if the block will result in
118
128
  # code where << will append to the bufvar.
119
129
  #
120
- # source://erubi//lib/erubi.rb#271
130
+ # source://erubi//lib/erubi.rb#277
121
131
  def with_buffer; end
122
132
  end
123
133
 
124
134
  # The default regular expression used for scanning.
125
135
  #
126
- # source://erubi//lib/erubi.rb#56
136
+ # source://erubi//lib/erubi.rb#53
127
137
  Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
128
138
 
129
139
  # source://erubi//lib/erubi.rb#17