cheesy-gallery 0.5.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +12 -0
  3. data/.gitignore +2 -0
  4. data/.travis.yml +1 -2
  5. data/CHANGELOG.md +11 -0
  6. data/README.md +40 -18
  7. data/lib/cheesy-gallery/base_image_file.rb +21 -0
  8. data/lib/cheesy-gallery/generator.rb +7 -5
  9. data/lib/cheesy-gallery/image_file.rb +22 -7
  10. data/lib/cheesy-gallery/version.rb +1 -1
  11. data/sorbet/rbi/gems/addressable.rbi +147 -0
  12. data/sorbet/rbi/gems/ast.rbi +49 -0
  13. data/sorbet/rbi/gems/codecov.rbi +49 -0
  14. data/sorbet/rbi/gems/coderay.rbi +285 -0
  15. data/sorbet/rbi/gems/colorator.rbi +60 -0
  16. data/sorbet/rbi/gems/concurrent-ruby.rbi +225 -0
  17. data/sorbet/rbi/gems/docile.rbi +36 -0
  18. data/sorbet/rbi/gems/ffi.rbi +560 -0
  19. data/sorbet/rbi/gems/forwardable-extended.rbi +24 -0
  20. data/sorbet/rbi/gems/i18n.rbi +108 -0
  21. data/sorbet/rbi/gems/jekyll-sass-converter.rbi +61 -0
  22. data/sorbet/rbi/gems/jekyll.rbi +726 -0
  23. data/sorbet/rbi/gems/kramdown.rbi +250 -0
  24. data/sorbet/rbi/gems/liquid.rbi +649 -0
  25. data/sorbet/rbi/gems/method_source.rbi +64 -0
  26. data/sorbet/rbi/gems/parallel.rbi +83 -0
  27. data/sorbet/rbi/gems/parser.rbi +1429 -0
  28. data/sorbet/rbi/gems/pathutil.rbi +188 -0
  29. data/sorbet/rbi/gems/pry.rbi +1898 -0
  30. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  31. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  32. data/sorbet/rbi/gems/rake.rbi +647 -0
  33. data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
  34. data/sorbet/rbi/gems/rexml.rbi +599 -0
  35. data/sorbet/rbi/gems/rmagick.rbi +1249 -0
  36. data/sorbet/rbi/gems/rspec-core.rbi +1894 -0
  37. data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
  38. data/sorbet/rbi/gems/rspec-mocks.rbi +1091 -0
  39. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  40. data/sorbet/rbi/gems/rspec.rbi +15 -0
  41. data/sorbet/rbi/gems/rubocop-ast.rbi +1357 -0
  42. data/sorbet/rbi/gems/rubocop.rbi +8027 -0
  43. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  44. data/sorbet/rbi/gems/safe_yaml.rbi +124 -0
  45. data/sorbet/rbi/gems/sassc.rbi +532 -0
  46. data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
  47. data/sorbet/rbi/gems/simplecov.rbi +419 -0
  48. data/sorbet/rbi/gems/unicode-display_width.rbi +22 -0
  49. data/sorbet/rbi/hidden-definitions/errors.txt +3516 -24801
  50. data/sorbet/rbi/hidden-definitions/hidden.rbi +7269 -39103
  51. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  52. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  53. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +7799 -0
  54. data/sorbet/rbi/todo.rbi +6 -0
  55. metadata +47 -5
  56. data/Gemfile.lock +0 -134
  57. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
@@ -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,419 @@
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.21.2
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, ignore_timeout: 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
+ def self.from_env(env); end
57
+ end
58
+ class SimpleCov::Formatter::MultiFormatter
59
+ def self.[](*args); end
60
+ def self.new(formatters = nil); end
61
+ end
62
+ module SimpleCov::Formatter::MultiFormatter::InstanceMethods
63
+ def format(result); end
64
+ end
65
+ module SimpleCov::Configuration
66
+ def adapters; end
67
+ def add_filter(filter_argument = nil, &filter_proc); end
68
+ def add_group(group_name, filter_argument = nil, &filter_proc); end
69
+ def at_exit(&block); end
70
+ def at_fork(&block); end
71
+ def branch_coverage?; end
72
+ def branch_coverage_supported?; end
73
+ def clear_coverage_criteria; end
74
+ def command_name(name = nil); end
75
+ def configure(&block); end
76
+ def coverage_criteria; end
77
+ def coverage_criterion(criterion = nil); end
78
+ def coverage_criterion_enabled?(criterion); end
79
+ def coverage_dir(dir = nil); end
80
+ def coverage_path; end
81
+ def coverage_start_arguments_supported?; end
82
+ def enable_coverage(criterion); end
83
+ def enable_for_subprocesses(value = nil); end
84
+ def enabled_for_subprocesses?; end
85
+ def filters; end
86
+ def filters=(arg0); end
87
+ def formatter(formatter = nil); end
88
+ def formatter=(arg0); end
89
+ def formatters; end
90
+ def formatters=(formatters); end
91
+ def groups; end
92
+ def groups=(arg0); end
93
+ def maximum_coverage_drop(coverage_drop = nil); end
94
+ def merge_timeout(seconds = nil); end
95
+ def minimum_coverage(coverage = nil); end
96
+ def minimum_coverage_by_file(coverage = nil); end
97
+ def minimum_possible_coverage_exceeded(coverage_option); end
98
+ def nocov_token(nocov_token = nil); end
99
+ def parse_filter(filter_argument = nil, &filter_proc); end
100
+ def primary_coverage(criterion = nil); end
101
+ def print_error_status; end
102
+ def print_error_status=(arg0); end
103
+ def profiles; end
104
+ def project_name(new_name = nil); end
105
+ def raise_if_criterion_disabled(criterion); end
106
+ def raise_if_criterion_unsupported(criterion); end
107
+ def raise_on_invalid_coverage(coverage, coverage_setting); end
108
+ def refuse_coverage_drop(*criteria); end
109
+ def root(root = nil); end
110
+ def skip_token(nocov_token = nil); end
111
+ def track_files(glob); end
112
+ def tracked_files; end
113
+ def use_merging(use = nil); end
114
+ end
115
+ class SimpleCov::CoverageStatistics
116
+ def compute_percent(covered, missed, total); end
117
+ def compute_strength(total_strength, total); end
118
+ def covered; end
119
+ def initialize(covered:, missed:, total_strength: nil); end
120
+ def missed; end
121
+ def percent; end
122
+ def self.from(coverage_statistics); end
123
+ def strength; end
124
+ def total; end
125
+ end
126
+ module SimpleCov::ExitCodes
127
+ end
128
+ module SimpleCov::ExitCodes::ExitCodeHandling
129
+ def call(result, coverage_limits:); end
130
+ def coverage_checks(result, coverage_limits); end
131
+ def self.call(result, coverage_limits:); end
132
+ def self.coverage_checks(result, coverage_limits); end
133
+ end
134
+ class SimpleCov::ExitCodes::MaximumCoverageDropCheck
135
+ def compute_coverage_drop_data; end
136
+ def coverage_drop_violations; end
137
+ def drop_percent(criterion); end
138
+ def exit_code; end
139
+ def failing?; end
140
+ def initialize(result, maximum_coverage_drop); end
141
+ def last_coverage(criterion); end
142
+ def last_run; end
143
+ def maximum_coverage_drop; end
144
+ def report; end
145
+ def result; end
146
+ end
147
+ class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
148
+ def compute_minimum_coverage_data; end
149
+ def exit_code; end
150
+ def failing?; end
151
+ def initialize(result, minimum_coverage_by_file); end
152
+ def minimum_coverage_by_file; end
153
+ def minimum_violations; end
154
+ def report; end
155
+ def result; end
156
+ end
157
+ class SimpleCov::ExitCodes::MinimumOverallCoverageCheck
158
+ def calculate_minimum_violations; end
159
+ def exit_code; end
160
+ def failing?; end
161
+ def initialize(result, minimum_coverage); end
162
+ def minimum_coverage; end
163
+ def minimum_violations; end
164
+ def report; end
165
+ def result; end
166
+ end
167
+ class SimpleCov::Profiles < Hash
168
+ def define(name, &blk); end
169
+ def load(name); end
170
+ end
171
+ class SimpleCov::SourceFile
172
+ def branch_coverage_statistics; end
173
+ def branches; end
174
+ def branches_coverage_percent; end
175
+ def branches_for_line(line_number); end
176
+ def branches_report; end
177
+ def build_branch(branch_data, hit_count, condition_start_line); end
178
+ def build_branches; end
179
+ def build_branches_from(condition, branches); end
180
+ def build_branches_report; end
181
+ def build_lines; end
182
+ def build_no_cov_chunks; end
183
+ def coverage_data; end
184
+ def coverage_exceeding_source_warn; end
185
+ def coverage_statistics; end
186
+ def covered_branches; end
187
+ def covered_lines; end
188
+ def covered_percent; end
189
+ def covered_strength; end
190
+ def ensure_remove_undefs(file_lines); end
191
+ def filename; end
192
+ def initialize(filename, coverage_data); end
193
+ def line(number); end
194
+ def line_coverage_statistics; end
195
+ def line_with_missed_branch?(line_number); end
196
+ def lines; end
197
+ def lines_of_code; end
198
+ def lines_strength; end
199
+ def load_source; end
200
+ def missed_branches; end
201
+ def missed_lines; end
202
+ def never_lines; end
203
+ def no_branches?; end
204
+ def no_cov_chunks; end
205
+ def no_lines?; end
206
+ def process_skipped_branches(branches); end
207
+ def process_skipped_lines(lines); end
208
+ def project_filename; end
209
+ def read_lines(file, lines, current_line); end
210
+ def relevant_lines; end
211
+ def restore_ruby_data_structure(structure); end
212
+ def set_encoding_based_on_magic_comment(file, line); end
213
+ def shebang?(line); end
214
+ def skipped_lines; end
215
+ def source; end
216
+ def source_lines; end
217
+ def src; end
218
+ def total_branches; end
219
+ end
220
+ class SimpleCov::SourceFile::Line
221
+ def coverage; end
222
+ def covered?; end
223
+ def initialize(src, line_number, coverage); end
224
+ def line; end
225
+ def line_number; end
226
+ def missed?; end
227
+ def never?; end
228
+ def number; end
229
+ def skipped!; end
230
+ def skipped; end
231
+ def skipped?; end
232
+ def source; end
233
+ def src; end
234
+ def status; end
235
+ end
236
+ class SimpleCov::SourceFile::Branch
237
+ def coverage; end
238
+ def covered?; end
239
+ def end_line; end
240
+ def initialize(start_line:, end_line:, coverage:, inline:, type:); end
241
+ def inline?; end
242
+ def missed?; end
243
+ def overlaps_with?(line_range); end
244
+ def report; end
245
+ def report_line; end
246
+ def skipped!; end
247
+ def skipped?; end
248
+ def start_line; end
249
+ def type; end
250
+ end
251
+ class SimpleCov::FileList
252
+ def branch_covered_percent; end
253
+ def compute_coverage_statistics; end
254
+ def compute_coverage_statistics_by_file; end
255
+ def count(*args, &block); end
256
+ def coverage_statistics; end
257
+ def coverage_statistics_by_file; end
258
+ def covered_branches; end
259
+ def covered_lines; end
260
+ def covered_percent; end
261
+ def covered_percentages; end
262
+ def covered_strength; end
263
+ def each(*args, &block); end
264
+ def empty?(*args, &block); end
265
+ def initialize(files); end
266
+ def least_covered_file; end
267
+ def length(*args, &block); end
268
+ def lines_of_code; end
269
+ def map(*args, &block); end
270
+ def missed_branches; end
271
+ def missed_lines; end
272
+ def never_lines; end
273
+ def size(*args, &block); end
274
+ def skipped_lines; end
275
+ def to_a(*args, &block); end
276
+ def to_ary(*args, &block); end
277
+ def total_branches; end
278
+ extend Forwardable
279
+ include Enumerable
280
+ end
281
+ class SimpleCov::Result
282
+ def command_name; end
283
+ def command_name=(arg0); end
284
+ def coverage; end
285
+ def coverage_statistics(*args, &block); end
286
+ def coverage_statistics_by_file(*args, &block); end
287
+ def covered_branches(*args, &block); end
288
+ def covered_lines(*args, &block); end
289
+ def covered_percent(*args, &block); end
290
+ def covered_percentages(*args, &block); end
291
+ def covered_strength(*args, &block); end
292
+ def created_at; end
293
+ def created_at=(arg0); end
294
+ def filenames; end
295
+ def files; end
296
+ def filter!; end
297
+ def format!; end
298
+ def groups; end
299
+ def initialize(original_result, command_name: nil, created_at: nil); end
300
+ def least_covered_file(*args, &block); end
301
+ def missed_branches(*args, &block); end
302
+ def missed_lines(*args, &block); end
303
+ def original_result; end
304
+ def self.from_hash(hash); end
305
+ def source_files; end
306
+ def to_hash; end
307
+ def total_branches(*args, &block); end
308
+ def total_lines(*args, &block); end
309
+ extend Forwardable
310
+ end
311
+ class SimpleCov::Filter
312
+ def filter_argument; end
313
+ def initialize(filter_argument); end
314
+ def matches?(_source_file); end
315
+ def passes?(source_file); end
316
+ def self.build_filter(filter_argument); end
317
+ def self.class_for_argument(filter_argument); end
318
+ end
319
+ class SimpleCov::StringFilter < SimpleCov::Filter
320
+ def matches?(source_file); end
321
+ end
322
+ class SimpleCov::RegexFilter < SimpleCov::Filter
323
+ def matches?(source_file); end
324
+ end
325
+ class SimpleCov::BlockFilter < SimpleCov::Filter
326
+ def matches?(source_file); end
327
+ end
328
+ class SimpleCov::ArrayFilter < SimpleCov::Filter
329
+ def initialize(filter_argument); end
330
+ def matches?(source_files_list); end
331
+ end
332
+ class SimpleCov::Formatter::SimpleFormatter
333
+ def format(result); end
334
+ end
335
+ module SimpleCov::LastRun
336
+ def self.last_run_path; end
337
+ def self.read; end
338
+ def self.write(json); end
339
+ end
340
+ class SimpleCov::LinesClassifier
341
+ def classify(lines); end
342
+ def self.no_cov_line; end
343
+ def self.no_cov_line?(line); end
344
+ def self.whitespace_line?(line); end
345
+ end
346
+ module SimpleCov::ResultMerger
347
+ def self.adapt_pre_simplecov_0_18_result(result); end
348
+ def self.adapt_result(result); end
349
+ def self.create_result(command_names, coverage); end
350
+ def self.merge_and_store(*file_paths, ignore_timeout: nil); end
351
+ def self.merge_coverage(*results); end
352
+ def self.merge_results(*file_paths, ignore_timeout: nil); end
353
+ def self.merge_valid_results(results, ignore_timeout: nil); end
354
+ def self.merged_result; end
355
+ def self.parse_file(path); end
356
+ def self.parse_json(content); end
357
+ def self.pre_simplecov_0_18_result?(result); end
358
+ def self.read_file(path); end
359
+ def self.read_resultset; end
360
+ def self.resultset_path; end
361
+ def self.resultset_writelock; end
362
+ def self.store_result(result); end
363
+ def self.synchronize_resultset; end
364
+ def self.time_since_result_creation(data); end
365
+ def self.valid_results(file_path, ignore_timeout: nil); end
366
+ def self.within_merge_timeout?(data); end
367
+ end
368
+ module SimpleCov::CommandGuesser
369
+ def self.from_command_line_options; end
370
+ def self.from_defined_constants; end
371
+ def self.from_env; end
372
+ def self.guess; end
373
+ def self.original_run_command; end
374
+ def self.original_run_command=(arg0); end
375
+ end
376
+ class SimpleCov::ResultAdapter
377
+ def adapt; end
378
+ def initialize(result); end
379
+ def result; end
380
+ def self.call(*args); end
381
+ end
382
+ module SimpleCov::Combine
383
+ def combine(combiner_module, coverage_a, coverage_b); end
384
+ def empty_coverage?(coverage_a, coverage_b); end
385
+ def existing_coverage(coverage_a, coverage_b); end
386
+ def self.combine(combiner_module, coverage_a, coverage_b); end
387
+ def self.empty_coverage?(coverage_a, coverage_b); end
388
+ def self.existing_coverage(coverage_a, coverage_b); end
389
+ end
390
+ module SimpleCov::Combine::BranchesCombiner
391
+ def combine(coverage_a, coverage_b); end
392
+ def self.combine(coverage_a, coverage_b); end
393
+ end
394
+ module SimpleCov::Combine::FilesCombiner
395
+ def combine(coverage_a, coverage_b); end
396
+ def self.combine(coverage_a, coverage_b); end
397
+ end
398
+ module SimpleCov::Combine::LinesCombiner
399
+ def combine(coverage_a, coverage_b); end
400
+ def merge_line_coverage(first_val, second_val); end
401
+ def self.combine(coverage_a, coverage_b); end
402
+ def self.merge_line_coverage(first_val, second_val); end
403
+ end
404
+ module SimpleCov::Combine::ResultsCombiner
405
+ def combine(*results); end
406
+ def combine_file_coverage(coverage_a, coverage_b); end
407
+ def combine_result_sets(combined_results, result); end
408
+ def self.combine(*results); end
409
+ def self.combine_file_coverage(coverage_a, coverage_b); end
410
+ def self.combine_result_sets(combined_results, result); end
411
+ end
412
+ module SimpleCov::UselessResultsRemover
413
+ def self.call(coverage_result); end
414
+ def self.root_regx; end
415
+ end
416
+ module SimpleCov::SimulateCoverage
417
+ def call(absolute_path); end
418
+ def self.call(absolute_path); end
419
+ end