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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/lib/danger-packwerk/packwerk_wrapper.rb +2 -2
  3. data/lib/danger-packwerk/version.rb +1 -1
  4. data/sorbet/config +1 -0
  5. data/sorbet/rbi/gems/actionview@7.0.4.rbi +11543 -0
  6. data/sorbet/rbi/gems/activesupport@7.0.4.rbi +12959 -0
  7. data/sorbet/rbi/gems/addressable@2.8.1.rbi +1505 -0
  8. data/sorbet/rbi/gems/ast@2.4.2.rbi +522 -0
  9. data/sorbet/rbi/gems/better_html@2.0.1.rbi +286 -0
  10. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  11. data/sorbet/rbi/gems/claide-plugins@0.9.2.rbi +791 -0
  12. data/sorbet/rbi/gems/claide@1.1.0.rbi +1132 -0
  13. data/sorbet/rbi/gems/coderay@1.1.3.rbi +2256 -0
  14. data/sorbet/rbi/gems/colored2@3.1.2.rbi +130 -0
  15. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +8695 -0
  16. data/sorbet/rbi/gems/cork@0.3.0.rbi +248 -0
  17. data/sorbet/rbi/gems/crass@1.0.6.rbi +436 -0
  18. data/sorbet/rbi/gems/danger-plugin-api@1.0.0.rbi +8 -0
  19. data/sorbet/rbi/gems/danger@9.0.0.rbi +4722 -0
  20. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +862 -0
  21. data/sorbet/rbi/gems/erubi@1.11.0.rbi +102 -0
  22. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +266 -0
  23. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +209 -0
  24. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +212 -0
  25. data/sorbet/rbi/gems/faraday-http-cache@2.4.1.rbi +805 -0
  26. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +221 -0
  27. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +266 -0
  28. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +216 -0
  29. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +206 -0
  30. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +212 -0
  31. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +225 -0
  32. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +222 -0
  33. data/sorbet/rbi/gems/faraday@1.10.2.rbi +1862 -0
  34. data/sorbet/rbi/gems/git@1.12.0.rbi +1936 -0
  35. data/sorbet/rbi/gems/i18n@1.12.0.rbi +1643 -0
  36. data/sorbet/rbi/gems/json@2.6.2.rbi +1418 -0
  37. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
  38. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +2168 -0
  39. data/sorbet/rbi/gems/loofah@2.19.0.rbi +646 -0
  40. data/sorbet/rbi/gems/method_source@1.0.0.rbi +199 -0
  41. data/sorbet/rbi/gems/minitest@5.16.3.rbi +997 -0
  42. data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +165 -0
  43. data/sorbet/rbi/gems/nap@1.1.0.rbi +351 -0
  44. data/sorbet/rbi/gems/no_proxy_fix@0.1.2.rbi +8 -0
  45. data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +4916 -0
  46. data/sorbet/rbi/gems/octokit@5.6.1.rbi +8939 -0
  47. data/sorbet/rbi/gems/open4@1.3.4.rbi +8 -0
  48. data/sorbet/rbi/gems/{packwerk@2.1.1.rbi → packwerk@2.2.1.rbi} +602 -51
  49. data/sorbet/rbi/gems/parallel@1.22.1.rbi +163 -0
  50. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +5988 -0
  51. data/sorbet/rbi/gems/pry@0.14.1.rbi +6969 -0
  52. data/sorbet/rbi/gems/public_suffix@5.0.0.rbi +779 -0
  53. data/sorbet/rbi/gems/racc@1.6.0.rbi +92 -0
  54. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +8 -0
  55. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +493 -0
  56. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +227 -0
  57. data/sorbet/rbi/gems/rake@13.0.6.rbi +1865 -0
  58. data/sorbet/rbi/gems/rbi@0.0.14.rbi +2337 -0
  59. data/sorbet/rbi/gems/rchardet@1.8.0.rbi +587 -0
  60. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +1851 -0
  61. data/sorbet/rbi/gems/rexml@3.2.5.rbi +3852 -0
  62. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +7725 -0
  63. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +6201 -0
  64. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +3625 -0
  65. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +1176 -0
  66. data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
  67. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +4193 -0
  68. data/sorbet/rbi/gems/rubocop-sorbet@0.6.8.rbi +677 -0
  69. data/sorbet/rbi/gems/rubocop@1.36.0.rbi +37914 -0
  70. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +732 -0
  71. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  72. data/sorbet/rbi/gems/sawyer@0.9.2.rbi +513 -0
  73. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +326 -0
  74. data/sorbet/rbi/gems/spoom@1.1.11.rbi +1600 -0
  75. data/sorbet/rbi/gems/tapioca@0.8.0.rbi +1959 -0
  76. data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +438 -0
  77. data/sorbet/rbi/gems/thor@1.2.1.rbi +2921 -0
  78. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +4879 -0
  79. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +27 -0
  80. data/sorbet/rbi/gems/unparser@0.6.5.rbi +2789 -0
  81. data/sorbet/rbi/gems/webrick@1.7.0.rbi +1802 -0
  82. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +288 -0
  83. data/sorbet/rbi/gems/yard@0.9.27.rbi +12668 -0
  84. data/sorbet/rbi/todo.rbi +122 -0
  85. metadata +84 -7
  86. data/sorbet/rbi/gems/danger@8.5.0.rbi +0 -122
@@ -0,0 +1,222 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `faraday-retry` gem.
5
+ # Please instead update this file by running `bin/tapioca gem faraday-retry`.
6
+
7
+ # Faraday namespace.
8
+ module Faraday
9
+ class << self
10
+ # @overload default_adapter
11
+ # @overload default_adapter=
12
+ def default_adapter; end
13
+
14
+ # Documented elsewhere, see default_adapter reader
15
+ def default_adapter=(adapter); end
16
+
17
+ # @overload default_connection
18
+ # @overload default_connection=
19
+ def default_connection; end
20
+
21
+ # Documented below, see default_connection
22
+ def default_connection=(_arg0); end
23
+
24
+ # Gets the default connection options used when calling {Faraday#new}.
25
+ #
26
+ # @return [Faraday::ConnectionOptions]
27
+ def default_connection_options; end
28
+
29
+ # Sets the default options used when calling {Faraday#new}.
30
+ #
31
+ # @param options [Hash, Faraday::ConnectionOptions]
32
+ def default_connection_options=(options); end
33
+
34
+ # Tells Faraday to ignore the environment proxy (http_proxy).
35
+ # Defaults to `false`.
36
+ #
37
+ # @return [Boolean]
38
+ def ignore_env_proxy; end
39
+
40
+ # Tells Faraday to ignore the environment proxy (http_proxy).
41
+ # Defaults to `false`.
42
+ #
43
+ # @return [Boolean]
44
+ def ignore_env_proxy=(_arg0); end
45
+
46
+ # Gets or sets the path that the Faraday libs are loaded from.
47
+ #
48
+ # @return [String]
49
+ def lib_path; end
50
+
51
+ # Gets or sets the path that the Faraday libs are loaded from.
52
+ #
53
+ # @return [String]
54
+ def lib_path=(_arg0); end
55
+
56
+ # Initializes a new {Connection}.
57
+ #
58
+ # @example With an URL argument
59
+ # Faraday.new 'http://faraday.com'
60
+ # # => Faraday::Connection to http://faraday.com
61
+ # @example With everything in an options hash
62
+ # Faraday.new url: 'http://faraday.com',
63
+ # params: { page: 1 }
64
+ # # => Faraday::Connection to http://faraday.com?page=1
65
+ # @example With an URL argument and an options hash
66
+ # Faraday.new 'http://faraday.com', params: { page: 1 }
67
+ # # => Faraday::Connection to http://faraday.com?page=1
68
+ # @option options
69
+ # @option options
70
+ # @option options
71
+ # @option options
72
+ # @option options
73
+ # @option options
74
+ # @param url [String, Hash] The optional String base URL to use as a prefix
75
+ # for all requests. Can also be the options Hash. Any of these
76
+ # values will be set on every request made, unless overridden
77
+ # for a specific request.
78
+ # @param options [Hash]
79
+ # @return [Faraday::Connection]
80
+ def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
81
+
82
+ # Internal: Requires internal Faraday libraries.
83
+ #
84
+ # @param libs [Array] one or more relative String names to Faraday classes.
85
+ # @private
86
+ # @return [void]
87
+ def require_lib(*libs); end
88
+
89
+ # Internal: Requires internal Faraday libraries.
90
+ #
91
+ # @param libs [Array] one or more relative String names to Faraday classes.
92
+ # @private
93
+ # @return [void]
94
+ def require_libs(*libs); end
95
+
96
+ # @return [Boolean]
97
+ def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
98
+
99
+ # The root path that Faraday is being loaded from.
100
+ #
101
+ # This is the root from where the libraries are auto-loaded.
102
+ #
103
+ # @return [String]
104
+ def root_path; end
105
+
106
+ # The root path that Faraday is being loaded from.
107
+ #
108
+ # This is the root from where the libraries are auto-loaded.
109
+ #
110
+ # @return [String]
111
+ def root_path=(_arg0); end
112
+
113
+ private
114
+
115
+ # Internal: Proxies method calls on the Faraday constant to
116
+ # .default_connection.
117
+ def method_missing(name, *args, &block); end
118
+ end
119
+ end
120
+
121
+ Faraday::CONTENT_TYPE = T.let(T.unsafe(nil), String)
122
+ Faraday::CompositeReadIO = Faraday::Multipart::CompositeReadIO
123
+
124
+ # Aliases for Faraday v1, these are all deprecated and will be removed in v2 of this middleware
125
+ Faraday::FilePart = Multipart::Post::UploadIO
126
+
127
+ Faraday::METHODS_WITH_BODY = T.let(T.unsafe(nil), Array)
128
+ Faraday::METHODS_WITH_QUERY = T.let(T.unsafe(nil), Array)
129
+ Faraday::ParamPart = Faraday::Multipart::ParamPart
130
+ Faraday::Parts = Multipart::Post::Parts
131
+
132
+ # Exception used to control the Retry middleware.
133
+ class Faraday::RetriableResponse < ::Faraday::Error; end
134
+
135
+ # Middleware main module.
136
+ module Faraday::Retry; end
137
+
138
+ # This class provides the main implementation for your middleware.
139
+ # Your middleware can implement any of the following methods:
140
+ # * on_request - called when the request is being prepared
141
+ # * on_complete - called when the response is being processed
142
+ #
143
+ # Optionally, you can also override the following methods from Faraday::Middleware
144
+ # * initialize(app, options = {}) - the initializer method
145
+ # * call(env) - the main middleware invocation method.
146
+ # This already calls on_request and on_complete, so you normally don't need to override it.
147
+ # You may need to in case you need to "wrap" the request or need more control
148
+ # (see "retry" middleware: https://github.com/lostisland/faraday/blob/main/lib/faraday/request/retry.rb#L142).
149
+ # IMPORTANT: Remember to call `@app.call(env)` or `super` to not interrupt the middleware chain!
150
+ class Faraday::Retry::Middleware < ::Faraday::Middleware
151
+ # @option options
152
+ # @option options
153
+ # @option options
154
+ # @option options
155
+ # @option options
156
+ # @option options
157
+ # @option options
158
+ # @option options
159
+ # @option options
160
+ # @option options
161
+ # @param app [#call]
162
+ # @param options [Hash]
163
+ # @return [Middleware] a new instance of Middleware
164
+ def initialize(app, options = T.unsafe(nil)); end
165
+
166
+ # An exception matcher for the rescue clause can usually be any object
167
+ # that responds to `===`, but for Ruby 1.8 it has to be a Class or Module.
168
+ #
169
+ # @api private
170
+ # @param exceptions [Array]
171
+ # @return [Module] an exception matcher
172
+ def build_exception_matcher(exceptions); end
173
+
174
+ def calculate_sleep_amount(retries, env); end
175
+
176
+ # @param env [Faraday::Env]
177
+ def call(env); end
178
+
179
+ private
180
+
181
+ # MDN spec for Retry-After header:
182
+ # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
183
+ def calculate_retry_after(env); end
184
+
185
+ def calculate_retry_interval(retries); end
186
+
187
+ # @return [Boolean]
188
+ def retry_request?(env, exception); end
189
+
190
+ def rewind_files(body); end
191
+ end
192
+
193
+ Faraday::Retry::Middleware::DEFAULT_EXCEPTIONS = T.let(T.unsafe(nil), Array)
194
+ Faraday::Retry::Middleware::IDEMPOTENT_METHODS = T.let(T.unsafe(nil), Array)
195
+
196
+ # Options contains the configurable parameters for the Retry middleware.
197
+ class Faraday::Retry::Middleware::Options < ::Faraday::Options
198
+ def backoff_factor; end
199
+ def exceptions; end
200
+ def interval; end
201
+ def interval_randomness; end
202
+ def max; end
203
+ def max_interval; end
204
+ def methods; end
205
+ def retry_block; end
206
+ def retry_if; end
207
+ def retry_statuses; end
208
+
209
+ class << self
210
+ def from(value); end
211
+ end
212
+ end
213
+
214
+ Faraday::Retry::Middleware::Options::DEFAULT_CHECK = T.let(T.unsafe(nil), Proc)
215
+ Faraday::Retry::VERSION = T.let(T.unsafe(nil), String)
216
+ Faraday::Timer = Timeout
217
+
218
+ # multipart-post v2.2.0 introduces a new class hierarchy for classes like Parts and UploadIO
219
+ # For backwards compatibility, detect the gem version and use the right class
220
+ Faraday::UploadIO = Multipart::Post::UploadIO
221
+
222
+ Faraday::VERSION = T.let(T.unsafe(nil), String)