frontman-ssg 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +13 -2
- data/Rakefile +5 -2
- data/frontman-ssg.gemspec +1 -0
- data/lib/frontman.rb +0 -5
- data/lib/frontman/app.rb +1 -3
- data/lib/frontman/builder/file.rb +1 -3
- data/lib/frontman/commands/init.rb +2 -3
- data/lib/frontman/commands/serve.rb +29 -28
- data/lib/frontman/concerns/forward_calls_to_app.rb +1 -1
- data/lib/frontman/context.rb +68 -57
- data/lib/frontman/data_store.rb +1 -3
- data/lib/frontman/iterator.rb +1 -3
- data/lib/frontman/renderers/erb_renderer.rb +19 -1
- data/lib/frontman/renderers/haml_renderer.rb +29 -1
- data/lib/frontman/renderers/renderer_resolver.rb +18 -5
- data/lib/frontman/renderers/slim_renderer.rb +30 -0
- data/lib/frontman/resource.rb +9 -13
- data/lib/frontman/sitemap_tree.rb +1 -3
- data/lib/frontman/version.rb +1 -1
- data/project-templates/webpack/helpers/assets_helper.rb +1 -3
- data/sorbet/rbi/gems/ast.rbi +48 -0
- data/sorbet/rbi/gems/better_errors.rbi +180 -0
- data/sorbet/rbi/gems/binding_of_caller.rbi +23 -0
- data/sorbet/rbi/gems/coderay.rbi +24 -0
- data/sorbet/rbi/gems/debug_inspector.rbi +19 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/dotenv.rbi +68 -0
- data/sorbet/rbi/gems/erubi.rbi +27 -0
- data/sorbet/rbi/gems/erubis.rbi +280 -0
- data/sorbet/rbi/gems/haml.rbi +521 -0
- data/sorbet/rbi/gems/htmlentities.rbi +46 -0
- data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm.rbi +29 -0
- data/sorbet/rbi/gems/kramdown.rbi +338 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/mustermann.rbi +481 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/parallel.rbi +82 -0
- data/sorbet/rbi/gems/parser.rbi +1405 -0
- data/sorbet/rbi/gems/rack-protection.rbi +16 -0
- data/sorbet/rbi/gems/rack.rbi +507 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +641 -0
- data/sorbet/rbi/gems/rexml.rbi +93 -0
- data/sorbet/rbi/gems/rouge.rbi +1551 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1893 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1125 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-performance.rbi +274 -0
- data/sorbet/rbi/gems/rubocop.rbi +7403 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
- data/sorbet/rbi/gems/ruby2_keywords.rbi +17 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +405 -0
- data/sorbet/rbi/gems/sinatra.rbi +488 -0
- data/sorbet/rbi/gems/slim.rbi +144 -0
- data/sorbet/rbi/gems/temple.rbi +281 -0
- data/sorbet/rbi/gems/thor.rbi +522 -0
- data/sorbet/rbi/gems/tilt.rbi +82 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/yaml-front-matter.rbi +16 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +2859 -24228
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7111 -40830
- data/sorbet/rbi/sorbet-typed/lib/nokogiri/1.10.10/nokogiri.rbi +1615 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +6 -0
- data/spec/frontman/bootstrapper_spec.rb +1 -1
- data/spec/frontman/context_spec.rb +45 -6
- data/spec/frontman/mocks/context.haml +18 -0
- data/spec/frontman/renderers/slim_renderer_spec.rb +12 -0
- metadata +66 -4
@@ -0,0 +1,305 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
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
|
+
|
12
|
+
class ProgressBar
|
13
|
+
def self.create(*args); end
|
14
|
+
end
|
15
|
+
class ProgressBar::Output
|
16
|
+
def bar; end
|
17
|
+
def bar=(arg0); end
|
18
|
+
def clear_string; end
|
19
|
+
def initialize(options = nil); end
|
20
|
+
def length; end
|
21
|
+
def length_calculator; end
|
22
|
+
def length_calculator=(arg0); end
|
23
|
+
def log(string); end
|
24
|
+
def print_and_flush; end
|
25
|
+
def refresh(options = nil); end
|
26
|
+
def self.detect(options = nil); end
|
27
|
+
def stream; end
|
28
|
+
def stream=(arg0); end
|
29
|
+
def throttle; end
|
30
|
+
def throttle=(arg0); end
|
31
|
+
def with_refresh; end
|
32
|
+
end
|
33
|
+
module ProgressBar::Outputs
|
34
|
+
end
|
35
|
+
class ProgressBar::Outputs::Tty < ProgressBar::Output
|
36
|
+
def bar_update_string; end
|
37
|
+
def clear; end
|
38
|
+
def default_format; end
|
39
|
+
def eol; end
|
40
|
+
def refresh_with_format_change; end
|
41
|
+
def resolve_format(other_format); end
|
42
|
+
end
|
43
|
+
class ProgressBar::Outputs::NonTty < ProgressBar::Output
|
44
|
+
def bar_update_string; end
|
45
|
+
def clear; end
|
46
|
+
def default_format; end
|
47
|
+
def eol; end
|
48
|
+
def last_update_length; end
|
49
|
+
def last_update_length=(arg0); end
|
50
|
+
def refresh_with_format_change(*arg0); end
|
51
|
+
def resolve_format(*arg0); end
|
52
|
+
end
|
53
|
+
class ProgressBar::Time
|
54
|
+
def initialize(time = nil); end
|
55
|
+
def now; end
|
56
|
+
def time; end
|
57
|
+
def time=(arg0); end
|
58
|
+
def unmocked_time_method; end
|
59
|
+
end
|
60
|
+
class ProgressBar::Timer
|
61
|
+
def divide_seconds(seconds); end
|
62
|
+
def elapsed_seconds; end
|
63
|
+
def elapsed_whole_seconds; end
|
64
|
+
def initialize(options = nil); end
|
65
|
+
def pause; end
|
66
|
+
def reset; end
|
67
|
+
def reset?; end
|
68
|
+
def restart; end
|
69
|
+
def resume; end
|
70
|
+
def start; end
|
71
|
+
def started?; end
|
72
|
+
def started_at; end
|
73
|
+
def started_at=(arg0); end
|
74
|
+
def stop; end
|
75
|
+
def stopped?; end
|
76
|
+
def stopped_at; end
|
77
|
+
def stopped_at=(arg0); end
|
78
|
+
def time; end
|
79
|
+
def time=(arg0); end
|
80
|
+
end
|
81
|
+
class ProgressBar::InvalidProgressError < RuntimeError
|
82
|
+
end
|
83
|
+
class ProgressBar::Progress
|
84
|
+
def absolute; end
|
85
|
+
def decrement; end
|
86
|
+
def finish; end
|
87
|
+
def finished?; end
|
88
|
+
def increment; end
|
89
|
+
def initialize(options = nil); end
|
90
|
+
def none?; end
|
91
|
+
def percentage_completed; end
|
92
|
+
def percentage_completed_with_precision; end
|
93
|
+
def progress; end
|
94
|
+
def progress=(new_progress); end
|
95
|
+
def reset; end
|
96
|
+
def running_average; end
|
97
|
+
def running_average=(arg0); end
|
98
|
+
def smoothing; end
|
99
|
+
def smoothing=(arg0); end
|
100
|
+
def start(options = nil); end
|
101
|
+
def starting_position; end
|
102
|
+
def starting_position=(arg0); end
|
103
|
+
def total; end
|
104
|
+
def total=(new_total); end
|
105
|
+
def total_with_unknown_indicator; end
|
106
|
+
def unknown?; end
|
107
|
+
end
|
108
|
+
class ProgressBar::Throttle
|
109
|
+
def choke(options = nil); end
|
110
|
+
def initialize(options = nil); end
|
111
|
+
def rate; end
|
112
|
+
def rate=(arg0); end
|
113
|
+
def started_at; end
|
114
|
+
def started_at=(arg0); end
|
115
|
+
def stopped_at; end
|
116
|
+
def stopped_at=(arg0); end
|
117
|
+
def timer; end
|
118
|
+
def timer=(arg0); end
|
119
|
+
end
|
120
|
+
module ProgressBar::Calculators
|
121
|
+
end
|
122
|
+
class ProgressBar::Calculators::Length
|
123
|
+
def calculate_length; end
|
124
|
+
def current_length; end
|
125
|
+
def current_length=(arg0); end
|
126
|
+
def dynamic_width; end
|
127
|
+
def dynamic_width_stty; end
|
128
|
+
def dynamic_width_tput; end
|
129
|
+
def dynamic_width_via_io_object; end
|
130
|
+
def dynamic_width_via_output_stream_object; end
|
131
|
+
def dynamic_width_via_system_calls; end
|
132
|
+
def initialize(options = nil); end
|
133
|
+
def length; end
|
134
|
+
def length_changed?; end
|
135
|
+
def length_override; end
|
136
|
+
def length_override=(other); end
|
137
|
+
def output; end
|
138
|
+
def output=(arg0); end
|
139
|
+
def reset_length; end
|
140
|
+
def terminal_width; end
|
141
|
+
def unix?; end
|
142
|
+
end
|
143
|
+
class ProgressBar::Calculators::RunningAverage
|
144
|
+
def self.calculate(current_average, new_value_to_average, smoothing_factor); end
|
145
|
+
end
|
146
|
+
module ProgressBar::Components
|
147
|
+
end
|
148
|
+
class ProgressBar::Components::Bar
|
149
|
+
def bar(length); end
|
150
|
+
def bar_with_percentage(length); end
|
151
|
+
def complete_bar(length); end
|
152
|
+
def complete_bar_with_percentage(length); end
|
153
|
+
def completed_length; end
|
154
|
+
def incomplete_space(length); end
|
155
|
+
def incomplete_string; end
|
156
|
+
def initialize(options = nil); end
|
157
|
+
def integrated_percentage_complete_string; end
|
158
|
+
def length; end
|
159
|
+
def length=(arg0); end
|
160
|
+
def progress; end
|
161
|
+
def progress=(arg0); end
|
162
|
+
def progress_mark; end
|
163
|
+
def progress_mark=(arg0); end
|
164
|
+
def remainder_mark; end
|
165
|
+
def remainder_mark=(arg0); end
|
166
|
+
def standard_complete_string; end
|
167
|
+
def to_s(options = nil); end
|
168
|
+
def unknown_progress_frame; end
|
169
|
+
def unknown_string; end
|
170
|
+
def upa_steps; end
|
171
|
+
def upa_steps=(arg0); end
|
172
|
+
end
|
173
|
+
class ProgressBar::Components::Percentage
|
174
|
+
def initialize(options = nil); end
|
175
|
+
def justified_percentage; end
|
176
|
+
def justified_percentage_with_precision; end
|
177
|
+
def percentage; end
|
178
|
+
def percentage_with_precision; end
|
179
|
+
def progress; end
|
180
|
+
def progress=(arg0); end
|
181
|
+
end
|
182
|
+
class ProgressBar::Components::Rate
|
183
|
+
def base_rate; end
|
184
|
+
def elapsed_seconds; end
|
185
|
+
def initialize(options = nil); end
|
186
|
+
def progress; end
|
187
|
+
def progress=(arg0); end
|
188
|
+
def rate_of_change(format_string = nil); end
|
189
|
+
def rate_of_change_with_precision; end
|
190
|
+
def rate_scale; end
|
191
|
+
def rate_scale=(arg0); end
|
192
|
+
def scaled_rate; end
|
193
|
+
def started_at; end
|
194
|
+
def started_at=(arg0); end
|
195
|
+
def stopped_at; end
|
196
|
+
def stopped_at=(arg0); end
|
197
|
+
def timer; end
|
198
|
+
def timer=(arg0); end
|
199
|
+
end
|
200
|
+
class ProgressBar::Components::Time
|
201
|
+
def elapsed; end
|
202
|
+
def elapsed_with_label; end
|
203
|
+
def estimated; end
|
204
|
+
def estimated_seconds_remaining; end
|
205
|
+
def estimated_with_elapsed_fallback; end
|
206
|
+
def estimated_with_friendly_oob; end
|
207
|
+
def estimated_with_label; end
|
208
|
+
def estimated_with_no_oob; end
|
209
|
+
def estimated_with_unknown_oob; end
|
210
|
+
def initialize(options = nil); end
|
211
|
+
def out_of_bounds_time; end
|
212
|
+
def out_of_bounds_time_format; end
|
213
|
+
def out_of_bounds_time_format=(format); end
|
214
|
+
def progress; end
|
215
|
+
def progress=(arg0); end
|
216
|
+
def timer; end
|
217
|
+
def timer=(arg0); end
|
218
|
+
end
|
219
|
+
class ProgressBar::Components::Title
|
220
|
+
def initialize(options = nil); end
|
221
|
+
def title; end
|
222
|
+
def title=(arg0); end
|
223
|
+
end
|
224
|
+
module ProgressBar::Format
|
225
|
+
end
|
226
|
+
class ProgressBar::Format::Molecule
|
227
|
+
def bar_molecule?; end
|
228
|
+
def full_key; end
|
229
|
+
def initialize(letter); end
|
230
|
+
def key; end
|
231
|
+
def key=(arg0); end
|
232
|
+
def lookup_value(environment, length = nil); end
|
233
|
+
def method_name; end
|
234
|
+
def method_name=(arg0); end
|
235
|
+
def non_bar_molecule?; end
|
236
|
+
end
|
237
|
+
class ProgressBar::Format::Formatter
|
238
|
+
def self.process(format_string, max_length, bar); end
|
239
|
+
end
|
240
|
+
class ProgressBar::Format::String < String
|
241
|
+
def bar_molecule_placeholder_length; end
|
242
|
+
def bar_molecules; end
|
243
|
+
def displayable_length; end
|
244
|
+
def molecules; end
|
245
|
+
def non_bar_molecules; end
|
246
|
+
end
|
247
|
+
class ProgressBar::Base
|
248
|
+
def autofinish; end
|
249
|
+
def autofinish=(arg0); end
|
250
|
+
def autostart; end
|
251
|
+
def autostart=(arg0); end
|
252
|
+
def bar; end
|
253
|
+
def bar=(arg0); end
|
254
|
+
def clear(*args, &block); end
|
255
|
+
def decrement; end
|
256
|
+
def finish; end
|
257
|
+
def finished; end
|
258
|
+
def finished=(arg0); end
|
259
|
+
def finished?; end
|
260
|
+
def format(other); end
|
261
|
+
def format=(other); end
|
262
|
+
def increment; end
|
263
|
+
def initialize(options = nil); end
|
264
|
+
def inspect; end
|
265
|
+
def log(*args, &block); end
|
266
|
+
def output; end
|
267
|
+
def output=(arg0); end
|
268
|
+
def pause; end
|
269
|
+
def paused?; end
|
270
|
+
def percentage; end
|
271
|
+
def percentage=(arg0); end
|
272
|
+
def progress(*args, &block); end
|
273
|
+
def progress=(new_progress); end
|
274
|
+
def progress_mark=(mark); end
|
275
|
+
def progressable; end
|
276
|
+
def progressable=(arg0); end
|
277
|
+
def rate; end
|
278
|
+
def rate=(arg0); end
|
279
|
+
def refresh(*args, &block); end
|
280
|
+
def remainder_mark=(mark); end
|
281
|
+
def reset; end
|
282
|
+
def resume; end
|
283
|
+
def start(options = nil); end
|
284
|
+
def started?; end
|
285
|
+
def stop; end
|
286
|
+
def stopped?; end
|
287
|
+
def time; end
|
288
|
+
def time=(arg0); end
|
289
|
+
def timer; end
|
290
|
+
def timer=(arg0); end
|
291
|
+
def title; end
|
292
|
+
def title=(title); end
|
293
|
+
def title_comp; end
|
294
|
+
def title_comp=(arg0); end
|
295
|
+
def to_h; end
|
296
|
+
def to_s(new_format = nil); end
|
297
|
+
def total(*args, &block); end
|
298
|
+
def total=(new_total); end
|
299
|
+
def update_progress(*args); end
|
300
|
+
extend Forwardable
|
301
|
+
end
|
302
|
+
module ProgressBar::Refinements
|
303
|
+
end
|
304
|
+
module ProgressBar::Refinements::Enumerator
|
305
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: false
|
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/ruby2_keywords/all/ruby2_keywords.rbi
|
9
|
+
#
|
10
|
+
# ruby2_keywords-0.0.2
|
11
|
+
|
12
|
+
class Module
|
13
|
+
def ruby2_keywords(name, *arg1); end
|
14
|
+
end
|
15
|
+
class Proc
|
16
|
+
def ruby2_keywords; end
|
17
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
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.12.3
|
11
|
+
|
12
|
+
module SimpleCov
|
13
|
+
end
|
14
|
+
module SimpleCov::Formatter
|
15
|
+
end
|
16
|
+
class SimpleCov::Formatter::HTMLFormatter
|
17
|
+
def asset_output_path; end
|
18
|
+
def assets_path(name); end
|
19
|
+
def branchable_result?; end
|
20
|
+
def coverage_css_class(covered_percent); end
|
21
|
+
def covered_percent(percent); end
|
22
|
+
def format(result); end
|
23
|
+
def formatted_file_list(title, source_files); end
|
24
|
+
def formatted_source_file(source_file); end
|
25
|
+
def id(source_file); end
|
26
|
+
def initialize; end
|
27
|
+
def line_status?(source_file, line); end
|
28
|
+
def link_to_source_file(source_file); end
|
29
|
+
def output_message(result); end
|
30
|
+
def output_path; end
|
31
|
+
def shortened_filename(source_file); end
|
32
|
+
def strength_css_class(covered_strength); end
|
33
|
+
def template(name); end
|
34
|
+
def timeago(time); end
|
35
|
+
end
|
@@ -0,0 +1,405 @@
|
|
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.19.0
|
11
|
+
|
12
|
+
module SimpleCov
|
13
|
+
def self.adapt_coverage_result; end
|
14
|
+
def self.add_not_loaded_files(result); end
|
15
|
+
def self.at_exit_behavior; end
|
16
|
+
def self.clear_result; end
|
17
|
+
def self.collate(result_filenames, profile = nil, &block); end
|
18
|
+
def self.exit_and_report_previous_error(exit_status); end
|
19
|
+
def self.exit_status_from_exception; end
|
20
|
+
def self.external_at_exit; end
|
21
|
+
def self.external_at_exit=(arg0); end
|
22
|
+
def self.external_at_exit?; end
|
23
|
+
def self.filtered(files); end
|
24
|
+
def self.final_result_process?; end
|
25
|
+
def self.grouped(files); end
|
26
|
+
def self.initial_setup(profile, &block); end
|
27
|
+
def self.load_adapter(name); end
|
28
|
+
def self.load_profile(name); end
|
29
|
+
def self.lookup_corresponding_ruby_coverage_name(criterion); end
|
30
|
+
def self.make_parallel_tests_available; end
|
31
|
+
def self.pid; end
|
32
|
+
def self.pid=(arg0); end
|
33
|
+
def self.previous_error?(error_exit_status); end
|
34
|
+
def self.probably_running_parallel_tests?; end
|
35
|
+
def self.process_coverage_result; end
|
36
|
+
def self.process_result(result); end
|
37
|
+
def self.process_results_and_report_error; end
|
38
|
+
def self.ready_to_process_results?; end
|
39
|
+
def self.remove_useless_results; end
|
40
|
+
def self.result; end
|
41
|
+
def self.result?; end
|
42
|
+
def self.result_exit_status(result); end
|
43
|
+
def self.result_with_not_loaded_files; end
|
44
|
+
def self.round_coverage(coverage); end
|
45
|
+
def self.run_exit_tasks!; end
|
46
|
+
def self.running; end
|
47
|
+
def self.running=(arg0); end
|
48
|
+
def self.start(profile = nil, &block); end
|
49
|
+
def self.start_coverage_measurement; end
|
50
|
+
def self.start_coverage_with_criteria; end
|
51
|
+
def self.wait_for_other_processes; end
|
52
|
+
def self.write_last_run(result); end
|
53
|
+
extend SimpleCov::Configuration
|
54
|
+
end
|
55
|
+
module SimpleCov::Formatter
|
56
|
+
end
|
57
|
+
class SimpleCov::Formatter::MultiFormatter
|
58
|
+
def self.[](*args); end
|
59
|
+
def self.new(formatters = nil); end
|
60
|
+
end
|
61
|
+
module SimpleCov::Formatter::MultiFormatter::InstanceMethods
|
62
|
+
def format(result); end
|
63
|
+
end
|
64
|
+
module SimpleCov::Configuration
|
65
|
+
def adapters; end
|
66
|
+
def add_filter(filter_argument = nil, &filter_proc); end
|
67
|
+
def add_group(group_name, filter_argument = nil, &filter_proc); end
|
68
|
+
def at_exit(&block); end
|
69
|
+
def at_fork(&block); end
|
70
|
+
def branch_coverage?; end
|
71
|
+
def branch_coverage_supported?; end
|
72
|
+
def clear_coverage_criteria; end
|
73
|
+
def command_name(name = nil); end
|
74
|
+
def configure(&block); end
|
75
|
+
def coverage_criteria; end
|
76
|
+
def coverage_criterion(criterion = nil); end
|
77
|
+
def coverage_criterion_enabled?(criterion); end
|
78
|
+
def coverage_dir(dir = nil); end
|
79
|
+
def coverage_path; end
|
80
|
+
def coverage_start_arguments_supported?; end
|
81
|
+
def enable_coverage(criterion); end
|
82
|
+
def enable_for_subprocesses(value = nil); end
|
83
|
+
def enabled_for_subprocesses?; end
|
84
|
+
def filters; end
|
85
|
+
def filters=(arg0); end
|
86
|
+
def formatter(formatter = nil); end
|
87
|
+
def formatter=(arg0); end
|
88
|
+
def formatters; end
|
89
|
+
def formatters=(formatters); end
|
90
|
+
def groups; end
|
91
|
+
def groups=(arg0); end
|
92
|
+
def maximum_coverage_drop(coverage_drop = nil); end
|
93
|
+
def merge_timeout(seconds = nil); end
|
94
|
+
def minimum_coverage(coverage = nil); end
|
95
|
+
def minimum_coverage_by_file(coverage = nil); end
|
96
|
+
def minimum_possible_coverage_exceeded(coverage_option); end
|
97
|
+
def nocov_token(nocov_token = nil); end
|
98
|
+
def parse_filter(filter_argument = nil, &filter_proc); end
|
99
|
+
def print_error_status; end
|
100
|
+
def print_error_status=(arg0); end
|
101
|
+
def profiles; end
|
102
|
+
def project_name(new_name = nil); end
|
103
|
+
def raise_if_criterion_disabled(criterion); end
|
104
|
+
def raise_if_criterion_unsupported(criterion); end
|
105
|
+
def refuse_coverage_drop; end
|
106
|
+
def root(root = nil); end
|
107
|
+
def skip_token(nocov_token = nil); end
|
108
|
+
def track_files(glob); end
|
109
|
+
def tracked_files; end
|
110
|
+
def use_merging(use = nil); end
|
111
|
+
end
|
112
|
+
class SimpleCov::CoverageStatistics
|
113
|
+
def compute_percent(covered, missed, total); end
|
114
|
+
def compute_strength(total_strength, total); end
|
115
|
+
def covered; end
|
116
|
+
def initialize(covered:, missed:, total_strength: nil); end
|
117
|
+
def missed; end
|
118
|
+
def percent; end
|
119
|
+
def self.from(coverage_statistics); end
|
120
|
+
def strength; end
|
121
|
+
def total; end
|
122
|
+
end
|
123
|
+
module SimpleCov::ExitCodes
|
124
|
+
end
|
125
|
+
module SimpleCov::ExitCodes::ExitCodeHandling
|
126
|
+
def call(result, coverage_limits:); end
|
127
|
+
def coverage_checks(result, coverage_limits); end
|
128
|
+
def self.call(result, coverage_limits:); end
|
129
|
+
def self.coverage_checks(result, coverage_limits); end
|
130
|
+
end
|
131
|
+
class SimpleCov::ExitCodes::MaximumCoverageDropCheck
|
132
|
+
def coverage_diff; end
|
133
|
+
def covered_percent; end
|
134
|
+
def exit_code; end
|
135
|
+
def failing?; end
|
136
|
+
def initialize(result, maximum_coverage_drop); end
|
137
|
+
def last_run; end
|
138
|
+
def maximum_coverage_drop; end
|
139
|
+
def report; end
|
140
|
+
def result; end
|
141
|
+
end
|
142
|
+
class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
|
143
|
+
def covered_percentages; end
|
144
|
+
def exit_code; end
|
145
|
+
def failing?; end
|
146
|
+
def initialize(result, minimum_coverage_by_file); end
|
147
|
+
def minimum_coverage_by_file; end
|
148
|
+
def report; end
|
149
|
+
def result; end
|
150
|
+
end
|
151
|
+
class SimpleCov::ExitCodes::MinimumOverallCoverageCheck
|
152
|
+
def calculate_minimum_violations; end
|
153
|
+
def exit_code; end
|
154
|
+
def failing?; end
|
155
|
+
def initialize(result, minimum_coverage); end
|
156
|
+
def minimum_coverage; end
|
157
|
+
def minimum_violations; end
|
158
|
+
def report; end
|
159
|
+
def result; end
|
160
|
+
end
|
161
|
+
class SimpleCov::Profiles < Hash
|
162
|
+
def define(name, &blk); end
|
163
|
+
def load(name); end
|
164
|
+
end
|
165
|
+
class SimpleCov::SourceFile
|
166
|
+
def branch_coverage_statistics; end
|
167
|
+
def branches; end
|
168
|
+
def branches_coverage_percent; end
|
169
|
+
def branches_for_line(line_number); end
|
170
|
+
def branches_report; end
|
171
|
+
def build_branch(branch_data, hit_count, condition_start_line); end
|
172
|
+
def build_branches; end
|
173
|
+
def build_branches_from(condition, branches); end
|
174
|
+
def build_branches_report; end
|
175
|
+
def build_lines; end
|
176
|
+
def build_no_cov_chunks; end
|
177
|
+
def coverage_data; end
|
178
|
+
def coverage_exceeding_source_warn; end
|
179
|
+
def coverage_statistics; end
|
180
|
+
def covered_branches; end
|
181
|
+
def covered_lines; end
|
182
|
+
def covered_percent; end
|
183
|
+
def covered_strength; end
|
184
|
+
def ensure_remove_undefs(file_lines); end
|
185
|
+
def filename; end
|
186
|
+
def initialize(filename, coverage_data); end
|
187
|
+
def line(number); end
|
188
|
+
def line_coverage_statistics; end
|
189
|
+
def line_with_missed_branch?(line_number); end
|
190
|
+
def lines; end
|
191
|
+
def lines_of_code; end
|
192
|
+
def lines_strength; end
|
193
|
+
def load_source; end
|
194
|
+
def missed_branches; end
|
195
|
+
def missed_lines; end
|
196
|
+
def never_lines; end
|
197
|
+
def no_branches?; end
|
198
|
+
def no_cov_chunks; end
|
199
|
+
def no_lines?; end
|
200
|
+
def process_skipped_branches(branches); end
|
201
|
+
def process_skipped_lines(lines); end
|
202
|
+
def project_filename; end
|
203
|
+
def read_lines(file, lines, current_line); end
|
204
|
+
def relevant_lines; end
|
205
|
+
def restore_ruby_data_structure(structure); end
|
206
|
+
def set_encoding_based_on_magic_comment(file, line); end
|
207
|
+
def shebang?(line); end
|
208
|
+
def skipped_lines; end
|
209
|
+
def source; end
|
210
|
+
def source_lines; end
|
211
|
+
def src; end
|
212
|
+
def total_branches; end
|
213
|
+
end
|
214
|
+
class SimpleCov::SourceFile::Line
|
215
|
+
def coverage; end
|
216
|
+
def covered?; end
|
217
|
+
def initialize(src, line_number, coverage); end
|
218
|
+
def line; end
|
219
|
+
def line_number; end
|
220
|
+
def missed?; end
|
221
|
+
def never?; end
|
222
|
+
def number; end
|
223
|
+
def skipped!; end
|
224
|
+
def skipped; end
|
225
|
+
def skipped?; end
|
226
|
+
def source; end
|
227
|
+
def src; end
|
228
|
+
def status; end
|
229
|
+
end
|
230
|
+
class SimpleCov::SourceFile::Branch
|
231
|
+
def coverage; end
|
232
|
+
def covered?; end
|
233
|
+
def end_line; end
|
234
|
+
def initialize(start_line:, end_line:, coverage:, inline:, type:); end
|
235
|
+
def inline?; end
|
236
|
+
def missed?; end
|
237
|
+
def overlaps_with?(line_range); end
|
238
|
+
def report; end
|
239
|
+
def report_line; end
|
240
|
+
def skipped!; end
|
241
|
+
def skipped?; end
|
242
|
+
def start_line; end
|
243
|
+
def type; end
|
244
|
+
end
|
245
|
+
class SimpleCov::FileList
|
246
|
+
def branch_covered_percent; end
|
247
|
+
def compute_coverage_statistics; end
|
248
|
+
def count(*args, &block); end
|
249
|
+
def coverage_statistics; end
|
250
|
+
def covered_branches; end
|
251
|
+
def covered_lines; end
|
252
|
+
def covered_percent; end
|
253
|
+
def covered_percentages; end
|
254
|
+
def covered_strength; end
|
255
|
+
def each(*args, &block); end
|
256
|
+
def empty?(*args, &block); end
|
257
|
+
def initialize(files); end
|
258
|
+
def least_covered_file; end
|
259
|
+
def length(*args, &block); end
|
260
|
+
def lines_of_code; end
|
261
|
+
def map(*args, &block); end
|
262
|
+
def missed_branches; end
|
263
|
+
def missed_lines; end
|
264
|
+
def never_lines; end
|
265
|
+
def size(*args, &block); end
|
266
|
+
def skipped_lines; end
|
267
|
+
def to_a(*args, &block); end
|
268
|
+
def to_ary(*args, &block); end
|
269
|
+
def total_branches; end
|
270
|
+
extend Forwardable
|
271
|
+
include Enumerable
|
272
|
+
end
|
273
|
+
class SimpleCov::Result
|
274
|
+
def adapt_pre_simplecov_0_18_result(result); end
|
275
|
+
def adapt_result(result); end
|
276
|
+
def command_name; end
|
277
|
+
def command_name=(arg0); end
|
278
|
+
def coverage; end
|
279
|
+
def coverage_statistics(*args, &block); end
|
280
|
+
def covered_branches(*args, &block); end
|
281
|
+
def covered_lines(*args, &block); end
|
282
|
+
def covered_percent(*args, &block); end
|
283
|
+
def covered_percentages(*args, &block); end
|
284
|
+
def covered_strength(*args, &block); end
|
285
|
+
def created_at; end
|
286
|
+
def created_at=(arg0); end
|
287
|
+
def filenames; end
|
288
|
+
def files; end
|
289
|
+
def filter!; end
|
290
|
+
def format!; end
|
291
|
+
def groups; end
|
292
|
+
def initialize(original_result, command_name: nil, created_at: nil); end
|
293
|
+
def least_covered_file(*args, &block); end
|
294
|
+
def missed_branches(*args, &block); end
|
295
|
+
def missed_lines(*args, &block); end
|
296
|
+
def original_result; end
|
297
|
+
def pre_simplecov_0_18_result?(result); end
|
298
|
+
def self.from_hash(hash); end
|
299
|
+
def source_files; end
|
300
|
+
def time_since_creation; end
|
301
|
+
def to_hash; end
|
302
|
+
def total_branches(*args, &block); end
|
303
|
+
def total_lines(*args, &block); end
|
304
|
+
extend Forwardable
|
305
|
+
end
|
306
|
+
class SimpleCov::Filter
|
307
|
+
def filter_argument; end
|
308
|
+
def initialize(filter_argument); end
|
309
|
+
def matches?(_source_file); end
|
310
|
+
def passes?(source_file); end
|
311
|
+
def self.build_filter(filter_argument); end
|
312
|
+
def self.class_for_argument(filter_argument); end
|
313
|
+
end
|
314
|
+
class SimpleCov::StringFilter < SimpleCov::Filter
|
315
|
+
def matches?(source_file); end
|
316
|
+
end
|
317
|
+
class SimpleCov::RegexFilter < SimpleCov::Filter
|
318
|
+
def matches?(source_file); end
|
319
|
+
end
|
320
|
+
class SimpleCov::BlockFilter < SimpleCov::Filter
|
321
|
+
def matches?(source_file); end
|
322
|
+
end
|
323
|
+
class SimpleCov::ArrayFilter < SimpleCov::Filter
|
324
|
+
def initialize(filter_argument); end
|
325
|
+
def matches?(source_files_list); end
|
326
|
+
end
|
327
|
+
class SimpleCov::Formatter::SimpleFormatter
|
328
|
+
def format(result); end
|
329
|
+
end
|
330
|
+
module SimpleCov::LastRun
|
331
|
+
def self.last_run_path; end
|
332
|
+
def self.read; end
|
333
|
+
def self.write(json); end
|
334
|
+
end
|
335
|
+
class SimpleCov::LinesClassifier
|
336
|
+
def classify(lines); end
|
337
|
+
def self.no_cov_line; end
|
338
|
+
def self.no_cov_line?(line); end
|
339
|
+
def self.whitespace_line?(line); end
|
340
|
+
end
|
341
|
+
module SimpleCov::ResultMerger
|
342
|
+
def self.clear_resultset; end
|
343
|
+
def self.merge_and_store(*results); end
|
344
|
+
def self.merge_results(*results); end
|
345
|
+
def self.merged_result; end
|
346
|
+
def self.results; end
|
347
|
+
def self.resultset; end
|
348
|
+
def self.resultset_path; end
|
349
|
+
def self.resultset_writelock; end
|
350
|
+
def self.store_result(result); end
|
351
|
+
def self.stored_data; end
|
352
|
+
def self.synchronize_resultset; end
|
353
|
+
end
|
354
|
+
module SimpleCov::CommandGuesser
|
355
|
+
def self.from_command_line_options; end
|
356
|
+
def self.from_defined_constants; end
|
357
|
+
def self.from_env; end
|
358
|
+
def self.guess; end
|
359
|
+
def self.original_run_command; end
|
360
|
+
def self.original_run_command=(arg0); end
|
361
|
+
end
|
362
|
+
class SimpleCov::ResultAdapter
|
363
|
+
def adapt; end
|
364
|
+
def initialize(result); end
|
365
|
+
def result; end
|
366
|
+
def self.call(*args); end
|
367
|
+
end
|
368
|
+
module SimpleCov::Combine
|
369
|
+
def combine(combiner_module, coverage_a, coverage_b); end
|
370
|
+
def empty_coverage?(coverage_a, coverage_b); end
|
371
|
+
def existing_coverage(coverage_a, coverage_b); end
|
372
|
+
def self.combine(combiner_module, coverage_a, coverage_b); end
|
373
|
+
def self.empty_coverage?(coverage_a, coverage_b); end
|
374
|
+
def self.existing_coverage(coverage_a, coverage_b); end
|
375
|
+
end
|
376
|
+
module SimpleCov::Combine::BranchesCombiner
|
377
|
+
def combine(coverage_a, coverage_b); end
|
378
|
+
def self.combine(coverage_a, coverage_b); end
|
379
|
+
end
|
380
|
+
module SimpleCov::Combine::FilesCombiner
|
381
|
+
def combine(coverage_a, coverage_b); end
|
382
|
+
def self.combine(coverage_a, coverage_b); end
|
383
|
+
end
|
384
|
+
module SimpleCov::Combine::LinesCombiner
|
385
|
+
def combine(coverage_a, coverage_b); end
|
386
|
+
def merge_line_coverage(first_val, second_val); end
|
387
|
+
def self.combine(coverage_a, coverage_b); end
|
388
|
+
def self.merge_line_coverage(first_val, second_val); end
|
389
|
+
end
|
390
|
+
module SimpleCov::Combine::ResultsCombiner
|
391
|
+
def combine(*results); end
|
392
|
+
def combine_file_coverage(coverage_a, coverage_b); end
|
393
|
+
def combine_result_sets(combined_results, result); end
|
394
|
+
def self.combine(*results); end
|
395
|
+
def self.combine_file_coverage(coverage_a, coverage_b); end
|
396
|
+
def self.combine_result_sets(combined_results, result); end
|
397
|
+
end
|
398
|
+
module SimpleCov::UselessResultsRemover
|
399
|
+
def self.call(coverage_result); end
|
400
|
+
def self.root_regx; end
|
401
|
+
end
|
402
|
+
module SimpleCov::SimulateCoverage
|
403
|
+
def call(absolute_path); end
|
404
|
+
def self.call(absolute_path); end
|
405
|
+
end
|