mangrove 0.18.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/lib/mangrove/result.rb +92 -3
  4. data/lib/mangrove/version.rb +1 -1
  5. data/sorbet/rbi/annotations/.gitattributes +1 -0
  6. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1 -5
  7. data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
  8. data/sorbet/rbi/gems/json@2.6.3.rbi +73 -65
  9. data/sorbet/rbi/gems/prism@0.15.1.rbi +23916 -2
  10. data/sorbet/rbi/gems/rake@13.0.6.rbi +1 -141
  11. data/sorbet/rbi/gems/{rbi@0.1.1.rbi → rbi@0.1.3.rbi} +53 -57
  12. data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +37 -37
  13. data/sorbet/rbi/gems/rexml@3.2.6.rbi +2 -2
  14. data/sorbet/rbi/gems/rspec-core@3.12.2.rbi +8 -39
  15. data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +25 -25
  16. data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +4 -8
  17. data/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi +2 -2
  18. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +2 -2
  19. data/sorbet/rbi/gems/rspec@3.12.0.rbi +1 -1
  20. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +263 -176
  21. data/sorbet/rbi/gems/rubocop@1.57.1.rbi +1019 -719
  22. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +5 -5
  23. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
  24. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +2135 -0
  25. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  26. data/sorbet/rbi/gems/spoom@1.2.4.rbi +15 -15
  27. data/sorbet/rbi/gems/{tapioca@0.11.9.rbi → tapioca@0.11.10.rbi} +40 -29
  28. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +1 -1
  29. data/sorbet/rbi/gems/yard@0.9.34.rbi +46 -50
  30. data/sorbet/tapioca/require.rb +6 -1
  31. metadata +9 -34
  32. data/docs/Mangrove/ControlFlow/ControlSignal.html +0 -223
  33. data/docs/Mangrove/ControlFlow/Handler/ClassMethods.html +0 -563
  34. data/docs/Mangrove/ControlFlow/Handler.html +0 -139
  35. data/docs/Mangrove/ControlFlow/Rewriter.html +0 -331
  36. data/docs/Mangrove/ControlFlow.html +0 -115
  37. data/docs/Mangrove/Option/ControlSignal.html +0 -434
  38. data/docs/Mangrove/Option/None.html +0 -1085
  39. data/docs/Mangrove/Option/Some.html +0 -1202
  40. data/docs/Mangrove/Option.html +0 -1145
  41. data/docs/Mangrove/Result/ControlSignal.html +0 -434
  42. data/docs/Mangrove/Result/Err.html +0 -2254
  43. data/docs/Mangrove/Result/Ok.html +0 -2219
  44. data/docs/Mangrove/Result.html +0 -2475
  45. data/docs/Mangrove.html +0 -144
  46. data/docs/_index.html +0 -225
  47. data/docs/class_list.html +0 -51
  48. data/docs/css/common.css +0 -1
  49. data/docs/css/full_list.css +0 -58
  50. data/docs/css/style.css +0 -497
  51. data/docs/file.README.html +0 -245
  52. data/docs/file_list.html +0 -56
  53. data/docs/frames.html +0 -17
  54. data/docs/index.html +0 -245
  55. data/docs/js/app.js +0 -314
  56. data/docs/js/full_list.js +0 -216
  57. data/docs/js/jquery.js +0 -4
  58. data/docs/method_list.html +0 -939
  59. data/docs/top-level-namespace.html +0 -110
  60. data/sorbet/rbi/gems/yarp@0.13.0.rbi +0 -21646
  61. data/sorbet/rbi/shims/mangrove/option.rbi +0 -15
  62. data/sorbet/rbi/shims/mangrove/result.rbi +0 -15
@@ -21,7 +21,7 @@ class ProgressBar::Base
21
21
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45
22
22
  def initialize(options = T.unsafe(nil)); end
23
23
 
24
- # source://forwardable/1.3.3/forwardable.rb#231
24
+ # source://forwardable/1.3.2/forwardable.rb#229
25
25
  def clear(*args, **_arg1, &block); end
26
26
 
27
27
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137
@@ -47,7 +47,7 @@ class ProgressBar::Base
47
47
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199
48
48
  def inspect; end
49
49
 
50
- # source://forwardable/1.3.3/forwardable.rb#231
50
+ # source://forwardable/1.3.2/forwardable.rb#229
51
51
  def log(*args, **_arg1, &block); end
52
52
 
53
53
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102
@@ -58,7 +58,7 @@ class ProgressBar::Base
58
58
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
59
59
  def paused?; end
60
60
 
61
- # source://forwardable/1.3.3/forwardable.rb#231
61
+ # source://forwardable/1.3.2/forwardable.rb#229
62
62
  def progress(*args, **_arg1, &block); end
63
63
 
64
64
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145
@@ -67,7 +67,7 @@ class ProgressBar::Base
67
67
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153
68
68
  def progress_mark=(mark); end
69
69
 
70
- # source://forwardable/1.3.3/forwardable.rb#231
70
+ # source://forwardable/1.3.2/forwardable.rb#229
71
71
  def refresh(*args, **_arg1, &block); end
72
72
 
73
73
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157
@@ -107,7 +107,7 @@ class ProgressBar::Base
107
107
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169
108
108
  def to_s(new_format = T.unsafe(nil)); end
109
109
 
110
- # source://forwardable/1.3.3/forwardable.rb#231
110
+ # source://forwardable/1.3.2/forwardable.rb#229
111
111
  def total(*args, **_arg1, &block); end
112
112
 
113
113
  # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149
@@ -0,0 +1,216 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `simplecov-html` gem.
5
+ # Please instead update this file by running `bin/tapioca gem simplecov-html`.
6
+
7
+ # source://simplecov-html//lib/simplecov-html.rb#16
8
+ module SimpleCov
9
+ class << self
10
+ # source://simplecov/0.21.2/lib/simplecov.rb#174
11
+ def at_exit_behavior; end
12
+
13
+ # source://simplecov/0.21.2/lib/simplecov.rb#170
14
+ def clear_result; end
15
+
16
+ # source://simplecov/0.21.2/lib/simplecov.rb#86
17
+ def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
18
+
19
+ # source://simplecov/0.21.2/lib/simplecov.rb#223
20
+ def exit_and_report_previous_error(exit_status); end
21
+
22
+ # source://simplecov/0.21.2/lib/simplecov.rb#200
23
+ def exit_status_from_exception; end
24
+
25
+ # source://simplecov/0.21.2/lib/simplecov.rb#28
26
+ def external_at_exit; end
27
+
28
+ # source://simplecov/0.21.2/lib/simplecov.rb#28
29
+ def external_at_exit=(_arg0); end
30
+
31
+ # source://simplecov/0.21.2/lib/simplecov.rb#28
32
+ def external_at_exit?; end
33
+
34
+ # source://simplecov/0.21.2/lib/simplecov.rb#131
35
+ def filtered(files); end
36
+
37
+ # source://simplecov/0.21.2/lib/simplecov.rb#268
38
+ def final_result_process?; end
39
+
40
+ # source://simplecov/0.21.2/lib/simplecov.rb#142
41
+ def grouped(files); end
42
+
43
+ # source://simplecov/0.21.2/lib/simplecov.rb#162
44
+ def load_adapter(name); end
45
+
46
+ # source://simplecov/0.21.2/lib/simplecov.rb#158
47
+ def load_profile(name); end
48
+
49
+ # source://simplecov/0.21.2/lib/simplecov.rb#24
50
+ def pid; end
51
+
52
+ # source://simplecov/0.21.2/lib/simplecov.rb#24
53
+ def pid=(_arg0); end
54
+
55
+ # source://simplecov/0.21.2/lib/simplecov.rb#213
56
+ def previous_error?(error_exit_status); end
57
+
58
+ # source://simplecov/0.21.2/lib/simplecov.rb#248
59
+ def process_result(result); end
60
+
61
+ # source://simplecov/0.21.2/lib/simplecov.rb#233
62
+ def process_results_and_report_error; end
63
+
64
+ # source://simplecov/0.21.2/lib/simplecov.rb#229
65
+ def ready_to_process_results?; end
66
+
67
+ # source://simplecov/0.21.2/lib/simplecov.rb#101
68
+ def result; end
69
+
70
+ # source://simplecov/0.21.2/lib/simplecov.rb#124
71
+ def result?; end
72
+
73
+ # source://simplecov/0.21.2/lib/simplecov.rb#256
74
+ def result_exit_status(result); end
75
+
76
+ # source://simplecov/0.21.2/lib/simplecov.rb#296
77
+ def round_coverage(coverage); end
78
+
79
+ # source://simplecov/0.21.2/lib/simplecov.rb#186
80
+ def run_exit_tasks!; end
81
+
82
+ # source://simplecov/0.21.2/lib/simplecov.rb#24
83
+ def running; end
84
+
85
+ # source://simplecov/0.21.2/lib/simplecov.rb#24
86
+ def running=(_arg0); end
87
+
88
+ # source://simplecov/0.21.2/lib/simplecov.rb#48
89
+ def start(profile = T.unsafe(nil), &block); end
90
+
91
+ # source://simplecov/0.21.2/lib/simplecov.rb#276
92
+ def wait_for_other_processes; end
93
+
94
+ # source://simplecov/0.21.2/lib/simplecov.rb#285
95
+ def write_last_run(result); end
96
+
97
+ private
98
+
99
+ # source://simplecov/0.21.2/lib/simplecov.rb#397
100
+ def adapt_coverage_result; end
101
+
102
+ # source://simplecov/0.21.2/lib/simplecov.rb#369
103
+ def add_not_loaded_files(result); end
104
+
105
+ # source://simplecov/0.21.2/lib/simplecov.rb#302
106
+ def initial_setup(profile, &block); end
107
+
108
+ # source://simplecov/0.21.2/lib/simplecov.rb#361
109
+ def lookup_corresponding_ruby_coverage_name(criterion); end
110
+
111
+ # source://simplecov/0.21.2/lib/simplecov.rb#423
112
+ def make_parallel_tests_available; end
113
+
114
+ # source://simplecov/0.21.2/lib/simplecov.rb#432
115
+ def probably_running_parallel_tests?; end
116
+
117
+ # source://simplecov/0.21.2/lib/simplecov.rb#386
118
+ def process_coverage_result; end
119
+
120
+ # source://simplecov/0.21.2/lib/simplecov.rb#408
121
+ def remove_useless_results; end
122
+
123
+ # source://simplecov/0.21.2/lib/simplecov.rb#418
124
+ def result_with_not_loaded_files; end
125
+
126
+ # source://simplecov/0.21.2/lib/simplecov.rb#314
127
+ def start_coverage_measurement; end
128
+
129
+ # source://simplecov/0.21.2/lib/simplecov.rb#349
130
+ def start_coverage_with_criteria; end
131
+ end
132
+ end
133
+
134
+ # source://simplecov-html//lib/simplecov-html.rb#17
135
+ module SimpleCov::Formatter
136
+ class << self
137
+ # source://simplecov/0.21.2/lib/simplecov/default_formatter.rb#7
138
+ def from_env(env); end
139
+ end
140
+ end
141
+
142
+ # source://simplecov-html//lib/simplecov-html.rb#18
143
+ class SimpleCov::Formatter::HTMLFormatter
144
+ # @return [HTMLFormatter] a new instance of HTMLFormatter
145
+ #
146
+ # source://simplecov-html//lib/simplecov-html.rb#19
147
+ def initialize; end
148
+
149
+ # @return [Boolean]
150
+ #
151
+ # source://simplecov-html//lib/simplecov-html.rb#38
152
+ def branchable_result?; end
153
+
154
+ # source://simplecov-html//lib/simplecov-html.rb#23
155
+ def format(result); end
156
+
157
+ # @return [Boolean]
158
+ #
159
+ # source://simplecov-html//lib/simplecov-html.rb#45
160
+ def line_status?(source_file, line); end
161
+
162
+ # source://simplecov-html//lib/simplecov-html.rb#34
163
+ def output_message(result); end
164
+
165
+ private
166
+
167
+ # source://simplecov-html//lib/simplecov-html.rb#64
168
+ def asset_output_path; end
169
+
170
+ # source://simplecov-html//lib/simplecov-html.rb#72
171
+ def assets_path(name); end
172
+
173
+ # source://simplecov-html//lib/simplecov-html.rb#97
174
+ def coverage_css_class(covered_percent); end
175
+
176
+ # source://simplecov-html//lib/simplecov-html.rb#93
177
+ def covered_percent(percent); end
178
+
179
+ # Returns a table containing the given source files
180
+ #
181
+ # source://simplecov-html//lib/simplecov-html.rb#84
182
+ def formatted_file_list(title, source_files); end
183
+
184
+ # Returns the html for the given source_file
185
+ #
186
+ # source://simplecov-html//lib/simplecov-html.rb#77
187
+ def formatted_source_file(source_file); end
188
+
189
+ # Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id
190
+ #
191
+ # source://simplecov-html//lib/simplecov-html.rb#118
192
+ def id(source_file); end
193
+
194
+ # source://simplecov-html//lib/simplecov-html.rb#130
195
+ def link_to_source_file(source_file); end
196
+
197
+ # source://simplecov-html//lib/simplecov-html.rb#60
198
+ def output_path; end
199
+
200
+ # source://simplecov-html//lib/simplecov-html.rb#126
201
+ def shortened_filename(source_file); end
202
+
203
+ # source://simplecov-html//lib/simplecov-html.rb#107
204
+ def strength_css_class(covered_strength); end
205
+
206
+ # Returns the an erb instance for the template of given name
207
+ #
208
+ # source://simplecov-html//lib/simplecov-html.rb#56
209
+ def template(name); end
210
+
211
+ # source://simplecov-html//lib/simplecov-html.rb#122
212
+ def timeago(time); end
213
+ end
214
+
215
+ # source://simplecov-html//lib/simplecov-html/version.rb#6
216
+ SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)