ipt 1.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test.yml +41 -0
- data/.gitignore +0 -1
- data/Gemfile.lock +318 -0
- data/README.md +1 -1
- data/bin/tapioca +29 -0
- data/ipt.gemspec +15 -8
- data/lib/pt.rb +8 -9
- data/lib/pt/action.rb +42 -24
- data/lib/pt/cli.rb +1 -1
- data/lib/pt/client.rb +2 -3
- data/lib/pt/configuration.rb +1 -1
- data/lib/pt/data_row.rb +1 -0
- data/lib/pt/data_table.rb +1 -2
- data/lib/pt/io.rb +16 -7
- data/lib/pt/version.rb +2 -1
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport.rbi +671 -0
- data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
- data/sorbet/rbi/gems/addressable.rbi +147 -0
- data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/anyway_config.rbi +197 -0
- data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
- data/sorbet/rbi/gems/aruba.rbi +917 -0
- data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
- data/sorbet/rbi/gems/childprocess.rbi +107 -0
- data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/colorize.rbi +82 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
- data/sorbet/rbi/gems/config.rbi +124 -0
- data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/contracts.rbi +391 -0
- data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
- data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
- data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
- data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
- data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
- data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
- data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber.rbi +1876 -0
- data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
- data/sorbet/rbi/gems/declarative.rbi +75 -0
- data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
- data/sorbet/rbi/gems/deep_merge.rbi +26 -0
- data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
- data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
- data/sorbet/rbi/gems/equalizer.rbi +23 -0
- data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
- data/sorbet/rbi/gems/equatable.rbi +26 -0
- data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/excon.rbi +378 -0
- data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday.rbi +606 -0
- data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
- data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
- data/sorbet/rbi/gems/formatador.rbi +52 -0
- data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard.rbi +397 -0
- data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
- data/sorbet/rbi/gems/highline.rbi +567 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
- data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
- data/sorbet/rbi/gems/lumberjack.rbi +299 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/middleware.rbi +32 -0
- data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/multi_test.rbi +28 -0
- data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/necromancer.rbi +135 -0
- data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv.rbi +60 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/notiffany.rbi +215 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
- data/sorbet/rbi/gems/paint.rbi +31 -0
- data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
- data/sorbet/rbi/gems/parlour.rbi +840 -0
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
- data/sorbet/rbi/gems/parser.rbi +1517 -0
- data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
- data/sorbet/rbi/gems/pastel.rbi +128 -0
- data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
- data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
- data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake.rbi +647 -0
- data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/representable.rbi +227 -0
- data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
- data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/shellany.rbi +29 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/spoom.rbi +872 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/sys-uname.rbi +66 -0
- data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
- data/sorbet/rbi/gems/tapioca.rbi +39 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
- data/sorbet/rbi/gems/terminal-table.rbi +166 -0
- data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/thor.rbi +537 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
- data/sorbet/rbi/gems/tracker_api.rbi +33 -0
- data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
- data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
- data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-color.rbi +41 -0
- data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-pager.rbi +41 -0
- data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-platform.rbi +36 -0
- data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
- data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-screen.rbi +40 -0
- data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
- data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-table.rbi +417 -0
- data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-which.rbi +22 -0
- data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty.rbi +126 -0
- data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tzinfo.rbi +588 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
- data/sorbet/rbi/gems/uber.rbi +18 -0
- data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
- data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/vcr.rbi +582 -0
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
- data/sorbet/rbi/gems/verse.rbi +87 -0
- data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
- data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
- data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +23 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +341 -23
@@ -0,0 +1,782 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `vcr` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module VCR
|
8
|
+
include ::VCR::VariableArgsBlockCaller
|
9
|
+
include ::VCR::Errors
|
10
|
+
extend ::VCR::VariableArgsBlockCaller
|
11
|
+
extend ::VCR::Errors
|
12
|
+
extend ::VCR
|
13
|
+
|
14
|
+
def cassette_persisters; end
|
15
|
+
def cassette_serializers; end
|
16
|
+
def cassettes(context = T.unsafe(nil)); end
|
17
|
+
def config; end
|
18
|
+
def configuration; end
|
19
|
+
def configure; end
|
20
|
+
def cucumber_tags(&block); end
|
21
|
+
def current_cassette; end
|
22
|
+
def eject_cassette(options = T.unsafe(nil)); end
|
23
|
+
def fibers_available?; end
|
24
|
+
def http_interactions; end
|
25
|
+
def insert_cassette(name, options = T.unsafe(nil)); end
|
26
|
+
def library_hooks; end
|
27
|
+
def link_context(from_thread, to_key); end
|
28
|
+
def real_http_connections_allowed?; end
|
29
|
+
def record_http_interaction(interaction); end
|
30
|
+
def request_ignorer; end
|
31
|
+
def request_matchers; end
|
32
|
+
def turn_off!(options = T.unsafe(nil)); end
|
33
|
+
def turn_on!; end
|
34
|
+
def turned_off(options = T.unsafe(nil)); end
|
35
|
+
def turned_on?; end
|
36
|
+
def unlink_context(key); end
|
37
|
+
def use_cassette(name, options = T.unsafe(nil), &block); end
|
38
|
+
def use_cassettes(cassettes, &block); end
|
39
|
+
def version; end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def context_cassettes; end
|
44
|
+
def context_value(name); end
|
45
|
+
def current_context; end
|
46
|
+
def dup_context(context); end
|
47
|
+
def get_context(thread_key, fiber_key = T.unsafe(nil)); end
|
48
|
+
def ignore_cassettes?; end
|
49
|
+
def initialize_fibers; end
|
50
|
+
def initialize_ivars; end
|
51
|
+
def set_context_value(name, value); end
|
52
|
+
|
53
|
+
class << self
|
54
|
+
def const_missing(const); end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
class VCR::Cassette
|
59
|
+
include ::VCR::Logger::Mixin
|
60
|
+
|
61
|
+
def initialize(name, options = T.unsafe(nil)); end
|
62
|
+
|
63
|
+
def clean_outdated_http_interactions; end
|
64
|
+
def eject(options = T.unsafe(nil)); end
|
65
|
+
def erb; end
|
66
|
+
def file; end
|
67
|
+
def http_interactions; end
|
68
|
+
def linked?; end
|
69
|
+
def match_requests_on; end
|
70
|
+
def name; end
|
71
|
+
def new_recorded_interactions; end
|
72
|
+
def originally_recorded_at; end
|
73
|
+
def re_record_interval; end
|
74
|
+
def record_http_interaction(interaction); end
|
75
|
+
def record_mode; end
|
76
|
+
def record_on_error; end
|
77
|
+
def recording?; end
|
78
|
+
def run_failed!; end
|
79
|
+
def run_failed?; end
|
80
|
+
def serializable_hash; end
|
81
|
+
def should_write_recorded_interactions_to_disk?; end
|
82
|
+
def tags; end
|
83
|
+
|
84
|
+
private
|
85
|
+
|
86
|
+
def assert_valid_options!; end
|
87
|
+
def assign_tags; end
|
88
|
+
def deserialized_hash; end
|
89
|
+
def extract_options; end
|
90
|
+
def interactions_to_record; end
|
91
|
+
def invoke_hook(type, interactions); end
|
92
|
+
def log_prefix; end
|
93
|
+
def merged_interactions; end
|
94
|
+
def previously_recorded_interactions; end
|
95
|
+
def raise_error_unless_valid_record_mode; end
|
96
|
+
def raw_cassette_bytes; end
|
97
|
+
def request_summary(request); end
|
98
|
+
def should_assert_no_unused_interactions?; end
|
99
|
+
def should_re_record?; end
|
100
|
+
def should_remove_matching_existing_interactions?; end
|
101
|
+
def should_stub_requests?; end
|
102
|
+
def storage_key; end
|
103
|
+
def up_to_date_interactions(interactions); end
|
104
|
+
def write_recorded_interactions_to_disk; end
|
105
|
+
|
106
|
+
class << self
|
107
|
+
def const_missing(const); end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
class VCR::Cassette::ERBRenderer
|
112
|
+
def initialize(raw_template, erb, cassette_name = T.unsafe(nil)); end
|
113
|
+
|
114
|
+
def render; end
|
115
|
+
|
116
|
+
private
|
117
|
+
|
118
|
+
def binding_for_variables; end
|
119
|
+
def erb_variables; end
|
120
|
+
def handle_name_error(e); end
|
121
|
+
def template; end
|
122
|
+
def use_erb?; end
|
123
|
+
def variables_object; end
|
124
|
+
end
|
125
|
+
|
126
|
+
module VCR::Cassette::EncodingErrorHandling
|
127
|
+
def handle_encoding_errors; end
|
128
|
+
end
|
129
|
+
|
130
|
+
class VCR::Cassette::HTTPInteractionList
|
131
|
+
include ::VCR::Logger::Mixin
|
132
|
+
|
133
|
+
def initialize(interactions, request_matchers, allow_playback_repeats = T.unsafe(nil), parent_list = T.unsafe(nil), log_prefix = T.unsafe(nil)); end
|
134
|
+
|
135
|
+
def allow_playback_repeats; end
|
136
|
+
def assert_no_unused_interactions!; end
|
137
|
+
def has_interaction_matching?(request); end
|
138
|
+
def has_used_interaction_matching?(request); end
|
139
|
+
def interactions; end
|
140
|
+
def parent_list; end
|
141
|
+
def remaining_unused_interaction_count; end
|
142
|
+
def request_matchers; end
|
143
|
+
def response_for(request); end
|
144
|
+
|
145
|
+
private
|
146
|
+
|
147
|
+
def has_unused_interactions?; end
|
148
|
+
def interaction_matches_request?(request, interaction); end
|
149
|
+
def log_prefix; end
|
150
|
+
def matching_interaction_index_for(request); end
|
151
|
+
def matching_used_interaction_for(request); end
|
152
|
+
def request_summary(request); end
|
153
|
+
end
|
154
|
+
|
155
|
+
module VCR::Cassette::HTTPInteractionList::NullList
|
156
|
+
extend ::VCR::Cassette::HTTPInteractionList::NullList
|
157
|
+
|
158
|
+
def has_interaction_matching?(*a); end
|
159
|
+
def has_used_interaction_matching?(*a); end
|
160
|
+
def remaining_unused_interaction_count(*a); end
|
161
|
+
def response_for(*a); end
|
162
|
+
end
|
163
|
+
|
164
|
+
class VCR::Cassette::Persisters
|
165
|
+
def initialize; end
|
166
|
+
|
167
|
+
def [](name); end
|
168
|
+
def []=(name, value); end
|
169
|
+
end
|
170
|
+
|
171
|
+
module VCR::Cassette::Persisters::FileSystem
|
172
|
+
extend ::VCR::Cassette::Persisters::FileSystem
|
173
|
+
|
174
|
+
def [](file_name); end
|
175
|
+
def []=(file_name, content); end
|
176
|
+
def absolute_path_to_file(file_name); end
|
177
|
+
def storage_location; end
|
178
|
+
def storage_location=(dir); end
|
179
|
+
|
180
|
+
private
|
181
|
+
|
182
|
+
def absolute_path_for(path); end
|
183
|
+
def downcase_cassette_names?; end
|
184
|
+
def sanitized_file_name_from(file_name); end
|
185
|
+
end
|
186
|
+
|
187
|
+
class VCR::Cassette::Serializers
|
188
|
+
def initialize; end
|
189
|
+
|
190
|
+
def [](name); end
|
191
|
+
def []=(name, value); end
|
192
|
+
end
|
193
|
+
|
194
|
+
module VCR::Cassette::Serializers::Compressed
|
195
|
+
extend ::VCR::Cassette::Serializers::Compressed
|
196
|
+
|
197
|
+
def deserialize(string); end
|
198
|
+
def file_extension; end
|
199
|
+
def serialize(hash); end
|
200
|
+
end
|
201
|
+
|
202
|
+
module VCR::Cassette::Serializers::JSON
|
203
|
+
extend ::VCR::Cassette::Serializers::JSON
|
204
|
+
extend ::VCR::Cassette::EncodingErrorHandling
|
205
|
+
|
206
|
+
def deserialize(string); end
|
207
|
+
def file_extension; end
|
208
|
+
def serialize(hash); end
|
209
|
+
end
|
210
|
+
|
211
|
+
VCR::Cassette::Serializers::JSON::ENCODING_ERRORS = T.let(T.unsafe(nil), Array)
|
212
|
+
|
213
|
+
module VCR::Cassette::Serializers::Psych
|
214
|
+
extend ::VCR::Cassette::Serializers::Psych
|
215
|
+
extend ::VCR::Cassette::EncodingErrorHandling
|
216
|
+
|
217
|
+
def deserialize(string); end
|
218
|
+
def file_extension; end
|
219
|
+
def serialize(hash); end
|
220
|
+
end
|
221
|
+
|
222
|
+
VCR::Cassette::Serializers::Psych::ENCODING_ERRORS = T.let(T.unsafe(nil), Array)
|
223
|
+
|
224
|
+
module VCR::Cassette::Serializers::Syck
|
225
|
+
extend ::VCR::Cassette::Serializers::Syck
|
226
|
+
extend ::VCR::Cassette::EncodingErrorHandling
|
227
|
+
|
228
|
+
def deserialize(string); end
|
229
|
+
def file_extension; end
|
230
|
+
def serialize(hash); end
|
231
|
+
|
232
|
+
private
|
233
|
+
|
234
|
+
def using_syck; end
|
235
|
+
end
|
236
|
+
|
237
|
+
VCR::Cassette::Serializers::Syck::ENCODING_ERRORS = T.let(T.unsafe(nil), Array)
|
238
|
+
|
239
|
+
module VCR::Cassette::Serializers::YAML
|
240
|
+
extend ::VCR::Cassette::Serializers::YAML
|
241
|
+
extend ::VCR::Cassette::EncodingErrorHandling
|
242
|
+
|
243
|
+
def deserialize(string); end
|
244
|
+
def file_extension; end
|
245
|
+
def serialize(hash); end
|
246
|
+
end
|
247
|
+
|
248
|
+
VCR::Cassette::Serializers::YAML::ENCODING_ERRORS = T.let(T.unsafe(nil), Array)
|
249
|
+
VCR::Cassette::VALID_RECORD_MODES = T.let(T.unsafe(nil), Array)
|
250
|
+
VCR::CassetteMutex = T.let(T.unsafe(nil), Thread::Mutex)
|
251
|
+
|
252
|
+
class VCR::Configuration
|
253
|
+
include ::VCR::VariableArgsBlockCaller
|
254
|
+
include ::VCR::Hooks
|
255
|
+
include ::VCR::Configuration::DefinedHooks
|
256
|
+
include ::VCR::Logger::Mixin
|
257
|
+
extend ::VCR::Hooks::ClassMethods
|
258
|
+
|
259
|
+
def initialize; end
|
260
|
+
|
261
|
+
def after_http_request(*filters); end
|
262
|
+
def allow_http_connections_when_no_cassette=(_arg0); end
|
263
|
+
def allow_http_connections_when_no_cassette?; end
|
264
|
+
def around_http_request(*filters, &block); end
|
265
|
+
def before_playback(tag = T.unsafe(nil), &block); end
|
266
|
+
def before_record(tag = T.unsafe(nil), &block); end
|
267
|
+
def cassette_library_dir; end
|
268
|
+
def cassette_library_dir=(dir); end
|
269
|
+
def cassette_persisters; end
|
270
|
+
def cassette_serializers; end
|
271
|
+
def configure_rspec_metadata!; end
|
272
|
+
def debug_logger; end
|
273
|
+
def debug_logger=(value); end
|
274
|
+
def default_cassette_options; end
|
275
|
+
def default_cassette_options=(overrides); end
|
276
|
+
def define_cassette_placeholder(placeholder, tag = T.unsafe(nil), &block); end
|
277
|
+
def filter_sensitive_data(placeholder, tag = T.unsafe(nil), &block); end
|
278
|
+
def hook_into(*hooks); end
|
279
|
+
def ignore_host(*hosts); end
|
280
|
+
def ignore_hosts(*hosts); end
|
281
|
+
def ignore_localhost=(value); end
|
282
|
+
def ignore_request(&block); end
|
283
|
+
def logger; end
|
284
|
+
def preserve_exact_body_bytes_for?(http_message); end
|
285
|
+
def query_parser; end
|
286
|
+
def query_parser=(_arg0); end
|
287
|
+
def register_request_matcher(name, &block); end
|
288
|
+
def stub_with(*adapters); end
|
289
|
+
def unignore_host(*hosts); end
|
290
|
+
def unignore_hosts(*hosts); end
|
291
|
+
def uri_parser; end
|
292
|
+
def uri_parser=(_arg0); end
|
293
|
+
|
294
|
+
private
|
295
|
+
|
296
|
+
def create_fiber_for(fiber_errors, hook_declaration, proc); end
|
297
|
+
def load_library_hook(hook); end
|
298
|
+
def log_prefix; end
|
299
|
+
def register_built_in_hooks; end
|
300
|
+
def request_filter_from(object); end
|
301
|
+
def resume_fiber(fiber, fiber_errors, response, hook_declaration); end
|
302
|
+
def start_new_fiber_for(request, fibers, fiber_errors, hook_declaration, proc); end
|
303
|
+
def tag_filter_from(tag); end
|
304
|
+
end
|
305
|
+
|
306
|
+
module VCR::Configuration::DefinedHooks
|
307
|
+
def after_http_request(*filters, &hook); end
|
308
|
+
def after_library_hooks_loaded(*filters, &hook); end
|
309
|
+
def before_http_request(*filters, &hook); end
|
310
|
+
def before_playback(*filters, &hook); end
|
311
|
+
def before_record(*filters, &hook); end
|
312
|
+
def preserve_exact_body_bytes(*filters, &hook); end
|
313
|
+
end
|
314
|
+
|
315
|
+
class VCR::CucumberTags
|
316
|
+
def initialize(main_object); end
|
317
|
+
|
318
|
+
def tag(*tag_names); end
|
319
|
+
def tags(*tag_names); end
|
320
|
+
|
321
|
+
class << self
|
322
|
+
def add_tag(tag); end
|
323
|
+
def tags; end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
class VCR::CucumberTags::ScenarioNameBuilder
|
328
|
+
def initialize(test_case); end
|
329
|
+
|
330
|
+
def cassette_name; end
|
331
|
+
def examples_table(*_arg0); end
|
332
|
+
def examples_table_row(row); end
|
333
|
+
def feature(feature); end
|
334
|
+
def scenario(*_arg0); end
|
335
|
+
def scenario_outline(feature); end
|
336
|
+
end
|
337
|
+
|
338
|
+
module VCR::Deprecations; end
|
339
|
+
module VCR::Deprecations::Middleware; end
|
340
|
+
|
341
|
+
module VCR::Deprecations::Middleware::Faraday
|
342
|
+
def initialize(*args); end
|
343
|
+
end
|
344
|
+
|
345
|
+
module VCR::Errors; end
|
346
|
+
class VCR::Errors::AroundHTTPRequestHookError < ::VCR::Errors::Error; end
|
347
|
+
class VCR::Errors::CassetteInUseError < ::VCR::Errors::Error; end
|
348
|
+
class VCR::Errors::EjectLinkedCassetteError < ::VCR::Errors::Error; end
|
349
|
+
class VCR::Errors::Error < ::StandardError; end
|
350
|
+
class VCR::Errors::InvalidCassetteFormatError < ::VCR::Errors::Error; end
|
351
|
+
class VCR::Errors::LibraryVersionTooLowError < ::VCR::Errors::Error; end
|
352
|
+
class VCR::Errors::MissingERBVariableError < ::VCR::Errors::Error; end
|
353
|
+
class VCR::Errors::NotSupportedError < ::VCR::Errors::Error; end
|
354
|
+
class VCR::Errors::TurnedOffError < ::VCR::Errors::Error; end
|
355
|
+
|
356
|
+
class VCR::Errors::UnhandledHTTPRequestError < ::VCR::Errors::Error
|
357
|
+
def initialize(request); end
|
358
|
+
|
359
|
+
def request; end
|
360
|
+
|
361
|
+
private
|
362
|
+
|
363
|
+
def cassettes_description; end
|
364
|
+
def cassettes_list; end
|
365
|
+
def construct_message; end
|
366
|
+
def current_cassettes; end
|
367
|
+
def current_matchers; end
|
368
|
+
def format_bullet_point(lines, index); end
|
369
|
+
def format_foot_note(url, index); end
|
370
|
+
def formatted_headers; end
|
371
|
+
def formatted_suggestions; end
|
372
|
+
def has_used_interaction_matching?; end
|
373
|
+
def match_request_on_body?; end
|
374
|
+
def match_request_on_headers?; end
|
375
|
+
def match_requests_on_suggestion; end
|
376
|
+
def no_cassette_suggestions; end
|
377
|
+
def record_mode_suggestion; end
|
378
|
+
def relish_version_slug; end
|
379
|
+
def request_description; end
|
380
|
+
def suggestion_for(key); end
|
381
|
+
def suggestions; end
|
382
|
+
end
|
383
|
+
|
384
|
+
VCR::Errors::UnhandledHTTPRequestError::ALL_SUGGESTIONS = T.let(T.unsafe(nil), Hash)
|
385
|
+
class VCR::Errors::UnknownContentEncodingError < ::VCR::Errors::Error; end
|
386
|
+
class VCR::Errors::UnregisteredMatcherError < ::VCR::Errors::Error; end
|
387
|
+
class VCR::Errors::UnusedHTTPInteractionError < ::VCR::Errors::Error; end
|
388
|
+
|
389
|
+
class VCR::HTTPInteraction < ::Struct
|
390
|
+
def initialize(*args); end
|
391
|
+
|
392
|
+
def hook_aware; end
|
393
|
+
def to_hash; end
|
394
|
+
|
395
|
+
class << self
|
396
|
+
def from_hash(hash); end
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class VCR::HTTPInteraction::HookAware
|
401
|
+
def initialize(http_interaction); end
|
402
|
+
|
403
|
+
def filter!(text, replacement_text); end
|
404
|
+
def ignore!; end
|
405
|
+
def ignored?; end
|
406
|
+
|
407
|
+
private
|
408
|
+
|
409
|
+
def filter_hash!(hash, text, replacement_text); end
|
410
|
+
def filter_object!(object, text, replacement_text); end
|
411
|
+
end
|
412
|
+
|
413
|
+
module VCR::Hooks
|
414
|
+
include ::VCR::VariableArgsBlockCaller
|
415
|
+
|
416
|
+
mixes_in_class_methods ::VCR::Hooks::ClassMethods
|
417
|
+
|
418
|
+
def clear_hooks; end
|
419
|
+
def has_hooks_for?(hook_type); end
|
420
|
+
def hooks; end
|
421
|
+
def invoke_hook(hook_type, *args); end
|
422
|
+
|
423
|
+
class << self
|
424
|
+
def included(klass); end
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
module VCR::Hooks::ClassMethods
|
429
|
+
def define_hook(hook_type, prepend = T.unsafe(nil)); end
|
430
|
+
end
|
431
|
+
|
432
|
+
class VCR::Hooks::FilteredHook < ::Struct
|
433
|
+
include ::VCR::VariableArgsBlockCaller
|
434
|
+
|
435
|
+
def conditionally_invoke(*args); end
|
436
|
+
def filters; end
|
437
|
+
def filters=(_); end
|
438
|
+
def hook; end
|
439
|
+
def hook=(_); end
|
440
|
+
|
441
|
+
class << self
|
442
|
+
def [](*_arg0); end
|
443
|
+
def inspect; end
|
444
|
+
def members; end
|
445
|
+
def new(*_arg0); end
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
module VCR::InternetConnection
|
450
|
+
extend ::VCR::InternetConnection
|
451
|
+
|
452
|
+
def available?; end
|
453
|
+
end
|
454
|
+
|
455
|
+
VCR::InternetConnection::EXAMPLE_HOST = T.let(T.unsafe(nil), String)
|
456
|
+
|
457
|
+
class VCR::LibraryHooks
|
458
|
+
def disabled?(hook); end
|
459
|
+
def exclusive_hook; end
|
460
|
+
def exclusive_hook=(_arg0); end
|
461
|
+
def exclusively_enabled(hook); end
|
462
|
+
end
|
463
|
+
|
464
|
+
class VCR::LinkedCassette < ::SimpleDelegator
|
465
|
+
def eject(*args); end
|
466
|
+
def linked?; end
|
467
|
+
|
468
|
+
class << self
|
469
|
+
def list(cassettes, linked_cassettes); end
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
473
|
+
class VCR::LinkedCassette::CassetteList
|
474
|
+
include ::Enumerable
|
475
|
+
|
476
|
+
def initialize(cassettes, linked_cassettes); end
|
477
|
+
|
478
|
+
def each; end
|
479
|
+
def last; end
|
480
|
+
def size; end
|
481
|
+
|
482
|
+
protected
|
483
|
+
|
484
|
+
def wrap(cassette); end
|
485
|
+
end
|
486
|
+
|
487
|
+
class VCR::Logger
|
488
|
+
def initialize(stream); end
|
489
|
+
|
490
|
+
def log(message, log_prefix, indentation_level = T.unsafe(nil)); end
|
491
|
+
def request_summary(request, request_matchers); end
|
492
|
+
def response_summary(response); end
|
493
|
+
end
|
494
|
+
|
495
|
+
module VCR::Logger::Mixin
|
496
|
+
def log(message, indentation_level = T.unsafe(nil)); end
|
497
|
+
def request_summary(*args); end
|
498
|
+
def response_summary(*args); end
|
499
|
+
end
|
500
|
+
|
501
|
+
module VCR::Logger::Null
|
502
|
+
private
|
503
|
+
|
504
|
+
def log(*_arg0); end
|
505
|
+
def request_summary(*_arg0); end
|
506
|
+
def response_summary(*_arg0); end
|
507
|
+
|
508
|
+
class << self
|
509
|
+
def log(*_arg0); end
|
510
|
+
def request_summary(*_arg0); end
|
511
|
+
def response_summary(*_arg0); end
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
VCR::MainThread = T.let(T.unsafe(nil), Thread)
|
516
|
+
module VCR::Middleware; end
|
517
|
+
|
518
|
+
class VCR::Middleware::CassetteArguments
|
519
|
+
def initialize; end
|
520
|
+
|
521
|
+
def name(name = T.unsafe(nil)); end
|
522
|
+
def options(options = T.unsafe(nil)); end
|
523
|
+
end
|
524
|
+
|
525
|
+
class VCR::Middleware::Faraday
|
526
|
+
include ::VCR::Deprecations::Middleware::Faraday
|
527
|
+
|
528
|
+
def initialize(app); end
|
529
|
+
|
530
|
+
def call(env); end
|
531
|
+
def close; end
|
532
|
+
end
|
533
|
+
|
534
|
+
class VCR::Middleware::Faraday::RequestHandler < ::VCR::RequestHandler
|
535
|
+
def initialize(app, env); end
|
536
|
+
|
537
|
+
def app; end
|
538
|
+
def env; end
|
539
|
+
def handle; end
|
540
|
+
|
541
|
+
private
|
542
|
+
|
543
|
+
def delay_finishing?; end
|
544
|
+
def invoke_after_request_hook(response); end
|
545
|
+
def on_ignored_request; end
|
546
|
+
def on_recordable_request; end
|
547
|
+
def on_stubbed_by_vcr_request; end
|
548
|
+
def raw_body_from(body); end
|
549
|
+
def response_for(response); end
|
550
|
+
def vcr_request; end
|
551
|
+
end
|
552
|
+
|
553
|
+
class VCR::Middleware::Rack
|
554
|
+
include ::VCR::VariableArgsBlockCaller
|
555
|
+
|
556
|
+
def initialize(app, &block); end
|
557
|
+
|
558
|
+
def call(env); end
|
559
|
+
|
560
|
+
private
|
561
|
+
|
562
|
+
def cassette_arguments(env); end
|
563
|
+
end
|
564
|
+
|
565
|
+
module VCR::Normalizers; end
|
566
|
+
|
567
|
+
module VCR::Normalizers::Body
|
568
|
+
mixes_in_class_methods ::VCR::Normalizers::Body::ClassMethods
|
569
|
+
|
570
|
+
def initialize(*args); end
|
571
|
+
|
572
|
+
private
|
573
|
+
|
574
|
+
def base_body_hash(body); end
|
575
|
+
def serializable_body; end
|
576
|
+
|
577
|
+
class << self
|
578
|
+
def included(klass); end
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
module VCR::Normalizers::Body::ClassMethods
|
583
|
+
def body_from(hash_or_string); end
|
584
|
+
def force_encode_string(string, encoding); end
|
585
|
+
def try_encode_string(string, encoding); end
|
586
|
+
end
|
587
|
+
|
588
|
+
module VCR::Normalizers::Header
|
589
|
+
def initialize(*args); end
|
590
|
+
|
591
|
+
private
|
592
|
+
|
593
|
+
def convert_to_raw_strings(array); end
|
594
|
+
def delete_header(key); end
|
595
|
+
def edit_header(key, value = T.unsafe(nil)); end
|
596
|
+
def get_header(key); end
|
597
|
+
def header_key(key); end
|
598
|
+
def normalize_headers; end
|
599
|
+
end
|
600
|
+
|
601
|
+
module VCR::Ping
|
602
|
+
private
|
603
|
+
|
604
|
+
def pingecho(host, timeout = T.unsafe(nil), service = T.unsafe(nil)); end
|
605
|
+
|
606
|
+
class << self
|
607
|
+
def pingecho(host, timeout = T.unsafe(nil), service = T.unsafe(nil)); end
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
module VCR::RSpec; end
|
612
|
+
|
613
|
+
module VCR::RSpec::Metadata
|
614
|
+
extend ::VCR::RSpec::Metadata
|
615
|
+
|
616
|
+
def configure!; end
|
617
|
+
end
|
618
|
+
|
619
|
+
class VCR::Request < ::Struct
|
620
|
+
include ::VCR::Normalizers::Header
|
621
|
+
include ::VCR::Normalizers::Body
|
622
|
+
extend ::VCR::Normalizers::Body::ClassMethods
|
623
|
+
|
624
|
+
def initialize(*args); end
|
625
|
+
|
626
|
+
def method(*args); end
|
627
|
+
def parsed_uri; end
|
628
|
+
def to_hash; end
|
629
|
+
|
630
|
+
private
|
631
|
+
|
632
|
+
def without_standard_port(uri); end
|
633
|
+
|
634
|
+
class << self
|
635
|
+
def from_hash(hash); end
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
class VCR::Request::FiberAware
|
640
|
+
def proceed; end
|
641
|
+
def to_proc; end
|
642
|
+
end
|
643
|
+
|
644
|
+
class VCR::Request::Typed
|
645
|
+
def initialize(request, type); end
|
646
|
+
|
647
|
+
def externally_stubbed?; end
|
648
|
+
def ignored?; end
|
649
|
+
def real?; end
|
650
|
+
def recordable?; end
|
651
|
+
def stubbed?; end
|
652
|
+
def stubbed_by_vcr?; end
|
653
|
+
def type; end
|
654
|
+
def unhandled?; end
|
655
|
+
end
|
656
|
+
|
657
|
+
class VCR::RequestHandler
|
658
|
+
include ::VCR::Logger::Mixin
|
659
|
+
|
660
|
+
def handle; end
|
661
|
+
|
662
|
+
private
|
663
|
+
|
664
|
+
def disabled?; end
|
665
|
+
def externally_stubbed?; end
|
666
|
+
def has_response_stub?(consume_stub); end
|
667
|
+
def invoke_after_request_hook(vcr_response); end
|
668
|
+
def invoke_before_request_hook; end
|
669
|
+
def library_name; end
|
670
|
+
def log_prefix; end
|
671
|
+
def on_externally_stubbed_request; end
|
672
|
+
def on_ignored_request; end
|
673
|
+
def on_recordable_request; end
|
674
|
+
def on_stubbed_by_vcr_request; end
|
675
|
+
def on_unhandled_request; end
|
676
|
+
def request_summary; end
|
677
|
+
def request_type(consume_stub = T.unsafe(nil)); end
|
678
|
+
def set_typed_request_for_after_hook(request_type); end
|
679
|
+
def should_ignore?; end
|
680
|
+
def stubbed_response; end
|
681
|
+
end
|
682
|
+
|
683
|
+
class VCR::RequestIgnorer
|
684
|
+
include ::VCR::VariableArgsBlockCaller
|
685
|
+
include ::VCR::Hooks
|
686
|
+
include ::VCR::RequestIgnorer::DefinedHooks
|
687
|
+
extend ::VCR::Hooks::ClassMethods
|
688
|
+
|
689
|
+
def initialize; end
|
690
|
+
|
691
|
+
def ignore?(request); end
|
692
|
+
def ignore_hosts(*hosts); end
|
693
|
+
def ignore_localhost=(value); end
|
694
|
+
def unignore_hosts(*hosts); end
|
695
|
+
|
696
|
+
private
|
697
|
+
|
698
|
+
def ignored_hosts; end
|
699
|
+
end
|
700
|
+
|
701
|
+
module VCR::RequestIgnorer::DefinedHooks
|
702
|
+
def ignore_request(*filters, &hook); end
|
703
|
+
end
|
704
|
+
|
705
|
+
VCR::RequestIgnorer::LOCALHOST_ALIASES = T.let(T.unsafe(nil), Array)
|
706
|
+
|
707
|
+
class VCR::RequestMatcherRegistry
|
708
|
+
def initialize; end
|
709
|
+
|
710
|
+
def [](matcher); end
|
711
|
+
def register(name, &block); end
|
712
|
+
def uri_without_param(*ignores); end
|
713
|
+
def uri_without_params(*ignores); end
|
714
|
+
|
715
|
+
private
|
716
|
+
|
717
|
+
def raise_unregistered_matcher_error(name); end
|
718
|
+
def register_built_ins; end
|
719
|
+
def try_to_register_body_as_json; end
|
720
|
+
def uri_without_param_matchers; end
|
721
|
+
end
|
722
|
+
|
723
|
+
VCR::RequestMatcherRegistry::DEFAULT_MATCHERS = T.let(T.unsafe(nil), Array)
|
724
|
+
|
725
|
+
class VCR::RequestMatcherRegistry::Matcher < ::Struct
|
726
|
+
def matches?(request_1, request_2); end
|
727
|
+
end
|
728
|
+
|
729
|
+
class VCR::RequestMatcherRegistry::URIWithoutParamsMatcher < ::Struct
|
730
|
+
def call(request_1, request_2); end
|
731
|
+
def partial_uri_from(request); end
|
732
|
+
def to_proc; end
|
733
|
+
end
|
734
|
+
|
735
|
+
class VCR::Response < ::Struct
|
736
|
+
include ::VCR::Normalizers::Header
|
737
|
+
include ::VCR::Normalizers::Body
|
738
|
+
extend ::VCR::Normalizers::Body::ClassMethods
|
739
|
+
|
740
|
+
def initialize(*args); end
|
741
|
+
|
742
|
+
def compressed?; end
|
743
|
+
def content_encoding; end
|
744
|
+
def decompress; end
|
745
|
+
def recompress; end
|
746
|
+
def to_hash; end
|
747
|
+
def update_content_length_header; end
|
748
|
+
def vcr_decompressed?; end
|
749
|
+
|
750
|
+
class << self
|
751
|
+
def decompress(body, type); end
|
752
|
+
def from_hash(hash); end
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
VCR::Response::HAVE_ZLIB = T.let(T.unsafe(nil), TrueClass)
|
757
|
+
|
758
|
+
class VCR::ResponseStatus < ::Struct
|
759
|
+
def to_hash; end
|
760
|
+
|
761
|
+
class << self
|
762
|
+
def from_hash(hash); end
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
module VCR::VariableArgsBlockCaller
|
767
|
+
def call_block(block, *args); end
|
768
|
+
end
|
769
|
+
|
770
|
+
class VCR::VersionChecker
|
771
|
+
def initialize(library_name, library_version, min_version); end
|
772
|
+
|
773
|
+
def check_version!; end
|
774
|
+
|
775
|
+
private
|
776
|
+
|
777
|
+
def compare_version; end
|
778
|
+
def parse_version(version); end
|
779
|
+
def raise_too_low_error; end
|
780
|
+
def too_low?; end
|
781
|
+
def version_requirement; end
|
782
|
+
end
|