checkoff 0.201.0 → 0.203.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +130 -28
  3. data/.git-hooks/pre_commit/solargraph_typecheck.rb +12 -11
  4. data/.overcommit.yml +27 -2
  5. data/.rubocop.yml +20 -2
  6. data/.rubocop_todo.yml +90 -0
  7. data/.solargraph.yml +10 -1
  8. data/DEVELOPMENT.md +1 -1
  9. data/Gemfile +11 -8
  10. data/Gemfile.lock +66 -42
  11. data/LICENSE +1 -1
  12. data/Makefile +14 -12
  13. data/bin/brakeman +27 -0
  14. data/bin/overcommit_branch +117 -0
  15. data/bin/spoom +27 -0
  16. data/bin/srb +27 -0
  17. data/bin/srb-rbi +27 -0
  18. data/bin/tapioca +27 -0
  19. data/config/annotations_misc.rb +35 -0
  20. data/docs/cookiecutter_input.json +1 -0
  21. data/fix.sh +14 -6
  22. data/lib/checkoff/internal/search_url/simple_param_converter.rb +11 -0
  23. data/lib/checkoff/version.rb +1 -1
  24. data/requirements_dev.txt +1 -1
  25. data/sorbet/config +4 -0
  26. data/sorbet/rbi/annotations/.gitattributes +1 -0
  27. data/sorbet/rbi/annotations/activesupport.rbi +453 -0
  28. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  29. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  30. data/sorbet/rbi/annotations/mocha.rbi +34 -0
  31. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  32. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  33. data/sorbet/rbi/dsl/.gitattributes +1 -0
  34. data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  35. data/sorbet/rbi/gems/.gitattributes +1 -0
  36. data/sorbet/rbi/gems/activesupport@7.1.3.rbi +18749 -0
  37. data/sorbet/rbi/gems/addressable@2.8.6.rbi +1994 -0
  38. data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
  39. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +6142 -0
  40. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  41. data/sorbet/rbi/gems/backport@1.2.0.rbi +523 -0
  42. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  43. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  44. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +78 -0
  45. data/sorbet/rbi/gems/builder@3.2.4.rbi +505 -0
  46. data/sorbet/rbi/gems/bump@0.10.0.rbi +169 -0
  47. data/sorbet/rbi/gems/cache@0.4.1.rbi +211 -0
  48. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +293 -0
  49. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +9 -0
  50. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +383 -0
  51. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3427 -0
  52. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +11591 -0
  53. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
  54. data/sorbet/rbi/gems/crack@0.4.5.rbi +145 -0
  55. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +969 -0
  56. data/sorbet/rbi/gems/docile@1.4.0.rbi +377 -0
  57. data/sorbet/rbi/gems/drb@2.2.0.rbi +1347 -0
  58. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +9 -0
  59. data/sorbet/rbi/gems/erubi@1.13.0.rbi +152 -0
  60. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +222 -0
  61. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +126 -0
  62. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +136 -0
  63. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +145 -0
  64. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +259 -0
  65. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +142 -0
  66. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +118 -0
  67. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +125 -0
  68. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +133 -0
  69. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +198 -0
  70. data/sorbet/rbi/gems/faraday@1.10.3.rbi +2729 -0
  71. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +29 -0
  72. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +1004 -0
  73. data/sorbet/rbi/gems/gli@2.21.1.rbi +9 -0
  74. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +351 -0
  75. data/sorbet/rbi/gems/i18n@1.14.1.rbi +2326 -0
  76. data/sorbet/rbi/gems/imagen@0.1.8.rbi +340 -0
  77. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +899 -0
  78. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +22 -0
  79. data/sorbet/rbi/gems/json@2.7.1.rbi +1562 -0
  80. data/sorbet/rbi/gems/jwt@2.7.1.rbi +1405 -0
  81. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +128 -0
  82. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3272 -0
  83. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
  84. data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
  85. data/sorbet/rbi/gems/mdl@0.13.0.rbi +445 -0
  86. data/sorbet/rbi/gems/method_source@1.0.0.rbi +273 -0
  87. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +127 -0
  88. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +1252 -0
  89. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +136 -0
  90. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +1014 -0
  91. data/sorbet/rbi/gems/minitest@5.21.1.rbi +1539 -0
  92. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +314 -0
  93. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +581 -0
  94. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +629 -0
  95. data/sorbet/rbi/gems/mocha@2.1.0.rbi +12 -0
  96. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +268 -0
  97. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +102 -0
  98. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +234 -0
  99. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +94 -0
  100. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  101. data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
  102. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +833 -0
  103. data/sorbet/rbi/gems/ostruct@0.6.1.rbi +354 -0
  104. data/sorbet/rbi/gems/overcommit@0.64.0.rbi +2400 -0
  105. data/sorbet/rbi/gems/parallel@1.23.0.rbi +274 -0
  106. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +7253 -0
  107. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  108. data/sorbet/rbi/gems/pry@0.14.2.rbi +10070 -0
  109. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +936 -0
  110. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +173 -0
  111. data/sorbet/rbi/gems/racc@1.7.3.rbi +162 -0
  112. data/sorbet/rbi/gems/rack@3.0.8.rbi +5184 -0
  113. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  114. data/sorbet/rbi/gems/rake@13.1.0.rbi +3022 -0
  115. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  116. data/sorbet/rbi/gems/rbs@2.8.4.rbi +5613 -0
  117. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +3750 -0
  118. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +390 -0
  119. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4888 -0
  120. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7061 -0
  121. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +2577 -0
  122. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +3262 -0
  123. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
  124. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +57238 -0
  125. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  126. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  127. data/sorbet/rbi/gems/rugged@1.6.3.rbi +1577 -0
  128. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +217 -0
  129. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +256 -0
  130. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
  131. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
  132. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +9396 -0
  133. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +317 -0
  134. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  135. data/sorbet/rbi/gems/tapioca@0.16.4.rbi +3604 -0
  136. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  137. data/sorbet/rbi/gems/tilt@2.4.0.rbi +933 -0
  138. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +9 -0
  139. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
  140. data/sorbet/rbi/gems/undercover@0.5.0.rbi +433 -0
  141. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
  142. data/sorbet/rbi/gems/webmock@3.19.1.rbi +1769 -0
  143. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  144. data/sorbet/rbi/gems/yard@0.9.34.rbi +18247 -0
  145. data/sorbet/rbi/todo.rbi +11 -0
  146. data/sorbet/tapioca/config.yml +13 -0
  147. data/sorbet/tapioca/require.rb +4 -0
  148. metadata +134 -3
@@ -0,0 +1,340 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `imagen` gem.
5
+ # Please instead update this file by running `bin/tapioca gem imagen`.
6
+
7
+
8
+ # Base module
9
+ #
10
+ # source://imagen//lib/imagen/ast/parser.rb#3
11
+ module Imagen
12
+ class << self
13
+ # source://imagen//lib/imagen.rb#14
14
+ def from_local(dir); end
15
+
16
+ # source://imagen//lib/imagen.rb#18
17
+ def from_remote(repo_url); end
18
+
19
+ # Returns the value of attribute parser_version.
20
+ #
21
+ # source://imagen//lib/imagen/ast/parser.rb#7
22
+ def parser_version; end
23
+
24
+ # Sets the attribute parser_version
25
+ #
26
+ # @param value the value to set the attribute parser_version to.
27
+ #
28
+ # source://imagen//lib/imagen/ast/parser.rb#7
29
+ def parser_version=(_arg0); end
30
+ end
31
+ end
32
+
33
+ # source://imagen//lib/imagen/ast/parser.rb#23
34
+ module Imagen::AST; end
35
+
36
+ # An AST Builder for ruby parser.
37
+ #
38
+ # source://imagen//lib/imagen/ast/builder.rb#11
39
+ class Imagen::AST::Builder < ::Parser::Builders::Default
40
+ # This is a work around for parsing ruby code that with invlalid UTF-8
41
+ # https://github.com/whitequark/parser/issues/283
42
+ #
43
+ # source://imagen//lib/imagen/ast/builder.rb#12
44
+ def string_value(token); end
45
+ end
46
+
47
+ # source://imagen//lib/imagen/ast/parser.rb#24
48
+ class Imagen::AST::Parser
49
+ # @param parser_version [String] ruby syntax version
50
+ # @return [Parser] a new instance of Parser
51
+ #
52
+ # source://imagen//lib/imagen/ast/parser.rb#34
53
+ def initialize(parser_version = T.unsafe(nil)); end
54
+
55
+ # source://imagen//lib/imagen/ast/parser.rb#51
56
+ def parse(input, file = T.unsafe(nil)); end
57
+
58
+ # source://imagen//lib/imagen/ast/parser.rb#47
59
+ def parse_file(filename); end
60
+
61
+ # source://imagen//lib/imagen/ast/parser.rb#57
62
+ def parser; end
63
+
64
+ private
65
+
66
+ # @raise [ArgumentError]
67
+ #
68
+ # source://imagen//lib/imagen/ast/parser.rb#67
69
+ def validate_version(parser_version); end
70
+
71
+ class << self
72
+ # source://imagen//lib/imagen/ast/parser.rb#29
73
+ def parse(input, file = T.unsafe(nil)); end
74
+
75
+ # source://imagen//lib/imagen/ast/parser.rb#25
76
+ def parse_file(filename); end
77
+ end
78
+ end
79
+
80
+ # source://imagen//lib/imagen/ast/parser.rb#10
81
+ Imagen::AVAILABLE_RUBY_VERSIONS = T.let(T.unsafe(nil), Array)
82
+
83
+ # Responsible for cloning a Git repository into a given tempdir
84
+ #
85
+ # source://imagen//lib/imagen/clone.rb#10
86
+ class Imagen::Clone
87
+ # @return [Clone] a new instance of Clone
88
+ #
89
+ # source://imagen//lib/imagen/clone.rb#17
90
+ def initialize(repo_url, dirname); end
91
+
92
+ # Returns the value of attribute dir.
93
+ #
94
+ # source://imagen//lib/imagen/clone.rb#15
95
+ def dir; end
96
+
97
+ # source://imagen//lib/imagen/clone.rb#26
98
+ def perform; end
99
+
100
+ # Returns the value of attribute repo_url.
101
+ #
102
+ # source://imagen//lib/imagen/clone.rb#15
103
+ def repo_url; end
104
+
105
+ class << self
106
+ # source://imagen//lib/imagen/clone.rb#11
107
+ def perform(repo_url, dir); end
108
+ end
109
+ end
110
+
111
+ # source://imagen//lib/imagen.rb#12
112
+ Imagen::EXCLUDE_RE = T.let(T.unsafe(nil), Regexp)
113
+
114
+ # Generic clone error
115
+ #
116
+ # source://imagen//lib/imagen/clone.rb#7
117
+ class Imagen::GitError < ::StandardError; end
118
+
119
+ # source://imagen//lib/imagen/node.rb#7
120
+ module Imagen::Node; end
121
+
122
+ # Abstract base class
123
+ #
124
+ # source://imagen//lib/imagen/node.rb#9
125
+ class Imagen::Node::Base
126
+ # @return [Base] a new instance of Base
127
+ #
128
+ # source://imagen//lib/imagen/node.rb#14
129
+ def initialize; end
130
+
131
+ # Returns the value of attribute ast_node.
132
+ #
133
+ # source://imagen//lib/imagen/node.rb#10
134
+ def ast_node; end
135
+
136
+ # source://imagen//lib/imagen/node.rb#22
137
+ def build_from_ast(ast_node); end
138
+
139
+ # Returns the value of attribute children.
140
+ #
141
+ # source://imagen//lib/imagen/node.rb#10
142
+ def children; end
143
+
144
+ # source://imagen//lib/imagen/node.rb#26
145
+ def file_path; end
146
+
147
+ # source://imagen//lib/imagen/node.rb#57
148
+ def find_all(matcher, ret = T.unsafe(nil)); end
149
+
150
+ # source://imagen//lib/imagen/node.rb#30
151
+ def first_line; end
152
+
153
+ # @raise [NotImplementedError]
154
+ #
155
+ # source://imagen//lib/imagen/node.rb#18
156
+ def human_name; end
157
+
158
+ # source://imagen//lib/imagen/node.rb#38
159
+ def last_line; end
160
+
161
+ # source://imagen//lib/imagen/node.rb#34
162
+ def line_numbers; end
163
+
164
+ # Returns the value of attribute name.
165
+ #
166
+ # source://imagen//lib/imagen/node.rb#10
167
+ def name; end
168
+
169
+ # source://imagen//lib/imagen/node.rb#42
170
+ def source; end
171
+
172
+ # source://imagen//lib/imagen/node.rb#50
173
+ def source_lines; end
174
+
175
+ # source://imagen//lib/imagen/node.rb#46
176
+ def source_lines_with_numbers; end
177
+ end
178
+
179
+ # Represents a Ruby block
180
+ #
181
+ # source://imagen//lib/imagen/node.rb#167
182
+ class Imagen::Node::Block < ::Imagen::Node::Base
183
+ # source://imagen//lib/imagen/node.rb#168
184
+ def build_from_ast(_ast_node); end
185
+
186
+ # source://imagen//lib/imagen/node.rb#173
187
+ def human_name; end
188
+
189
+ private
190
+
191
+ # source://imagen//lib/imagen/node.rb#179
192
+ def args_list; end
193
+ end
194
+
195
+ # Represents a Ruby class method
196
+ #
197
+ # source://imagen//lib/imagen/node.rb#143
198
+ class Imagen::Node::CMethod < ::Imagen::Node::Base
199
+ # source://imagen//lib/imagen/node.rb#144
200
+ def build_from_ast(ast_node); end
201
+
202
+ # source://imagen//lib/imagen/node.rb#149
203
+ def human_name; end
204
+ end
205
+
206
+ # Represents a Ruby class
207
+ #
208
+ # source://imagen//lib/imagen/node.rb#131
209
+ class Imagen::Node::Class < ::Imagen::Node::Base
210
+ # source://imagen//lib/imagen/node.rb#132
211
+ def build_from_ast(ast_node); end
212
+
213
+ # source://imagen//lib/imagen/node.rb#137
214
+ def human_name; end
215
+ end
216
+
217
+ # Represents a Ruby instance method
218
+ #
219
+ # source://imagen//lib/imagen/node.rb#155
220
+ class Imagen::Node::IMethod < ::Imagen::Node::Base
221
+ # source://imagen//lib/imagen/node.rb#156
222
+ def build_from_ast(ast_node); end
223
+
224
+ # source://imagen//lib/imagen/node.rb#161
225
+ def human_name; end
226
+ end
227
+
228
+ # Represents a Ruby module
229
+ #
230
+ # source://imagen//lib/imagen/node.rb#119
231
+ class Imagen::Node::Module < ::Imagen::Node::Base
232
+ # source://imagen//lib/imagen/node.rb#120
233
+ def build_from_ast(ast_node); end
234
+
235
+ # source://imagen//lib/imagen/node.rb#125
236
+ def human_name; end
237
+ end
238
+
239
+ # Root node for a given directory
240
+ #
241
+ # source://imagen//lib/imagen/node.rb#66
242
+ class Imagen::Node::Root < ::Imagen::Node::Base
243
+ # source://imagen//lib/imagen/node.rb#76
244
+ def build_from_dir(dir); end
245
+
246
+ # source://imagen//lib/imagen/node.rb#69
247
+ def build_from_file(path); end
248
+
249
+ # Returns the value of attribute dir.
250
+ #
251
+ # source://imagen//lib/imagen/node.rb#67
252
+ def dir; end
253
+
254
+ # TODO: fix wrong inheritance
255
+ #
256
+ # source://imagen//lib/imagen/node.rb#93
257
+ def file_path; end
258
+
259
+ # source://imagen//lib/imagen/node.rb#97
260
+ def first_line; end
261
+
262
+ # source://imagen//lib/imagen/node.rb#88
263
+ def human_name; end
264
+
265
+ # source://imagen//lib/imagen/node.rb#101
266
+ def last_line; end
267
+
268
+ # source://imagen//lib/imagen/node.rb#105
269
+ def source; end
270
+
271
+ private
272
+
273
+ # source://imagen//lib/imagen/node.rb#111
274
+ def list_files; end
275
+ end
276
+
277
+ # RemoteBuilder is responsible for wrapping all operations to create code
278
+ # structure for a remote git repository.
279
+ #
280
+ # source://imagen//lib/imagen/remote_builder.rb#9
281
+ class Imagen::RemoteBuilder
282
+ # @return [RemoteBuilder] a new instance of RemoteBuilder
283
+ #
284
+ # source://imagen//lib/imagen/remote_builder.rb#12
285
+ def initialize(repo_url); end
286
+
287
+ # source://imagen//lib/imagen/remote_builder.rb#17
288
+ def build; end
289
+
290
+ # Returns the value of attribute dir.
291
+ #
292
+ # source://imagen//lib/imagen/remote_builder.rb#10
293
+ def dir; end
294
+
295
+ # Returns the value of attribute repo_url.
296
+ #
297
+ # source://imagen//lib/imagen/remote_builder.rb#10
298
+ def repo_url; end
299
+
300
+ private
301
+
302
+ # source://imagen//lib/imagen/remote_builder.rb#24
303
+ def teardown; end
304
+ end
305
+
306
+ # AST Traversal that calls respective builder methods from Imagen::Node
307
+ #
308
+ # source://imagen//lib/imagen/visitor.rb#5
309
+ class Imagen::Visitor
310
+ # Returns the value of attribute current_root.
311
+ #
312
+ # source://imagen//lib/imagen/visitor.rb#14
313
+ def current_root; end
314
+
315
+ # Returns the value of attribute file_path.
316
+ #
317
+ # source://imagen//lib/imagen/visitor.rb#14
318
+ def file_path; end
319
+
320
+ # Returns the value of attribute root.
321
+ #
322
+ # source://imagen//lib/imagen/visitor.rb#14
323
+ def root; end
324
+
325
+ # source://imagen//lib/imagen/visitor.rb#21
326
+ def traverse(ast_node, parent); end
327
+
328
+ # This method reeks of :reek:UtilityFunction
329
+ #
330
+ # source://imagen//lib/imagen/visitor.rb#29
331
+ def visit(ast_node, parent); end
332
+
333
+ class << self
334
+ # source://imagen//lib/imagen/visitor.rb#16
335
+ def traverse(ast, root); end
336
+ end
337
+ end
338
+
339
+ # source://imagen//lib/imagen/visitor.rb#6
340
+ Imagen::Visitor::TYPES = T.let(T.unsafe(nil), Hash)