danger-packwerk 0.14.0 → 0.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/lib/danger-packwerk/danger_package_todo_yml_changes.rb +21 -118
  3. data/lib/danger-packwerk/danger_packwerk.rb +12 -7
  4. data/lib/danger-packwerk/private/git.rb +65 -0
  5. data/lib/danger-packwerk/private/todo_yml_changes.rb +135 -0
  6. data/lib/danger-packwerk/private.rb +1 -0
  7. data/lib/danger-packwerk/version.rb +1 -1
  8. metadata +4 -88
  9. data/sorbet/config +0 -4
  10. data/sorbet/rbi/gems/actionview@7.0.4.rbi +0 -11543
  11. data/sorbet/rbi/gems/activesupport@7.0.4.rbi +0 -12959
  12. data/sorbet/rbi/gems/addressable@2.8.1.rbi +0 -1505
  13. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -522
  14. data/sorbet/rbi/gems/better_html@2.0.1.rbi +0 -286
  15. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  16. data/sorbet/rbi/gems/claide-plugins@0.9.2.rbi +0 -791
  17. data/sorbet/rbi/gems/claide@1.1.0.rbi +0 -1132
  18. data/sorbet/rbi/gems/code_ownership@1.29.2.rbi +0 -525
  19. data/sorbet/rbi/gems/code_teams@1.0.0.rbi +0 -120
  20. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -2256
  21. data/sorbet/rbi/gems/colored2@3.1.2.rbi +0 -130
  22. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +0 -8695
  23. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +0 -30
  24. data/sorbet/rbi/gems/cork@0.3.0.rbi +0 -248
  25. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -436
  26. data/sorbet/rbi/gems/danger-plugin-api@1.0.0.rbi +0 -8
  27. data/sorbet/rbi/gems/danger@9.0.0.rbi +0 -4722
  28. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -862
  29. data/sorbet/rbi/gems/erubi@1.11.0.rbi +0 -102
  30. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -266
  31. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -209
  32. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -212
  33. data/sorbet/rbi/gems/faraday-http-cache@2.4.1.rbi +0 -805
  34. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -221
  35. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -266
  36. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -216
  37. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -206
  38. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -212
  39. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -225
  40. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -222
  41. data/sorbet/rbi/gems/faraday@1.10.2.rbi +0 -1862
  42. data/sorbet/rbi/gems/git@1.12.0.rbi +0 -1936
  43. data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -1643
  44. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -8
  45. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -2168
  46. data/sorbet/rbi/gems/loofah@2.19.0.rbi +0 -646
  47. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -199
  48. data/sorbet/rbi/gems/minitest@5.16.3.rbi +0 -997
  49. data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +0 -165
  50. data/sorbet/rbi/gems/nap@1.1.0.rbi +0 -351
  51. data/sorbet/rbi/gems/no_proxy_fix@0.1.2.rbi +0 -8
  52. data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +0 -4916
  53. data/sorbet/rbi/gems/octokit@5.6.1.rbi +0 -8939
  54. data/sorbet/rbi/gems/open4@1.3.4.rbi +0 -8
  55. data/sorbet/rbi/gems/packs@0.0.5.rbi +0 -111
  56. data/sorbet/rbi/gems/packwerk@2.2.1-e998ef65194de398f0baaf03a0ba33390b30351e.rbi +0 -2161
  57. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -163
  58. data/sorbet/rbi/gems/parse_packwerk@0.18.0.rbi +0 -225
  59. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -5988
  60. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -6969
  61. data/sorbet/rbi/gems/public_suffix@5.0.0.rbi +0 -779
  62. data/sorbet/rbi/gems/racc@1.6.0.rbi +0 -92
  63. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -8
  64. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +0 -493
  65. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -227
  66. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -1865
  67. data/sorbet/rbi/gems/rbi@0.0.14.rbi +0 -2337
  68. data/sorbet/rbi/gems/rchardet@1.8.0.rbi +0 -587
  69. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -1851
  70. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -3852
  71. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +0 -7725
  72. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +0 -6201
  73. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -3625
  74. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -1176
  75. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -40
  76. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -4193
  77. data/sorbet/rbi/gems/rubocop-sorbet@0.6.8.rbi +0 -677
  78. data/sorbet/rbi/gems/rubocop@1.36.0.rbi +0 -37914
  79. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -732
  80. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -8
  81. data/sorbet/rbi/gems/sawyer@0.9.2.rbi +0 -513
  82. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +0 -326
  83. data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -1600
  84. data/sorbet/rbi/gems/tapioca@0.8.0.rbi +0 -1959
  85. data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +0 -438
  86. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -2921
  87. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -4879
  88. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +0 -27
  89. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -2789
  90. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -1802
  91. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -288
  92. data/sorbet/rbi/gems/yard@0.9.27.rbi +0 -12668
  93. data/sorbet/rbi/todo.rbi +0 -125
  94. data/sorbet/tapioca/require.rb +0 -4
@@ -1,30 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `constant_resolver` gem.
5
- # Please instead update this file by running `bin/tapioca gem constant_resolver`.
6
-
7
- class ConstantResolver
8
- def initialize(root_path:, load_paths:, inflector: T.unsafe(nil)); end
9
-
10
- def config; end
11
- def file_map; end
12
- def resolve(const_name, current_namespace_path: T.unsafe(nil)); end
13
-
14
- private
15
-
16
- def ambiguous_constant_message(const_name, paths); end
17
- def coerce_load_paths(load_paths); end
18
- def glob_path(path); end
19
- def resolve_constant(const_name, current_namespace_path, original_name: T.unsafe(nil)); end
20
- def resolve_traversing_namespace_path(const_name, current_namespace_path); end
21
- end
22
-
23
- class ConstantResolver::ConstantContext < ::Struct; end
24
-
25
- class ConstantResolver::DefaultInflector
26
- def camelize(string); end
27
- end
28
-
29
- class ConstantResolver::Error < ::StandardError; end
30
- ConstantResolver::VERSION = T.let(T.unsafe(nil), String)
@@ -1,248 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `cork` gem.
5
- # Please instead update this file by running `bin/tapioca gem cork`.
6
-
7
- module Cork; end
8
-
9
- # provides support for UI output. Cork provides support for nested
10
- # sections of information and for a verbose mode.
11
- class Cork::Board
12
- # Initialize a new instance.
13
- #
14
- # @param verbose [Boolean] When verbose is true verbose output is printed.
15
- # this defaults to true
16
- # @param silent [Boolean] When silent is true all output is supressed.
17
- # This defaults to false.
18
- # @param ansi [Boolean] When ansi is true output may contain ansi
19
- # color codes. This is true by default.
20
- # @param input [IO] The file descriptor to read the user input.
21
- # @param out [IO] The file descriptor to print all output to.
22
- # @param err [IO] The file descriptor to print all errors to.
23
- # @return [Board] a new instance of Board
24
- def initialize(verbose: T.unsafe(nil), silent: T.unsafe(nil), ansi: T.unsafe(nil), input: T.unsafe(nil), out: T.unsafe(nil), err: T.unsafe(nil)); end
25
-
26
- # Returns the value of attribute ansi.
27
- def ansi; end
28
-
29
- # Returns the value of attribute ansi.
30
- def ansi?; end
31
-
32
- # @return [Bool] Whether the wrapping of the strings to the width of the
33
- # terminal should be disabled.
34
- def disable_wrap; end
35
-
36
- # @return [Bool] Whether the wrapping of the strings to the width of the
37
- # terminal should be disabled.
38
- def disable_wrap=(_arg0); end
39
-
40
- # @return [Bool] Whether the wrapping of the strings to the width of the
41
- # terminal should be disabled.
42
- def disable_wrap?; end
43
-
44
- # @return [error] The error specification containing the UI error.
45
- def err; end
46
-
47
- # Gets input from the configured input.
48
- def gets; end
49
-
50
- # Returns the value of attribute indentation_level.
51
- def indentation_level; end
52
-
53
- # Prints an info to the user. The info is always displayed.
54
- # It respects the current indentation level only in verbose
55
- # mode.
56
- #
57
- # Any title printed in the optional block is treated as a message.
58
- #
59
- # @param message [String] The message to print.
60
- def info(message); end
61
-
62
- # @return [input] The input specification that contains the user input
63
- # for the UI.
64
- def input; end
65
-
66
- # Prints a message with a label.
67
- #
68
- # @param label [String] The label to print.
69
- # @param value [#to_s] The value to print.
70
- # @param justification [FixNum] The justification of the label.
71
- def labeled(label, value, justification = T.unsafe(nil)); end
72
-
73
- # Prints a verbose message taking an optional verbose prefix and
74
- # a relative indentation valid for the UI action in the passed
75
- # block.
76
- #
77
- # @todo Clean interface.
78
- def message(message, verbose_prefix = T.unsafe(nil), relative_indentation = T.unsafe(nil)); end
79
-
80
- # Prints a verbose message taking an optional verbose prefix and
81
- # a relatvie indentation valid for the UI action in the passed block.
82
- def notice(message); end
83
-
84
- # @return [output] The output specification containing the UI output.
85
- def out; end
86
-
87
- # The returned path is quoted. If the argument is nil it returns an empty
88
- # string.
89
- #
90
- # @param pathname [#to_str, Nil] The path to return.
91
- # @param relative_to [Pathname]
92
- def path(pathname, relative_to = T.unsafe(nil)); end
93
-
94
- # Prints a message without a new line unless silent.
95
- def print(message); end
96
-
97
- # Prints the stored warnings. This method is intended to be called at the
98
- # end of the execution of the binary.
99
- #
100
- # @return [void]
101
- def print_warnings; end
102
-
103
- # Prints a message followed by a new line unless silent.
104
- def puts(message = T.unsafe(nil)); end
105
-
106
- # Prints a message respecting the current indentation level and
107
- # wrapping it to the terminal width if necessary.
108
- def puts_indented(message = T.unsafe(nil)); end
109
-
110
- # Prints a title taking an optional verbose prefix and
111
- # a relative indentation valid for the UI action in the passed
112
- # block.
113
- #
114
- # In verbose mode titles are printed with a color according
115
- # to their level. In normal mode titles are printed only if
116
- # they have nesting level smaller than 2.
117
- #
118
- # @param title [String] The title to print
119
- # @param verbose_prefix [String] See #message
120
- # @param relative_indentation [FixNum] The indentation level relative to the current,
121
- # when the message is printed.
122
- # @todo Refactor to title (for always visible titles like search)
123
- # and sections (titles that represent collapsible sections).
124
- def section(title, verbose_prefix = T.unsafe(nil), relative_indentation = T.unsafe(nil), titled = T.unsafe(nil)); end
125
-
126
- # Returns the value of attribute silent.
127
- def silent; end
128
-
129
- # Returns the value of attribute silent.
130
- def silent?; end
131
-
132
- # A title opposed to a section is always visible
133
- #
134
- # @param title [String] The title to print
135
- # @param verbose_prefix [String] See #message
136
- # @param relative_indentation [FixNum] The indentation level relative to the current,
137
- # when the message is printed.
138
- def title(title, verbose_prefix = T.unsafe(nil), relative_indentation = T.unsafe(nil)); end
139
-
140
- # Returns the value of attribute verbose.
141
- def verbose; end
142
-
143
- # Returns the value of attribute verbose.
144
- def verbose?; end
145
-
146
- # Stores important warning to the user optionally followed by actions that
147
- # the user should take. To print them use {#print_warnings}.
148
- #
149
- # @param [String] message The message to print.
150
- # @param [Array] actions The actions that the user should take.
151
- # @param [Boolean] verbose_only When verbose_only is configured to
152
- # true, the warning will only be printed when
153
- # Board is configured to print verbose messages.
154
- # This is false by default.
155
- #
156
- # @return [void]
157
- def warn(message, actions = T.unsafe(nil), verbose_only = T.unsafe(nil)); end
158
-
159
- # @return [warnings] The warnings specification containing the UI warnings.
160
- def warnings; end
161
-
162
- private
163
-
164
- # Sets the attribute indentation_level
165
- #
166
- # @param value the value to set the attribute indentation_level to.
167
- def indentation_level=(_arg0); end
168
-
169
- def puts_title(title, verbose_prefix); end
170
-
171
- # Returns the value of attribute title_level.
172
- def title_level; end
173
-
174
- # Sets the attribute title_level
175
- #
176
- # @param value the value to set the attribute title_level to.
177
- def title_level=(_arg0); end
178
-
179
- # Prints a title taking an optional verbose prefix and
180
- # a relative indentation valid for the UI action in the passed
181
- # block.
182
- #
183
- # In verbose mode titles are printed with a color according
184
- # to their level. In normal mode titles are printed only if
185
- # they have nesting level smaller than 2.
186
- #
187
- # @param title [String] The title to print
188
- # @param verbose_prefix [String] See #message
189
- # @param relative_indentation [FixNum] The indentation level relative to the current,
190
- # when the message is printed.
191
- # @todo Refactor to title (for always visible titles like search)
192
- # and sections (titles that represent collapsible sections).
193
- def wrap_string(string, indent = T.unsafe(nil)); end
194
- end
195
-
196
- module Cork::TextWrapper
197
- private
198
-
199
- # @return [String] Lifted straigth from Actionview. Thanks Guys!
200
- def strip_heredoc(string); end
201
-
202
- # @return [String] Lifted straigth from Actionview. Thanks Guys!
203
- def word_wrap(line, line_width); end
204
-
205
- # @param string [String] The string to format.
206
- # @param indent [Fixnum] The number of spaces to insert before the string.
207
- # @param width [Fixnum] The width to use to format the string if the terminal
208
- # is too wide.
209
- # @return [String] Wraps a formatted string (e.g. markdown) by stripping
210
- # heredoc indentation and wrapping by word to the terminal width
211
- # taking into account a maximum one, and indenting the string.
212
- # Code lines (i.e. indented by four spaces) are not wrapped.
213
- def wrap_formatted_text(string, indent = T.unsafe(nil), width = T.unsafe(nil)); end
214
-
215
- # @param string [String] The string to indent.
216
- # @param indent [Fixnum] The number of spaces to insert before the string.
217
- # @param width [Fixnum] The width to use when formatting the string in the terminal
218
- # @return [String] Wraps a string to the terminal width taking into
219
- # account the given indentation.
220
- def wrap_with_indent(string, indent = T.unsafe(nil), width = T.unsafe(nil)); end
221
-
222
- class << self
223
- # @return [String] Lifted straigth from Actionview. Thanks Guys!
224
- def strip_heredoc(string); end
225
-
226
- # @return [String] Lifted straigth from Actionview. Thanks Guys!
227
- def word_wrap(line, line_width); end
228
-
229
- # @param string [String] The string to format.
230
- # @param indent [Fixnum] The number of spaces to insert before the string.
231
- # @param width [Fixnum] The width to use to format the string if the terminal
232
- # is too wide.
233
- # @return [String] Wraps a formatted string (e.g. markdown) by stripping
234
- # heredoc indentation and wrapping by word to the terminal width
235
- # taking into account a maximum one, and indenting the string.
236
- # Code lines (i.e. indented by four spaces) are not wrapped.
237
- def wrap_formatted_text(string, indent = T.unsafe(nil), width = T.unsafe(nil)); end
238
-
239
- # @param string [String] The string to indent.
240
- # @param indent [Fixnum] The number of spaces to insert before the string.
241
- # @param width [Fixnum] The width to use when formatting the string in the terminal
242
- # @return [String] Wraps a string to the terminal width taking into
243
- # account the given indentation.
244
- def wrap_with_indent(string, indent = T.unsafe(nil), width = T.unsafe(nil)); end
245
- end
246
- end
247
-
248
- Cork::VERSION = T.let(T.unsafe(nil), String)