danger-packwerk 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger-packwerk/packwerk_wrapper.rb +2 -2
- data/lib/danger-packwerk/version.rb +1 -1
- data/sorbet/config +1 -0
- data/sorbet/rbi/gems/actionview@7.0.4.rbi +11543 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.rbi +12959 -0
- data/sorbet/rbi/gems/addressable@2.8.1.rbi +1505 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +522 -0
- data/sorbet/rbi/gems/better_html@2.0.1.rbi +286 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/claide-plugins@0.9.2.rbi +791 -0
- data/sorbet/rbi/gems/claide@1.1.0.rbi +1132 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +2256 -0
- data/sorbet/rbi/gems/colored2@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +8695 -0
- data/sorbet/rbi/gems/cork@0.3.0.rbi +248 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +436 -0
- data/sorbet/rbi/gems/danger-plugin-api@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/danger@9.0.0.rbi +4722 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +862 -0
- data/sorbet/rbi/gems/erubi@1.11.0.rbi +102 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +266 -0
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +209 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +212 -0
- data/sorbet/rbi/gems/faraday-http-cache@2.4.1.rbi +805 -0
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +221 -0
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +266 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +216 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +206 -0
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +212 -0
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +225 -0
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +222 -0
- data/sorbet/rbi/gems/faraday@1.10.2.rbi +1862 -0
- data/sorbet/rbi/gems/git@1.12.0.rbi +1936 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +1643 -0
- data/sorbet/rbi/gems/json@2.6.2.rbi +1418 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +2168 -0
- data/sorbet/rbi/gems/loofah@2.19.0.rbi +646 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +199 -0
- data/sorbet/rbi/gems/minitest@5.16.3.rbi +997 -0
- data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +165 -0
- data/sorbet/rbi/gems/nap@1.1.0.rbi +351 -0
- data/sorbet/rbi/gems/no_proxy_fix@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +4916 -0
- data/sorbet/rbi/gems/octokit@5.6.1.rbi +8939 -0
- data/sorbet/rbi/gems/open4@1.3.4.rbi +8 -0
- data/sorbet/rbi/gems/{packwerk@2.1.1.rbi → packwerk@2.2.1.rbi} +602 -51
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +163 -0
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +5988 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +6969 -0
- data/sorbet/rbi/gems/public_suffix@5.0.0.rbi +779 -0
- data/sorbet/rbi/gems/racc@1.6.0.rbi +92 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +493 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +227 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +1865 -0
- data/sorbet/rbi/gems/rbi@0.0.14.rbi +2337 -0
- data/sorbet/rbi/gems/rchardet@1.8.0.rbi +587 -0
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +1851 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +3852 -0
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +7725 -0
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +6201 -0
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +3625 -0
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +1176 -0
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +4193 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.8.rbi +677 -0
- data/sorbet/rbi/gems/rubocop@1.36.0.rbi +37914 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +732 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/sawyer@0.9.2.rbi +513 -0
- data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +326 -0
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +1600 -0
- data/sorbet/rbi/gems/tapioca@0.8.0.rbi +1959 -0
- data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +438 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +2921 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +4879 -0
- data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +27 -0
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +2789 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +1802 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +288 -0
- data/sorbet/rbi/gems/yard@0.9.27.rbi +12668 -0
- data/sorbet/rbi/todo.rbi +122 -0
- metadata +84 -7
- data/sorbet/rbi/gems/danger@8.5.0.rbi +0 -122
@@ -0,0 +1,212 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `faraday-excon` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem faraday-excon`.
|
6
|
+
|
7
|
+
# This is the main namespace for Faraday.
|
8
|
+
#
|
9
|
+
# It provides methods to create {Connection} objects, and HTTP-related
|
10
|
+
# methods to use directly.
|
11
|
+
#
|
12
|
+
# @example Helpful class methods for easy usage
|
13
|
+
# Faraday.get "http://faraday.com"
|
14
|
+
# @example Helpful class method `.new` to create {Connection} objects.
|
15
|
+
# conn = Faraday.new "http://faraday.com"
|
16
|
+
# conn.get '/'
|
17
|
+
module Faraday
|
18
|
+
class << self
|
19
|
+
# @overload default_adapter
|
20
|
+
# @overload default_adapter=
|
21
|
+
def default_adapter; end
|
22
|
+
|
23
|
+
# Documented elsewhere, see default_adapter reader
|
24
|
+
def default_adapter=(adapter); end
|
25
|
+
|
26
|
+
# @overload default_connection
|
27
|
+
# @overload default_connection=
|
28
|
+
def default_connection; end
|
29
|
+
|
30
|
+
# Documented below, see default_connection
|
31
|
+
def default_connection=(_arg0); end
|
32
|
+
|
33
|
+
# Gets the default connection options used when calling {Faraday#new}.
|
34
|
+
#
|
35
|
+
# @return [Faraday::ConnectionOptions]
|
36
|
+
def default_connection_options; end
|
37
|
+
|
38
|
+
# Sets the default options used when calling {Faraday#new}.
|
39
|
+
#
|
40
|
+
# @param options [Hash, Faraday::ConnectionOptions]
|
41
|
+
def default_connection_options=(options); end
|
42
|
+
|
43
|
+
# Tells Faraday to ignore the environment proxy (http_proxy).
|
44
|
+
# Defaults to `false`.
|
45
|
+
#
|
46
|
+
# @return [Boolean]
|
47
|
+
def ignore_env_proxy; end
|
48
|
+
|
49
|
+
# Tells Faraday to ignore the environment proxy (http_proxy).
|
50
|
+
# Defaults to `false`.
|
51
|
+
#
|
52
|
+
# @return [Boolean]
|
53
|
+
def ignore_env_proxy=(_arg0); end
|
54
|
+
|
55
|
+
# Gets or sets the path that the Faraday libs are loaded from.
|
56
|
+
#
|
57
|
+
# @return [String]
|
58
|
+
def lib_path; end
|
59
|
+
|
60
|
+
# Gets or sets the path that the Faraday libs are loaded from.
|
61
|
+
#
|
62
|
+
# @return [String]
|
63
|
+
def lib_path=(_arg0); end
|
64
|
+
|
65
|
+
# Initializes a new {Connection}.
|
66
|
+
#
|
67
|
+
# @example With an URL argument
|
68
|
+
# Faraday.new 'http://faraday.com'
|
69
|
+
# # => Faraday::Connection to http://faraday.com
|
70
|
+
# @example With everything in an options hash
|
71
|
+
# Faraday.new url: 'http://faraday.com',
|
72
|
+
# params: { page: 1 }
|
73
|
+
# # => Faraday::Connection to http://faraday.com?page=1
|
74
|
+
# @example With an URL argument and an options hash
|
75
|
+
# Faraday.new 'http://faraday.com', params: { page: 1 }
|
76
|
+
# # => Faraday::Connection to http://faraday.com?page=1
|
77
|
+
# @option options
|
78
|
+
# @option options
|
79
|
+
# @option options
|
80
|
+
# @option options
|
81
|
+
# @option options
|
82
|
+
# @option options
|
83
|
+
# @param url [String, Hash] The optional String base URL to use as a prefix
|
84
|
+
# for all requests. Can also be the options Hash. Any of these
|
85
|
+
# values will be set on every request made, unless overridden
|
86
|
+
# for a specific request.
|
87
|
+
# @param options [Hash]
|
88
|
+
# @return [Faraday::Connection]
|
89
|
+
def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
90
|
+
|
91
|
+
# Internal: Requires internal Faraday libraries.
|
92
|
+
#
|
93
|
+
# @param libs [Array] one or more relative String names to Faraday classes.
|
94
|
+
# @private
|
95
|
+
# @return [void]
|
96
|
+
def require_lib(*libs); end
|
97
|
+
|
98
|
+
# Internal: Requires internal Faraday libraries.
|
99
|
+
#
|
100
|
+
# @param libs [Array] one or more relative String names to Faraday classes.
|
101
|
+
# @private
|
102
|
+
# @return [void]
|
103
|
+
def require_libs(*libs); end
|
104
|
+
|
105
|
+
# @return [Boolean]
|
106
|
+
def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
|
107
|
+
|
108
|
+
# The root path that Faraday is being loaded from.
|
109
|
+
#
|
110
|
+
# This is the root from where the libraries are auto-loaded.
|
111
|
+
#
|
112
|
+
# @return [String]
|
113
|
+
def root_path; end
|
114
|
+
|
115
|
+
# The root path that Faraday is being loaded from.
|
116
|
+
#
|
117
|
+
# This is the root from where the libraries are auto-loaded.
|
118
|
+
#
|
119
|
+
# @return [String]
|
120
|
+
def root_path=(_arg0); end
|
121
|
+
|
122
|
+
private
|
123
|
+
|
124
|
+
# Internal: Proxies method calls on the Faraday constant to
|
125
|
+
# .default_connection.
|
126
|
+
def method_missing(name, *args, &block); end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# Base class for all Faraday adapters. Adapters are
|
131
|
+
# responsible for fulfilling a Faraday request.
|
132
|
+
class Faraday::Adapter
|
133
|
+
extend ::Faraday::MiddlewareRegistry
|
134
|
+
extend ::Faraday::DependencyLoader
|
135
|
+
extend ::Faraday::Adapter::Parallelism
|
136
|
+
extend ::Faraday::AutoloadHelper
|
137
|
+
|
138
|
+
# @return [Adapter] a new instance of Adapter
|
139
|
+
def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
|
140
|
+
|
141
|
+
def call(env); end
|
142
|
+
|
143
|
+
# Close any persistent connections. The adapter should still be usable
|
144
|
+
# after calling close.
|
145
|
+
def close; end
|
146
|
+
|
147
|
+
# Yields or returns an adapter's configured connection. Depends on
|
148
|
+
# #build_connection being defined on this adapter.
|
149
|
+
#
|
150
|
+
# @param env [Faraday::Env, Hash] The env object for a faraday request.
|
151
|
+
# @return The return value of the given block, or the HTTP connection object
|
152
|
+
# if no block is given.
|
153
|
+
# @yield [conn]
|
154
|
+
def connection(env); end
|
155
|
+
|
156
|
+
private
|
157
|
+
|
158
|
+
# Fetches either a read, write, or open timeout setting. Defaults to the
|
159
|
+
# :timeout value if a more specific one is not given.
|
160
|
+
#
|
161
|
+
# @param type [Symbol] Describes which timeout setting to get: :read,
|
162
|
+
# :write, or :open.
|
163
|
+
# @param options [Hash] Hash containing Symbol keys like :timeout,
|
164
|
+
# :read_timeout, :write_timeout, :open_timeout, or
|
165
|
+
# :timeout
|
166
|
+
# @return [Integer, nil] Timeout duration in seconds, or nil if no timeout
|
167
|
+
# has been set.
|
168
|
+
def request_timeout(type, options); end
|
169
|
+
|
170
|
+
def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil)); end
|
171
|
+
end
|
172
|
+
|
173
|
+
Faraday::Adapter::CONTENT_LENGTH = T.let(T.unsafe(nil), String)
|
174
|
+
|
175
|
+
# Excon adapter.
|
176
|
+
class Faraday::Adapter::Excon < ::Faraday::Adapter
|
177
|
+
def build_connection(env); end
|
178
|
+
def call(env); end
|
179
|
+
|
180
|
+
# TODO: support streaming requests
|
181
|
+
def read_body(env); end
|
182
|
+
|
183
|
+
private
|
184
|
+
|
185
|
+
def amend_opts_with_proxy_settings!(opts, req); end
|
186
|
+
def amend_opts_with_ssl!(opts, ssl); end
|
187
|
+
def amend_opts_with_timeouts!(opts, req); end
|
188
|
+
|
189
|
+
# @return [Boolean]
|
190
|
+
def needs_ssl_settings?(env); end
|
191
|
+
|
192
|
+
def opts_from_env(env); end
|
193
|
+
def proxy_settings_for_opts(proxy); end
|
194
|
+
end
|
195
|
+
|
196
|
+
Faraday::Adapter::Excon::OPTS_KEYS = T.let(T.unsafe(nil), Array)
|
197
|
+
Faraday::Adapter::TIMEOUT_KEYS = T.let(T.unsafe(nil), Hash)
|
198
|
+
Faraday::CONTENT_TYPE = T.let(T.unsafe(nil), String)
|
199
|
+
Faraday::CompositeReadIO = Faraday::Multipart::CompositeReadIO
|
200
|
+
|
201
|
+
# Main Faraday::Excon module
|
202
|
+
module Faraday::Excon; end
|
203
|
+
|
204
|
+
Faraday::Excon::VERSION = T.let(T.unsafe(nil), String)
|
205
|
+
Faraday::FilePart = Multipart::Post::UploadIO
|
206
|
+
Faraday::METHODS_WITH_BODY = T.let(T.unsafe(nil), Array)
|
207
|
+
Faraday::METHODS_WITH_QUERY = T.let(T.unsafe(nil), Array)
|
208
|
+
Faraday::ParamPart = Faraday::Multipart::ParamPart
|
209
|
+
Faraday::Parts = Multipart::Post::Parts
|
210
|
+
Faraday::Timer = Timeout
|
211
|
+
Faraday::UploadIO = Multipart::Post::UploadIO
|
212
|
+
Faraday::VERSION = T.let(T.unsafe(nil), String)
|