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,438 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `terminal-table` gem.
5
+ # Please instead update this file by running `bin/tapioca gem terminal-table`.
6
+
7
+ module Terminal; end
8
+
9
+ class Terminal::Table
10
+ # Generates a ASCII/Unicode table with the given _options_.
11
+ #
12
+ # @return [Table] a new instance of Table
13
+ def initialize(options = T.unsafe(nil), &block); end
14
+
15
+ # Add a row.
16
+ def <<(array); end
17
+
18
+ # Check if _other_ is equal to self. _other_ is considered equal
19
+ # if it contains the same headings and rows.
20
+ def ==(other); end
21
+
22
+ # Add a row.
23
+ def add_row(array); end
24
+
25
+ # Add a separator.
26
+ def add_separator(border_type: T.unsafe(nil)); end
27
+
28
+ # Align column _n_ to the given _alignment_ of :center, :left, or :right.
29
+ def align_column(n, alignment); end
30
+
31
+ def cell_padding; end
32
+ def cell_spacing; end
33
+
34
+ # Return column _n_.
35
+ def column(n, method = T.unsafe(nil), array = T.unsafe(nil)); end
36
+
37
+ # Return length of column _n_.
38
+ def column_width(n); end
39
+
40
+ # Return _n_ column including headings.
41
+ def column_with_headings(n, method = T.unsafe(nil)); end
42
+
43
+ # Return columns.
44
+ def columns; end
45
+
46
+ # Elaborate rows to form an Array of Rows and Separators with adjacency properties added.
47
+ #
48
+ # This is separated from the String rendering so that certain features may be tweaked
49
+ # before the String is built.
50
+ def elaborate_rows; end
51
+
52
+ # Returns the value of attribute headings.
53
+ def headings; end
54
+
55
+ # Set the headings
56
+ def headings=(arrays); end
57
+
58
+ # Return length of column _n_.
59
+ # for legacy support
60
+ def length_of_column(n); end
61
+
62
+ # Return total number of columns available.
63
+ def number_of_columns; end
64
+
65
+ # Render the table.
66
+ def render; end
67
+
68
+ # Return rows without separator rows.
69
+ def rows; end
70
+
71
+ def rows=(array); end
72
+ def style; end
73
+ def style=(options); end
74
+
75
+ # Returns the value of attribute title.
76
+ def title; end
77
+
78
+ def title=(title); end
79
+
80
+ # Render the table.
81
+ def to_s; end
82
+
83
+ private
84
+
85
+ def column_widths; end
86
+ def columns_width; end
87
+
88
+ # Return headings combined with rows.
89
+ def headings_with_rows; end
90
+
91
+ def recalc_column_widths; end
92
+ def require_column_widths_recalc; end
93
+ def title_cell_options; end
94
+ def yield_or_eval(&block); end
95
+ end
96
+
97
+ class Terminal::Table::AsciiBorder < ::Terminal::Table::Border
98
+ # @return [AsciiBorder] a new instance of AsciiBorder
99
+ def initialize; end
100
+
101
+ # Get horizontal border elements
102
+ #
103
+ # @return [Array] a 6 element list of: [i-left, horizontal-bar, i-up/down, i-right, i-down, i-up]
104
+ def horizontal(_type); end
105
+
106
+ # Get vertical border elements
107
+ #
108
+ # @return [Array] 3-element list of [left, center, right]
109
+ def vertical; end
110
+ end
111
+
112
+ Terminal::Table::AsciiBorder::HORIZONTALS = T.let(T.unsafe(nil), Array)
113
+ Terminal::Table::AsciiBorder::INTERSECTIONS = T.let(T.unsafe(nil), Array)
114
+ Terminal::Table::AsciiBorder::VERTICALS = T.let(T.unsafe(nil), Array)
115
+
116
+ class Terminal::Table::Border
117
+ # @return [Border] a new instance of Border
118
+ def initialize; end
119
+
120
+ def [](key); end
121
+ def []=(key, val); end
122
+
123
+ # Returns the value of attribute bottom.
124
+ def bottom; end
125
+
126
+ # Sets the attribute bottom
127
+ #
128
+ # @param value the value to set the attribute bottom to.
129
+ def bottom=(_arg0); end
130
+
131
+ # Returns the value of attribute data.
132
+ def data; end
133
+
134
+ # Sets the attribute data
135
+ #
136
+ # @param value the value to set the attribute data to.
137
+ def data=(_arg0); end
138
+
139
+ # Returns the value of attribute left.
140
+ def left; end
141
+
142
+ # Sets the attribute left
143
+ #
144
+ # @param value the value to set the attribute left to.
145
+ def left=(_arg0); end
146
+
147
+ # If @left, return the edge else empty-string.
148
+ def maybeleft(key); end
149
+
150
+ # If @right, return the edge else empty-string.
151
+ def mayberight(key); end
152
+
153
+ def remove_horizontals; end
154
+ def remove_verticals; end
155
+
156
+ # Returns the value of attribute right.
157
+ def right; end
158
+
159
+ # Sets the attribute right
160
+ #
161
+ # @param value the value to set the attribute right to.
162
+ def right=(_arg0); end
163
+
164
+ # Returns the value of attribute top.
165
+ def top; end
166
+
167
+ # Sets the attribute top
168
+ #
169
+ # @param value the value to set the attribute top to.
170
+ def top=(_arg0); end
171
+
172
+ private
173
+
174
+ def initialize_dup(other); end
175
+ end
176
+
177
+ class Terminal::Table::Cell
178
+ # Initialize with _options_.
179
+ #
180
+ # @return [Cell] a new instance of Cell
181
+ def initialize(options = T.unsafe(nil)); end
182
+
183
+ def align(val, position, length); end
184
+ def alignment; end
185
+ def alignment=(val); end
186
+
187
+ # @return [Boolean]
188
+ def alignment?; end
189
+
190
+ # Column span.
191
+ def colspan; end
192
+
193
+ def inspect; end
194
+ def lines; end
195
+
196
+ # Render the cell.
197
+ def render(line = T.unsafe(nil)); end
198
+
199
+ # Render the cell.
200
+ def to_s(line = T.unsafe(nil)); end
201
+
202
+ # Cell value.
203
+ def value; end
204
+
205
+ # Returns the longest line in the cell and
206
+ # removes all ANSI escape sequences (e.g. color)
207
+ def value_for_column_width_recalc; end
208
+
209
+ # Returns the width of this cell
210
+ def width; end
211
+ end
212
+
213
+ class Terminal::Table::MarkdownBorder < ::Terminal::Table::AsciiBorder
214
+ # @return [MarkdownBorder] a new instance of MarkdownBorder
215
+ def initialize; end
216
+ end
217
+
218
+ class Terminal::Table::Row
219
+ # Initialize with _width_ and _options_.
220
+ #
221
+ # @return [Row] a new instance of Row
222
+ def initialize(table, array = T.unsafe(nil), **_kwargs); end
223
+
224
+ def <<(item); end
225
+ def [](index); end
226
+ def add_cell(item); end
227
+
228
+ # Row cells
229
+ def cells; end
230
+
231
+ # used to find indices where we have table '+' crossings.
232
+ # in cases where the colspan > 1, then we will skip over some numbers
233
+ # if colspan is always 1, then the list should be incrementing by 1.
234
+ #
235
+ # skip 0 entry, because it's the left side.
236
+ # skip last entry, because it's the right side.
237
+ # we only care about "+/T" style crossings.
238
+ def crossings; end
239
+
240
+ def height; end
241
+ def number_of_columns; end
242
+ def render; end
243
+
244
+ # Returns the value of attribute table.
245
+ def table; end
246
+ end
247
+
248
+ class Terminal::Table::Separator < ::Terminal::Table::Row
249
+ # `prevrow`, `nextrow` contain references to adjacent rows.
250
+ #
251
+ # `border_type` is a symbol used to control which type of border is used
252
+ # on the separator (:top for top-edge, :bot for bottom-edge,
253
+ # :div for interior, and :strong for emphasized-interior)
254
+ #
255
+ # `implicit` is false for user-added separators, and true for
256
+ # implicit/auto-generated separators.
257
+ #
258
+ # @return [Separator] a new instance of Separator
259
+ def initialize(*args, border_type: T.unsafe(nil), implicit: T.unsafe(nil)); end
260
+
261
+ # Returns the value of attribute border_type.
262
+ def border_type; end
263
+
264
+ # Sets the attribute border_type
265
+ #
266
+ # @param value the value to set the attribute border_type to.
267
+ def border_type=(_arg0); end
268
+
269
+ # Returns the value of attribute implicit.
270
+ def implicit; end
271
+
272
+ def render; end
273
+
274
+ # Save off neighboring rows, so that we can use them later in determining
275
+ # which types of table edges to use.
276
+ def save_adjacent_rows(prevrow, nextrow); end
277
+ end
278
+
279
+ # A Style object holds all the formatting information for a Table object
280
+ #
281
+ # To create a table with a certain style, use either the constructor
282
+ # option <tt>:style</tt>, the Table#style object or the Table#style= method
283
+ #
284
+ # All these examples have the same effect:
285
+ #
286
+ # # by constructor
287
+ # @table = Table.new(:style => {:padding_left => 2, :width => 40})
288
+ #
289
+ # # by object
290
+ # @table.style.padding_left = 2
291
+ # @table.style.width = 40
292
+ #
293
+ # # by method
294
+ # @table.style = {:padding_left => 2, :width => 40}
295
+ #
296
+ # To set a default style for all tables created afterwards use Style.defaults=
297
+ #
298
+ # Terminal::Table::Style.defaults = {:width => 80}
299
+ class Terminal::Table::Style
300
+ extend ::Forwardable
301
+
302
+ # @return [Style] a new instance of Style
303
+ def initialize(options = T.unsafe(nil)); end
304
+
305
+ # Returns the value of attribute alignment.
306
+ def alignment; end
307
+
308
+ # Sets the attribute alignment
309
+ #
310
+ # @param value the value to set the attribute alignment to.
311
+ def alignment=(_arg0); end
312
+
313
+ # Returns the value of attribute all_separators.
314
+ def all_separators; end
315
+
316
+ # Sets the attribute all_separators
317
+ #
318
+ # @param value the value to set the attribute all_separators to.
319
+ def all_separators=(_arg0); end
320
+
321
+ def apply(options); end
322
+
323
+ # Accessor for instance of Border
324
+ def border; end
325
+
326
+ def border=(val); end
327
+ def border_bottom; end
328
+ def border_bottom=(val); end
329
+ def border_i=(val); end
330
+ def border_left; end
331
+ def border_left=(val); end
332
+ def border_right; end
333
+ def border_right=(val); end
334
+ def border_top; end
335
+ def border_top=(val); end
336
+
337
+ # settors/gettor for legacy ascii borders
338
+ def border_x=(val); end
339
+
340
+ def border_y; end
341
+ def border_y=(val); end
342
+ def border_y_width; end
343
+ def horizontal(*args, &block); end
344
+
345
+ # Returns the value of attribute margin_left.
346
+ def margin_left; end
347
+
348
+ # Sets the attribute margin_left
349
+ #
350
+ # @param value the value to set the attribute margin_left to.
351
+ def margin_left=(_arg0); end
352
+
353
+ def on_change(attr); end
354
+
355
+ # Returns the value of attribute padding_left.
356
+ def padding_left; end
357
+
358
+ # Sets the attribute padding_left
359
+ #
360
+ # @param value the value to set the attribute padding_left to.
361
+ def padding_left=(_arg0); end
362
+
363
+ # Returns the value of attribute padding_right.
364
+ def padding_right; end
365
+
366
+ # Sets the attribute padding_right
367
+ #
368
+ # @param value the value to set the attribute padding_right to.
369
+ def padding_right=(_arg0); end
370
+
371
+ def remove_horizontals(*args, &block); end
372
+ def remove_verticals(*args, &block); end
373
+ def vertical(*args, &block); end
374
+
375
+ # Returns the value of attribute width.
376
+ def width; end
377
+
378
+ # Sets the attribute width
379
+ #
380
+ # @param value the value to set the attribute width to.
381
+ def width=(_arg0); end
382
+
383
+ class << self
384
+ def defaults; end
385
+ def defaults=(options); end
386
+ end
387
+ end
388
+
389
+ module Terminal::Table::TableHelper
390
+ def table(headings = T.unsafe(nil), *rows, &block); end
391
+ end
392
+
393
+ class Terminal::Table::UnicodeBorder < ::Terminal::Table::Border
394
+ # @return [UnicodeBorder] a new instance of UnicodeBorder
395
+ def initialize; end
396
+
397
+ # Get horizontal border elements
398
+ #
399
+ # @raise [ArgumentError]
400
+ # @return [Array] a 6 element list of: [i-left, horizontal-bar, i-up/down, i-right, i-down, i-up]
401
+ def horizontal(type); end
402
+
403
+ # Get vertical border elements
404
+ #
405
+ # @return [Array] 3-element list of [left, center, right]
406
+ def vertical; end
407
+ end
408
+
409
+ Terminal::Table::UnicodeBorder::ALLOWED_SEPARATOR_BORDER_STYLES = T.let(T.unsafe(nil), Array)
410
+ Terminal::Table::UnicodeBorder::HORIZONTALS = T.let(T.unsafe(nil), Array)
411
+ Terminal::Table::UnicodeBorder::INTERSECTIONS = T.let(T.unsafe(nil), Array)
412
+ Terminal::Table::UnicodeBorder::VERTICALS = T.let(T.unsafe(nil), Array)
413
+
414
+ # Unicode Border With rounded edges
415
+ class Terminal::Table::UnicodeRoundBorder < ::Terminal::Table::UnicodeBorder
416
+ # @return [UnicodeRoundBorder] a new instance of UnicodeRoundBorder
417
+ def initialize; end
418
+ end
419
+
420
+ # Unicode Border with thick outer edges
421
+ class Terminal::Table::UnicodeThickEdgeBorder < ::Terminal::Table::UnicodeBorder
422
+ # @return [UnicodeThickEdgeBorder] a new instance of UnicodeThickEdgeBorder
423
+ def initialize; end
424
+ end
425
+
426
+ module Terminal::Table::Util
427
+ private
428
+
429
+ # removes all ANSI escape sequences (e.g. color)
430
+ def ansi_escape(line); end
431
+
432
+ class << self
433
+ # removes all ANSI escape sequences (e.g. color)
434
+ def ansi_escape(line); end
435
+ end
436
+ end
437
+
438
+ Terminal::Table::VERSION = T.let(T.unsafe(nil), String)