checkoff 0.219.0 → 0.221.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +3 -4
  3. data/.overcommit.yml +2 -0
  4. data/.rubocop.yml +4 -0
  5. data/.rubocop_todo.yml +2 -1
  6. data/Gemfile +1 -0
  7. data/Gemfile.lock +42 -8
  8. data/Makefile +13 -7
  9. data/bin/tapioca +1 -1
  10. data/checkoff.gemspec +1 -0
  11. data/fix.sh +1 -0
  12. data/lib/checkoff/tasks.rb +8 -2
  13. data/lib/checkoff/version.rb +1 -1
  14. data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.5.rbi} +157 -160
  15. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +222 -0
  16. data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.6.rbi} +135 -102
  17. data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.2.rbi} +4 -1
  18. data/sorbet/rbi/gems/{mutex_m@0.2.0.rbi → mutex_m@0.3.0.rbi} +15 -12
  19. data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.0.rbi} +1693 -803
  20. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +33 -33
  21. data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.1.8.rbi} +697 -985
  22. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.9.rbi} +354 -278
  23. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +7546 -0
  24. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +75 -0
  25. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +320 -0
  26. data/sorbet/rbi/gems/{tapioca@0.16.4.rbi → tapioca@0.16.5.rbi} +89 -76
  27. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +429 -270
  28. metadata +33 -16
  29. data/sorbet/rbi/gems/ostruct@0.6.1.rbi +0 -354
  30. /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
  31. /data/sorbet/rbi/gems/{gli@2.21.1.rbi → gli@2.22.0.rbi} +0 -0
  32. /data/sorbet/rbi/gems/{overcommit@0.64.0.rbi → overcommit@0.64.1.rbi} +0 -0
@@ -0,0 +1,75 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `securerandom` gem.
5
+ # Please instead update this file by running `bin/tapioca gem securerandom`.
6
+
7
+
8
+ # == Secure random number generator interface.
9
+ #
10
+ # This library is an interface to secure random number generators which are
11
+ # suitable for generating session keys in HTTP cookies, etc.
12
+ #
13
+ # You can use this library in your application by requiring it:
14
+ #
15
+ # require 'securerandom'
16
+ #
17
+ # It supports the following secure random number generators:
18
+ #
19
+ # * openssl
20
+ # * /dev/urandom
21
+ # * Win32
22
+ #
23
+ # SecureRandom is extended by the Random::Formatter module which
24
+ # defines the following methods:
25
+ #
26
+ # * alphanumeric
27
+ # * base64
28
+ # * choose
29
+ # * gen_random
30
+ # * hex
31
+ # * rand
32
+ # * random_bytes
33
+ # * random_number
34
+ # * urlsafe_base64
35
+ # * uuid
36
+ #
37
+ # These methods are usable as class methods of SecureRandom such as
38
+ # +SecureRandom.hex+.
39
+ #
40
+ # If a secure random number generator is not available,
41
+ # +NotImplementedError+ is raised.
42
+ #
43
+ # source://securerandom//lib/securerandom.rb#41
44
+ module SecureRandom
45
+ extend ::Random::Formatter
46
+
47
+ class << self
48
+ # Returns a random binary string containing +size+ bytes.
49
+ #
50
+ # See Random.bytes
51
+ #
52
+ # source://securerandom//lib/securerandom.rb#50
53
+ def bytes(n); end
54
+
55
+ # source://securerandom//lib/securerandom.rb#64
56
+ def gen_random(n); end
57
+
58
+ private
59
+
60
+ # Implementation using OpenSSL
61
+ #
62
+ # source://securerandom//lib/securerandom.rb#59
63
+ def gen_random_openssl(n); end
64
+
65
+ # Implementation using system random device
66
+ #
67
+ # source://securerandom//lib/securerandom.rb#64
68
+ def gen_random_urandom(n); end
69
+ end
70
+ end
71
+
72
+ # The version
73
+ #
74
+ # source://securerandom//lib/securerandom.rb#44
75
+ SecureRandom::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,320 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `solargraph-rails` gem.
5
+ # Please instead update this file by running `bin/tapioca gem solargraph-rails`.
6
+
7
+
8
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#1
9
+ module Solargraph
10
+ class << self
11
+ # source://solargraph/0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8/lib/solargraph.rb#53
12
+ def logger; end
13
+
14
+ # source://solargraph/0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8/lib/solargraph.rb#61
15
+ def with_clean_env(&block); end
16
+ end
17
+ end
18
+
19
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#2
20
+ module Solargraph::Rails; end
21
+
22
+ # source://solargraph-rails//lib/solargraph/rails/annotate.rb#3
23
+ class Solargraph::Rails::Annotate
24
+ # @return [Annotate] a new instance of Annotate
25
+ #
26
+ # source://solargraph-rails//lib/solargraph/rails/annotate.rb#12
27
+ def initialize; end
28
+
29
+ # source://solargraph-rails//lib/solargraph/rails/annotate.rb#16
30
+ def process(source_map, ns); end
31
+
32
+ class << self
33
+ # source://solargraph-rails//lib/solargraph/rails/annotate.rb#4
34
+ def instance; end
35
+
36
+ # source://solargraph-rails//lib/solargraph/rails/annotate.rb#8
37
+ def reset; end
38
+ end
39
+ end
40
+
41
+ # source://solargraph-rails//lib/solargraph/rails/autoload.rb#3
42
+ class Solargraph::Rails::Autoload
43
+ # source://solargraph-rails//lib/solargraph/rails/autoload.rb#18
44
+ def namespace_stubs(root_ns, ns); end
45
+
46
+ # source://solargraph-rails//lib/solargraph/rails/autoload.rb#8
47
+ def process(source_map, ns, ds); end
48
+
49
+ class << self
50
+ # source://solargraph-rails//lib/solargraph/rails/autoload.rb#4
51
+ def instance; end
52
+ end
53
+ end
54
+
55
+ # source://solargraph-rails//lib/solargraph-rails.rb#24
56
+ class Solargraph::Rails::Convention < ::Solargraph::Convention::Base
57
+ # source://solargraph-rails//lib/solargraph-rails.rb#25
58
+ def global(yard_map); end
59
+
60
+ # source://solargraph-rails//lib/solargraph-rails.rb#36
61
+ def local(source_map); end
62
+
63
+ private
64
+
65
+ # source://solargraph-rails//lib/solargraph-rails.rb#60
66
+ def run_feature(&block); end
67
+ end
68
+
69
+ # source://solargraph-rails//lib/solargraph/rails/debug.rb#3
70
+ class Solargraph::Rails::Debug
71
+ # source://solargraph-rails//lib/solargraph/rails/debug.rb#8
72
+ def run(query); end
73
+
74
+ class << self
75
+ # source://solargraph-rails//lib/solargraph/rails/debug.rb#4
76
+ def run(query = T.unsafe(nil)); end
77
+ end
78
+ end
79
+
80
+ # source://solargraph-rails//lib/solargraph/rails/delegate.rb#3
81
+ class Solargraph::Rails::Delegate
82
+ # source://solargraph-rails//lib/solargraph/rails/delegate.rb#8
83
+ def process(source_map, ns); end
84
+
85
+ class << self
86
+ # source://solargraph-rails//lib/solargraph/rails/delegate.rb#4
87
+ def instance; end
88
+ end
89
+ end
90
+
91
+ # source://solargraph-rails//lib/solargraph/rails/devise.rb#3
92
+ class Solargraph::Rails::Devise
93
+ # source://solargraph-rails//lib/solargraph/rails/devise.rb#8
94
+ def process(source_map, ns); end
95
+
96
+ private
97
+
98
+ # source://solargraph-rails//lib/solargraph/rails/devise.rb#18
99
+ def process_model(source, ns); end
100
+
101
+ class << self
102
+ # source://solargraph-rails//lib/solargraph/rails/devise.rb#4
103
+ def instance; end
104
+ end
105
+ end
106
+
107
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#3
108
+ class Solargraph::Rails::Model
109
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#92
110
+ def extract_custom_class_name(ast); end
111
+
112
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#65
113
+ def plural_association(ns, ast); end
114
+
115
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#12
116
+ def process(source_map, ns); end
117
+
118
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#79
119
+ def singular_association(ns, ast); end
120
+
121
+ class << self
122
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#4
123
+ def instance; end
124
+
125
+ # @return [Boolean]
126
+ #
127
+ # source://solargraph-rails//lib/solargraph/rails/model.rb#8
128
+ def valid_filename?(filename); end
129
+ end
130
+ end
131
+
132
+ # source://solargraph-rails//lib/solargraph-rails.rb#20
133
+ class Solargraph::Rails::NodeParser
134
+ extend ::Solargraph::Parser::Legacy::ClassMethods
135
+ end
136
+
137
+ # source://solargraph-rails//lib/solargraph/rails/rails_api.rb#3
138
+ class Solargraph::Rails::RailsApi
139
+ # source://solargraph-rails//lib/solargraph/rails/rails_api.rb#8
140
+ def global(yard_map); end
141
+
142
+ # source://solargraph-rails//lib/solargraph/rails/rails_api.rb#74
143
+ def local(source_map, ns); end
144
+
145
+ class << self
146
+ # source://solargraph-rails//lib/solargraph/rails/rails_api.rb#4
147
+ def instance; end
148
+ end
149
+ end
150
+
151
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#3
152
+ class Solargraph::Rails::Schema
153
+ # @return [Schema] a new instance of Schema
154
+ #
155
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#34
156
+ def initialize; end
157
+
158
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#38
159
+ def process(source_map, ns); end
160
+
161
+ private
162
+
163
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#108
164
+ def extract_schema(ast); end
165
+
166
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#85
167
+ def find_table(source_map, ns); end
168
+
169
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#99
170
+ def infer_table_names(ns); end
171
+
172
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#77
173
+ def schema; end
174
+
175
+ class << self
176
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#26
177
+ def instance; end
178
+
179
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#30
180
+ def reset; end
181
+ end
182
+ end
183
+
184
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#4
185
+ class Solargraph::Rails::Schema::ColumnData < ::Struct
186
+ # Returns the value of attribute ast
187
+ #
188
+ # @return [Object] the current value of ast
189
+ def ast; end
190
+
191
+ # Sets the attribute ast
192
+ #
193
+ # @param value [Object] the value to set the attribute ast to.
194
+ # @return [Object] the newly set value
195
+ def ast=(_); end
196
+
197
+ # Returns the value of attribute type
198
+ #
199
+ # @return [Object] the current value of type
200
+ def type; end
201
+
202
+ # Sets the attribute type
203
+ #
204
+ # @param value [Object] the value to set the attribute type to.
205
+ # @return [Object] the newly set value
206
+ def type=(_); end
207
+
208
+ class << self
209
+ def [](*_arg0); end
210
+ def inspect; end
211
+ def keyword_init?; end
212
+ def members; end
213
+ def new(*_arg0); end
214
+ end
215
+ end
216
+
217
+ # source://solargraph-rails//lib/solargraph/rails/schema.rb#6
218
+ Solargraph::Rails::Schema::RUBY_TYPES = T.let(T.unsafe(nil), Hash)
219
+
220
+ # source://solargraph-rails//lib/solargraph/rails/storage.rb#3
221
+ class Solargraph::Rails::Storage
222
+ # source://solargraph-rails//lib/solargraph/rails/storage.rb#8
223
+ def process(source_map, ns); end
224
+
225
+ class << self
226
+ # source://solargraph-rails//lib/solargraph/rails/storage.rb#4
227
+ def instance; end
228
+ end
229
+ end
230
+
231
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#3
232
+ module Solargraph::Rails::Util
233
+ class << self
234
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#68
235
+ def build_location(ast, path); end
236
+
237
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#53
238
+ def build_module_extend(ns, module_name, location); end
239
+
240
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#45
241
+ def build_module_include(ns, module_name, location); end
242
+
243
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#4
244
+ def build_public_method(ns, name, types: T.unsafe(nil), params: T.unsafe(nil), location: T.unsafe(nil), attribute: T.unsafe(nil), scope: T.unsafe(nil)); end
245
+
246
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#61
247
+ def dummy_location(path); end
248
+
249
+ # source://solargraph-rails//lib/solargraph/rails/util.rb#80
250
+ def method_return(path, type); end
251
+ end
252
+ end
253
+
254
+ # source://solargraph-rails//lib/solargraph/rails/version.rb#3
255
+ Solargraph::Rails::VERSION = T.let(T.unsafe(nil), String)
256
+
257
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#3
258
+ class Solargraph::Rails::Walker
259
+ # @return [Walker] a new instance of Walker
260
+ #
261
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#68
262
+ def initialize(ast, comments = T.unsafe(nil)); end
263
+
264
+ # Returns the value of attribute ast.
265
+ #
266
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#67
267
+ def ast; end
268
+
269
+ # Returns the value of attribute comments.
270
+ #
271
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#67
272
+ def comments; end
273
+
274
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#74
275
+ def on(node_type, args = T.unsafe(nil), &block); end
276
+
277
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#78
278
+ def walk; end
279
+
280
+ private
281
+
282
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#84
283
+ def traverse(node); end
284
+
285
+ class << self
286
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#63
287
+ def from_source(source); end
288
+
289
+ # https://github.com/castwide/solargraph/issues/522
290
+ #
291
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#53
292
+ def normalize_ast(source); end
293
+ end
294
+ end
295
+
296
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#4
297
+ class Solargraph::Rails::Walker::Hook
298
+ # @return [Hook] a new instance of Hook
299
+ #
300
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#6
301
+ def initialize(node_type, args, &block); end
302
+
303
+ # Returns the value of attribute node_type.
304
+ #
305
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#5
306
+ def node_type; end
307
+
308
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#12
309
+ def visit(node); end
310
+
311
+ private
312
+
313
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#41
314
+ def match_children(children, args = T.unsafe(nil)); end
315
+
316
+ # @return [Boolean]
317
+ #
318
+ # source://solargraph-rails//lib/solargraph/rails/walker.rb#26
319
+ def matches?(node); end
320
+ end