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
@@ -93,13 +93,13 @@ module Faraday
|
|
93
93
|
# @example With an URL argument
|
94
94
|
# Faraday.new 'http://faraday.com'
|
95
95
|
# # => Faraday::Connection to http://faraday.com
|
96
|
+
# @example With an URL argument and an options hash
|
97
|
+
# Faraday.new 'http://faraday.com', params: { page: 1 }
|
98
|
+
# # => Faraday::Connection to http://faraday.com?page=1
|
96
99
|
# @example With everything in an options hash
|
97
100
|
# Faraday.new url: 'http://faraday.com',
|
98
101
|
# params: { page: 1 }
|
99
102
|
# # => Faraday::Connection to http://faraday.com?page=1
|
100
|
-
# @example With an URL argument and an options hash
|
101
|
-
# Faraday.new 'http://faraday.com', params: { page: 1 }
|
102
|
-
# # => Faraday::Connection to http://faraday.com?page=1
|
103
103
|
# @option options
|
104
104
|
# @option options
|
105
105
|
# @option options
|
@@ -587,7 +587,7 @@ class Faraday::Connection
|
|
587
587
|
# replace the query values
|
588
588
|
# @return [URI]
|
589
589
|
#
|
590
|
-
# source://faraday//lib/faraday/connection.rb#
|
590
|
+
# source://faraday//lib/faraday/connection.rb#478
|
591
591
|
def build_exclusive_url(url = T.unsafe(nil), params = T.unsafe(nil), params_encoder = T.unsafe(nil)); end
|
592
592
|
|
593
593
|
# Creates and configures the request object.
|
@@ -596,7 +596,7 @@ class Faraday::Connection
|
|
596
596
|
# @return [Faraday::Request]
|
597
597
|
# @yield [Faraday::Request] if block given
|
598
598
|
#
|
599
|
-
# source://faraday//lib/faraday/connection.rb#
|
599
|
+
# source://faraday//lib/faraday/connection.rb#461
|
600
600
|
def build_request(method); end
|
601
601
|
|
602
602
|
# Takes a relative url for a request and combines it with the defaults
|
@@ -616,7 +616,7 @@ class Faraday::Connection
|
|
616
616
|
# @param url [String, URI, nil]
|
617
617
|
# @param extra_params [Hash]
|
618
618
|
#
|
619
|
-
# source://faraday//lib/faraday/connection.rb#
|
619
|
+
# source://faraday//lib/faraday/connection.rb#415
|
620
620
|
def build_url(url = T.unsafe(nil), extra_params = T.unsafe(nil)); end
|
621
621
|
|
622
622
|
# @return [Faraday::RackBuilder] Builder for this Connection.
|
@@ -653,10 +653,10 @@ class Faraday::Connection
|
|
653
653
|
# @api private
|
654
654
|
# @return [Faraday::Connection]
|
655
655
|
#
|
656
|
-
# source://faraday//lib/faraday/connection.rb#
|
656
|
+
# source://faraday//lib/faraday/connection.rb#499
|
657
657
|
def dup; end
|
658
658
|
|
659
|
-
# source://faraday//lib/faraday/connection.rb#
|
659
|
+
# source://faraday//lib/faraday/connection.rb#542
|
660
660
|
def find_default_proxy; end
|
661
661
|
|
662
662
|
# source://faraday//lib/faraday/connection.rb#199
|
@@ -691,7 +691,7 @@ class Faraday::Connection
|
|
691
691
|
# @yield a block to execute multiple requests.
|
692
692
|
#
|
693
693
|
# source://faraday//lib/faraday/connection.rb#317
|
694
|
-
def in_parallel(manager = T.unsafe(nil)); end
|
694
|
+
def in_parallel(manager = T.unsafe(nil), &block); end
|
695
695
|
|
696
696
|
# Determine if this Faraday::Connection can make parallel requests.
|
697
697
|
#
|
@@ -742,7 +742,7 @@ class Faraday::Connection
|
|
742
742
|
# @param value [String]
|
743
743
|
# @return [String] the new path prefix
|
744
744
|
#
|
745
|
-
# source://faraday//lib/faraday/connection.rb#
|
745
|
+
# source://faraday//lib/faraday/connection.rb#390
|
746
746
|
def path_prefix=(value); end
|
747
747
|
|
748
748
|
# source://forwardable/1.3.3/forwardable.rb#231
|
@@ -763,13 +763,13 @@ class Faraday::Connection
|
|
763
763
|
#
|
764
764
|
# @param new_value [Object]
|
765
765
|
#
|
766
|
-
# source://faraday//lib/faraday/connection.rb#
|
766
|
+
# source://faraday//lib/faraday/connection.rb#341
|
767
767
|
def proxy=(new_value); end
|
768
768
|
|
769
|
-
# source://faraday//lib/faraday/connection.rb#
|
769
|
+
# source://faraday//lib/faraday/connection.rb#550
|
770
770
|
def proxy_for_request(url); end
|
771
771
|
|
772
|
-
# source://faraday//lib/faraday/connection.rb#
|
772
|
+
# source://faraday//lib/faraday/connection.rb#522
|
773
773
|
def proxy_from_env(url); end
|
774
774
|
|
775
775
|
# source://faraday//lib/faraday/connection.rb#279
|
@@ -790,7 +790,7 @@ class Faraday::Connection
|
|
790
790
|
# @param headers [Hash, nil] unencoded HTTP header key/value pairs.
|
791
791
|
# @return [Faraday::Response]
|
792
792
|
#
|
793
|
-
# source://faraday//lib/faraday/connection.rb#
|
793
|
+
# source://faraday//lib/faraday/connection.rb#439
|
794
794
|
def run_request(method, url, body, headers); end
|
795
795
|
|
796
796
|
# source://forwardable/1.3.3/forwardable.rb#231
|
@@ -799,7 +799,7 @@ class Faraday::Connection
|
|
799
799
|
# source://forwardable/1.3.3/forwardable.rb#231
|
800
800
|
def scheme=(*args, **_arg1, &block); end
|
801
801
|
|
802
|
-
# source://faraday//lib/faraday/connection.rb#
|
802
|
+
# source://faraday//lib/faraday/connection.rb#379
|
803
803
|
def set_basic_auth(user, password); end
|
804
804
|
|
805
805
|
# @return [Hash] SSL options.
|
@@ -809,7 +809,7 @@ class Faraday::Connection
|
|
809
809
|
|
810
810
|
# @return [Boolean]
|
811
811
|
#
|
812
|
-
# source://faraday//lib/faraday/connection.rb#
|
812
|
+
# source://faraday//lib/faraday/connection.rb#560
|
813
813
|
def support_parallel?(adapter); end
|
814
814
|
|
815
815
|
# source://faraday//lib/faraday/connection.rb#199
|
@@ -836,7 +836,7 @@ class Faraday::Connection
|
|
836
836
|
# @param url [String, URI]
|
837
837
|
# @param encoder [Object]
|
838
838
|
#
|
839
|
-
# source://faraday//lib/faraday/connection.rb#
|
839
|
+
# source://faraday//lib/faraday/connection.rb#364
|
840
840
|
def url_prefix=(url, encoder = T.unsafe(nil)); end
|
841
841
|
|
842
842
|
# source://forwardable/1.3.3/forwardable.rb#231
|
@@ -851,7 +851,7 @@ class Faraday::Connection
|
|
851
851
|
# @yieldparam username [String] any username from URI
|
852
852
|
# @yieldparam password [String] any password from URI
|
853
853
|
#
|
854
|
-
# source://faraday//lib/faraday/connection.rb#
|
854
|
+
# source://faraday//lib/faraday/connection.rb#516
|
855
855
|
def with_uri_credentials(uri); end
|
856
856
|
end
|
857
857
|
|
@@ -1865,15 +1865,15 @@ class Faraday::RackBuilder
|
|
1865
1865
|
# methods to push onto the various positions in the stack:
|
1866
1866
|
#
|
1867
1867
|
# source://faraday//lib/faraday/rack_builder.rb#118
|
1868
|
-
def insert(index, *
|
1868
|
+
def insert(index, *_arg1, **_arg2, &_arg3); end
|
1869
1869
|
|
1870
1870
|
# source://faraday//lib/faraday/rack_builder.rb#127
|
1871
|
-
def insert_after(index, *
|
1871
|
+
def insert_after(index, *_arg1, **_arg2, &_arg3); end
|
1872
1872
|
|
1873
1873
|
# methods to push onto the various positions in the stack:
|
1874
1874
|
#
|
1875
1875
|
# source://faraday//lib/faraday/rack_builder.rb#118
|
1876
|
-
def insert_before(index, *
|
1876
|
+
def insert_before(index, *_arg1, **_arg2, &_arg3); end
|
1877
1877
|
|
1878
1878
|
# Locks the middleware stack to ensure no further modifications are made.
|
1879
1879
|
#
|
@@ -1886,19 +1886,19 @@ class Faraday::RackBuilder
|
|
1886
1886
|
def locked?; end
|
1887
1887
|
|
1888
1888
|
# source://faraday//lib/faraday/rack_builder.rb#101
|
1889
|
-
def request(key, *
|
1889
|
+
def request(key, *_arg1, **_arg2, &_arg3); end
|
1890
1890
|
|
1891
1891
|
# source://faraday//lib/faraday/rack_builder.rb#105
|
1892
|
-
def response(
|
1892
|
+
def response(*_arg0, **_arg1, &_arg2); end
|
1893
1893
|
|
1894
1894
|
# source://faraday//lib/faraday/rack_builder.rb#132
|
1895
|
-
def swap(index, *
|
1895
|
+
def swap(index, *_arg1, **_arg2, &_arg3); end
|
1896
1896
|
|
1897
1897
|
# source://faraday//lib/faraday/rack_builder.rb#170
|
1898
1898
|
def to_app; end
|
1899
1899
|
|
1900
1900
|
# source://faraday//lib/faraday/rack_builder.rb#91
|
1901
|
-
def use(klass, *
|
1901
|
+
def use(klass, *_arg1, **_arg2, &_arg3); end
|
1902
1902
|
|
1903
1903
|
private
|
1904
1904
|
|
@@ -1932,7 +1932,7 @@ class Faraday::RackBuilder
|
|
1932
1932
|
def raise_if_locked; end
|
1933
1933
|
|
1934
1934
|
# source://faraday//lib/faraday/rack_builder.rb#240
|
1935
|
-
def use_symbol(mod, key, *
|
1935
|
+
def use_symbol(mod, key, *_arg2, **_arg3, &_arg4); end
|
1936
1936
|
end
|
1937
1937
|
|
1938
1938
|
# borrowed from ActiveSupport::Dependencies::Reference &
|
@@ -2469,10 +2469,10 @@ end
|
|
2469
2469
|
#
|
2470
2470
|
# source://faraday//lib/faraday/response/raise_error.rb#7
|
2471
2471
|
class Faraday::Response::RaiseError < ::Faraday::Middleware
|
2472
|
-
# source://faraday//lib/faraday/response/raise_error.rb#
|
2472
|
+
# source://faraday//lib/faraday/response/raise_error.rb#25
|
2473
2473
|
def on_complete(env); end
|
2474
2474
|
|
2475
|
-
# source://faraday//lib/faraday/response/raise_error.rb#
|
2475
|
+
# source://faraday//lib/faraday/response/raise_error.rb#75
|
2476
2476
|
def query_params(env); end
|
2477
2477
|
|
2478
2478
|
# Returns a hash of response data with the following keys:
|
@@ -2484,14 +2484,17 @@ class Faraday::Response::RaiseError < ::Faraday::Middleware
|
|
2484
2484
|
# The `request` key is omitted when the middleware is explicitly
|
2485
2485
|
# configured with the option `include_request: false`.
|
2486
2486
|
#
|
2487
|
-
# source://faraday//lib/faraday/response/raise_error.rb#
|
2487
|
+
# source://faraday//lib/faraday/response/raise_error.rb#52
|
2488
2488
|
def response_values(env); end
|
2489
2489
|
end
|
2490
2490
|
|
2491
2491
|
# source://faraday//lib/faraday/response/raise_error.rb#9
|
2492
2492
|
Faraday::Response::RaiseError::ClientErrorStatuses = T.let(T.unsafe(nil), Range)
|
2493
2493
|
|
2494
|
-
# source://faraday//lib/faraday/response/raise_error.rb#
|
2494
|
+
# source://faraday//lib/faraday/response/raise_error.rb#11
|
2495
|
+
Faraday::Response::RaiseError::ClientErrorStatusesWithCustomExceptions = T.let(T.unsafe(nil), Hash)
|
2496
|
+
|
2497
|
+
# source://faraday//lib/faraday/response/raise_error.rb#23
|
2495
2498
|
Faraday::Response::RaiseError::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
|
2496
2499
|
|
2497
2500
|
# source://faraday//lib/faraday/response/raise_error.rb#10
|
@@ -2504,7 +2507,7 @@ class Faraday::SSLError < ::Faraday::Error; end
|
|
2504
2507
|
|
2505
2508
|
# SSL-related options.
|
2506
2509
|
#
|
2507
|
-
# source://faraday//lib/faraday/options/ssl_options.rb#
|
2510
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#53
|
2508
2511
|
class Faraday::SSLOptions < ::Faraday::Options
|
2509
2512
|
# @return [String] CA file
|
2510
2513
|
def ca_file; end
|
@@ -2530,6 +2533,12 @@ class Faraday::SSLOptions < ::Faraday::Options
|
|
2530
2533
|
# @return [OpenSSL::X509::Certificate] certificate (Excon only)
|
2531
2534
|
def certificate=(_); end
|
2532
2535
|
|
2536
|
+
# @return [String] cipher list in OpenSSL format (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D)
|
2537
|
+
def ciphers; end
|
2538
|
+
|
2539
|
+
# @return [String] cipher list in OpenSSL format (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D)
|
2540
|
+
def ciphers=(_); end
|
2541
|
+
|
2533
2542
|
# @return [String, OpenSSL::X509::Certificate] client certificate
|
2534
2543
|
def client_cert; end
|
2535
2544
|
|
@@ -2542,7 +2551,7 @@ class Faraday::SSLOptions < ::Faraday::Options
|
|
2542
2551
|
# @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key
|
2543
2552
|
def client_key=(_); end
|
2544
2553
|
|
2545
|
-
# source://faraday//lib/faraday/options/ssl_options.rb#
|
2554
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#64
|
2546
2555
|
def disable?; end
|
2547
2556
|
|
2548
2557
|
# @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D)
|
@@ -2569,7 +2578,7 @@ class Faraday::SSLOptions < ::Faraday::Options
|
|
2569
2578
|
# @return [Boolean] whether to verify SSL certificates or not
|
2570
2579
|
def verify=(_); end
|
2571
2580
|
|
2572
|
-
# source://faraday//lib/faraday/options/ssl_options.rb#
|
2581
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#59
|
2573
2582
|
def verify?; end
|
2574
2583
|
|
2575
2584
|
# @return [Integer] maximum depth for the certificate chain verification
|
@@ -2586,7 +2595,7 @@ class Faraday::SSLOptions < ::Faraday::Options
|
|
2586
2595
|
# during the handshake or not (see https://github.com/ruby/openssl/pull/60)
|
2587
2596
|
def verify_hostname=(_); end
|
2588
2597
|
|
2589
|
-
# source://faraday//lib/faraday/options/ssl_options.rb#
|
2598
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#69
|
2590
2599
|
def verify_hostname?; end
|
2591
2600
|
|
2592
2601
|
# @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html)
|