lunchmoney 1.3.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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.simplecov +1 -2
- data/Gemfile +2 -3
- data/Gemfile.lock +66 -68
- data/lib/lunchmoney/objects/transaction.rb +9 -1
- data/lib/lunchmoney/version.rb +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +31 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/gems/{activesupport@7.1.3.2.rbi → activesupport@7.2.1.rbi} +1345 -1253
- data/sorbet/rbi/gems/{addressable@2.8.6.rbi → addressable@2.8.7.rbi} +2 -1
- data/sorbet/rbi/gems/{bigdecimal@3.1.7.rbi → bigdecimal@3.1.8.rbi} +1 -0
- data/sorbet/rbi/gems/{chef-utils@18.4.2.rbi → chef-utils@18.5.0.rbi} +1 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.3.rbi → concurrent-ruby@1.3.4.rbi} +64 -9
- data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +1 -0
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
- data/sorbet/rbi/gems/{faraday-net_http@3.1.0.rbi → faraday-net_http@3.1.1.rbi} +36 -35
- data/sorbet/rbi/gems/{faraday@2.9.0.rbi → faraday@2.10.1.rbi} +79 -33
- data/sorbet/rbi/gems/{hashdiff@1.1.0.rbi → hashdiff@1.1.1.rbi} +3 -2
- data/sorbet/rbi/gems/{i18n@1.14.4.rbi → i18n@1.14.5.rbi} +43 -14
- data/sorbet/rbi/gems/logger@1.6.0.rbi +903 -0
- data/sorbet/rbi/gems/{minitest@5.22.3.rbi → minitest@5.25.1.rbi} +245 -235
- data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.2.8.rbi} +1 -0
- data/sorbet/rbi/gems/{mocha@2.2.0.rbi → mocha@2.4.5.rbi} +36 -47
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
- data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.4.2.rbi} +233 -186
- data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@0.30.0.rbi} +5670 -4445
- data/sorbet/rbi/gems/{public_suffix@5.0.4.rbi → public_suffix@6.0.1.rbi} +1 -0
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +34 -33
- data/sorbet/rbi/gems/{rack@3.0.10.rbi → rack@3.1.7.rbi} +694 -987
- data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
- data/sorbet/rbi/gems/{rbi@0.1.13.rbi → rbi@0.1.14.rbi} +865 -638
- data/sorbet/rbi/gems/{regexp_parser@2.9.1.rbi → regexp_parser@2.9.2.rbi} +2 -2
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.6.rbi} +383 -245
- data/sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi → rubocop-ast@1.32.1.rbi} +383 -337
- data/sorbet/rbi/gems/{rubocop-minitest@0.35.0.rbi → rubocop-minitest@0.35.1.rbi} +11 -8
- data/sorbet/rbi/gems/{rubocop-rails@2.24.1.rbi → rubocop-rails@2.26.0.rbi} +604 -275
- data/sorbet/rbi/gems/{rubocop-sorbet@0.8.3.rbi → rubocop-sorbet@0.8.5.rbi} +125 -67
- data/sorbet/rbi/gems/{rubocop@1.63.5.rbi → rubocop@1.65.1.rbi} +1722 -1408
- data/sorbet/rbi/gems/securerandom@0.3.1.rbi +73 -0
- data/sorbet/rbi/gems/{spoom@1.3.2.rbi → spoom@1.4.2.rbi} +2377 -1866
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/{tapioca@0.14.1.rbi → tapioca@0.16.1.rbi} +274 -253
- data/sorbet/rbi/gems/{toys-core@0.15.5.rbi → toys-core@0.15.6.rbi} +1 -0
- data/sorbet/rbi/gems/{toys@0.15.5.rbi → toys@0.15.6.rbi} +4 -3
- data/sorbet/rbi/gems/{vcr@6.2.0.rbi → vcr@6.3.1.rbi} +72 -68
- data/sorbet/rbi/gems/{webmock@3.23.0.rbi → webmock@3.23.1.rbi} +1 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
- metadata +43 -44
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3426
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
- data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +0 -93
- data/sorbet/rbi/gems/pry-sorbet@0.2.1.rbi +0 -966
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10077
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `toys-core` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem toys-core`.
|
6
6
|
|
7
|
+
|
7
8
|
# Toys is a configurable command line tool. Write commands in config files
|
8
9
|
# using a simple DSL, and Toys will provide the command line executable and
|
9
10
|
# take care of all the details such as argument parsing, online help, and error
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `toys` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem toys`.
|
6
6
|
|
7
|
+
|
7
8
|
# Toys is a configurable command line tool. Write commands in config files
|
8
9
|
# using a simple DSL, and Toys will provide the command line executable and
|
9
10
|
# take care of all the details such as argument parsing, online help, and error
|
@@ -33,13 +34,13 @@
|
|
33
34
|
# source://toys//lib/toys/version.rb#3
|
34
35
|
module Toys
|
35
36
|
class << self
|
36
|
-
# source://toys-core/0.15.
|
37
|
+
# source://toys-core/0.15.6/lib/toys/dsl/base.rb#28
|
37
38
|
def Tool(*args, name: T.unsafe(nil), base: T.unsafe(nil)); end
|
38
39
|
|
39
|
-
# source://toys-core/0.15.
|
40
|
+
# source://toys-core/0.15.6/lib/toys-core.rb#114
|
40
41
|
def executable_path; end
|
41
42
|
|
42
|
-
# source://toys-core/0.15.
|
43
|
+
# source://toys-core/0.15.6/lib/toys-core.rb#114
|
43
44
|
def executable_path=(_arg0); end
|
44
45
|
end
|
45
46
|
end
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `vcr` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem vcr`.
|
6
6
|
|
7
|
+
|
7
8
|
# The main entry point for VCR.
|
8
9
|
#
|
9
10
|
# @note This module is extended onto itself; thus, the methods listed
|
@@ -1816,6 +1817,9 @@ class VCR::Errors::UnhandledHTTPRequestError < ::VCR::Errors::Error
|
|
1816
1817
|
# source://vcr//lib/vcr/errors.rb#118
|
1817
1818
|
def current_matchers; end
|
1818
1819
|
|
1820
|
+
# source://vcr//lib/vcr/errors.rb#77
|
1821
|
+
def documentation_version_slug; end
|
1822
|
+
|
1819
1823
|
# source://vcr//lib/vcr/errors.rb#183
|
1820
1824
|
def format_bullet_point(lines, index); end
|
1821
1825
|
|
@@ -1830,7 +1834,7 @@ class VCR::Errors::UnhandledHTTPRequestError < ::VCR::Errors::Error
|
|
1830
1834
|
|
1831
1835
|
# @return [Boolean]
|
1832
1836
|
#
|
1833
|
-
# source://vcr//lib/vcr/errors.rb#
|
1837
|
+
# source://vcr//lib/vcr/errors.rb#311
|
1834
1838
|
def has_used_interaction_matching?; end
|
1835
1839
|
|
1836
1840
|
# @return [Boolean]
|
@@ -1843,25 +1847,25 @@ class VCR::Errors::UnhandledHTTPRequestError < ::VCR::Errors::Error
|
|
1843
1847
|
# source://vcr//lib/vcr/errors.rb#110
|
1844
1848
|
def match_request_on_headers?; end
|
1845
1849
|
|
1846
|
-
# source://vcr//lib/vcr/errors.rb#
|
1850
|
+
# source://vcr//lib/vcr/errors.rb#315
|
1847
1851
|
def match_requests_on_suggestion; end
|
1848
1852
|
|
1849
|
-
# source://vcr//lib/vcr/errors.rb#
|
1853
|
+
# source://vcr//lib/vcr/errors.rb#285
|
1850
1854
|
def no_cassette_suggestions; end
|
1851
1855
|
|
1852
|
-
# source://vcr//lib/vcr/errors.rb#
|
1853
|
-
def
|
1856
|
+
# source://vcr//lib/vcr/errors.rb#303
|
1857
|
+
def none_suggestion; end
|
1854
1858
|
|
1855
|
-
# source://vcr//lib/vcr/errors.rb#
|
1856
|
-
def
|
1859
|
+
# source://vcr//lib/vcr/errors.rb#291
|
1860
|
+
def record_mode_suggestion; end
|
1857
1861
|
|
1858
1862
|
# source://vcr//lib/vcr/errors.rb#94
|
1859
1863
|
def request_description; end
|
1860
1864
|
|
1861
|
-
# source://vcr//lib/vcr/errors.rb#
|
1865
|
+
# source://vcr//lib/vcr/errors.rb#267
|
1862
1866
|
def suggestion_for(key); end
|
1863
1867
|
|
1864
|
-
# source://vcr//lib/vcr/errors.rb#
|
1868
|
+
# source://vcr//lib/vcr/errors.rb#274
|
1865
1869
|
def suggestions; end
|
1866
1870
|
end
|
1867
1871
|
|
@@ -1898,17 +1902,17 @@ class VCR::Errors::UnusedHTTPInteractionError < ::VCR::Errors::Error; end
|
|
1898
1902
|
# @attr response [Response] the response
|
1899
1903
|
# @attr recorded_at [Time] when this HTTP interaction was recorded
|
1900
1904
|
#
|
1901
|
-
# source://vcr//lib/vcr/structs.rb#
|
1905
|
+
# source://vcr//lib/vcr/structs.rb#504
|
1902
1906
|
class VCR::HTTPInteraction < ::Struct
|
1903
1907
|
# @return [HTTPInteraction] a new instance of HTTPInteraction
|
1904
1908
|
#
|
1905
|
-
# source://vcr//lib/vcr/structs.rb#
|
1909
|
+
# source://vcr//lib/vcr/structs.rb#505
|
1906
1910
|
def initialize(*args); end
|
1907
1911
|
|
1908
1912
|
# @return [HookAware] an instance with additional capabilities
|
1909
1913
|
# suitable for use in `before_record` and `before_playback` hooks.
|
1910
1914
|
#
|
1911
|
-
# source://vcr//lib/vcr/structs.rb#
|
1915
|
+
# source://vcr//lib/vcr/structs.rb#535
|
1912
1916
|
def hook_aware; end
|
1913
1917
|
|
1914
1918
|
# Builds a serializable hash from the HTTP interaction data.
|
@@ -1917,7 +1921,7 @@ class VCR::HTTPInteraction < ::Struct
|
|
1917
1921
|
# and can be easily serialized.
|
1918
1922
|
# @see HTTPInteraction.from_hash
|
1919
1923
|
#
|
1920
|
-
# source://vcr//lib/vcr/structs.rb#
|
1924
|
+
# source://vcr//lib/vcr/structs.rb#515
|
1921
1925
|
def to_hash; end
|
1922
1926
|
|
1923
1927
|
class << self
|
@@ -1926,7 +1930,7 @@ class VCR::HTTPInteraction < ::Struct
|
|
1926
1930
|
# @param hash [Hash] the hash to use to construct the instance.
|
1927
1931
|
# @return [HTTPInteraction] the HTTP interaction
|
1928
1932
|
#
|
1929
|
-
# source://vcr//lib/vcr/structs.rb#
|
1933
|
+
# source://vcr//lib/vcr/structs.rb#527
|
1930
1934
|
def from_hash(hash); end
|
1931
1935
|
end
|
1932
1936
|
end
|
@@ -1934,11 +1938,11 @@ end
|
|
1934
1938
|
# Decorates an {HTTPInteraction} with additional methods useful
|
1935
1939
|
# for a `before_record` or `before_playback` hook.
|
1936
1940
|
#
|
1937
|
-
# source://vcr//lib/vcr/structs.rb#
|
1941
|
+
# source://vcr//lib/vcr/structs.rb#541
|
1938
1942
|
class VCR::HTTPInteraction::HookAware
|
1939
1943
|
# @return [HookAware] a new instance of HookAware
|
1940
1944
|
#
|
1941
|
-
# source://vcr//lib/vcr/structs.rb#
|
1945
|
+
# source://vcr//lib/vcr/structs.rb#542
|
1942
1946
|
def initialize(http_interaction); end
|
1943
1947
|
|
1944
1948
|
# Replaces a string in any part of the HTTP interaction (headers, request body,
|
@@ -1947,7 +1951,7 @@ class VCR::HTTPInteraction::HookAware
|
|
1947
1951
|
# @param text [#to_s] the text to replace
|
1948
1952
|
# @param replacement_text [#to_s] the text to put in its place
|
1949
1953
|
#
|
1950
|
-
# source://vcr//lib/vcr/structs.rb#
|
1954
|
+
# source://vcr//lib/vcr/structs.rb#566
|
1951
1955
|
def filter!(text, replacement_text); end
|
1952
1956
|
|
1953
1957
|
# Flags the HTTP interaction so that VCR ignores it. This is useful in
|
@@ -1956,21 +1960,21 @@ class VCR::HTTPInteraction::HookAware
|
|
1956
1960
|
#
|
1957
1961
|
# @see #ignored?
|
1958
1962
|
#
|
1959
|
-
# source://vcr//lib/vcr/structs.rb#
|
1963
|
+
# source://vcr//lib/vcr/structs.rb#551
|
1960
1964
|
def ignore!; end
|
1961
1965
|
|
1962
1966
|
# @return [Boolean] whether or not this HTTP interaction should be ignored.
|
1963
1967
|
# @see #ignore!
|
1964
1968
|
#
|
1965
|
-
# source://vcr//lib/vcr/structs.rb#
|
1969
|
+
# source://vcr//lib/vcr/structs.rb#557
|
1966
1970
|
def ignored?; end
|
1967
1971
|
|
1968
1972
|
private
|
1969
1973
|
|
1970
|
-
# source://vcr//lib/vcr/structs.rb#
|
1974
|
+
# source://vcr//lib/vcr/structs.rb#587
|
1971
1975
|
def filter_hash!(hash, text, replacement_text); end
|
1972
1976
|
|
1973
|
-
# source://vcr//lib/vcr/structs.rb#
|
1977
|
+
# source://vcr//lib/vcr/structs.rb#574
|
1974
1978
|
def filter_object!(object, text, replacement_text); end
|
1975
1979
|
end
|
1976
1980
|
|
@@ -2407,15 +2411,15 @@ module VCR::Normalizers; end
|
|
2407
2411
|
module VCR::Normalizers::Body
|
2408
2412
|
mixes_in_class_methods ::VCR::Normalizers::Body::ClassMethods
|
2409
2413
|
|
2410
|
-
# source://vcr//lib/vcr/structs.rb#
|
2414
|
+
# source://vcr//lib/vcr/structs.rb#64
|
2411
2415
|
def initialize(*args); end
|
2412
2416
|
|
2413
2417
|
private
|
2414
2418
|
|
2415
|
-
# source://vcr//lib/vcr/structs.rb#
|
2419
|
+
# source://vcr//lib/vcr/structs.rb#95
|
2416
2420
|
def base_body_hash(body); end
|
2417
2421
|
|
2418
|
-
# source://vcr//lib/vcr/structs.rb#
|
2422
|
+
# source://vcr//lib/vcr/structs.rb#81
|
2419
2423
|
def serializable_body; end
|
2420
2424
|
|
2421
2425
|
class << self
|
@@ -2437,34 +2441,34 @@ module VCR::Normalizers::Body::ClassMethods
|
|
2437
2441
|
def force_encode_string(string, encoding); end
|
2438
2442
|
|
2439
2443
|
# source://vcr//lib/vcr/structs.rb#34
|
2440
|
-
def try_encode_string(string,
|
2444
|
+
def try_encode_string(string, encoding_name); end
|
2441
2445
|
end
|
2442
2446
|
|
2443
2447
|
# @private
|
2444
2448
|
#
|
2445
|
-
# source://vcr//lib/vcr/structs.rb#
|
2449
|
+
# source://vcr//lib/vcr/structs.rb#106
|
2446
2450
|
module VCR::Normalizers::Header
|
2447
|
-
# source://vcr//lib/vcr/structs.rb#
|
2451
|
+
# source://vcr//lib/vcr/structs.rb#107
|
2448
2452
|
def initialize(*args); end
|
2449
2453
|
|
2450
2454
|
private
|
2451
2455
|
|
2452
|
-
# source://vcr//lib/vcr/structs.rb#
|
2456
|
+
# source://vcr//lib/vcr/structs.rb#156
|
2453
2457
|
def convert_to_raw_strings(array); end
|
2454
2458
|
|
2455
|
-
# source://vcr//lib/vcr/structs.rb#
|
2459
|
+
# source://vcr//lib/vcr/structs.rb#149
|
2456
2460
|
def delete_header(key); end
|
2457
2461
|
|
2458
|
-
# source://vcr//lib/vcr/structs.rb#
|
2462
|
+
# source://vcr//lib/vcr/structs.rb#142
|
2459
2463
|
def edit_header(key, value = T.unsafe(nil)); end
|
2460
2464
|
|
2461
|
-
# source://vcr//lib/vcr/structs.rb#
|
2465
|
+
# source://vcr//lib/vcr/structs.rb#137
|
2462
2466
|
def get_header(key); end
|
2463
2467
|
|
2464
|
-
# source://vcr//lib/vcr/structs.rb#
|
2468
|
+
# source://vcr//lib/vcr/structs.rb#132
|
2465
2469
|
def header_key(key); end
|
2466
2470
|
|
2467
|
-
# source://vcr//lib/vcr/structs.rb#
|
2471
|
+
# source://vcr//lib/vcr/structs.rb#114
|
2468
2472
|
def normalize_headers; end
|
2469
2473
|
end
|
2470
2474
|
|
@@ -2508,7 +2512,7 @@ end
|
|
2508
2512
|
# @attr body [String, nil] the request body
|
2509
2513
|
# @attr headers [Hash{String => Array<String>}] the request headers
|
2510
2514
|
#
|
2511
|
-
# source://vcr//lib/vcr/structs.rb#
|
2515
|
+
# source://vcr//lib/vcr/structs.rb#179
|
2512
2516
|
class VCR::Request < ::Struct
|
2513
2517
|
include ::VCR::Normalizers::Header
|
2514
2518
|
include ::VCR::Normalizers::Body
|
@@ -2516,21 +2520,21 @@ class VCR::Request < ::Struct
|
|
2516
2520
|
|
2517
2521
|
# @return [Request] a new instance of Request
|
2518
2522
|
#
|
2519
|
-
# source://vcr//lib/vcr/structs.rb#
|
2523
|
+
# source://vcr//lib/vcr/structs.rb#183
|
2520
2524
|
def initialize(*args); end
|
2521
2525
|
|
2522
2526
|
# the HTTP method (i.e. :head, :options, :get, :post, :put, :patch or :delete)
|
2523
2527
|
#
|
2524
2528
|
# @return [Symbol] the current value of method
|
2525
2529
|
#
|
2526
|
-
# source://vcr//lib/vcr/structs.rb#
|
2530
|
+
# source://vcr//lib/vcr/structs.rb#231
|
2527
2531
|
def method(*args); end
|
2528
2532
|
|
2529
2533
|
# Parses the URI using the configured `uri_parser`.
|
2530
2534
|
#
|
2531
2535
|
# @return [#schema, #host, #port, #path, #query] A parsed URI object.
|
2532
2536
|
#
|
2533
|
-
# source://vcr//lib/vcr/structs.rb#
|
2537
|
+
# source://vcr//lib/vcr/structs.rb#226
|
2534
2538
|
def parsed_uri; end
|
2535
2539
|
|
2536
2540
|
# Builds a serializable hash from the request data.
|
@@ -2539,12 +2543,12 @@ class VCR::Request < ::Struct
|
|
2539
2543
|
# serialized.
|
2540
2544
|
# @see Request.from_hash
|
2541
2545
|
#
|
2542
|
-
# source://vcr//lib/vcr/structs.rb#
|
2546
|
+
# source://vcr//lib/vcr/structs.rb#200
|
2543
2547
|
def to_hash; end
|
2544
2548
|
|
2545
2549
|
private
|
2546
2550
|
|
2547
|
-
# source://vcr//lib/vcr/structs.rb#
|
2551
|
+
# source://vcr//lib/vcr/structs.rb#318
|
2548
2552
|
def without_standard_port(uri); end
|
2549
2553
|
|
2550
2554
|
class << self
|
@@ -2553,20 +2557,20 @@ class VCR::Request < ::Struct
|
|
2553
2557
|
# @param hash [Hash] the hash to use to construct the instance.
|
2554
2558
|
# @return [Request] the request
|
2555
2559
|
#
|
2556
|
-
# source://vcr//lib/vcr/structs.rb#
|
2560
|
+
# source://vcr//lib/vcr/structs.rb#213
|
2557
2561
|
def from_hash(hash); end
|
2558
2562
|
end
|
2559
2563
|
end
|
2560
2564
|
|
2561
2565
|
# Provides fiber-awareness for the {VCR::Configuration#around_http_request} hook.
|
2562
2566
|
#
|
2563
|
-
# source://vcr//lib/vcr/structs.rb#
|
2567
|
+
# source://vcr//lib/vcr/structs.rb#296
|
2564
2568
|
class VCR::Request::FiberAware
|
2565
2569
|
# Yields the fiber so the request can proceed.
|
2566
2570
|
#
|
2567
2571
|
# @return [VCR::Response] the response from the request
|
2568
2572
|
#
|
2569
|
-
# source://vcr//lib/vcr/structs.rb#
|
2573
|
+
# source://vcr//lib/vcr/structs.rb#300
|
2570
2574
|
def proceed; end
|
2571
2575
|
|
2572
2576
|
# Builds a proc that allows the request to proceed when called.
|
@@ -2575,19 +2579,19 @@ class VCR::Request::FiberAware
|
|
2575
2579
|
#
|
2576
2580
|
# @return [Proc] the proc
|
2577
2581
|
#
|
2578
|
-
# source://vcr//lib/vcr/structs.rb#
|
2582
|
+
# source://vcr//lib/vcr/structs.rb#309
|
2579
2583
|
def to_proc; end
|
2580
2584
|
end
|
2581
2585
|
|
2582
2586
|
# Decorates a {Request} with its current type.
|
2583
2587
|
#
|
2584
|
-
# source://vcr//lib/vcr/structs.rb#
|
2588
|
+
# source://vcr//lib/vcr/structs.rb#237
|
2585
2589
|
class VCR::Request::Typed
|
2586
2590
|
# @param request [Request] the request
|
2587
2591
|
# @param type [Symbol] the type. Should be one of `:ignored`, `:stubbed`, `:recordable` or `:unhandled`.
|
2588
2592
|
# @return [Typed] a new instance of Typed
|
2589
2593
|
#
|
2590
|
-
# source://vcr//lib/vcr/structs.rb#
|
2594
|
+
# source://vcr//lib/vcr/structs.rb#243
|
2591
2595
|
def initialize(request, type); end
|
2592
2596
|
|
2593
2597
|
# @return [Boolean] whether or not this request is being stubbed by an
|
@@ -2595,23 +2599,23 @@ class VCR::Request::Typed
|
|
2595
2599
|
# @see #stubbed_by_vcr?
|
2596
2600
|
# @see #stubbed?
|
2597
2601
|
#
|
2598
|
-
# source://vcr//lib/vcr/structs.rb#
|
2602
|
+
# source://vcr//lib/vcr/structs.rb#264
|
2599
2603
|
def externally_stubbed?; end
|
2600
2604
|
|
2601
2605
|
# @return [Boolean] whether or not this request is being ignored
|
2602
2606
|
#
|
2603
|
-
# source://vcr//lib/vcr/structs.rb#
|
2607
|
+
# source://vcr//lib/vcr/structs.rb#249
|
2604
2608
|
def ignored?; end
|
2605
2609
|
|
2606
2610
|
# @note VCR allows `:ignored` and `:recordable` requests to be made for real.
|
2607
2611
|
# @return [Boolean] whether or not this request will be made for real.
|
2608
2612
|
#
|
2609
|
-
# source://vcr//lib/vcr/structs.rb#
|
2613
|
+
# source://vcr//lib/vcr/structs.rb#280
|
2610
2614
|
def real?; end
|
2611
2615
|
|
2612
2616
|
# @return [Boolean] whether or not this request will be recorded.
|
2613
2617
|
#
|
2614
|
-
# source://vcr//lib/vcr/structs.rb#
|
2618
|
+
# source://vcr//lib/vcr/structs.rb#269
|
2615
2619
|
def recordable?; end
|
2616
2620
|
|
2617
2621
|
# @return [Boolean] whether or not this request will be stubbed.
|
@@ -2619,24 +2623,24 @@ class VCR::Request::Typed
|
|
2619
2623
|
# @see #stubbed_by_vcr?
|
2620
2624
|
# @see #externally_stubbed?
|
2621
2625
|
#
|
2622
|
-
# source://vcr//lib/vcr/structs.rb#
|
2626
|
+
# source://vcr//lib/vcr/structs.rb#288
|
2623
2627
|
def stubbed?; end
|
2624
2628
|
|
2625
2629
|
# @return [Boolean] whether or not this request is being stubbed by VCR
|
2626
2630
|
# @see #externally_stubbed?
|
2627
2631
|
# @see #stubbed?
|
2628
2632
|
#
|
2629
|
-
# source://vcr//lib/vcr/structs.rb#
|
2633
|
+
# source://vcr//lib/vcr/structs.rb#256
|
2630
2634
|
def stubbed_by_vcr?; end
|
2631
2635
|
|
2632
2636
|
# @return [Symbol] One of `:ignored`, `:stubbed`, `:recordable` or `:unhandled`.
|
2633
2637
|
#
|
2634
|
-
# source://vcr//lib/vcr/structs.rb#
|
2638
|
+
# source://vcr//lib/vcr/structs.rb#239
|
2635
2639
|
def type; end
|
2636
2640
|
|
2637
2641
|
# @return [Boolean] whether or not VCR knows how to handle this request.
|
2638
2642
|
#
|
2639
|
-
# source://vcr//lib/vcr/structs.rb#
|
2643
|
+
# source://vcr//lib/vcr/structs.rb#274
|
2640
2644
|
def unhandled?; end
|
2641
2645
|
end
|
2642
2646
|
|
@@ -2880,7 +2884,7 @@ end
|
|
2880
2884
|
# @attr http_version [nil, String] the HTTP version
|
2881
2885
|
# @attr adapter_metadata [Hash] Additional metadata used by a specific VCR adapter.
|
2882
2886
|
#
|
2883
|
-
# source://vcr//lib/vcr/structs.rb#
|
2887
|
+
# source://vcr//lib/vcr/structs.rb#334
|
2884
2888
|
class VCR::Response < ::Struct
|
2885
2889
|
include ::VCR::Normalizers::Header
|
2886
2890
|
include ::VCR::Normalizers::Body
|
@@ -2888,21 +2892,21 @@ class VCR::Response < ::Struct
|
|
2888
2892
|
|
2889
2893
|
# @return [Response] a new instance of Response
|
2890
2894
|
#
|
2891
|
-
# source://vcr//lib/vcr/structs.rb#
|
2895
|
+
# source://vcr//lib/vcr/structs.rb#338
|
2892
2896
|
def initialize(*args); end
|
2893
2897
|
|
2894
2898
|
# Checks if the type of encoding is one of "gzip" or "deflate".
|
2895
2899
|
#
|
2896
2900
|
# @return [Boolean]
|
2897
2901
|
#
|
2898
|
-
# source://vcr//lib/vcr/structs.rb#
|
2902
|
+
# source://vcr//lib/vcr/structs.rb#385
|
2899
2903
|
def compressed?; end
|
2900
2904
|
|
2901
2905
|
# The type of encoding.
|
2902
2906
|
#
|
2903
2907
|
# @return [String] encoding type
|
2904
2908
|
#
|
2905
|
-
# source://vcr//lib/vcr/structs.rb#
|
2909
|
+
# source://vcr//lib/vcr/structs.rb#380
|
2906
2910
|
def content_encoding; end
|
2907
2911
|
|
2908
2912
|
# Decodes the compressed body and deletes evidence that it was ever compressed.
|
@@ -2911,7 +2915,7 @@ class VCR::Response < ::Struct
|
|
2911
2915
|
# is not a known encoding.
|
2912
2916
|
# @return self
|
2913
2917
|
#
|
2914
|
-
# source://vcr//lib/vcr/structs.rb#
|
2918
|
+
# source://vcr//lib/vcr/structs.rb#399
|
2915
2919
|
def decompress; end
|
2916
2920
|
|
2917
2921
|
# Recompresses the decompressed body according to adapter metadata.
|
@@ -2919,7 +2923,7 @@ class VCR::Response < ::Struct
|
|
2919
2923
|
# @raise [VCR::Errors::UnknownContentEncodingError] if the content encoding
|
2920
2924
|
# stored in the adapter metadata is unknown
|
2921
2925
|
#
|
2922
|
-
# source://vcr//lib/vcr/structs.rb#
|
2926
|
+
# source://vcr//lib/vcr/structs.rb#413
|
2923
2927
|
def recompress; end
|
2924
2928
|
|
2925
2929
|
# Builds a serializable hash from the response data.
|
@@ -2928,20 +2932,20 @@ class VCR::Response < ::Struct
|
|
2928
2932
|
# and can be easily serialized.
|
2929
2933
|
# @see Response.from_hash
|
2930
2934
|
#
|
2931
|
-
# source://vcr//lib/vcr/structs.rb#
|
2935
|
+
# source://vcr//lib/vcr/structs.rb#348
|
2932
2936
|
def to_hash; end
|
2933
2937
|
|
2934
2938
|
# Updates the Content-Length response header so that it is
|
2935
2939
|
# accurate for the response body.
|
2936
2940
|
#
|
2937
|
-
# source://vcr//lib/vcr/structs.rb#
|
2941
|
+
# source://vcr//lib/vcr/structs.rb#373
|
2938
2942
|
def update_content_length_header; end
|
2939
2943
|
|
2940
2944
|
# Checks if VCR decompressed the response body
|
2941
2945
|
#
|
2942
2946
|
# @return [Boolean]
|
2943
2947
|
#
|
2944
|
-
# source://vcr//lib/vcr/structs.rb#
|
2948
|
+
# source://vcr//lib/vcr/structs.rb#390
|
2945
2949
|
def vcr_decompressed?; end
|
2946
2950
|
|
2947
2951
|
class << self
|
@@ -2950,7 +2954,7 @@ class VCR::Response < ::Struct
|
|
2950
2954
|
# @raise [VCR::Errors::UnknownContentEncodingError] if the content encoding
|
2951
2955
|
# is not a known encoding.
|
2952
2956
|
#
|
2953
|
-
# source://vcr//lib/vcr/structs.rb#
|
2957
|
+
# source://vcr//lib/vcr/structs.rb#452
|
2954
2958
|
def decompress(body, type); end
|
2955
2959
|
|
2956
2960
|
# Constructs a new instance from a hash.
|
@@ -2958,12 +2962,12 @@ class VCR::Response < ::Struct
|
|
2958
2962
|
# @param hash [Hash] the hash to use to construct the instance.
|
2959
2963
|
# @return [Response] the response
|
2960
2964
|
#
|
2961
|
-
# source://vcr//lib/vcr/structs.rb#
|
2965
|
+
# source://vcr//lib/vcr/structs.rb#363
|
2962
2966
|
def from_hash(hash); end
|
2963
2967
|
end
|
2964
2968
|
end
|
2965
2969
|
|
2966
|
-
# source://vcr//lib/vcr/structs.rb#
|
2970
|
+
# source://vcr//lib/vcr/structs.rb#443
|
2967
2971
|
VCR::Response::HAVE_ZLIB = T.let(T.unsafe(nil), TrueClass)
|
2968
2972
|
|
2969
2973
|
# The response status of an {HTTPInteraction}.
|
@@ -2971,7 +2975,7 @@ VCR::Response::HAVE_ZLIB = T.let(T.unsafe(nil), TrueClass)
|
|
2971
2975
|
# @attr code [Integer] the HTTP status code
|
2972
2976
|
# @attr message [String] the HTTP status message (e.g. "OK" for a status of 200)
|
2973
2977
|
#
|
2974
|
-
# source://vcr//lib/vcr/structs.rb#
|
2978
|
+
# source://vcr//lib/vcr/structs.rb#478
|
2975
2979
|
class VCR::ResponseStatus < ::Struct
|
2976
2980
|
# Builds a serializable hash from the response status data.
|
2977
2981
|
#
|
@@ -2979,7 +2983,7 @@ class VCR::ResponseStatus < ::Struct
|
|
2979
2983
|
# and can be easily serialized.
|
2980
2984
|
# @see ResponseStatus.from_hash
|
2981
2985
|
#
|
2982
|
-
# source://vcr//lib/vcr/structs.rb#
|
2986
|
+
# source://vcr//lib/vcr/structs.rb#484
|
2983
2987
|
def to_hash; end
|
2984
2988
|
|
2985
2989
|
class << self
|
@@ -2988,7 +2992,7 @@ class VCR::ResponseStatus < ::Struct
|
|
2988
2992
|
# @param hash [Hash] the hash to use to construct the instance.
|
2989
2993
|
# @return [ResponseStatus] the response status
|
2990
2994
|
#
|
2991
|
-
# source://vcr//lib/vcr/structs.rb#
|
2995
|
+
# source://vcr//lib/vcr/structs.rb#494
|
2992
2996
|
def from_hash(hash); end
|
2993
2997
|
end
|
2994
2998
|
end
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `webmock` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem webmock`.
|
6
6
|
|
7
|
+
|
7
8
|
# source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#18
|
8
9
|
module Net::WebMockHTTPResponse
|
9
10
|
# source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#19
|