lunchmoney 1.4.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.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +7 -0
- data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
- data/.github/workflows/ci.yml +1 -1
- data/.ruby-version +1 -1
- data/.simplecov +1 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +65 -57
- data/lib/lunchmoney/api.rb +1 -0
- data/lib/lunchmoney/calls/categories.rb +0 -2
- data/lib/lunchmoney/calls/transactions.rb +0 -1
- data/lib/lunchmoney/deprecate.rb +35 -0
- data/lib/lunchmoney/objects/asset.rb +6 -1
- data/lib/lunchmoney/objects/plaid_account.rb +6 -1
- data/lib/lunchmoney/version.rb +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +5 -0
- data/sorbet/rbi/gems/{activesupport@7.2.1.rbi → activesupport@7.2.2.1.rbi} +109 -86
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.3.4.rbi → concurrent-ruby@1.3.5.rbi} +44 -32
- data/sorbet/rbi/gems/{connection_pool@2.4.1.rbi → connection_pool@2.5.0.rbi} +1 -0
- data/sorbet/rbi/gems/{dotenv@3.1.2.rbi → dotenv@3.1.7.rbi} +21 -29
- data/sorbet/rbi/gems/{erubi@1.13.0.rbi → erubi@1.13.1.rbi} +14 -9
- data/sorbet/rbi/gems/{faraday-net_http@3.1.1.rbi → faraday-net_http@3.4.0.rbi} +34 -34
- data/sorbet/rbi/gems/{faraday@2.10.1.rbi → faraday@2.12.2.rbi} +43 -34
- data/sorbet/rbi/gems/{i18n@1.14.5.rbi → i18n@1.14.7.rbi} +80 -80
- data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.10.2.rbi} +697 -146
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
- data/sorbet/rbi/gems/{logger@1.6.0.rbi → logger@1.6.6.rbi} +109 -72
- data/sorbet/rbi/gems/{minitest@5.25.1.rbi → minitest@5.25.5.rbi} +227 -220
- data/sorbet/rbi/gems/{mocha@2.4.5.rbi → mocha@2.7.1.rbi} +154 -118
- data/sorbet/rbi/gems/{net-http@0.4.1.rbi → net-http@0.6.0.rbi} +360 -181
- data/sorbet/rbi/gems/{parser@3.3.4.2.rbi → parser@3.3.7.1.rbi} +23 -17
- data/sorbet/rbi/gems/{prism@0.30.0.rbi → prism@1.4.0.rbi} +12440 -9920
- data/sorbet/rbi/gems/{rack@3.1.7.rbi → rack@3.1.9.rbi} +91 -83
- data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
- data/sorbet/rbi/gems/rbs@3.9.0.rbi +6978 -0
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.10.0.rbi} +193 -170
- data/sorbet/rbi/gems/{rexml@3.3.6.rbi → rexml@3.4.1.rbi} +541 -114
- data/sorbet/rbi/gems/{rubocop-ast@1.32.1.rbi → rubocop-ast@1.38.0.rbi} +1224 -622
- data/sorbet/rbi/gems/{rubocop-minitest@0.35.1.rbi → rubocop-minitest@0.36.0.rbi} +5 -5
- data/sorbet/rbi/gems/{rubocop-rails@2.26.0.rbi → rubocop-rails@2.29.1.rbi} +9412 -6480
- data/sorbet/rbi/gems/{rubocop-sorbet@0.8.5.rbi → rubocop-sorbet@0.8.7.rbi} +44 -1
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.71.2.rbi} +5606 -3467
- data/sorbet/rbi/gems/{securerandom@0.3.1.rbi → securerandom@0.4.1.rbi} +7 -5
- data/sorbet/rbi/gems/{spoom@1.4.2.rbi → spoom@1.6.1.rbi} +3315 -973
- data/sorbet/rbi/gems/{tapioca@0.16.1.rbi → tapioca@0.16.11.rbi} +300 -234
- data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.3.2.rbi} +58 -31
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/rbi/gems/{uri@0.13.0.rbi → uri@1.0.3.rbi} +278 -256
- data/sorbet/rbi/gems/{webmock@3.23.1.rbi → webmock@3.25.1.rbi} +101 -78
- data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +394 -235
- metadata +42 -44
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/rbi@0.1.14.rbi +0 -3305
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +0 -9
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
- /data/sorbet/rbi/gems/{bigdecimal@3.1.8.rbi → bigdecimal@3.1.9.rbi} +0 -0
- /data/sorbet/rbi/gems/{hashdiff@1.1.1.rbi → hashdiff@1.1.2.rbi} +0 -0
@@ -11,7 +11,6 @@
|
|
11
11
|
module Concurrent
|
12
12
|
extend ::Concurrent::Utility::EngineDetector
|
13
13
|
extend ::Concurrent::Utility::NativeExtensionLoader
|
14
|
-
extend ::Logger::Severity
|
15
14
|
extend ::Concurrent::Concern::Logging
|
16
15
|
extend ::Concurrent::Concern::Deprecation
|
17
16
|
|
@@ -189,15 +188,17 @@ module Concurrent
|
|
189
188
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#217
|
190
189
|
def cpu_shares; end
|
191
190
|
|
192
|
-
#
|
191
|
+
# Create a simple logger with provided level and output.
|
193
192
|
#
|
194
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
193
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#38
|
195
194
|
def create_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
|
196
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
|
+
#
|
197
199
|
# @deprecated
|
198
|
-
# @return [Logger] Logger with provided level and output.
|
199
200
|
#
|
200
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
201
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#73
|
201
202
|
def create_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
|
202
203
|
|
203
204
|
# Dataflow allows you to create a task that will be scheduled when all of its data dependencies are available.
|
@@ -269,10 +270,10 @@ module Concurrent
|
|
269
270
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#62
|
270
271
|
def global_io_executor; end
|
271
272
|
|
272
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
273
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#114
|
273
274
|
def global_logger; end
|
274
275
|
|
275
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
276
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#118
|
276
277
|
def global_logger=(value); end
|
277
278
|
|
278
279
|
# Global thread pool user for global *timers*.
|
@@ -354,14 +355,14 @@ module Concurrent
|
|
354
355
|
|
355
356
|
# Use logger created by #create_simple_logger to log concurrent-ruby messages.
|
356
357
|
#
|
357
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
358
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#66
|
358
359
|
def use_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
|
359
360
|
|
360
361
|
# Use logger created by #create_stdlib_logger to log concurrent-ruby messages.
|
361
362
|
#
|
362
363
|
# @deprecated
|
363
364
|
#
|
364
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
365
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#101
|
365
366
|
def use_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
|
366
367
|
end
|
367
368
|
end
|
@@ -466,7 +467,6 @@ Concurrent::AbstractExchanger::CANCEL = T.let(T.unsafe(nil), Object)
|
|
466
467
|
|
467
468
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#10
|
468
469
|
class Concurrent::AbstractExecutorService < ::Concurrent::Synchronization::LockableObject
|
469
|
-
include ::Logger::Severity
|
470
470
|
include ::Concurrent::Concern::Logging
|
471
471
|
include ::Concurrent::ExecutorService
|
472
472
|
include ::Concurrent::Concern::Deprecation
|
@@ -884,7 +884,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject
|
|
884
884
|
# hopelessly deadlock the Agent with no possibility of recovery.
|
885
885
|
#
|
886
886
|
# @param timeout [Float] the maximum number of seconds to wait
|
887
|
-
# @raise [Concurrent::TimeoutError] when
|
887
|
+
# @raise [Concurrent::TimeoutError] when timeout is reached
|
888
888
|
# @return [Boolean] true if all actions complete before timeout
|
889
889
|
#
|
890
890
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#377
|
@@ -1286,7 +1286,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject
|
|
1286
1286
|
#
|
1287
1287
|
# @param timeout [Float] the maximum number of seconds to wait
|
1288
1288
|
# @param agents [Array<Concurrent::Agent>] the Agents on which to wait
|
1289
|
-
# @raise [Concurrent::TimeoutError] when
|
1289
|
+
# @raise [Concurrent::TimeoutError] when timeout is reached
|
1290
1290
|
# @return [Boolean] true if all actions complete before timeout
|
1291
1291
|
#
|
1292
1292
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#482
|
@@ -3163,9 +3163,7 @@ module Concurrent::Concern; end
|
|
3163
3163
|
|
3164
3164
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/deprecation.rb#8
|
3165
3165
|
module Concurrent::Concern::Deprecation
|
3166
|
-
include ::Logger::Severity
|
3167
3166
|
include ::Concurrent::Concern::Logging
|
3168
|
-
extend ::Logger::Severity
|
3169
3167
|
extend ::Concurrent::Concern::Logging
|
3170
3168
|
extend ::Concurrent::Concern::Deprecation
|
3171
3169
|
|
@@ -3243,21 +3241,40 @@ end
|
|
3243
3241
|
|
3244
3242
|
# Include where logging is needed
|
3245
3243
|
#
|
3246
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
3244
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#9
|
3247
3245
|
module Concurrent::Concern::Logging
|
3248
|
-
include ::Logger::Severity
|
3249
|
-
|
3250
3246
|
# Logs through {Concurrent.global_logger}, it can be overridden by setting @logger
|
3251
3247
|
#
|
3252
|
-
# @param level [Integer] one of
|
3248
|
+
# @param level [Integer] one of Concurrent::Concern::Logging constants
|
3253
3249
|
# @param progname [String] e.g. a path of an Actor
|
3254
3250
|
# @param message [String, nil] when nil block is used to generate the message
|
3255
3251
|
# @yieldreturn [String] a message
|
3256
3252
|
#
|
3257
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
3253
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#19
|
3258
3254
|
def log(level, progname, message = T.unsafe(nil), &block); end
|
3259
3255
|
end
|
3260
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
|
+
|
3261
3278
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#10
|
3262
3279
|
module Concurrent::Concern::Obligation
|
3263
3280
|
include ::Concurrent::Concern::Dereferenceable
|
@@ -3710,7 +3727,7 @@ end
|
|
3710
3727
|
#
|
3711
3728
|
# When a `Delay` is created its state is set to `pending`. The value and
|
3712
3729
|
# reason are both `nil`. The first time the `#value` method is called the
|
3713
|
-
# enclosed
|
3730
|
+
# enclosed operation will be run and the calling thread will block. Other
|
3714
3731
|
# threads attempting to call `#value` will block as well. Once the operation
|
3715
3732
|
# is complete the *value* will be set to the result of the operation or the
|
3716
3733
|
# *reason* will be set to the raised exception, as appropriate. All threads
|
@@ -3976,7 +3993,6 @@ Concurrent::ExchangerImplementation = Concurrent::RubyExchanger
|
|
3976
3993
|
|
3977
3994
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#157
|
3978
3995
|
module Concurrent::ExecutorService
|
3979
|
-
include ::Logger::Severity
|
3980
3996
|
include ::Concurrent::Concern::Logging
|
3981
3997
|
|
3982
3998
|
# Submit a task to the executor for asynchronous processing.
|
@@ -4281,7 +4297,7 @@ Concurrent::GLOBAL_IMMEDIATE_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Immedia
|
|
4281
4297
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#22
|
4282
4298
|
Concurrent::GLOBAL_IO_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Delay)
|
4283
4299
|
|
4284
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
4300
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#111
|
4285
4301
|
Concurrent::GLOBAL_LOGGER = T.let(T.unsafe(nil), Concurrent::AtomicReference)
|
4286
4302
|
|
4287
4303
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#26
|
@@ -6043,7 +6059,7 @@ Concurrent::NULL = T.let(T.unsafe(nil), Object)
|
|
6043
6059
|
|
6044
6060
|
# Suppresses all output when used for logging.
|
6045
6061
|
#
|
6046
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#
|
6062
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#108
|
6047
6063
|
Concurrent::NULL_LOGGER = T.let(T.unsafe(nil), Proc)
|
6048
6064
|
|
6049
6065
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/options.rb#6
|
@@ -6154,7 +6170,7 @@ end
|
|
6154
6170
|
# - if parent is *rejected* the child will be *pending* (but will ultimately be *rejected*)
|
6155
6171
|
#
|
6156
6172
|
# Promises are executed asynchronously from the main thread. By the time a
|
6157
|
-
# child Promise finishes
|
6173
|
+
# child Promise finishes initialization it may be in a different state than its
|
6158
6174
|
# parent (by the time a child is created its parent may have completed
|
6159
6175
|
# execution and changed state). Despite being asynchronous, however, the order
|
6160
6176
|
# of execution of Promise objects in a chain (or tree) is strictly defined.
|
@@ -9037,7 +9053,7 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService
|
|
9037
9053
|
#
|
9038
9054
|
# This is a no-op on some pool implementation (e.g. the Java one). The Ruby
|
9039
9055
|
# pool will auto-prune each time a new job is posted. You will need to call
|
9040
|
-
# this method
|
9056
|
+
# this method explicitly in case your application post jobs in bursts (a
|
9041
9057
|
# lot of jobs and then nothing for long periods)
|
9042
9058
|
#
|
9043
9059
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#118
|
@@ -9177,7 +9193,6 @@ Concurrent::RubyThreadPoolExecutor::DEFAULT_THREAD_IDLETIMEOUT = T.let(T.unsafe(
|
|
9177
9193
|
|
9178
9194
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#310
|
9179
9195
|
class Concurrent::RubyThreadPoolExecutor::Worker
|
9180
|
-
include ::Logger::Severity
|
9181
9196
|
include ::Concurrent::Concern::Logging
|
9182
9197
|
|
9183
9198
|
# @return [Worker] a new instance of Worker
|
@@ -9410,7 +9425,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar
|
|
9410
9425
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#163
|
9411
9426
|
def executor; end
|
9412
9427
|
|
9413
|
-
# The `delay` value given at
|
9428
|
+
# The `delay` value given at instantiation.
|
9414
9429
|
#
|
9415
9430
|
# @return [Float] the initial delay.
|
9416
9431
|
#
|
@@ -9575,7 +9590,6 @@ Concurrent::SemaphoreImplementation = Concurrent::MutexSemaphore
|
|
9575
9590
|
#
|
9576
9591
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb#24
|
9577
9592
|
module Concurrent::SerialExecutorService
|
9578
|
-
include ::Logger::Severity
|
9579
9593
|
include ::Concurrent::Concern::Logging
|
9580
9594
|
include ::Concurrent::ExecutorService
|
9581
9595
|
|
@@ -9594,7 +9608,6 @@ end
|
|
9594
9608
|
#
|
9595
9609
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#8
|
9596
9610
|
class Concurrent::SerializedExecution < ::Concurrent::Synchronization::LockableObject
|
9597
|
-
include ::Logger::Severity
|
9598
9611
|
include ::Concurrent::Concern::Logging
|
9599
9612
|
|
9600
9613
|
# @return [SerializedExecution] a new instance of SerializedExecution
|
@@ -9692,7 +9705,6 @@ end
|
|
9692
9705
|
#
|
9693
9706
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb#12
|
9694
9707
|
class Concurrent::SerializedExecutionDelegator < ::SimpleDelegator
|
9695
|
-
include ::Logger::Severity
|
9696
9708
|
include ::Concurrent::Concern::Logging
|
9697
9709
|
include ::Concurrent::ExecutorService
|
9698
9710
|
include ::Concurrent::SerialExecutorService
|
@@ -10030,7 +10042,7 @@ end
|
|
10030
10042
|
# is received. This pattern has several issues. The thread itself is highly
|
10031
10043
|
# susceptible to errors during processing. Also, the thread itself must be
|
10032
10044
|
# constantly monitored and restarted should it die. `SingleThreadExecutor`
|
10033
|
-
# encapsulates all these
|
10045
|
+
# encapsulates all these behaviors. The task processor is highly resilient
|
10034
10046
|
# to errors from within tasks. Also, should the thread die it will
|
10035
10047
|
# automatically be restarted.
|
10036
10048
|
#
|
@@ -10492,7 +10504,7 @@ class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::Abstr
|
|
10492
10504
|
|
10493
10505
|
# Creates methods for reading and writing to a instance variable with
|
10494
10506
|
# volatile (Java) semantic as {.attr_volatile} does.
|
10495
|
-
# The instance variable should be accessed
|
10507
|
+
# The instance variable should be accessed only through generated methods.
|
10496
10508
|
# This method generates following methods: `value`, `value=(new_value) #=> new_value`,
|
10497
10509
|
# `swap_value(new_value) #=> old_value`,
|
10498
10510
|
# `compare_and_set_value(expected, value) #=> true || false`, `update_value(&block)`.
|
@@ -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 `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#
|
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#
|
223
|
+
# source://dotenv//lib/dotenv/parser.rb#51
|
223
224
|
def call; end
|
224
225
|
|
225
226
|
private
|
226
227
|
|
227
|
-
#
|
228
|
-
|
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#
|
231
|
-
def
|
235
|
+
# source://dotenv//lib/dotenv/parser.rb#100
|
236
|
+
def expand_newlines(value); end
|
232
237
|
|
233
|
-
# source://dotenv//lib/dotenv/parser.rb#
|
238
|
+
# source://dotenv//lib/dotenv/parser.rb#79
|
234
239
|
def parse_value(value); end
|
235
240
|
|
236
|
-
# source://dotenv//lib/dotenv/parser.rb#
|
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#
|
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#
|
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#
|
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
|
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
|
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
|
|
@@ -67,44 +67,49 @@ class Erubi::Engine
|
|
67
67
|
|
68
68
|
private
|
69
69
|
|
70
|
+
# :nocov:
|
71
|
+
#
|
72
|
+
# source://erubi//lib/erubi.rb#209
|
73
|
+
def _dup_string_if_frozen(string); end
|
74
|
+
|
70
75
|
# Add ruby code to the template
|
71
76
|
#
|
72
|
-
# source://erubi//lib/erubi.rb#
|
77
|
+
# source://erubi//lib/erubi.rb#232
|
73
78
|
def add_code(code); end
|
74
79
|
|
75
80
|
# Add the given ruby expression result to the template,
|
76
81
|
# escaping it based on the indicator given and escape flag.
|
77
82
|
#
|
78
|
-
# source://erubi//lib/erubi.rb#
|
83
|
+
# source://erubi//lib/erubi.rb#241
|
79
84
|
def add_expression(indicator, code); end
|
80
85
|
|
81
86
|
# Add the result of Ruby expression to the template
|
82
87
|
#
|
83
|
-
# source://erubi//lib/erubi.rb#
|
88
|
+
# source://erubi//lib/erubi.rb#250
|
84
89
|
def add_expression_result(code); end
|
85
90
|
|
86
91
|
# Add the escaped result of Ruby expression to the template
|
87
92
|
#
|
88
|
-
# source://erubi//lib/erubi.rb#
|
93
|
+
# source://erubi//lib/erubi.rb#255
|
89
94
|
def add_expression_result_escaped(code); end
|
90
95
|
|
91
96
|
# Add the given postamble to the src. Can be overridden in subclasses
|
92
97
|
# to make additional changes to src that depend on the current state.
|
93
98
|
#
|
94
|
-
# source://erubi//lib/erubi.rb#
|
99
|
+
# source://erubi//lib/erubi.rb#261
|
95
100
|
def add_postamble(postamble); end
|
96
101
|
|
97
102
|
# Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
|
98
103
|
# Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
|
99
104
|
#
|
100
|
-
# source://erubi//lib/erubi.rb#
|
105
|
+
# source://erubi//lib/erubi.rb#222
|
101
106
|
def add_text(text); end
|
102
107
|
|
103
108
|
# Raise an exception, as the base engine class does not support handling other indicators.
|
104
109
|
#
|
105
110
|
# @raise [ArgumentError]
|
106
111
|
#
|
107
|
-
# source://erubi//lib/erubi.rb#
|
112
|
+
# source://erubi//lib/erubi.rb#267
|
108
113
|
def handle(indicator, code, tailch, rspace, lspace); end
|
109
114
|
|
110
115
|
# Make sure that any current expression has been terminated.
|
@@ -112,7 +117,7 @@ class Erubi::Engine
|
|
112
117
|
# the chain_appends option is used, expressions may not be
|
113
118
|
# terminated.
|
114
119
|
#
|
115
|
-
# source://erubi//lib/erubi.rb#
|
120
|
+
# source://erubi//lib/erubi.rb#295
|
116
121
|
def terminate_expression; end
|
117
122
|
|
118
123
|
# Make sure the buffer variable is the target of the next append
|
@@ -122,7 +127,7 @@ class Erubi::Engine
|
|
122
127
|
# This method should only be called if the block will result in
|
123
128
|
# code where << will append to the bufvar.
|
124
129
|
#
|
125
|
-
# source://erubi//lib/erubi.rb#
|
130
|
+
# source://erubi//lib/erubi.rb#277
|
126
131
|
def with_buffer; end
|
127
132
|
end
|
128
133
|
|
@@ -8,81 +8,81 @@
|
|
8
8
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#12
|
9
9
|
module Faraday
|
10
10
|
class << self
|
11
|
-
# source://faraday/2.
|
11
|
+
# source://faraday/2.12.1/lib/faraday.rb#55
|
12
12
|
def default_adapter; end
|
13
13
|
|
14
|
-
# source://faraday/2.
|
14
|
+
# source://faraday/2.12.1/lib/faraday.rb#102
|
15
15
|
def default_adapter=(adapter); end
|
16
16
|
|
17
|
-
# source://faraday/2.
|
17
|
+
# source://faraday/2.12.1/lib/faraday.rb#59
|
18
18
|
def default_adapter_options; end
|
19
19
|
|
20
|
-
# source://faraday/2.
|
20
|
+
# source://faraday/2.12.1/lib/faraday.rb#59
|
21
21
|
def default_adapter_options=(_arg0); end
|
22
22
|
|
23
|
-
# source://faraday/2.
|
23
|
+
# source://faraday/2.12.1/lib/faraday.rb#120
|
24
24
|
def default_connection; end
|
25
25
|
|
26
|
-
# source://faraday/2.
|
26
|
+
# source://faraday/2.12.1/lib/faraday.rb#62
|
27
27
|
def default_connection=(_arg0); end
|
28
28
|
|
29
|
-
# source://faraday/2.
|
29
|
+
# source://faraday/2.12.1/lib/faraday.rb#127
|
30
30
|
def default_connection_options; end
|
31
31
|
|
32
|
-
# source://faraday/2.
|
32
|
+
# source://faraday/2.12.1/lib/faraday.rb#134
|
33
33
|
def default_connection_options=(options); end
|
34
34
|
|
35
|
-
# source://faraday/2.
|
35
|
+
# source://faraday/2.12.1/lib/faraday.rb#67
|
36
36
|
def ignore_env_proxy; end
|
37
37
|
|
38
|
-
# source://faraday/2.
|
38
|
+
# source://faraday/2.12.1/lib/faraday.rb#67
|
39
39
|
def ignore_env_proxy=(_arg0); end
|
40
40
|
|
41
|
-
# source://faraday/2.
|
41
|
+
# source://faraday/2.12.1/lib/faraday.rb#46
|
42
42
|
def lib_path; end
|
43
43
|
|
44
|
-
# source://faraday/2.
|
44
|
+
# source://faraday/2.12.1/lib/faraday.rb#46
|
45
45
|
def lib_path=(_arg0); end
|
46
46
|
|
47
|
-
# source://faraday/2.
|
47
|
+
# source://faraday/2.12.1/lib/faraday.rb#96
|
48
48
|
def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
49
49
|
|
50
|
-
# source://faraday/2.
|
50
|
+
# source://faraday/2.12.1/lib/faraday.rb#107
|
51
51
|
def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
|
52
52
|
|
53
|
-
# source://faraday/2.
|
53
|
+
# source://faraday/2.12.1/lib/faraday.rb#42
|
54
54
|
def root_path; end
|
55
55
|
|
56
|
-
# source://faraday/2.
|
56
|
+
# source://faraday/2.12.1/lib/faraday.rb#42
|
57
57
|
def root_path=(_arg0); end
|
58
58
|
|
59
59
|
private
|
60
60
|
|
61
|
-
# source://faraday/2.
|
61
|
+
# source://faraday/2.12.1/lib/faraday.rb#143
|
62
62
|
def method_missing(name, *args, &block); end
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#13
|
67
67
|
class Faraday::Adapter
|
68
|
-
# source://faraday/2.
|
68
|
+
# source://faraday/2.12.1/lib/faraday/adapter.rb#28
|
69
69
|
def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
|
70
70
|
|
71
|
-
# source://faraday/2.
|
71
|
+
# source://faraday/2.12.1/lib/faraday/adapter.rb#55
|
72
72
|
def call(env); end
|
73
73
|
|
74
|
-
# source://faraday/2.
|
74
|
+
# source://faraday/2.12.1/lib/faraday/adapter.rb#50
|
75
75
|
def close; end
|
76
76
|
|
77
|
-
# source://faraday/2.
|
77
|
+
# source://faraday/2.12.1/lib/faraday/adapter.rb#41
|
78
78
|
def connection(env); end
|
79
79
|
|
80
80
|
private
|
81
81
|
|
82
|
-
# source://faraday/2.
|
82
|
+
# source://faraday/2.12.1/lib/faraday/adapter.rb#85
|
83
83
|
def request_timeout(type, options); end
|
84
84
|
|
85
|
-
# source://faraday/2.
|
85
|
+
# source://faraday/2.12.1/lib/faraday/adapter.rb#62
|
86
86
|
def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end
|
87
87
|
end
|
88
88
|
|
@@ -96,7 +96,7 @@ class Faraday::Adapter::NetHttp < ::Faraday::Adapter
|
|
96
96
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#43
|
97
97
|
def build_connection(env); end
|
98
98
|
|
99
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
99
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#63
|
100
100
|
def call(env); end
|
101
101
|
|
102
102
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#50
|
@@ -104,36 +104,36 @@ class Faraday::Adapter::NetHttp < ::Faraday::Adapter
|
|
104
104
|
|
105
105
|
private
|
106
106
|
|
107
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
107
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#152
|
108
108
|
def configure_request(http, req); end
|
109
109
|
|
110
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
110
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#131
|
111
111
|
def configure_ssl(http, ssl); end
|
112
112
|
|
113
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
113
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#79
|
114
114
|
def create_request(env); end
|
115
115
|
|
116
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
116
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#189
|
117
117
|
def encoded_body(http_response); end
|
118
118
|
|
119
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
119
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#95
|
120
120
|
def perform_request(http, env); end
|
121
121
|
|
122
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
122
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#109
|
123
123
|
def request_with_wrapped_block(http, env, &block); end
|
124
124
|
|
125
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
125
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#121
|
126
126
|
def save_http_response(env, http_response); end
|
127
127
|
|
128
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
128
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#172
|
129
129
|
def ssl_cert_store(ssl); end
|
130
130
|
|
131
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
131
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#179
|
132
132
|
def ssl_verify_mode(ssl); end
|
133
133
|
|
134
134
|
# @return [Boolean]
|
135
135
|
#
|
136
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
136
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#201
|
137
137
|
def verify_hostname_enabled?(http, ssl); end
|
138
138
|
end
|
139
139
|
|