sorbet-result 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.standard.yml +6 -0
  4. data/.tool-versions +1 -1
  5. data/CHANGELOG.md +10 -0
  6. data/Gemfile +2 -4
  7. data/Gemfile.lock +75 -55
  8. data/README.md +23 -0
  9. data/Rakefile +3 -5
  10. data/lib/minitest/result_assertions.rb +48 -0
  11. data/lib/sorbet-result.rb +1 -5
  12. data/lib/typed/result.rb +169 -7
  13. data/sorbet/rbi/gems/.gitattributes +1 -0
  14. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  15. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +80 -60
  16. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  17. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +239 -0
  18. data/sorbet/rbi/gems/{minitest@5.18.1.rbi → minitest@5.22.2.rbi} +285 -241
  19. data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +8 -1
  20. data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.3.0.5.rbi} +438 -2219
  21. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  22. data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
  23. data/sorbet/rbi/gems/psych@5.1.2.rbi +1731 -0
  24. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -39
  25. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +68 -65
  26. data/sorbet/rbi/gems/{rbi@0.0.16.rbi → rbi@0.1.9.rbi} +712 -714
  27. data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.9.0.rbi} +187 -165
  28. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +116 -52
  29. data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +77 -77
  30. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +8 -0
  31. data/sorbet/rbi/gems/rubocop-sorbet@0.7.7.rbi +8 -0
  32. data/sorbet/rbi/gems/{rubocop@1.52.1.rbi → rubocop@1.60.2.rbi} +3593 -1700
  33. data/sorbet/rbi/gems/{spoom@1.2.1.rbi → spoom@1.2.4.rbi} +1378 -104
  34. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +8 -0
  35. data/sorbet/rbi/gems/standard-performance@1.3.1.rbi +8 -0
  36. data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +52 -0
  37. data/sorbet/rbi/gems/standard@1.34.0.rbi +850 -0
  38. data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
  39. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23133 -0
  40. data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.12.0.rbi} +776 -574
  41. data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.0.rbi} +775 -395
  42. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +1 -1
  43. data/sorbet/rbi/gems/yard@0.9.34.rbi +2 -2
  44. data/sorbet/tapioca/config.yml +3 -12
  45. data/sorbet/tapioca/require.rb +0 -1
  46. metadata +41 -34
  47. data/.rubocop.yml +0 -33
  48. data/lib/typed/failure.rb +0 -81
  49. data/lib/typed/success.rb +0 -80
  50. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
  51. data/sorbet/rbi/gems/irb@1.7.0.rbi +0 -342
  52. data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
  53. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -328
  54. data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -1043
  55. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  56. data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -986
  57. /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +0 -0
  58. /data/sorbet/rbi/gems/{reline@0.3.5.rbi → reline@0.4.2.rbi} +0 -0
  59. /data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.5.0.rbi} +0 -0
@@ -0,0 +1,239 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `lint_roller` gem.
5
+ # Please instead update this file by running `bin/tapioca gem lint_roller`.
6
+
7
+ # source://lint_roller//lib/lint_roller/version.rb#1
8
+ module LintRoller; end
9
+
10
+ # source://lint_roller//lib/lint_roller/about.rb#2
11
+ class LintRoller::About < ::Struct
12
+ # Returns the value of attribute description
13
+ #
14
+ # @return [Object] the current value of description
15
+ def description; end
16
+
17
+ # Sets the attribute description
18
+ #
19
+ # @param value [Object] the value to set the attribute description to.
20
+ # @return [Object] the newly set value
21
+ def description=(_); end
22
+
23
+ # Returns the value of attribute homepage
24
+ #
25
+ # @return [Object] the current value of homepage
26
+ def homepage; end
27
+
28
+ # Sets the attribute homepage
29
+ #
30
+ # @param value [Object] the value to set the attribute homepage to.
31
+ # @return [Object] the newly set value
32
+ def homepage=(_); end
33
+
34
+ # Returns the value of attribute name
35
+ #
36
+ # @return [Object] the current value of name
37
+ def name; end
38
+
39
+ # Sets the attribute name
40
+ #
41
+ # @param value [Object] the value to set the attribute name to.
42
+ # @return [Object] the newly set value
43
+ def name=(_); end
44
+
45
+ # Returns the value of attribute version
46
+ #
47
+ # @return [Object] the current value of version
48
+ def version; end
49
+
50
+ # Sets the attribute version
51
+ #
52
+ # @param value [Object] the value to set the attribute version to.
53
+ # @return [Object] the newly set value
54
+ def version=(_); end
55
+
56
+ class << self
57
+ def [](*_arg0); end
58
+ def inspect; end
59
+ def keyword_init?; end
60
+ def members; end
61
+ def new(*_arg0); end
62
+ end
63
+ end
64
+
65
+ # source://lint_roller//lib/lint_roller/context.rb#2
66
+ class LintRoller::Context < ::Struct
67
+ # Returns the value of attribute engine
68
+ #
69
+ # @return [Object] the current value of engine
70
+ def engine; end
71
+
72
+ # Sets the attribute engine
73
+ #
74
+ # @param value [Object] the value to set the attribute engine to.
75
+ # @return [Object] the newly set value
76
+ def engine=(_); end
77
+
78
+ # Returns the value of attribute engine_version
79
+ #
80
+ # @return [Object] the current value of engine_version
81
+ def engine_version; end
82
+
83
+ # Sets the attribute engine_version
84
+ #
85
+ # @param value [Object] the value to set the attribute engine_version to.
86
+ # @return [Object] the newly set value
87
+ def engine_version=(_); end
88
+
89
+ # Returns the value of attribute rule_format
90
+ #
91
+ # @return [Object] the current value of rule_format
92
+ def rule_format; end
93
+
94
+ # Sets the attribute rule_format
95
+ #
96
+ # @param value [Object] the value to set the attribute rule_format to.
97
+ # @return [Object] the newly set value
98
+ def rule_format=(_); end
99
+
100
+ # Returns the value of attribute runner
101
+ #
102
+ # @return [Object] the current value of runner
103
+ def runner; end
104
+
105
+ # Sets the attribute runner
106
+ #
107
+ # @param value [Object] the value to set the attribute runner to.
108
+ # @return [Object] the newly set value
109
+ def runner=(_); end
110
+
111
+ # Returns the value of attribute runner_version
112
+ #
113
+ # @return [Object] the current value of runner_version
114
+ def runner_version; end
115
+
116
+ # Sets the attribute runner_version
117
+ #
118
+ # @param value [Object] the value to set the attribute runner_version to.
119
+ # @return [Object] the newly set value
120
+ def runner_version=(_); end
121
+
122
+ # Returns the value of attribute target_ruby_version
123
+ #
124
+ # @return [Object] the current value of target_ruby_version
125
+ def target_ruby_version; end
126
+
127
+ # Sets the attribute target_ruby_version
128
+ #
129
+ # @param value [Object] the value to set the attribute target_ruby_version to.
130
+ # @return [Object] the newly set value
131
+ def target_ruby_version=(_); end
132
+
133
+ class << self
134
+ def [](*_arg0); end
135
+ def inspect; end
136
+ def keyword_init?; end
137
+ def members; end
138
+ def new(*_arg0); end
139
+ end
140
+ end
141
+
142
+ # source://lint_roller//lib/lint_roller/error.rb#2
143
+ class LintRoller::Error < ::StandardError; end
144
+
145
+ # source://lint_roller//lib/lint_roller/plugin.rb#2
146
+ class LintRoller::Plugin
147
+ # `config' is a Hash of options passed to the plugin by the user
148
+ #
149
+ # @return [Plugin] a new instance of Plugin
150
+ #
151
+ # source://lint_roller//lib/lint_roller/plugin.rb#4
152
+ def initialize(config = T.unsafe(nil)); end
153
+
154
+ # @raise [Error]
155
+ #
156
+ # source://lint_roller//lib/lint_roller/plugin.rb#8
157
+ def about; end
158
+
159
+ # `context' is an instance of LintRoller::Context provided by the runner
160
+ #
161
+ # @raise [Error]
162
+ #
163
+ # source://lint_roller//lib/lint_roller/plugin.rb#18
164
+ def rules(context); end
165
+
166
+ # `context' is an instance of LintRoller::Context provided by the runner
167
+ #
168
+ # @return [Boolean]
169
+ #
170
+ # source://lint_roller//lib/lint_roller/plugin.rb#13
171
+ def supported?(context); end
172
+ end
173
+
174
+ # source://lint_roller//lib/lint_roller/rules.rb#2
175
+ class LintRoller::Rules < ::Struct
176
+ # Returns the value of attribute config_format
177
+ #
178
+ # @return [Object] the current value of config_format
179
+ def config_format; end
180
+
181
+ # Sets the attribute config_format
182
+ #
183
+ # @param value [Object] the value to set the attribute config_format to.
184
+ # @return [Object] the newly set value
185
+ def config_format=(_); end
186
+
187
+ # Returns the value of attribute error
188
+ #
189
+ # @return [Object] the current value of error
190
+ def error; end
191
+
192
+ # Sets the attribute error
193
+ #
194
+ # @param value [Object] the value to set the attribute error to.
195
+ # @return [Object] the newly set value
196
+ def error=(_); end
197
+
198
+ # Returns the value of attribute type
199
+ #
200
+ # @return [Object] the current value of type
201
+ def type; end
202
+
203
+ # Sets the attribute type
204
+ #
205
+ # @param value [Object] the value to set the attribute type to.
206
+ # @return [Object] the newly set value
207
+ def type=(_); end
208
+
209
+ # Returns the value of attribute value
210
+ #
211
+ # @return [Object] the current value of value
212
+ def value; end
213
+
214
+ # Sets the attribute value
215
+ #
216
+ # @param value [Object] the value to set the attribute value to.
217
+ # @return [Object] the newly set value
218
+ def value=(_); end
219
+
220
+ class << self
221
+ def [](*_arg0); end
222
+ def inspect; end
223
+ def keyword_init?; end
224
+ def members; end
225
+ def new(*_arg0); end
226
+ end
227
+ end
228
+
229
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#2
230
+ module LintRoller::Support; end
231
+
232
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#3
233
+ class LintRoller::Support::MergesUpstreamMetadata
234
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#4
235
+ def merge(plugin_yaml, upstream_yaml); end
236
+ end
237
+
238
+ # source://lint_roller//lib/lint_roller/version.rb#2
239
+ LintRoller::VERSION = T.let(T.unsafe(nil), String)