clean-architecture 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rspec.yml +21 -0
  3. data/.gitignore +1 -0
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +42 -0
  6. data/Gemfile +1 -0
  7. data/README.md +423 -4
  8. data/clean-architecture.gemspec +9 -5
  9. data/generate_require_files.rb +1 -0
  10. data/lib/clean-architecture.rb +1 -0
  11. data/lib/clean_architecture/adapters/all.rb +1 -0
  12. data/lib/clean_architecture/adapters/attribute_hash_base.rb +1 -0
  13. data/lib/clean_architecture/all.rb +3 -0
  14. data/lib/clean_architecture/builders/abstract_active_record_entity_builder.rb +124 -0
  15. data/lib/clean_architecture/builders/all.rb +6 -0
  16. data/lib/clean_architecture/checks/all.rb +1 -0
  17. data/lib/clean_architecture/checks/authorization.rb +1 -0
  18. data/lib/clean_architecture/entities/all.rb +1 -0
  19. data/lib/clean_architecture/entities/failure_details.rb +2 -1
  20. data/lib/clean_architecture/entities/targeted_parameters.rb +1 -0
  21. data/lib/clean_architecture/entities/untargeted_parameters.rb +1 -0
  22. data/lib/clean_architecture/interfaces/all.rb +1 -0
  23. data/lib/clean_architecture/interfaces/authorization_parameters.rb +1 -0
  24. data/lib/clean_architecture/interfaces/base_parameters.rb +1 -0
  25. data/lib/clean_architecture/interfaces/jsonable.rb +1 -0
  26. data/lib/clean_architecture/interfaces/success_payload.rb +1 -0
  27. data/lib/clean_architecture/interfaces/targeted_parameters.rb +1 -0
  28. data/lib/clean_architecture/interfaces/use_case.rb +1 -0
  29. data/lib/clean_architecture/interfaces/use_case_actor.rb +1 -0
  30. data/lib/clean_architecture/interfaces/use_case_target.rb +1 -0
  31. data/lib/clean_architecture/matchers/all.rb +1 -0
  32. data/lib/clean_architecture/matchers/use_case_result.rb +1 -0
  33. data/lib/clean_architecture/queries/all.rb +1 -0
  34. data/lib/clean_architecture/queries/http_failure_code.rb +1 -0
  35. data/lib/clean_architecture/queries/http_success_code.rb +1 -0
  36. data/lib/clean_architecture/serializers/all.rb +1 -0
  37. data/lib/clean_architecture/serializers/html_response_from_result.rb +1 -0
  38. data/lib/clean_architecture/serializers/json_response_from_result.rb +1 -0
  39. data/lib/clean_architecture/serializers/success_collection_payload.rb +1 -0
  40. data/lib/clean_architecture/serializers/success_payload.rb +1 -0
  41. data/lib/clean_architecture/types.rb +2 -1
  42. data/lib/clean_architecture/use_cases/abstract_use_case.rb +62 -0
  43. data/lib/clean_architecture/use_cases/all.rb +10 -0
  44. data/lib/clean_architecture/use_cases/contract.rb +9 -0
  45. data/lib/clean_architecture/use_cases/errors.rb +57 -0
  46. data/lib/clean_architecture/use_cases/form.rb +116 -0
  47. data/lib/clean_architecture/use_cases/parameters.rb +42 -0
  48. data/lib/clean_architecture/version.rb +2 -1
  49. data/sorbet/config +2 -0
  50. data/sorbet/rbi/gems/activemodel.rbi +74 -0
  51. data/sorbet/rbi/gems/activesupport.rbi +440 -0
  52. data/sorbet/rbi/gems/ast.rbi +47 -0
  53. data/sorbet/rbi/gems/axiom-types.rbi +159 -0
  54. data/sorbet/rbi/gems/byebug.rbi +1039 -0
  55. data/sorbet/rbi/gems/codeclimate-engine-rb.rbi +123 -0
  56. data/sorbet/rbi/gems/coderay.rbi +91 -0
  57. data/sorbet/rbi/gems/coercible.rbi +156 -0
  58. data/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  59. data/sorbet/rbi/gems/descendants_tracker.rbi +17 -0
  60. data/sorbet/rbi/gems/docile.rbi +31 -0
  61. data/sorbet/rbi/gems/dry-configurable.rbi +89 -0
  62. data/sorbet/rbi/gems/dry-container.rbi +88 -0
  63. data/sorbet/rbi/gems/dry-core.rbi +79 -0
  64. data/sorbet/rbi/gems/dry-equalizer.rbi +25 -0
  65. data/sorbet/rbi/gems/dry-inflector.rbi +72 -0
  66. data/sorbet/rbi/gems/dry-initializer.rbi +209 -0
  67. data/sorbet/rbi/gems/dry-logic.rbi +304 -0
  68. data/sorbet/rbi/gems/dry-matcher.rbi +33 -0
  69. data/sorbet/rbi/gems/dry-monads.rbi +508 -0
  70. data/sorbet/rbi/gems/dry-schema.rbi +790 -0
  71. data/sorbet/rbi/gems/dry-struct.rbi +165 -0
  72. data/sorbet/rbi/gems/dry-types.rbi +688 -0
  73. data/sorbet/rbi/gems/dry-validation.rbi +284 -0
  74. data/sorbet/rbi/gems/duckface-interfaces.rbi +93 -0
  75. data/sorbet/rbi/gems/equalizer.rbi +22 -0
  76. data/sorbet/rbi/gems/i18n.rbi +132 -0
  77. data/sorbet/rbi/gems/ice_nine.rbi +66 -0
  78. data/sorbet/rbi/gems/jaro_winkler.rbi +14 -0
  79. data/sorbet/rbi/gems/kwalify.rbi +339 -0
  80. data/sorbet/rbi/gems/method_source.rbi +63 -0
  81. data/sorbet/rbi/gems/parallel.rbi +81 -0
  82. data/sorbet/rbi/gems/parser.rbi +1293 -0
  83. data/sorbet/rbi/gems/pry-byebug.rbi +149 -0
  84. data/sorbet/rbi/gems/pry.rbi +1964 -0
  85. data/sorbet/rbi/gems/psych.rbi +462 -0
  86. data/sorbet/rbi/gems/rainbow.rbi +117 -0
  87. data/sorbet/rbi/gems/rake.rbi +634 -0
  88. data/sorbet/rbi/gems/rb-readline.rbi +766 -0
  89. data/sorbet/rbi/gems/reek.rbi +1066 -0
  90. data/sorbet/rbi/gems/rspec-core.rbi +1658 -0
  91. data/sorbet/rbi/gems/rspec-expectations.rbi +430 -0
  92. data/sorbet/rbi/gems/rspec-mocks.rbi +815 -0
  93. data/sorbet/rbi/gems/rspec-support.rbi +268 -0
  94. data/sorbet/rbi/gems/rspec.rbi +14 -0
  95. data/sorbet/rbi/gems/rubocop-rspec.rbi +875 -0
  96. data/sorbet/rbi/gems/rubocop.rbi +7014 -0
  97. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  98. data/sorbet/rbi/gems/simplecov-html.rbi +30 -0
  99. data/sorbet/rbi/gems/simplecov.rbi +225 -0
  100. data/sorbet/rbi/gems/stackprof.rbi +51 -0
  101. data/sorbet/rbi/gems/thread_safe.rbi +81 -0
  102. data/sorbet/rbi/gems/timecop.rbi +97 -0
  103. data/sorbet/rbi/gems/unicode-display_width.rbi +16 -0
  104. data/sorbet/rbi/gems/virtus.rbi +421 -0
  105. data/sorbet/rbi/hidden-definitions/errors.txt +7332 -0
  106. data/sorbet/rbi/hidden-definitions/hidden.rbi +17521 -0
  107. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
  108. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  109. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +625 -0
  110. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  111. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
  112. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +254 -0
  113. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  114. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  115. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  116. data/sorbet/rbi/todo.rbi +12 -0
  117. metadata +156 -24
  118. data/Gemfile.lock +0 -187
@@ -0,0 +1,304 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ruby-progressbar/all/ruby-progressbar.rbi
9
+ #
10
+ # ruby-progressbar-1.10.1
11
+ class ProgressBar
12
+ def self.create(*args); end
13
+ end
14
+ class ProgressBar::Output
15
+ def bar; end
16
+ def bar=(arg0); end
17
+ def clear_string; end
18
+ def initialize(options = nil); end
19
+ def length; end
20
+ def length_calculator; end
21
+ def length_calculator=(arg0); end
22
+ def log(string); end
23
+ def print_and_flush; end
24
+ def refresh(options = nil); end
25
+ def self.detect(options = nil); end
26
+ def stream; end
27
+ def stream=(arg0); end
28
+ def throttle; end
29
+ def throttle=(arg0); end
30
+ def with_refresh; end
31
+ end
32
+ module ProgressBar::Outputs
33
+ end
34
+ class ProgressBar::Outputs::Tty < ProgressBar::Output
35
+ def bar_update_string; end
36
+ def clear; end
37
+ def default_format; end
38
+ def eol; end
39
+ def refresh_with_format_change; end
40
+ def resolve_format(other_format); end
41
+ end
42
+ class ProgressBar::Outputs::NonTty < ProgressBar::Output
43
+ def bar_update_string; end
44
+ def clear; end
45
+ def default_format; end
46
+ def eol; end
47
+ def last_update_length; end
48
+ def last_update_length=(arg0); end
49
+ def refresh_with_format_change(*arg0); end
50
+ def resolve_format(*arg0); end
51
+ end
52
+ class ProgressBar::Time
53
+ def initialize(time = nil); end
54
+ def now; end
55
+ def time; end
56
+ def time=(arg0); end
57
+ def unmocked_time_method; end
58
+ end
59
+ class ProgressBar::Timer
60
+ def divide_seconds(seconds); end
61
+ def elapsed_seconds; end
62
+ def elapsed_whole_seconds; end
63
+ def initialize(options = nil); end
64
+ def pause; end
65
+ def reset; end
66
+ def reset?; end
67
+ def restart; end
68
+ def resume; end
69
+ def start; end
70
+ def started?; end
71
+ def started_at; end
72
+ def started_at=(arg0); end
73
+ def stop; end
74
+ def stopped?; end
75
+ def stopped_at; end
76
+ def stopped_at=(arg0); end
77
+ def time; end
78
+ def time=(arg0); end
79
+ end
80
+ class ProgressBar::InvalidProgressError < RuntimeError
81
+ end
82
+ class ProgressBar::Progress
83
+ def absolute; end
84
+ def decrement; end
85
+ def finish; end
86
+ def finished?; end
87
+ def increment; end
88
+ def initialize(options = nil); end
89
+ def none?; end
90
+ def percentage_completed; end
91
+ def percentage_completed_with_precision; end
92
+ def progress; end
93
+ def progress=(new_progress); end
94
+ def reset; end
95
+ def running_average; end
96
+ def running_average=(arg0); end
97
+ def smoothing; end
98
+ def smoothing=(arg0); end
99
+ def start(options = nil); end
100
+ def starting_position; end
101
+ def starting_position=(arg0); end
102
+ def total; end
103
+ def total=(new_total); end
104
+ def total_with_unknown_indicator; end
105
+ def unknown?; end
106
+ end
107
+ class ProgressBar::Throttle
108
+ def choke(options = nil); end
109
+ def initialize(options = nil); end
110
+ def rate; end
111
+ def rate=(arg0); end
112
+ def started_at; end
113
+ def started_at=(arg0); end
114
+ def stopped_at; end
115
+ def stopped_at=(arg0); end
116
+ def timer; end
117
+ def timer=(arg0); end
118
+ end
119
+ module ProgressBar::Calculators
120
+ end
121
+ class ProgressBar::Calculators::Length
122
+ def calculate_length; end
123
+ def current_length; end
124
+ def current_length=(arg0); end
125
+ def dynamic_width; end
126
+ def dynamic_width_stty; end
127
+ def dynamic_width_tput; end
128
+ def dynamic_width_via_io_object; end
129
+ def dynamic_width_via_output_stream_object; end
130
+ def dynamic_width_via_system_calls; end
131
+ def initialize(options = nil); end
132
+ def length; end
133
+ def length_changed?; end
134
+ def length_override; end
135
+ def length_override=(other); end
136
+ def output; end
137
+ def output=(arg0); end
138
+ def reset_length; end
139
+ def terminal_width; end
140
+ def unix?; end
141
+ end
142
+ class ProgressBar::Calculators::RunningAverage
143
+ def self.calculate(current_average, new_value_to_average, smoothing_factor); end
144
+ end
145
+ module ProgressBar::Components
146
+ end
147
+ class ProgressBar::Components::Bar
148
+ def bar(length); end
149
+ def bar_with_percentage(length); end
150
+ def complete_bar(length); end
151
+ def complete_bar_with_percentage(length); end
152
+ def completed_length; end
153
+ def incomplete_space(length); end
154
+ def incomplete_string; end
155
+ def initialize(options = nil); end
156
+ def integrated_percentage_complete_string; end
157
+ def length; end
158
+ def length=(arg0); end
159
+ def progress; end
160
+ def progress=(arg0); end
161
+ def progress_mark; end
162
+ def progress_mark=(arg0); end
163
+ def remainder_mark; end
164
+ def remainder_mark=(arg0); end
165
+ def standard_complete_string; end
166
+ def to_s(options = nil); end
167
+ def unknown_progress_frame; end
168
+ def unknown_string; end
169
+ def upa_steps; end
170
+ def upa_steps=(arg0); end
171
+ end
172
+ class ProgressBar::Components::Percentage
173
+ def initialize(options = nil); end
174
+ def justified_percentage; end
175
+ def justified_percentage_with_precision; end
176
+ def percentage; end
177
+ def percentage_with_precision; end
178
+ def progress; end
179
+ def progress=(arg0); end
180
+ end
181
+ class ProgressBar::Components::Rate
182
+ def base_rate; end
183
+ def elapsed_seconds; end
184
+ def initialize(options = nil); end
185
+ def progress; end
186
+ def progress=(arg0); end
187
+ def rate_of_change(format_string = nil); end
188
+ def rate_of_change_with_precision; end
189
+ def rate_scale; end
190
+ def rate_scale=(arg0); end
191
+ def scaled_rate; end
192
+ def started_at; end
193
+ def started_at=(arg0); end
194
+ def stopped_at; end
195
+ def stopped_at=(arg0); end
196
+ def timer; end
197
+ def timer=(arg0); end
198
+ end
199
+ class ProgressBar::Components::Time
200
+ def elapsed; end
201
+ def elapsed_with_label; end
202
+ def estimated; end
203
+ def estimated_seconds_remaining; end
204
+ def estimated_with_elapsed_fallback; end
205
+ def estimated_with_friendly_oob; end
206
+ def estimated_with_label; end
207
+ def estimated_with_no_oob; end
208
+ def estimated_with_unknown_oob; end
209
+ def initialize(options = nil); end
210
+ def out_of_bounds_time; end
211
+ def out_of_bounds_time_format; end
212
+ def out_of_bounds_time_format=(format); end
213
+ def progress; end
214
+ def progress=(arg0); end
215
+ def timer; end
216
+ def timer=(arg0); end
217
+ end
218
+ class ProgressBar::Components::Title
219
+ def initialize(options = nil); end
220
+ def title; end
221
+ def title=(arg0); end
222
+ end
223
+ module ProgressBar::Format
224
+ end
225
+ class ProgressBar::Format::Molecule
226
+ def bar_molecule?; end
227
+ def full_key; end
228
+ def initialize(letter); end
229
+ def key; end
230
+ def key=(arg0); end
231
+ def lookup_value(environment, length = nil); end
232
+ def method_name; end
233
+ def method_name=(arg0); end
234
+ def non_bar_molecule?; end
235
+ end
236
+ class ProgressBar::Format::Formatter
237
+ def self.process(format_string, max_length, bar); end
238
+ end
239
+ class ProgressBar::Format::String < String
240
+ def bar_molecule_placeholder_length; end
241
+ def bar_molecules; end
242
+ def displayable_length; end
243
+ def molecules; end
244
+ def non_bar_molecules; end
245
+ end
246
+ class ProgressBar::Base
247
+ def autofinish; end
248
+ def autofinish=(arg0); end
249
+ def autostart; end
250
+ def autostart=(arg0); end
251
+ def bar; end
252
+ def bar=(arg0); end
253
+ def clear(*args, &block); end
254
+ def decrement; end
255
+ def finish; end
256
+ def finished; end
257
+ def finished=(arg0); end
258
+ def finished?; end
259
+ def format(other); end
260
+ def format=(other); end
261
+ def increment; end
262
+ def initialize(options = nil); end
263
+ def inspect; end
264
+ def log(*args, &block); end
265
+ def output; end
266
+ def output=(arg0); end
267
+ def pause; end
268
+ def paused?; end
269
+ def percentage; end
270
+ def percentage=(arg0); end
271
+ def progress(*args, &block); end
272
+ def progress=(new_progress); end
273
+ def progress_mark=(mark); end
274
+ def progressable; end
275
+ def progressable=(arg0); end
276
+ def rate; end
277
+ def rate=(arg0); end
278
+ def refresh(*args, &block); end
279
+ def remainder_mark=(mark); end
280
+ def reset; end
281
+ def resume; end
282
+ def start(options = nil); end
283
+ def started?; end
284
+ def stop; end
285
+ def stopped?; end
286
+ def time; end
287
+ def time=(arg0); end
288
+ def timer; end
289
+ def timer=(arg0); end
290
+ def title; end
291
+ def title=(title); end
292
+ def title_comp; end
293
+ def title_comp=(arg0); end
294
+ def to_h; end
295
+ def to_s(new_format = nil); end
296
+ def total(*args, &block); end
297
+ def total=(new_total); end
298
+ def update_progress(*args); end
299
+ extend Forwardable
300
+ end
301
+ module ProgressBar::Refinements
302
+ end
303
+ module ProgressBar::Refinements::Enumerator
304
+ end
@@ -0,0 +1,30 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/simplecov-html/all/simplecov-html.rbi
9
+ #
10
+ # simplecov-html-0.10.2
11
+ module SimpleCov
12
+ end
13
+ module SimpleCov::Formatter
14
+ end
15
+ class SimpleCov::Formatter::HTMLFormatter
16
+ def asset_output_path; end
17
+ def assets_path(name); end
18
+ def coverage_css_class(covered_percent); end
19
+ def format(result); end
20
+ def formatted_file_list(title, source_files); end
21
+ def formatted_source_file(source_file); end
22
+ def id(source_file); end
23
+ def link_to_source_file(source_file); end
24
+ def output_message(result); end
25
+ def output_path; end
26
+ def shortened_filename(source_file); end
27
+ def strength_css_class(covered_strength); end
28
+ def template(name); end
29
+ def timeago(time); end
30
+ end
@@ -0,0 +1,225 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/simplecov/all/simplecov.rbi
9
+ #
10
+ # simplecov-0.17.1
11
+ module SimpleCov
12
+ def self.add_not_loaded_files(result); end
13
+ def self.clear_result; end
14
+ def self.exit_exception; end
15
+ def self.exit_status_from_exception; end
16
+ def self.filtered(files); end
17
+ def self.final_result_process?; end
18
+ def self.grouped(files); end
19
+ def self.load_adapter(name); end
20
+ def self.load_profile(name); end
21
+ def self.pid; end
22
+ def self.pid=(arg0); end
23
+ def self.process_result(result, exit_status); end
24
+ def self.result; end
25
+ def self.result?; end
26
+ def self.result_exit_status(result, covered_percent); end
27
+ def self.run_exit_tasks!; end
28
+ def self.running; end
29
+ def self.running=(arg0); end
30
+ def self.set_exit_exception; end
31
+ def self.start(profile = nil, &block); end
32
+ def self.usable?; end
33
+ def self.wait_for_other_processes; end
34
+ def self.write_last_run(covered_percent); end
35
+ extend SimpleCov::Configuration
36
+ end
37
+ module SimpleCov::Formatter
38
+ end
39
+ class SimpleCov::Formatter::MultiFormatter
40
+ def self.[](*args); end
41
+ def self.new(formatters = nil); end
42
+ end
43
+ module SimpleCov::Formatter::MultiFormatter::InstanceMethods
44
+ def format(result); end
45
+ end
46
+ module SimpleCov::Configuration
47
+ def adapters; end
48
+ def add_filter(filter_argument = nil, &filter_proc); end
49
+ def add_group(group_name, filter_argument = nil, &filter_proc); end
50
+ def at_exit(&block); end
51
+ def command_name(name = nil); end
52
+ def configure(&block); end
53
+ def coverage_dir(dir = nil); end
54
+ def coverage_path; end
55
+ def filters; end
56
+ def filters=(arg0); end
57
+ def formatter(formatter = nil); end
58
+ def formatter=(arg0); end
59
+ def formatters; end
60
+ def formatters=(formatters); end
61
+ def groups; end
62
+ def groups=(arg0); end
63
+ def maximum_coverage_drop(coverage_drop = nil); end
64
+ def merge_timeout(seconds = nil); end
65
+ def minimum_coverage(coverage = nil); end
66
+ def minimum_coverage_by_file(coverage = nil); end
67
+ def nocov_token(nocov_token = nil); end
68
+ def parse_filter(filter_argument = nil, &filter_proc); end
69
+ def profiles; end
70
+ def project_name(new_name = nil); end
71
+ def refuse_coverage_drop; end
72
+ def root(root = nil); end
73
+ def skip_token(nocov_token = nil); end
74
+ def track_files(glob); end
75
+ def tracked_files; end
76
+ def use_merging(use = nil); end
77
+ end
78
+ module SimpleCov::ExitCodes
79
+ end
80
+ class SimpleCov::Profiles < Hash
81
+ def define(name, &blk); end
82
+ def load(name); end
83
+ end
84
+ class SimpleCov::SourceFile
85
+ def build_lines; end
86
+ def coverage; end
87
+ def coverage_exceeding_source_warn; end
88
+ def covered_lines; end
89
+ def covered_percent; end
90
+ def covered_strength; end
91
+ def filename; end
92
+ def initialize(filename, coverage); end
93
+ def line(number); end
94
+ def lines; end
95
+ def lines_of_code; end
96
+ def lines_strength; end
97
+ def missed_lines; end
98
+ def never_lines; end
99
+ def no_lines?; end
100
+ def process_skipped_lines(lines); end
101
+ def project_filename; end
102
+ def relevant_lines; end
103
+ def round_float(float, places); end
104
+ def skipped_lines; end
105
+ def source; end
106
+ def source_lines; end
107
+ def src; end
108
+ end
109
+ class SimpleCov::SourceFile::Line
110
+ def coverage; end
111
+ def covered?; end
112
+ def initialize(src, line_number, coverage); end
113
+ def line; end
114
+ def line_number; end
115
+ def missed?; end
116
+ def never?; end
117
+ def number; end
118
+ def skipped!; end
119
+ def skipped; end
120
+ def skipped?; end
121
+ def source; end
122
+ def src; end
123
+ def status; end
124
+ end
125
+ class SimpleCov::FileList < Array
126
+ def covered_lines; end
127
+ def covered_percent; end
128
+ def covered_percentages; end
129
+ def covered_strength; end
130
+ def least_covered_file; end
131
+ def lines_of_code; end
132
+ def missed_lines; end
133
+ def never_lines; end
134
+ def skipped_lines; end
135
+ end
136
+ class SimpleCov::Result
137
+ def command_name; end
138
+ def command_name=(arg0); end
139
+ def coverage; end
140
+ def covered_lines(*args, &block); end
141
+ def covered_percent(*args, &block); end
142
+ def covered_percentages(*args, &block); end
143
+ def covered_strength(*args, &block); end
144
+ def created_at; end
145
+ def created_at=(arg0); end
146
+ def filenames; end
147
+ def files; end
148
+ def filter!; end
149
+ def format!; end
150
+ def groups; end
151
+ def initialize(original_result); end
152
+ def least_covered_file(*args, &block); end
153
+ def missed_lines(*args, &block); end
154
+ def original_result; end
155
+ def self.from_hash(hash); end
156
+ def source_files; end
157
+ def to_hash; end
158
+ def total_lines(*args, &block); end
159
+ extend Forwardable
160
+ end
161
+ class SimpleCov::Filter
162
+ def filter_argument; end
163
+ def initialize(filter_argument); end
164
+ def matches?(_); end
165
+ def passes?(source_file); end
166
+ def self.build_filter(filter_argument); end
167
+ def self.class_for_argument(filter_argument); end
168
+ end
169
+ class SimpleCov::StringFilter < SimpleCov::Filter
170
+ def matches?(source_file); end
171
+ end
172
+ class SimpleCov::RegexFilter < SimpleCov::Filter
173
+ def matches?(source_file); end
174
+ end
175
+ class SimpleCov::BlockFilter < SimpleCov::Filter
176
+ def matches?(source_file); end
177
+ end
178
+ class SimpleCov::ArrayFilter < SimpleCov::Filter
179
+ def initialize(filter_argument); end
180
+ def matches?(source_files_list); end
181
+ end
182
+ class SimpleCov::Formatter::SimpleFormatter
183
+ def format(result); end
184
+ end
185
+ module SimpleCov::LastRun
186
+ def self.last_run_path; end
187
+ def self.read; end
188
+ def self.write(json); end
189
+ end
190
+ class SimpleCov::LinesClassifier
191
+ def classify(lines); end
192
+ def self.no_cov_line; end
193
+ def self.no_cov_line?(line); end
194
+ def self.whitespace_line?(line); end
195
+ end
196
+ module SimpleCov::RawCoverage
197
+ def merge_file_coverage(file1, file2); end
198
+ def merge_line_coverage(count1, count2); end
199
+ def merge_results(*results); end
200
+ def merge_resultsets(result1, result2); end
201
+ def self.merge_file_coverage(file1, file2); end
202
+ def self.merge_line_coverage(count1, count2); end
203
+ def self.merge_results(*results); end
204
+ def self.merge_resultsets(result1, result2); end
205
+ end
206
+ module SimpleCov::ResultMerger
207
+ def self.clear_resultset; end
208
+ def self.merge_results(*results); end
209
+ def self.merged_result; end
210
+ def self.results; end
211
+ def self.resultset; end
212
+ def self.resultset_path; end
213
+ def self.resultset_writelock; end
214
+ def self.store_result(result); end
215
+ def self.stored_data; end
216
+ def self.synchronize_resultset; end
217
+ end
218
+ module SimpleCov::CommandGuesser
219
+ def self.from_command_line_options; end
220
+ def self.from_defined_constants; end
221
+ def self.from_env; end
222
+ def self.guess; end
223
+ def self.original_run_command; end
224
+ def self.original_run_command=(arg0); end
225
+ end