playoffs 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.editorconfig +8 -0
- data/.github/workflows/ci.yaml +29 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +34 -0
- data/.tool-versions +1 -0
- data/.vscode/settings.json +5 -0
- data/CHANGELOG.md +3 -0
- data/CODE_OF_CONDUCT.md +73 -0
- data/Gemfile +5 -0
- data/Guardfile +17 -0
- data/LICENSE +5 -0
- data/README.md +245 -0
- data/Rakefile +11 -0
- data/bin/_guard-core +27 -0
- data/bin/bundle +109 -0
- data/bin/bundle-audit +27 -0
- data/bin/bundler-audit +27 -0
- data/bin/coderay +27 -0
- data/bin/console +11 -0
- data/bin/guard +27 -0
- data/bin/htmldiff +27 -0
- data/bin/ldiff +27 -0
- data/bin/listen +27 -0
- data/bin/playoffs +27 -0
- data/bin/pry +27 -0
- data/bin/racc +27 -0
- data/bin/rake +27 -0
- data/bin/rspec +27 -0
- data/bin/rubocop +27 -0
- data/bin/ruby-parse +27 -0
- data/bin/ruby-rewrite +27 -0
- data/bin/spoom +27 -0
- data/bin/srb +27 -0
- data/bin/srb-rbi +27 -0
- data/bin/tapioca +27 -0
- data/bin/thor +27 -0
- data/bin/yard +27 -0
- data/bin/yardoc +27 -0
- data/bin/yri +27 -0
- data/exe/playoffs +7 -0
- data/lib/playoffs/basketball.rb +120 -0
- data/lib/playoffs/best_of.rb +38 -0
- data/lib/playoffs/cli.rb +201 -0
- data/lib/playoffs/contestant.rb +8 -0
- data/lib/playoffs/round.rb +42 -0
- data/lib/playoffs/series.rb +167 -0
- data/lib/playoffs/team.rb +7 -0
- data/lib/playoffs/tournament/bracketable.rb +93 -0
- data/lib/playoffs/tournament/roundable.rb +53 -0
- data/lib/playoffs/tournament.rb +61 -0
- data/lib/playoffs/version.rb +6 -0
- data/lib/playoffs.rb +26 -0
- data/playoffs.gemspec +49 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +309 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +377 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/ffi@1.16.3.rbi +9 -0
- data/sorbet/rbi/gems/formatador@1.1.0.rbi +9 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +67 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +563 -0
- data/sorbet/rbi/gems/guard@2.18.1.rbi +9 -0
- data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/listen@3.9.0.rbi +9 -0
- data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +9 -0
- data/sorbet/rbi/gems/method_source@1.1.0.rbi +304 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +9 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +9 -0
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
- data/sorbet/rbi/gems/parser@3.3.1.0.rbi +7238 -0
- data/sorbet/rbi/gems/primitive@1.0.0.rbi +58 -0
- data/sorbet/rbi/gems/prism@0.29.0.rbi +37987 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10069 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +162 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +9 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +9 -0
- data/sorbet/rbi/gems/rbi@0.1.13.rbi +3078 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
- data/sorbet/rbi/gems/rexml@3.2.8.rbi +4794 -0
- data/sorbet/rbi/gems/rspec-core@3.13.0.rbi +10874 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.0.rbi +8154 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.1.rbi +5341 -0
- data/sorbet/rbi/gems/rspec-support@3.13.1.rbi +1630 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
- data/sorbet/rbi/gems/rubocop-ast@1.31.3.rbi +7159 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.20.0.rbi +1208 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.25.1.rbi +928 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.29.2.rbi +8247 -0
- data/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi +911 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.8.3.rbi +1607 -0
- data/sorbet/rbi/gems/rubocop@1.63.5.rbi +57788 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +9 -0
- data/sorbet/rbi/gems/simplecov-console@0.9.1.rbi +103 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +217 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
- data/sorbet/rbi/gems/sorbet-runtime-stub@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.14.2.rbi +3539 -0
- data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +9 -0
- data/sorbet/rbi/gems/thor@1.3.1.rbi +4318 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/yard@0.9.36.rbi +18085 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +383 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `shellany` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem shellany`.
|
6
|
+
|
7
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `simplecov-console` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem simplecov-console`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://simplecov-console//lib/simplecov-console.rb#3
|
9
|
+
class SimpleCov::Formatter::Console
|
10
|
+
# source://simplecov-console//lib/simplecov-console.rb#120
|
11
|
+
def branches_missed(missed_branches); end
|
12
|
+
|
13
|
+
# source://simplecov-console//lib/simplecov-console.rb#184
|
14
|
+
def colorize(s); end
|
15
|
+
|
16
|
+
# source://simplecov-console//lib/simplecov-console.rb#50
|
17
|
+
def format(result); end
|
18
|
+
|
19
|
+
# source://simplecov-console//lib/simplecov-console.rb#34
|
20
|
+
def include_output_style; end
|
21
|
+
|
22
|
+
# Group missed lines for better display
|
23
|
+
#
|
24
|
+
# @param missed [Array<SimpleCov::SourceFile::Line>] array of missed lines reported by SimpleCov
|
25
|
+
# @return [Array<String>] Missing groups of lines
|
26
|
+
#
|
27
|
+
# source://simplecov-console//lib/simplecov-console.rb#131
|
28
|
+
def missed(missed_lines); end
|
29
|
+
|
30
|
+
# source://simplecov-console//lib/simplecov-console.rb#176
|
31
|
+
def pct(number); end
|
32
|
+
|
33
|
+
# @return [Boolean]
|
34
|
+
#
|
35
|
+
# source://simplecov-console//lib/simplecov-console.rb#45
|
36
|
+
def show_branch_coverage?(result); end
|
37
|
+
|
38
|
+
# Truncate string to at most N chars (as defined by missing_len)
|
39
|
+
#
|
40
|
+
# source://simplecov-console//lib/simplecov-console.rb#166
|
41
|
+
def trunc(str); end
|
42
|
+
|
43
|
+
# @return [Boolean]
|
44
|
+
#
|
45
|
+
# source://simplecov-console//lib/simplecov-console.rb#180
|
46
|
+
def use_colors?; end
|
47
|
+
|
48
|
+
class << self
|
49
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
50
|
+
def max_lines; end
|
51
|
+
|
52
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
53
|
+
def max_lines=(_arg0); end
|
54
|
+
|
55
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
56
|
+
def max_rows; end
|
57
|
+
|
58
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
59
|
+
def max_rows=(_arg0); end
|
60
|
+
|
61
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
62
|
+
def missing_len; end
|
63
|
+
|
64
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
65
|
+
def missing_len=(_arg0); end
|
66
|
+
|
67
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
68
|
+
def output_style; end
|
69
|
+
|
70
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
71
|
+
def output_style=(_arg0); end
|
72
|
+
|
73
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
74
|
+
def show_covered; end
|
75
|
+
|
76
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
77
|
+
def show_covered=(_arg0); end
|
78
|
+
|
79
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
80
|
+
def sort; end
|
81
|
+
|
82
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
83
|
+
def sort=(_arg0); end
|
84
|
+
|
85
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
86
|
+
def table_options; end
|
87
|
+
|
88
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
89
|
+
def table_options=(_arg0); end
|
90
|
+
|
91
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
92
|
+
def use_colors; end
|
93
|
+
|
94
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
95
|
+
def use_colors=(_arg0); end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# source://simplecov-console//lib/simplecov-console.rb#7
|
100
|
+
SimpleCov::Formatter::Console::ATTRIBUTES = T.let(T.unsafe(nil), Array)
|
101
|
+
|
102
|
+
# source://simplecov-console//lib/simplecov-console.rb#5
|
103
|
+
SimpleCov::Formatter::Console::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,217 @@
|
|
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
|
+
|
8
|
+
# source://simplecov-html//lib/simplecov-html.rb#16
|
9
|
+
module SimpleCov
|
10
|
+
class << self
|
11
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#174
|
12
|
+
def at_exit_behavior; end
|
13
|
+
|
14
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#170
|
15
|
+
def clear_result; end
|
16
|
+
|
17
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#86
|
18
|
+
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
|
19
|
+
|
20
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#223
|
21
|
+
def exit_and_report_previous_error(exit_status); end
|
22
|
+
|
23
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#200
|
24
|
+
def exit_status_from_exception; end
|
25
|
+
|
26
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
27
|
+
def external_at_exit; end
|
28
|
+
|
29
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
30
|
+
def external_at_exit=(_arg0); end
|
31
|
+
|
32
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
33
|
+
def external_at_exit?; end
|
34
|
+
|
35
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#131
|
36
|
+
def filtered(files); end
|
37
|
+
|
38
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#268
|
39
|
+
def final_result_process?; end
|
40
|
+
|
41
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#142
|
42
|
+
def grouped(files); end
|
43
|
+
|
44
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#162
|
45
|
+
def load_adapter(name); end
|
46
|
+
|
47
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#158
|
48
|
+
def load_profile(name); end
|
49
|
+
|
50
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
51
|
+
def pid; end
|
52
|
+
|
53
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
54
|
+
def pid=(_arg0); end
|
55
|
+
|
56
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#213
|
57
|
+
def previous_error?(error_exit_status); end
|
58
|
+
|
59
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#248
|
60
|
+
def process_result(result); end
|
61
|
+
|
62
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#233
|
63
|
+
def process_results_and_report_error; end
|
64
|
+
|
65
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#229
|
66
|
+
def ready_to_process_results?; end
|
67
|
+
|
68
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#101
|
69
|
+
def result; end
|
70
|
+
|
71
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#124
|
72
|
+
def result?; end
|
73
|
+
|
74
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#256
|
75
|
+
def result_exit_status(result); end
|
76
|
+
|
77
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#296
|
78
|
+
def round_coverage(coverage); end
|
79
|
+
|
80
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#186
|
81
|
+
def run_exit_tasks!; end
|
82
|
+
|
83
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
84
|
+
def running; end
|
85
|
+
|
86
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
87
|
+
def running=(_arg0); end
|
88
|
+
|
89
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#48
|
90
|
+
def start(profile = T.unsafe(nil), &block); end
|
91
|
+
|
92
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#276
|
93
|
+
def wait_for_other_processes; end
|
94
|
+
|
95
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#285
|
96
|
+
def write_last_run(result); end
|
97
|
+
|
98
|
+
private
|
99
|
+
|
100
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#399
|
101
|
+
def adapt_coverage_result; end
|
102
|
+
|
103
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#371
|
104
|
+
def add_not_loaded_files(result); end
|
105
|
+
|
106
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#302
|
107
|
+
def initial_setup(profile, &block); end
|
108
|
+
|
109
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#363
|
110
|
+
def lookup_corresponding_ruby_coverage_name(criterion); end
|
111
|
+
|
112
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#425
|
113
|
+
def make_parallel_tests_available; end
|
114
|
+
|
115
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#434
|
116
|
+
def probably_running_parallel_tests?; end
|
117
|
+
|
118
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#388
|
119
|
+
def process_coverage_result; end
|
120
|
+
|
121
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#410
|
122
|
+
def remove_useless_results; end
|
123
|
+
|
124
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#420
|
125
|
+
def result_with_not_loaded_files; end
|
126
|
+
|
127
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#314
|
128
|
+
def start_coverage_measurement; end
|
129
|
+
|
130
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#349
|
131
|
+
def start_coverage_with_criteria; end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# source://simplecov-html//lib/simplecov-html.rb#17
|
136
|
+
module SimpleCov::Formatter
|
137
|
+
class << self
|
138
|
+
# source://simplecov/0.22.0/lib/simplecov/default_formatter.rb#7
|
139
|
+
def from_env(env); end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# source://simplecov-html//lib/simplecov-html.rb#18
|
144
|
+
class SimpleCov::Formatter::HTMLFormatter
|
145
|
+
# @return [HTMLFormatter] a new instance of HTMLFormatter
|
146
|
+
#
|
147
|
+
# source://simplecov-html//lib/simplecov-html.rb#19
|
148
|
+
def initialize; end
|
149
|
+
|
150
|
+
# @return [Boolean]
|
151
|
+
#
|
152
|
+
# source://simplecov-html//lib/simplecov-html.rb#38
|
153
|
+
def branchable_result?; end
|
154
|
+
|
155
|
+
# source://simplecov-html//lib/simplecov-html.rb#23
|
156
|
+
def format(result); end
|
157
|
+
|
158
|
+
# @return [Boolean]
|
159
|
+
#
|
160
|
+
# source://simplecov-html//lib/simplecov-html.rb#45
|
161
|
+
def line_status?(source_file, line); end
|
162
|
+
|
163
|
+
# source://simplecov-html//lib/simplecov-html.rb#34
|
164
|
+
def output_message(result); end
|
165
|
+
|
166
|
+
private
|
167
|
+
|
168
|
+
# source://simplecov-html//lib/simplecov-html.rb#64
|
169
|
+
def asset_output_path; end
|
170
|
+
|
171
|
+
# source://simplecov-html//lib/simplecov-html.rb#72
|
172
|
+
def assets_path(name); end
|
173
|
+
|
174
|
+
# source://simplecov-html//lib/simplecov-html.rb#97
|
175
|
+
def coverage_css_class(covered_percent); end
|
176
|
+
|
177
|
+
# source://simplecov-html//lib/simplecov-html.rb#93
|
178
|
+
def covered_percent(percent); end
|
179
|
+
|
180
|
+
# Returns a table containing the given source files
|
181
|
+
#
|
182
|
+
# source://simplecov-html//lib/simplecov-html.rb#84
|
183
|
+
def formatted_file_list(title, source_files); end
|
184
|
+
|
185
|
+
# Returns the html for the given source_file
|
186
|
+
#
|
187
|
+
# source://simplecov-html//lib/simplecov-html.rb#77
|
188
|
+
def formatted_source_file(source_file); end
|
189
|
+
|
190
|
+
# Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id
|
191
|
+
#
|
192
|
+
# source://simplecov-html//lib/simplecov-html.rb#118
|
193
|
+
def id(source_file); end
|
194
|
+
|
195
|
+
# source://simplecov-html//lib/simplecov-html.rb#130
|
196
|
+
def link_to_source_file(source_file); end
|
197
|
+
|
198
|
+
# source://simplecov-html//lib/simplecov-html.rb#60
|
199
|
+
def output_path; end
|
200
|
+
|
201
|
+
# source://simplecov-html//lib/simplecov-html.rb#126
|
202
|
+
def shortened_filename(source_file); end
|
203
|
+
|
204
|
+
# source://simplecov-html//lib/simplecov-html.rb#107
|
205
|
+
def strength_css_class(covered_strength); end
|
206
|
+
|
207
|
+
# Returns the an erb instance for the template of given name
|
208
|
+
#
|
209
|
+
# source://simplecov-html//lib/simplecov-html.rb#56
|
210
|
+
def template(name); end
|
211
|
+
|
212
|
+
# source://simplecov-html//lib/simplecov-html.rb#122
|
213
|
+
def timeago(time); end
|
214
|
+
end
|
215
|
+
|
216
|
+
# source://simplecov-html//lib/simplecov-html/version.rb#6
|
217
|
+
SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)
|