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,286 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `better_html` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem better_html`.
|
6
|
+
|
7
|
+
module BetterHtml
|
8
|
+
class << self
|
9
|
+
def config; end
|
10
|
+
|
11
|
+
# Sets the attribute config
|
12
|
+
#
|
13
|
+
# @param value the value to set the attribute config to.
|
14
|
+
def config=(_arg0); end
|
15
|
+
|
16
|
+
# @yield [config]
|
17
|
+
def configure; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module BetterHtml::AST; end
|
22
|
+
|
23
|
+
class BetterHtml::AST::Iterator
|
24
|
+
# @return [Iterator] a new instance of Iterator
|
25
|
+
def initialize(types, &block); end
|
26
|
+
|
27
|
+
def traverse(node); end
|
28
|
+
def traverse_all(nodes); end
|
29
|
+
|
30
|
+
class << self
|
31
|
+
def descendants(root_node, type); end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
class BetterHtml::AST::Node < ::AST::Node
|
36
|
+
def descendants(*types); end
|
37
|
+
|
38
|
+
# Returns the value of attribute loc.
|
39
|
+
def loc; end
|
40
|
+
|
41
|
+
def location; end
|
42
|
+
end
|
43
|
+
|
44
|
+
class BetterHtml::Config
|
45
|
+
include ::SmartProperties
|
46
|
+
extend ::SmartProperties::ClassMethods
|
47
|
+
|
48
|
+
# @return [Boolean]
|
49
|
+
def javascript_attribute_name?(name); end
|
50
|
+
|
51
|
+
# @return [Boolean]
|
52
|
+
def javascript_safe_method?(name); end
|
53
|
+
|
54
|
+
# @return [Boolean]
|
55
|
+
def lodash_safe_javascript_expression?(code); end
|
56
|
+
end
|
57
|
+
|
58
|
+
class BetterHtml::DontInterpolateHere < ::BetterHtml::InterpolatorError; end
|
59
|
+
|
60
|
+
class BetterHtml::Errors < ::Array
|
61
|
+
def add(_arg0); end
|
62
|
+
end
|
63
|
+
|
64
|
+
module BetterHtml::Helpers
|
65
|
+
def html_attributes(args); end
|
66
|
+
end
|
67
|
+
|
68
|
+
class BetterHtml::HtmlAttributes
|
69
|
+
# @return [HtmlAttributes] a new instance of HtmlAttributes
|
70
|
+
def initialize(data); end
|
71
|
+
|
72
|
+
def to_s; end
|
73
|
+
end
|
74
|
+
|
75
|
+
class BetterHtml::HtmlError < ::RuntimeError; end
|
76
|
+
class BetterHtml::InterpolatorError < ::RuntimeError; end
|
77
|
+
|
78
|
+
class BetterHtml::Parser
|
79
|
+
# @raise [ArgumentError]
|
80
|
+
# @return [Parser] a new instance of Parser
|
81
|
+
def initialize(buffer, template_language: T.unsafe(nil)); end
|
82
|
+
|
83
|
+
def ast; end
|
84
|
+
def inspect; end
|
85
|
+
def nodes_with_type(*type); end
|
86
|
+
def parser_errors; end
|
87
|
+
|
88
|
+
# Returns the value of attribute template_language.
|
89
|
+
def template_language; end
|
90
|
+
|
91
|
+
private
|
92
|
+
|
93
|
+
def build_attribute_name_node(tokens); end
|
94
|
+
def build_attribute_node(tokens); end
|
95
|
+
def build_attribute_value_node(tokens); end
|
96
|
+
def build_cdata_node(tokens); end
|
97
|
+
def build_comment_node(tokens); end
|
98
|
+
def build_document_node; end
|
99
|
+
def build_erb_node(tokens); end
|
100
|
+
def build_interpolation_node(tokens); end
|
101
|
+
|
102
|
+
# @raise [ArgumentError]
|
103
|
+
def build_location(enumerable); end
|
104
|
+
|
105
|
+
def build_lodash_node(tokens); end
|
106
|
+
def build_nameless_attribute_node(tokens); end
|
107
|
+
def build_node(type, tokens, pre: T.unsafe(nil), post: T.unsafe(nil)); end
|
108
|
+
def build_tag_attributes_node(tokens); end
|
109
|
+
def build_tag_name_node(tokens); end
|
110
|
+
def build_tag_node(tokens); end
|
111
|
+
def build_text_node(tokens); end
|
112
|
+
def empty_location; end
|
113
|
+
def shift_all(tokens, *types); end
|
114
|
+
def shift_all_with_interpolation(tokens, *types); end
|
115
|
+
def shift_between(tokens, start_type, end_type); end
|
116
|
+
def shift_between_with_interpolation(tokens, start_type, end_type); end
|
117
|
+
def shift_single(tokens, *types); end
|
118
|
+
def shift_until(tokens, *types); end
|
119
|
+
def shift_until_with_interpolation(tokens, *types); end
|
120
|
+
def wrap_token(object); end
|
121
|
+
def wrap_tokens(enumerable); end
|
122
|
+
end
|
123
|
+
|
124
|
+
class BetterHtml::Parser::Error < ::BetterHtml::HtmlError
|
125
|
+
# @return [Error] a new instance of Error
|
126
|
+
def initialize(message, location:); end
|
127
|
+
|
128
|
+
# Returns the value of attribute location.
|
129
|
+
def loc; end
|
130
|
+
|
131
|
+
# Returns the value of attribute location.
|
132
|
+
def location; end
|
133
|
+
end
|
134
|
+
|
135
|
+
BetterHtml::Parser::INTERPOLATION_TYPES = T.let(T.unsafe(nil), Array)
|
136
|
+
|
137
|
+
class BetterHtml::ParserError < ::RuntimeError
|
138
|
+
# @return [ParserError] a new instance of ParserError
|
139
|
+
def initialize(message, position, line, column); end
|
140
|
+
|
141
|
+
# Returns the value of attribute column.
|
142
|
+
def column; end
|
143
|
+
|
144
|
+
# Returns the value of attribute line.
|
145
|
+
def line; end
|
146
|
+
|
147
|
+
# Returns the value of attribute position.
|
148
|
+
def position; end
|
149
|
+
end
|
150
|
+
|
151
|
+
module BetterHtml::Tokenizer; end
|
152
|
+
|
153
|
+
class BetterHtml::Tokenizer::BaseErb < ::Erubi::Engine
|
154
|
+
# @raise [ArgumentError]
|
155
|
+
# @return [BaseErb] a new instance of BaseErb
|
156
|
+
def initialize(buffer); end
|
157
|
+
|
158
|
+
# Returns the value of attribute current_position.
|
159
|
+
def current_position; end
|
160
|
+
|
161
|
+
# Returns the value of attribute tokens.
|
162
|
+
def tokens; end
|
163
|
+
|
164
|
+
private
|
165
|
+
|
166
|
+
def add_code(code); end
|
167
|
+
def add_erb_tokens(ltrim, indicator, code, rtrim); end
|
168
|
+
def add_expression(indicator, code); end
|
169
|
+
def add_token(type, begin_pos, end_pos); end
|
170
|
+
def append(text); end
|
171
|
+
end
|
172
|
+
|
173
|
+
BetterHtml::Tokenizer::BaseErb::EXPR_TRIM_MATCHER = T.let(T.unsafe(nil), Regexp)
|
174
|
+
BetterHtml::Tokenizer::BaseErb::REGEXP_WITHOUT_TRIM = T.let(T.unsafe(nil), Regexp)
|
175
|
+
BetterHtml::Tokenizer::BaseErb::STMT_TRIM_MATCHER = T.let(T.unsafe(nil), Regexp)
|
176
|
+
|
177
|
+
class BetterHtml::Tokenizer::HtmlErb < ::BetterHtml::Tokenizer::BaseErb
|
178
|
+
# @return [HtmlErb] a new instance of HtmlErb
|
179
|
+
def initialize(buffer); end
|
180
|
+
|
181
|
+
def current_position; end
|
182
|
+
|
183
|
+
# Returns the value of attribute parser.
|
184
|
+
def parser; end
|
185
|
+
|
186
|
+
private
|
187
|
+
|
188
|
+
def add_text(text); end
|
189
|
+
def append(text); end
|
190
|
+
end
|
191
|
+
|
192
|
+
class BetterHtml::Tokenizer::HtmlLodash
|
193
|
+
# @return [HtmlLodash] a new instance of HtmlLodash
|
194
|
+
def initialize(buffer); end
|
195
|
+
|
196
|
+
def lodash_escape; end
|
197
|
+
def lodash_escape=(val); end
|
198
|
+
def lodash_evaluate; end
|
199
|
+
def lodash_evaluate=(val); end
|
200
|
+
def lodash_interpolate; end
|
201
|
+
def lodash_interpolate=(val); end
|
202
|
+
|
203
|
+
# Returns the value of attribute parser.
|
204
|
+
def parser; end
|
205
|
+
|
206
|
+
# Returns the value of attribute tokens.
|
207
|
+
def tokens; end
|
208
|
+
|
209
|
+
private
|
210
|
+
|
211
|
+
def add_lodash_tokens(indicator, code); end
|
212
|
+
def add_text(text); end
|
213
|
+
def add_token(type, begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
|
214
|
+
def scan!; end
|
215
|
+
def scan_pattern; end
|
216
|
+
|
217
|
+
class << self
|
218
|
+
def lodash_escape; end
|
219
|
+
def lodash_escape=(val); end
|
220
|
+
def lodash_evaluate; end
|
221
|
+
def lodash_evaluate=(val); end
|
222
|
+
def lodash_interpolate; end
|
223
|
+
def lodash_interpolate=(val); end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
class BetterHtml::Tokenizer::JavascriptErb < ::BetterHtml::Tokenizer::BaseErb
|
228
|
+
private
|
229
|
+
|
230
|
+
def add_text(text); end
|
231
|
+
end
|
232
|
+
|
233
|
+
class BetterHtml::Tokenizer::Location < ::Parser::Source::Range
|
234
|
+
# @raise [ArgumentError]
|
235
|
+
# @return [Location] a new instance of Location
|
236
|
+
def initialize(buffer, begin_pos, end_pos); end
|
237
|
+
|
238
|
+
def adjust(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
|
239
|
+
def begin; end
|
240
|
+
def end; end
|
241
|
+
def line_range; end
|
242
|
+
def line_source_with_underline; end
|
243
|
+
def offset(offset); end
|
244
|
+
def range; end
|
245
|
+
def resize(new_size); end
|
246
|
+
def start_column; end
|
247
|
+
def start_line; end
|
248
|
+
def stop_column; end
|
249
|
+
def stop_line; end
|
250
|
+
def with(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
|
251
|
+
end
|
252
|
+
|
253
|
+
class BetterHtml::Tokenizer::Token
|
254
|
+
# @return [Token] a new instance of Token
|
255
|
+
def initialize(type:, loc:); end
|
256
|
+
|
257
|
+
def inspect; end
|
258
|
+
|
259
|
+
# Returns the value of attribute loc.
|
260
|
+
def loc; end
|
261
|
+
|
262
|
+
# Returns the value of attribute type.
|
263
|
+
def type; end
|
264
|
+
end
|
265
|
+
|
266
|
+
class BetterHtml::Tokenizer::TokenArray
|
267
|
+
# @return [TokenArray] a new instance of TokenArray
|
268
|
+
def initialize(list); end
|
269
|
+
|
270
|
+
# @return [Boolean]
|
271
|
+
def any?; end
|
272
|
+
|
273
|
+
def current; end
|
274
|
+
|
275
|
+
# @return [Boolean]
|
276
|
+
def empty?; end
|
277
|
+
|
278
|
+
def last; end
|
279
|
+
def pop; end
|
280
|
+
def shift; end
|
281
|
+
def size; end
|
282
|
+
def trim(type); end
|
283
|
+
end
|
284
|
+
|
285
|
+
class BetterHtml::UnsafeHtmlError < ::BetterHtml::InterpolatorError; end
|
286
|
+
BetterHtml::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `builder` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem builder`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|