tsumanne 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cebc96065c92a00109bc21cce1738bbe6d0d9576abeca0b7ee1915cce48da1c4
4
- data.tar.gz: ceab470a37553e4a9811047a4c29deaa048deffb621ae592c4976199067fb306
3
+ metadata.gz: b3ec2f67bcca13eef0f537d478b1de348239a03c4eed0ed8930d73fc5fd36e4d
4
+ data.tar.gz: c6c36d16ccfa21b674a45b1adc54e1695c92e84d75d3aa83fd18a135abac34ca
5
5
  SHA512:
6
- metadata.gz: 288fc7f85c1999d509dea4c74797aaaa968caf340fbc657de50ab69b6708c9d30a7b3bc2f2a6e86ac5a19b40ac5ea4b9f5d4dc2bdcc93849856a0d5e0c827a32
7
- data.tar.gz: aca354d1cef58425efc27c76d0bb839a12441cb8f93b345de0ee5e6c725f6f1a642cf2a16986a6fca18055117d8360ab5112df0538a95088c0745f5091dfbce4
6
+ metadata.gz: 0d3ed230fd0780af979f99051f502a52d130a332ffaba1134e31b15e0d651e6138eea307da0914a811245149f70d59c2e804f7ff8f5807e89016954e3c6b3acf
7
+ data.tar.gz: ff61b45deae3e5957477006042f464d64f81a9cde059f835f8de78ee2b00b33b5fb4b411f208dab4442a67bde6e573f06dbeef509fc941a16286945f284741e8
data/README.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Tsumanne
2
2
 
3
+ [![Rake]](https://github.com/eggplants/tsumanne/actions/workflows/rake.yml)
4
+ [![Release Gem]](https://github.com/eggplants/tsumanne/actions/workflows/release.yml)
5
+ [![Gem Version]](https://badge.fury.io/rb/tsumanne)
6
+ [![Maintainability]](https://codeclimate.com/github/eggplants/tsumanne/maintainability)
7
+ [![Test Coverage]](https://codeclimate.com/github/eggplants/tsumanne/test_coverage)
8
+
9
+ [Rake]: <https://github.com/eggplants/tsumanne/actions/workflows/rake.yml/badge.svg>
10
+ [Release Gem]: <https://github.com/eggplants/tsumanne/actions/workflows/release.yml/badge.svg>
11
+ [Gem Version]: <https://badge.fury.io/rb/tsumanne.svg>
12
+ [Maintainability]: <https://api.codeclimate.com/v1/badges/673df4b2c0e15b80f06c/maintainability>
13
+ [Test Coverage]: <https://api.codeclimate.com/v1/badges/673df4b2c0e15b80f06c/test_coverage>
14
+
3
15
  API Wrapper for tsumanne.net
4
16
 
5
17
  ## Installation
@@ -3,5 +3,5 @@
3
3
  # frozen_string_literal: true
4
4
 
5
5
  module Tsumanne
6
- VERSION = "0.0.0"
6
+ VERSION = "0.0.1"
7
7
  end
@@ -0,0 +1,376 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `docile` gem.
5
+ # Please instead update this file by running `bin/tapioca gem docile`.
6
+
7
+ # Docile keeps your Ruby DSLs tame and well-behaved.
8
+ #
9
+ # source://docile//lib/docile/version.rb#3
10
+ module Docile
11
+ extend ::Docile::Execution
12
+
13
+ private
14
+
15
+ # Execute a block in the context of an object whose methods represent the
16
+ # commands in a DSL.
17
+ #
18
+ # Use this method to execute an *imperative* DSL, which means that:
19
+ #
20
+ # 1. Each command mutates the state of the DSL context object
21
+ # 2. The return value of each command is ignored
22
+ # 3. The final return value is the original context object
23
+ #
24
+ # @example Use a String as a DSL
25
+ # Docile.dsl_eval("Hello, world!") do
26
+ # reverse!
27
+ # upcase!
28
+ # end
29
+ # #=> "!DLROW ,OLLEH"
30
+ # @example Use an Array as a DSL
31
+ # Docile.dsl_eval([]) do
32
+ # push 1
33
+ # push 2
34
+ # pop
35
+ # push 3
36
+ # end
37
+ # #=> [1, 3]
38
+ # @note Use with an *imperative* DSL (commands modify the context object)
39
+ # @param dsl [Object] context object whose methods make up the DSL
40
+ # @param args [Array] arguments to be passed to the block
41
+ # @param block [Proc] the block of DSL commands to be executed against the
42
+ # `dsl` context object
43
+ # @return [Object] the `dsl` context object after executing the block
44
+ #
45
+ # source://docile//lib/docile.rb#45
46
+ def dsl_eval(dsl, *args, **_arg2, &block); end
47
+
48
+ # Execute a block in the context of an immutable object whose methods,
49
+ # and the methods of their return values, represent the commands in a DSL.
50
+ #
51
+ # Use this method to execute a *functional* DSL, which means that:
52
+ #
53
+ # 1. The original DSL context object is never mutated
54
+ # 2. Each command returns the next DSL context object
55
+ # 3. The final return value is the value returned by the last command
56
+ #
57
+ # @example Use a frozen String as a DSL
58
+ # Docile.dsl_eval_immutable("I'm immutable!".freeze) do
59
+ # reverse
60
+ # upcase
61
+ # end
62
+ # #=> "!ELBATUMMI M'I"
63
+ # @example Use a Float as a DSL
64
+ # Docile.dsl_eval_immutable(84.5) do
65
+ # fdiv(2)
66
+ # floor
67
+ # end
68
+ # #=> 42
69
+ # @note Use with a *functional* DSL (commands return successor
70
+ # context objects)
71
+ # @param dsl [Object] immutable context object whose methods make up the
72
+ # initial DSL
73
+ # @param args [Array] arguments to be passed to the block
74
+ # @param block [Proc] the block of DSL commands to be executed against the
75
+ # `dsl` context object and successor return values
76
+ # @return [Object] the return value of the final command in the block
77
+ #
78
+ # source://docile//lib/docile.rb#128
79
+ def dsl_eval_immutable(dsl, *args, **_arg2, &block); end
80
+
81
+ # Execute a block in the context of an object whose methods represent the
82
+ # commands in a DSL, and return *the block's return value*.
83
+ #
84
+ # Use this method to execute an *imperative* DSL, which means that:
85
+ #
86
+ # 1. Each command mutates the state of the DSL context object
87
+ # 2. The return value of each command is ignored
88
+ # 3. The final return value is the original context object
89
+ #
90
+ # @example Use a String as a DSL
91
+ # Docile.dsl_eval_with_block_return("Hello, world!") do
92
+ # reverse!
93
+ # upcase!
94
+ # first
95
+ # end
96
+ # #=> "!"
97
+ # @example Use an Array as a DSL
98
+ # Docile.dsl_eval_with_block_return([]) do
99
+ # push "a"
100
+ # push "b"
101
+ # pop
102
+ # push "c"
103
+ # length
104
+ # end
105
+ # #=> 2
106
+ # @note Use with an *imperative* DSL (commands modify the context object)
107
+ # @param dsl [Object] context object whose methods make up the DSL
108
+ # @param args [Array] arguments to be passed to the block
109
+ # @param block [Proc] the block of DSL commands to be executed against the
110
+ # `dsl` context object
111
+ # @return [Object] the return value from executing the block
112
+ #
113
+ # source://docile//lib/docile.rb#87
114
+ def dsl_eval_with_block_return(dsl, *args, **_arg2, &block); end
115
+
116
+ class << self
117
+ # Execute a block in the context of an object whose methods represent the
118
+ # commands in a DSL.
119
+ #
120
+ # Use this method to execute an *imperative* DSL, which means that:
121
+ #
122
+ # 1. Each command mutates the state of the DSL context object
123
+ # 2. The return value of each command is ignored
124
+ # 3. The final return value is the original context object
125
+ #
126
+ # @example Use a String as a DSL
127
+ # Docile.dsl_eval("Hello, world!") do
128
+ # reverse!
129
+ # upcase!
130
+ # end
131
+ # #=> "!DLROW ,OLLEH"
132
+ # @example Use an Array as a DSL
133
+ # Docile.dsl_eval([]) do
134
+ # push 1
135
+ # push 2
136
+ # pop
137
+ # push 3
138
+ # end
139
+ # #=> [1, 3]
140
+ # @note Use with an *imperative* DSL (commands modify the context object)
141
+ # @param dsl [Object] context object whose methods make up the DSL
142
+ # @param args [Array] arguments to be passed to the block
143
+ # @param block [Proc] the block of DSL commands to be executed against the
144
+ # `dsl` context object
145
+ # @return [Object] the `dsl` context object after executing the block
146
+ #
147
+ # source://docile//lib/docile.rb#45
148
+ def dsl_eval(dsl, *args, **_arg2, &block); end
149
+
150
+ # Execute a block in the context of an immutable object whose methods,
151
+ # and the methods of their return values, represent the commands in a DSL.
152
+ #
153
+ # Use this method to execute a *functional* DSL, which means that:
154
+ #
155
+ # 1. The original DSL context object is never mutated
156
+ # 2. Each command returns the next DSL context object
157
+ # 3. The final return value is the value returned by the last command
158
+ #
159
+ # @example Use a frozen String as a DSL
160
+ # Docile.dsl_eval_immutable("I'm immutable!".freeze) do
161
+ # reverse
162
+ # upcase
163
+ # end
164
+ # #=> "!ELBATUMMI M'I"
165
+ # @example Use a Float as a DSL
166
+ # Docile.dsl_eval_immutable(84.5) do
167
+ # fdiv(2)
168
+ # floor
169
+ # end
170
+ # #=> 42
171
+ # @note Use with a *functional* DSL (commands return successor
172
+ # context objects)
173
+ # @param dsl [Object] immutable context object whose methods make up the
174
+ # initial DSL
175
+ # @param args [Array] arguments to be passed to the block
176
+ # @param block [Proc] the block of DSL commands to be executed against the
177
+ # `dsl` context object and successor return values
178
+ # @return [Object] the return value of the final command in the block
179
+ #
180
+ # source://docile//lib/docile.rb#128
181
+ def dsl_eval_immutable(dsl, *args, **_arg2, &block); end
182
+
183
+ # Execute a block in the context of an object whose methods represent the
184
+ # commands in a DSL, and return *the block's return value*.
185
+ #
186
+ # Use this method to execute an *imperative* DSL, which means that:
187
+ #
188
+ # 1. Each command mutates the state of the DSL context object
189
+ # 2. The return value of each command is ignored
190
+ # 3. The final return value is the original context object
191
+ #
192
+ # @example Use a String as a DSL
193
+ # Docile.dsl_eval_with_block_return("Hello, world!") do
194
+ # reverse!
195
+ # upcase!
196
+ # first
197
+ # end
198
+ # #=> "!"
199
+ # @example Use an Array as a DSL
200
+ # Docile.dsl_eval_with_block_return([]) do
201
+ # push "a"
202
+ # push "b"
203
+ # pop
204
+ # push "c"
205
+ # length
206
+ # end
207
+ # #=> 2
208
+ # @note Use with an *imperative* DSL (commands modify the context object)
209
+ # @param dsl [Object] context object whose methods make up the DSL
210
+ # @param args [Array] arguments to be passed to the block
211
+ # @param block [Proc] the block of DSL commands to be executed against the
212
+ # `dsl` context object
213
+ # @return [Object] the return value from executing the block
214
+ #
215
+ # source://docile//lib/docile.rb#87
216
+ def dsl_eval_with_block_return(dsl, *args, **_arg2, &block); end
217
+ end
218
+ end
219
+
220
+ # This is used to remove entries pointing to Docile's source files
221
+ # from {Exception#backtrace} and {Exception#backtrace_locations}.
222
+ #
223
+ # If {NoMethodError} is caught then the exception object will be extended
224
+ # by this module to add filter functionalities.
225
+ #
226
+ # @api private
227
+ #
228
+ # source://docile//lib/docile/backtrace_filter.rb#11
229
+ module Docile::BacktraceFilter
230
+ # @api private
231
+ #
232
+ # source://docile//lib/docile/backtrace_filter.rb#14
233
+ def backtrace; end
234
+
235
+ # @api private
236
+ #
237
+ # source://docile//lib/docile/backtrace_filter.rb#19
238
+ def backtrace_locations; end
239
+ end
240
+
241
+ # @api private
242
+ #
243
+ # source://docile//lib/docile/backtrace_filter.rb#12
244
+ Docile::BacktraceFilter::FILTER_PATTERN = T.let(T.unsafe(nil), Regexp)
245
+
246
+ # Operates in the same manner as {FallbackContextProxy}, but replacing
247
+ # the primary `receiver` object with the result of each proxied method.
248
+ #
249
+ # This is useful for implementing DSL evaluation for immutable context
250
+ # objects.
251
+ #
252
+ #
253
+ # @api private
254
+ # @see Docile.dsl_eval_immutable
255
+ #
256
+ # source://docile//lib/docile/chaining_fallback_context_proxy.rb#17
257
+ class Docile::ChainingFallbackContextProxy < ::Docile::FallbackContextProxy
258
+ # Proxy methods as in {FallbackContextProxy#method_missing}, replacing
259
+ # `receiver` with the returned value.
260
+ #
261
+ # @api private
262
+ #
263
+ # source://docile//lib/docile/chaining_fallback_context_proxy.rb#20
264
+ def method_missing(method, *args, **_arg2, &block); end
265
+ end
266
+
267
+ # A namespace for functions relating to the execution of a block against a
268
+ # proxy object.
269
+ #
270
+ # @api private
271
+ #
272
+ # source://docile//lib/docile/execution.rb#8
273
+ module Docile::Execution
274
+ private
275
+
276
+ # Execute a block in the context of an object whose methods represent the
277
+ # commands in a DSL, using a specific proxy class.
278
+ #
279
+ # @api private
280
+ # @param dsl [Object] context object whose methods make up the
281
+ # (initial) DSL
282
+ # @param proxy_type [FallbackContextProxy, ChainingFallbackContextProxy] which class to instantiate as proxy context
283
+ # @param args [Array] arguments to be passed to the block
284
+ # @param block [Proc] the block of DSL commands to be executed
285
+ # @return [Object] the return value of the block
286
+ #
287
+ # source://docile//lib/docile/execution.rb#19
288
+ def exec_in_proxy_context(dsl, proxy_type, *args, **_arg3, &block); end
289
+
290
+ class << self
291
+ # Execute a block in the context of an object whose methods represent the
292
+ # commands in a DSL, using a specific proxy class.
293
+ #
294
+ # @api private
295
+ # @param dsl [Object] context object whose methods make up the
296
+ # (initial) DSL
297
+ # @param proxy_type [FallbackContextProxy, ChainingFallbackContextProxy] which class to instantiate as proxy context
298
+ # @param args [Array] arguments to be passed to the block
299
+ # @param block [Proc] the block of DSL commands to be executed
300
+ # @return [Object] the return value of the block
301
+ #
302
+ # source://docile//lib/docile/execution.rb#19
303
+ def exec_in_proxy_context(dsl, proxy_type, *args, **_arg3, &block); end
304
+ end
305
+ end
306
+
307
+ # A proxy object with a primary receiver as well as a secondary
308
+ # fallback receiver.
309
+ #
310
+ # Will attempt to forward all method calls first to the primary receiver,
311
+ # and then to the fallback receiver if the primary does not handle that
312
+ # method.
313
+ #
314
+ # This is useful for implementing DSL evaluation in the context of an object.
315
+ #
316
+ #
317
+ # @api private
318
+ # @see Docile.dsl_eval
319
+ #
320
+ # source://docile//lib/docile/fallback_context_proxy.rb#20
321
+ class Docile::FallbackContextProxy
322
+ # @api private
323
+ # @param receiver [Object] the primary proxy target to which all methods
324
+ # initially will be forwarded
325
+ # @param fallback [Object] the fallback proxy target to which any methods
326
+ # not handled by `receiver` will be forwarded
327
+ # @return [FallbackContextProxy] a new instance of FallbackContextProxy
328
+ #
329
+ # source://docile//lib/docile/fallback_context_proxy.rb#46
330
+ def initialize(receiver, fallback); end
331
+
332
+ # @api private
333
+ # @return [Array<Symbol>] Instance variable names, excluding
334
+ # {NON_PROXIED_INSTANCE_VARIABLES}
335
+ #
336
+ # source://docile//lib/docile/fallback_context_proxy.rb#85
337
+ def instance_variables; end
338
+
339
+ # Proxy all methods, excluding {NON_PROXIED_METHODS}, first to `receiver`
340
+ # and then to `fallback` if not found.
341
+ #
342
+ # @api private
343
+ #
344
+ # source://docile//lib/docile/fallback_context_proxy.rb#91
345
+ def method_missing(method, *args, **_arg2, &block); end
346
+ end
347
+
348
+ # The set of methods which will **not** fallback from the block's context
349
+ # to the dsl object.
350
+ #
351
+ # @api private
352
+ #
353
+ # source://docile//lib/docile/fallback_context_proxy.rb#30
354
+ Docile::FallbackContextProxy::NON_FALLBACK_METHODS = T.let(T.unsafe(nil), Set)
355
+
356
+ # The set of instance variables which are local to this object and hidden.
357
+ # All other instance variables will be copied in and out of this object
358
+ # from the scope in which this proxy was created.
359
+ #
360
+ # @api private
361
+ #
362
+ # source://docile//lib/docile/fallback_context_proxy.rb#35
363
+ Docile::FallbackContextProxy::NON_PROXIED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Set)
364
+
365
+ # The set of methods which will **not** be proxied, but instead answered
366
+ # by this object directly.
367
+ #
368
+ # @api private
369
+ #
370
+ # source://docile//lib/docile/fallback_context_proxy.rb#23
371
+ Docile::FallbackContextProxy::NON_PROXIED_METHODS = T.let(T.unsafe(nil), Set)
372
+
373
+ # The current version of this library
374
+ #
375
+ # source://docile//lib/docile/version.rb#5
376
+ Docile::VERSION = T.let(T.unsafe(nil), String)
@@ -1722,7 +1722,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
1722
1722
  def to_s; end
1723
1723
 
1724
1724
  class << self
1725
- # source://sorbet-runtime/0.5.10990/lib/types/struct.rb#13
1725
+ # source://sorbet-runtime/0.5.10991/lib/types/struct.rb#13
1726
1726
  def inherited(s); end
1727
1727
  end
1728
1728
  end
@@ -1934,7 +1934,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
1934
1934
  def to_s; end
1935
1935
 
1936
1936
  class << self
1937
- # source://sorbet-runtime/0.5.10990/lib/types/struct.rb#13
1937
+ # source://sorbet-runtime/0.5.10991/lib/types/struct.rb#13
1938
1938
  def inherited(s); end
1939
1939
  end
1940
1940
  end
@@ -0,0 +1,216 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `simplecov-html` gem.
5
+ # Please instead update this file by running `bin/tapioca gem simplecov-html`.
6
+
7
+ # source://simplecov-html//lib/simplecov-html.rb#16
8
+ module SimpleCov
9
+ class << self
10
+ # source://simplecov/0.22.0/lib/simplecov.rb#174
11
+ def at_exit_behavior; end
12
+
13
+ # source://simplecov/0.22.0/lib/simplecov.rb#170
14
+ def clear_result; end
15
+
16
+ # source://simplecov/0.22.0/lib/simplecov.rb#86
17
+ def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
18
+
19
+ # source://simplecov/0.22.0/lib/simplecov.rb#223
20
+ def exit_and_report_previous_error(exit_status); end
21
+
22
+ # source://simplecov/0.22.0/lib/simplecov.rb#200
23
+ def exit_status_from_exception; end
24
+
25
+ # source://simplecov/0.22.0/lib/simplecov.rb#28
26
+ def external_at_exit; end
27
+
28
+ # source://simplecov/0.22.0/lib/simplecov.rb#28
29
+ def external_at_exit=(_arg0); end
30
+
31
+ # source://simplecov/0.22.0/lib/simplecov.rb#28
32
+ def external_at_exit?; end
33
+
34
+ # source://simplecov/0.22.0/lib/simplecov.rb#131
35
+ def filtered(files); end
36
+
37
+ # source://simplecov/0.22.0/lib/simplecov.rb#268
38
+ def final_result_process?; end
39
+
40
+ # source://simplecov/0.22.0/lib/simplecov.rb#142
41
+ def grouped(files); end
42
+
43
+ # source://simplecov/0.22.0/lib/simplecov.rb#162
44
+ def load_adapter(name); end
45
+
46
+ # source://simplecov/0.22.0/lib/simplecov.rb#158
47
+ def load_profile(name); end
48
+
49
+ # source://simplecov/0.22.0/lib/simplecov.rb#24
50
+ def pid; end
51
+
52
+ # source://simplecov/0.22.0/lib/simplecov.rb#24
53
+ def pid=(_arg0); end
54
+
55
+ # source://simplecov/0.22.0/lib/simplecov.rb#213
56
+ def previous_error?(error_exit_status); end
57
+
58
+ # source://simplecov/0.22.0/lib/simplecov.rb#248
59
+ def process_result(result); end
60
+
61
+ # source://simplecov/0.22.0/lib/simplecov.rb#233
62
+ def process_results_and_report_error; end
63
+
64
+ # source://simplecov/0.22.0/lib/simplecov.rb#229
65
+ def ready_to_process_results?; end
66
+
67
+ # source://simplecov/0.22.0/lib/simplecov.rb#101
68
+ def result; end
69
+
70
+ # source://simplecov/0.22.0/lib/simplecov.rb#124
71
+ def result?; end
72
+
73
+ # source://simplecov/0.22.0/lib/simplecov.rb#256
74
+ def result_exit_status(result); end
75
+
76
+ # source://simplecov/0.22.0/lib/simplecov.rb#296
77
+ def round_coverage(coverage); end
78
+
79
+ # source://simplecov/0.22.0/lib/simplecov.rb#186
80
+ def run_exit_tasks!; end
81
+
82
+ # source://simplecov/0.22.0/lib/simplecov.rb#24
83
+ def running; end
84
+
85
+ # source://simplecov/0.22.0/lib/simplecov.rb#24
86
+ def running=(_arg0); end
87
+
88
+ # source://simplecov/0.22.0/lib/simplecov.rb#48
89
+ def start(profile = T.unsafe(nil), &block); end
90
+
91
+ # source://simplecov/0.22.0/lib/simplecov.rb#276
92
+ def wait_for_other_processes; end
93
+
94
+ # source://simplecov/0.22.0/lib/simplecov.rb#285
95
+ def write_last_run(result); end
96
+
97
+ private
98
+
99
+ # source://simplecov/0.22.0/lib/simplecov.rb#399
100
+ def adapt_coverage_result; end
101
+
102
+ # source://simplecov/0.22.0/lib/simplecov.rb#371
103
+ def add_not_loaded_files(result); end
104
+
105
+ # source://simplecov/0.22.0/lib/simplecov.rb#302
106
+ def initial_setup(profile, &block); end
107
+
108
+ # source://simplecov/0.22.0/lib/simplecov.rb#363
109
+ def lookup_corresponding_ruby_coverage_name(criterion); end
110
+
111
+ # source://simplecov/0.22.0/lib/simplecov.rb#425
112
+ def make_parallel_tests_available; end
113
+
114
+ # source://simplecov/0.22.0/lib/simplecov.rb#434
115
+ def probably_running_parallel_tests?; end
116
+
117
+ # source://simplecov/0.22.0/lib/simplecov.rb#388
118
+ def process_coverage_result; end
119
+
120
+ # source://simplecov/0.22.0/lib/simplecov.rb#410
121
+ def remove_useless_results; end
122
+
123
+ # source://simplecov/0.22.0/lib/simplecov.rb#420
124
+ def result_with_not_loaded_files; end
125
+
126
+ # source://simplecov/0.22.0/lib/simplecov.rb#314
127
+ def start_coverage_measurement; end
128
+
129
+ # source://simplecov/0.22.0/lib/simplecov.rb#349
130
+ def start_coverage_with_criteria; end
131
+ end
132
+ end
133
+
134
+ # source://simplecov-html//lib/simplecov-html.rb#17
135
+ module SimpleCov::Formatter
136
+ class << self
137
+ # source://simplecov/0.22.0/lib/simplecov/default_formatter.rb#7
138
+ def from_env(env); end
139
+ end
140
+ end
141
+
142
+ # source://simplecov-html//lib/simplecov-html.rb#18
143
+ class SimpleCov::Formatter::HTMLFormatter
144
+ # @return [HTMLFormatter] a new instance of HTMLFormatter
145
+ #
146
+ # source://simplecov-html//lib/simplecov-html.rb#19
147
+ def initialize; end
148
+
149
+ # @return [Boolean]
150
+ #
151
+ # source://simplecov-html//lib/simplecov-html.rb#38
152
+ def branchable_result?; end
153
+
154
+ # source://simplecov-html//lib/simplecov-html.rb#23
155
+ def format(result); end
156
+
157
+ # @return [Boolean]
158
+ #
159
+ # source://simplecov-html//lib/simplecov-html.rb#45
160
+ def line_status?(source_file, line); end
161
+
162
+ # source://simplecov-html//lib/simplecov-html.rb#34
163
+ def output_message(result); end
164
+
165
+ private
166
+
167
+ # source://simplecov-html//lib/simplecov-html.rb#64
168
+ def asset_output_path; end
169
+
170
+ # source://simplecov-html//lib/simplecov-html.rb#72
171
+ def assets_path(name); end
172
+
173
+ # source://simplecov-html//lib/simplecov-html.rb#97
174
+ def coverage_css_class(covered_percent); end
175
+
176
+ # source://simplecov-html//lib/simplecov-html.rb#93
177
+ def covered_percent(percent); end
178
+
179
+ # Returns a table containing the given source files
180
+ #
181
+ # source://simplecov-html//lib/simplecov-html.rb#84
182
+ def formatted_file_list(title, source_files); end
183
+
184
+ # Returns the html for the given source_file
185
+ #
186
+ # source://simplecov-html//lib/simplecov-html.rb#77
187
+ def formatted_source_file(source_file); end
188
+
189
+ # Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id
190
+ #
191
+ # source://simplecov-html//lib/simplecov-html.rb#118
192
+ def id(source_file); end
193
+
194
+ # source://simplecov-html//lib/simplecov-html.rb#130
195
+ def link_to_source_file(source_file); end
196
+
197
+ # source://simplecov-html//lib/simplecov-html.rb#60
198
+ def output_path; end
199
+
200
+ # source://simplecov-html//lib/simplecov-html.rb#126
201
+ def shortened_filename(source_file); end
202
+
203
+ # source://simplecov-html//lib/simplecov-html.rb#107
204
+ def strength_css_class(covered_strength); end
205
+
206
+ # Returns the an erb instance for the template of given name
207
+ #
208
+ # source://simplecov-html//lib/simplecov-html.rb#56
209
+ def template(name); end
210
+
211
+ # source://simplecov-html//lib/simplecov-html.rb#122
212
+ def timeago(time); end
213
+ end
214
+
215
+ # source://simplecov-html//lib/simplecov-html/version.rb#6
216
+ SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)