m2m_keygen 0.4.7 → 0.5.0

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.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/.overcommit.yml +4 -7
  3. data/.rubocop.yml +19 -16
  4. data/.ruby-version +1 -1
  5. data/.streerc +1 -0
  6. data/.tool-versions +1 -0
  7. data/CHANGELOG.md +73 -1
  8. data/Gemfile +2 -2
  9. data/Gemfile.lock +138 -160
  10. data/README.md +64 -78
  11. data/docs/MIGRATING.md +69 -0
  12. data/docs/SPEC.md +245 -0
  13. data/examples/nonce_store/postgres.rb +40 -0
  14. data/examples/nonce_store/redis.rb +23 -0
  15. data/gemfiles/rack_2.gemfile +5 -0
  16. data/gemfiles/rack_3.gemfile +5 -0
  17. data/lib/m2m_keygen/canonicalizer.rb +57 -0
  18. data/lib/m2m_keygen/nonce_store/disabled.rb +19 -0
  19. data/lib/m2m_keygen/nonce_store/memory.rb +64 -0
  20. data/lib/m2m_keygen/nonce_store.rb +18 -0
  21. data/lib/m2m_keygen/rack_validator.rb +72 -19
  22. data/lib/m2m_keygen/request_signer/signed_request.rb +10 -0
  23. data/lib/m2m_keygen/request_signer.rb +118 -0
  24. data/lib/m2m_keygen/signature.rb +41 -39
  25. data/lib/m2m_keygen/types/params_type.rb +6 -16
  26. data/lib/m2m_keygen/version.rb +1 -1
  27. data/lib/m2m_keygen.rb +6 -0
  28. data/m2m_keygen.gemspec +12 -14
  29. data/sorbet/config +1 -0
  30. data/sorbet/rbi/gems/.gitattributes +1 -0
  31. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
  32. data/sorbet/rbi/gems/{benchmark@0.2.0.rbi → benchmark@0.5.0.rbi} +91 -58
  33. data/sorbet/rbi/gems/bundler-audit@0.9.3.rbi +397 -0
  34. data/sorbet/rbi/gems/byebug@13.0.0.rbi +3651 -0
  35. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +336 -0
  36. data/sorbet/rbi/gems/concurrent-ruby@1.3.7.rbi +384 -0
  37. data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +189 -199
  38. data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +147 -147
  39. data/sorbet/rbi/gems/dotenv@3.2.0.rbi +267 -0
  40. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  41. data/sorbet/rbi/gems/{faker@2.22.0.rbi → faker@3.8.0.rbi} +8468 -3829
  42. data/sorbet/rbi/gems/{ffi@1.15.5.rbi → ffi@1.17.4.rbi} +1 -0
  43. data/sorbet/rbi/gems/{formatador@1.1.0.rbi → formatador@1.2.3.rbi} +1 -0
  44. data/sorbet/rbi/gems/{guard@2.18.0.rbi → guard@2.20.1.rbi} +1 -0
  45. data/sorbet/rbi/gems/{i18n@1.12.0.rbi → i18n@1.15.2.rbi} +687 -827
  46. data/sorbet/rbi/gems/io-console@0.8.2.rbi +9 -0
  47. data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.20.0.rbi} +994 -252
  48. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
  49. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
  50. data/sorbet/rbi/gems/listen@3.10.0.rbi +9 -0
  51. data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
  52. data/sorbet/rbi/gems/{lumberjack@1.2.8.rbi → lumberjack@1.4.2.rbi} +1 -0
  53. data/sorbet/rbi/gems/{method_source@1.0.0.rbi → method_source@1.1.0.rbi} +111 -90
  54. data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.71.0.rbi} +503 -647
  55. data/sorbet/rbi/gems/parallel@2.1.0.rbi +321 -0
  56. data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
  57. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +878 -0
  58. data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
  59. data/sorbet/rbi/gems/pry-byebug@3.12.0.rbi +481 -0
  60. data/sorbet/rbi/gems/{pry@0.14.1.rbi → pry@0.16.0.rbi} +2567 -3550
  61. data/sorbet/rbi/gems/{racc@1.6.0.rbi → racc@1.8.1.rbi} +54 -40
  62. data/sorbet/rbi/gems/rack@3.2.6.rbi +4653 -0
  63. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +963 -732
  64. data/sorbet/rbi/gems/{rb-inotify@0.10.1.rbi → rb-inotify@0.11.1.rbi} +1 -0
  65. data/sorbet/rbi/gems/rbi@0.3.14.rbi +5519 -0
  66. data/sorbet/rbi/gems/rbs@4.0.3.rbi +6908 -0
  67. data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
  68. data/sorbet/rbi/gems/reline@0.6.3.rbi +2446 -0
  69. data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
  70. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.4.4.rbi} +1085 -894
  71. data/sorbet/rbi/gems/rspec-core@3.13.6.rbi +9475 -0
  72. data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
  73. data/sorbet/rbi/gems/rspec-mocks@3.13.8.rbi +4787 -0
  74. data/sorbet/rbi/gems/rspec-support@3.13.7.rbi +1274 -0
  75. data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
  76. data/sorbet/rbi/gems/rspec_in_context@1.2.2.rbi +294 -0
  77. data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7140 -0
  78. data/sorbet/rbi/gems/rubocop-faker@1.3.0.rbi +88 -0
  79. data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
  80. data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
  81. data/sorbet/rbi/gems/rubocop@1.88.1.rbi +63103 -0
  82. data/sorbet/rbi/gems/ruby-lsp@0.26.9.rbi +28 -0
  83. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +988 -0
  84. data/sorbet/rbi/gems/rubydex@0.2.7.rbi +836 -0
  85. data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +90 -0
  86. data/sorbet/rbi/gems/{simplecov@0.21.2.rbi → simplecov@0.22.0.rbi} +438 -578
  87. data/sorbet/rbi/gems/spoom@1.8.2.rbi +6691 -0
  88. data/sorbet/rbi/gems/syntax_tree@6.3.0.rbi +22090 -0
  89. data/sorbet/rbi/gems/tapioca@0.19.2.rbi +3597 -0
  90. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.5.0.rbi} +1085 -1171
  91. data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
  92. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
  93. data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
  94. data/sorbet/rbi/gems/{yard-sorbet@0.7.0.rbi → yard-sorbet@0.9.0.rbi} +142 -99
  95. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.44.rbi} +5350 -6316
  96. data/sorbet/rbi/gems/zeitwerk@2.8.2.rbi +1178 -0
  97. metadata +106 -111
  98. data/.prettierrc.js +0 -4
  99. data/docs/M2mKeygen/Error.html +0 -135
  100. data/docs/M2mKeygen/ParamsEncoder.html +0 -321
  101. data/docs/M2mKeygen/RackValidator.html +0 -533
  102. data/docs/M2mKeygen/Signature.html +0 -680
  103. data/docs/M2mKeygen/Types.html +0 -147
  104. data/docs/M2mKeygen.html +0 -157
  105. data/docs/_index.html +0 -182
  106. data/docs/class_list.html +0 -51
  107. data/docs/css/common.css +0 -1
  108. data/docs/css/full_list.css +0 -58
  109. data/docs/css/style.css +0 -497
  110. data/docs/file.README.html +0 -230
  111. data/docs/file_list.html +0 -56
  112. data/docs/frames.html +0 -17
  113. data/docs/index.html +0 -230
  114. data/docs/js/app.js +0 -314
  115. data/docs/js/full_list.js +0 -216
  116. data/docs/js/jquery.js +0 -4
  117. data/docs/method_list.html +0 -139
  118. data/docs/top-level-namespace.html +0 -110
  119. data/lib/m2m_keygen/params_encoder.rb +0 -56
  120. data/package.json +0 -12
  121. data/sig/m2m_keygen.rbs +0 -4
  122. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +0 -18608
  123. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -522
  124. data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +0 -308
  125. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -3603
  126. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +0 -401
  127. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +0 -11581
  128. data/sorbet/rbi/gems/dotenv@2.8.1.rbi +0 -234
  129. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -8
  130. data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -3190
  131. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -19
  132. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -133
  133. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3261
  134. data/sorbet/rbi/gems/listen@3.7.1.rbi +0 -1181
  135. data/sorbet/rbi/gems/minitest@5.16.3.rbi +0 -1459
  136. data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +0 -6514
  137. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  138. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6826
  139. data/sorbet/rbi/gems/prettier@3.2.0.rbi +0 -22
  140. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +0 -8
  141. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +0 -1222
  142. data/sorbet/rbi/gems/rack@2.2.4.rbi +0 -5630
  143. data/sorbet/rbi/gems/rbi@0.0.15.rbi +0 -3007
  144. data/sorbet/rbi/gems/rbs@2.6.0.rbi +0 -8
  145. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3366
  146. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -389
  147. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +0 -10786
  148. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +0 -8170
  149. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -5385
  150. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -1746
  151. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -187
  152. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +0 -1113
  153. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7044
  154. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +0 -106
  155. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +0 -2982
  156. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +0 -990
  157. data/sorbet/rbi/gems/rubocop@1.35.1.rbi +0 -52002
  158. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1239
  159. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -219
  160. data/sorbet/rbi/gems/solargraph@0.46.0.rbi +0 -9075
  161. data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2369
  162. data/sorbet/rbi/gems/syntax_tree-haml@1.3.1.rbi +0 -8
  163. data/sorbet/rbi/gems/syntax_tree-rbs@0.5.0.rbi +0 -8
  164. data/sorbet/rbi/gems/syntax_tree@3.5.0.rbi +0 -8
  165. data/sorbet/rbi/gems/tapioca@0.9.4.rbi +0 -2946
  166. data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -1712
  167. data/sorbet/rbi/gems/tilt@2.0.11.rbi +0 -742
  168. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -5914
  169. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -48
  170. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4529
  171. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2553
  172. data/sorbet/rbi/gems/zeitwerk@2.6.0.rbi +0 -867
  173. data/sorbet/rbi/manual.rbi +0 -7
  174. data/yarn.lock +0 -20
@@ -4,19 +4,20 @@
4
4
  # This is an autogenerated file for types exported from the `simplecov` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem simplecov`.
6
6
 
7
+
7
8
  # Code coverage for ruby. Please check out README for a full introduction.
8
9
  #
9
- # source://simplecov-0.21.2/lib/simplecov.rb:22
10
+ # pkg:gem/simplecov#lib/simplecov.rb:22
10
11
  module SimpleCov
11
12
  extend ::SimpleCov::Configuration
12
13
 
13
14
  class << self
14
- # source://simplecov-0.21.2/lib/simplecov.rb:174
15
+ # pkg:gem/simplecov#lib/simplecov.rb:174
15
16
  def at_exit_behavior; end
16
17
 
17
18
  # Clear out the previously cached .result. Primarily useful in testing
18
19
  #
19
- # source://simplecov-0.21.2/lib/simplecov.rb:170
20
+ # pkg:gem/simplecov#lib/simplecov.rb:170
20
21
  def clear_result; end
21
22
 
22
23
  # Collate a series of SimpleCov result files into a single SimpleCov output.
@@ -42,141 +43,121 @@ module SimpleCov
42
43
  # merged together. If you want to honor the merge_timeout then provide the keyword argument
43
44
  # `ignore_timeout: false`.
44
45
  #
45
- # source://simplecov-0.21.2/lib/simplecov.rb:86
46
+ # pkg:gem/simplecov#lib/simplecov.rb:86
46
47
  def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
47
48
 
48
- # Thinking: Move this behavior earlier so if there was an error we do nothing?
49
- #
50
49
  # @api private
51
50
  #
52
- # source://simplecov-0.21.2/lib/simplecov.rb:223
51
+ # Thinking: Move this behavior earlier so if there was an error we do nothing?
52
+ #
53
+ # pkg:gem/simplecov#lib/simplecov.rb:223
53
54
  def exit_and_report_previous_error(exit_status); end
54
55
 
55
- # Returns the exit status from the exit exception
56
- #
57
56
  # @api private
58
57
  #
59
- # source://simplecov-0.21.2/lib/simplecov.rb:200
58
+ # Returns the exit status from the exit exception
59
+ #
60
+ # pkg:gem/simplecov#lib/simplecov.rb:200
60
61
  def exit_status_from_exception; end
61
62
 
62
63
  # Basically, should we take care of at_exit behavior or something else?
63
64
  # Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
64
65
  #
65
- # source://simplecov-0.21.2/lib/simplecov.rb:28
66
+ # pkg:gem/simplecov#lib/simplecov.rb:28
66
67
  def external_at_exit; end
67
68
 
68
69
  # Basically, should we take care of at_exit behavior or something else?
69
70
  # Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
70
71
  #
71
- # source://simplecov-0.21.2/lib/simplecov.rb:28
72
+ # pkg:gem/simplecov#lib/simplecov.rb:28
72
73
  def external_at_exit=(_arg0); end
73
74
 
74
- # Basically, should we take care of at_exit behavior or something else?
75
- # Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
76
- #
77
- # source://simplecov-0.21.2/lib/simplecov.rb:28
75
+ # pkg:gem/simplecov#lib/simplecov.rb:29
78
76
  def external_at_exit?; end
79
77
 
80
78
  # Applies the configured filters to the given array of SimpleCov::SourceFile items
81
79
  #
82
- # source://simplecov-0.21.2/lib/simplecov.rb:131
80
+ # pkg:gem/simplecov#lib/simplecov.rb:131
83
81
  def filtered(files); end
84
82
 
85
83
  # @api private
86
- # @return [Boolean]
87
84
  #
88
- # source://simplecov-0.21.2/lib/simplecov.rb:268
85
+ # pkg:gem/simplecov#lib/simplecov.rb:268
89
86
  def final_result_process?; end
90
87
 
91
88
  # Applies the configured groups to the given array of SimpleCov::SourceFile items
92
89
  #
93
- # source://simplecov-0.21.2/lib/simplecov.rb:142
90
+ # pkg:gem/simplecov#lib/simplecov.rb:142
94
91
  def grouped(files); end
95
92
 
96
- # source://simplecov-0.21.2/lib/simplecov.rb:162
93
+ # pkg:gem/simplecov#lib/simplecov.rb:162
97
94
  def load_adapter(name); end
98
95
 
99
96
  # Applies the profile of given name on SimpleCov configuration
100
97
  #
101
- # source://simplecov-0.21.2/lib/simplecov.rb:158
98
+ # pkg:gem/simplecov#lib/simplecov.rb:158
102
99
  def load_profile(name); end
103
100
 
104
- # Returns the value of attribute pid.
105
- #
106
- # source://simplecov-0.21.2/lib/simplecov.rb:24
101
+ # pkg:gem/simplecov#lib/simplecov.rb:24
107
102
  def pid; end
108
103
 
109
- # Sets the attribute pid
110
- #
111
- # @param value the value to set the attribute pid to.
112
- #
113
- # source://simplecov-0.21.2/lib/simplecov.rb:24
104
+ # pkg:gem/simplecov#lib/simplecov.rb:24
114
105
  def pid=(_arg0); end
115
106
 
116
107
  # @api private
117
- # @return [Boolean]
118
108
  #
119
- # source://simplecov-0.21.2/lib/simplecov.rb:213
109
+ # pkg:gem/simplecov#lib/simplecov.rb:213
120
110
  def previous_error?(error_exit_status); end
121
111
 
112
+ # @api private
113
+ #
122
114
  # Usage:
123
115
  # exit_status = SimpleCov.process_result(SimpleCov.result, exit_status)
124
116
  #
125
- # @api private
126
- #
127
- # source://simplecov-0.21.2/lib/simplecov.rb:248
117
+ # pkg:gem/simplecov#lib/simplecov.rb:248
128
118
  def process_result(result); end
129
119
 
130
- # source://simplecov-0.21.2/lib/simplecov.rb:233
120
+ # pkg:gem/simplecov#lib/simplecov.rb:233
131
121
  def process_results_and_report_error; end
132
122
 
133
123
  # @api private
134
- # @return [Boolean]
135
124
  #
136
- # source://simplecov-0.21.2/lib/simplecov.rb:229
125
+ # pkg:gem/simplecov#lib/simplecov.rb:229
137
126
  def ready_to_process_results?; end
138
127
 
139
128
  # Returns the result for the current coverage run, merging it across test suites
140
129
  # from cache using SimpleCov::ResultMerger if use_merging is activated (default)
141
130
  #
142
- # source://simplecov-0.21.2/lib/simplecov.rb:101
131
+ # pkg:gem/simplecov#lib/simplecov.rb:101
143
132
  def result; end
144
133
 
145
134
  # Returns nil if the result has not been computed
146
135
  # Otherwise, returns the result
147
136
  #
148
- # @return [Boolean]
149
- #
150
- # source://simplecov-0.21.2/lib/simplecov.rb:124
137
+ # pkg:gem/simplecov#lib/simplecov.rb:124
151
138
  def result?; end
152
139
 
153
- # source://simplecov-0.21.2/lib/simplecov.rb:256
140
+ # pkg:gem/simplecov#lib/simplecov.rb:256
154
141
  def result_exit_status(result); end
155
142
 
156
- # Rounding down to be extra strict, see #679
157
- #
158
143
  # @api private
159
144
  #
160
- # source://simplecov-0.21.2/lib/simplecov.rb:296
145
+ # Rounding down to be extra strict, see #679
146
+ #
147
+ # pkg:gem/simplecov#lib/simplecov.rb:296
161
148
  def round_coverage(coverage); end
162
149
 
163
- # Called from at_exit block
164
- #
165
150
  # @api private
166
151
  #
167
- # source://simplecov-0.21.2/lib/simplecov.rb:186
152
+ # Called from at_exit block
153
+ #
154
+ # pkg:gem/simplecov#lib/simplecov.rb:186
168
155
  def run_exit_tasks!; end
169
156
 
170
- # Returns the value of attribute running.
171
- #
172
- # source://simplecov-0.21.2/lib/simplecov.rb:24
157
+ # pkg:gem/simplecov#lib/simplecov.rb:24
173
158
  def running; end
174
159
 
175
- # Sets the attribute running
176
- #
177
- # @param value the value to set the attribute running to.
178
- #
179
- # source://simplecov-0.21.2/lib/simplecov.rb:24
160
+ # pkg:gem/simplecov#lib/simplecov.rb:24
180
161
  def running=(_arg0); end
181
162
 
182
163
  # Sets up SimpleCov to run against your project.
@@ -195,17 +176,17 @@ module SimpleCov
195
176
  #
196
177
  # Please check out the RDoc for SimpleCov::Configuration to find about available config options
197
178
  #
198
- # source://simplecov-0.21.2/lib/simplecov.rb:48
179
+ # pkg:gem/simplecov#lib/simplecov.rb:48
199
180
  def start(profile = T.unsafe(nil), &block); end
200
181
 
201
182
  # @api private
202
183
  #
203
- # source://simplecov-0.21.2/lib/simplecov.rb:276
184
+ # pkg:gem/simplecov#lib/simplecov.rb:276
204
185
  def wait_for_other_processes; end
205
186
 
206
187
  # @api private
207
188
  #
208
- # source://simplecov-0.21.2/lib/simplecov.rb:285
189
+ # pkg:gem/simplecov#lib/simplecov.rb:285
209
190
  def write_last_run(result); end
210
191
 
211
192
  private
@@ -214,36 +195,34 @@ module SimpleCov
214
195
  #
215
196
  # @return [Hash]
216
197
  #
217
- # source://simplecov-0.21.2/lib/simplecov.rb:397
198
+ # pkg:gem/simplecov#lib/simplecov.rb:399
218
199
  def adapt_coverage_result; end
219
200
 
220
201
  # Finds files that were to be tracked but were not loaded and initializes
221
202
  # the line-by-line coverage to zero (if relevant) or nil (comments / whitespace etc).
222
203
  #
223
- # source://simplecov-0.21.2/lib/simplecov.rb:369
204
+ # pkg:gem/simplecov#lib/simplecov.rb:371
224
205
  def add_not_loaded_files(result); end
225
206
 
226
- # source://simplecov-0.21.2/lib/simplecov.rb:302
207
+ # pkg:gem/simplecov#lib/simplecov.rb:302
227
208
  def initial_setup(profile, &block); end
228
209
 
229
- # source://simplecov-0.21.2/lib/simplecov.rb:361
210
+ # pkg:gem/simplecov#lib/simplecov.rb:363
230
211
  def lookup_corresponding_ruby_coverage_name(criterion); end
231
212
 
232
213
  # parallel_tests isn't always available, see: https://github.com/grosser/parallel_tests/issues/772
233
214
  #
234
- # source://simplecov-0.21.2/lib/simplecov.rb:423
215
+ # pkg:gem/simplecov#lib/simplecov.rb:425
235
216
  def make_parallel_tests_available; end
236
217
 
237
- # @return [Boolean]
238
- #
239
- # source://simplecov-0.21.2/lib/simplecov.rb:432
218
+ # pkg:gem/simplecov#lib/simplecov.rb:434
240
219
  def probably_running_parallel_tests?; end
241
220
 
242
221
  # Call steps that handle process coverage result
243
222
  #
244
223
  # @return [Hash]
245
224
  #
246
- # source://simplecov-0.21.2/lib/simplecov.rb:386
225
+ # pkg:gem/simplecov#lib/simplecov.rb:388
247
226
  def process_coverage_result; end
248
227
 
249
228
  # Filter coverage result
@@ -252,7 +231,7 @@ module SimpleCov
252
231
  #
253
232
  # @return [Hash]
254
233
  #
255
- # source://simplecov-0.21.2/lib/simplecov.rb:408
234
+ # pkg:gem/simplecov#lib/simplecov.rb:410
256
235
  def remove_useless_results; end
257
236
 
258
237
  # Initialize result with files that are not included by coverage
@@ -260,7 +239,7 @@ module SimpleCov
260
239
  #
261
240
  # @return [Hash]
262
241
  #
263
- # source://simplecov-0.21.2/lib/simplecov.rb:418
242
+ # pkg:gem/simplecov#lib/simplecov.rb:420
264
243
  def result_with_not_loaded_files; end
265
244
 
266
245
  # Trigger Coverage.start depends on given config coverage_criterion
@@ -268,44 +247,38 @@ module SimpleCov
268
247
  # With Positive branch it supports all coverage measurement types
269
248
  # With Negative branch it supports only line coverage measurement type
270
249
  #
271
- # source://simplecov-0.21.2/lib/simplecov.rb:314
250
+ # pkg:gem/simplecov#lib/simplecov.rb:314
272
251
  def start_coverage_measurement; end
273
252
 
274
- # source://simplecov-0.21.2/lib/simplecov.rb:349
253
+ # pkg:gem/simplecov#lib/simplecov.rb:349
275
254
  def start_coverage_with_criteria; end
276
255
  end
277
256
  end
278
257
 
279
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:77
258
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:77
280
259
  class SimpleCov::ArrayFilter < ::SimpleCov::Filter
281
- # @return [ArrayFilter] a new instance of ArrayFilter
282
- #
283
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:78
260
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:78
284
261
  def initialize(filter_argument); end
285
262
 
286
263
  # Returns true if any of the filters in the array match the given source file.
287
264
  # Configure this Filter like StringFilter.new(['some/path', /^some_regex/, Proc.new {|src_file| ... }])
288
265
  #
289
- # @return [Boolean]
290
- #
291
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:88
266
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:88
292
267
  def matches?(source_files_list); end
293
268
  end
294
269
 
295
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:71
270
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:69
296
271
  class SimpleCov::BlockFilter < ::SimpleCov::Filter
297
272
  # Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| ... }
298
273
  # returns true for the given source file.
299
274
  #
300
- # @return [Boolean]
301
- #
302
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:72
275
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:72
303
276
  def matches?(source_file); end
304
277
  end
305
278
 
306
279
  # Functionally for combining coverage results
307
280
  #
308
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:6
281
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:6
309
282
  module SimpleCov::Combine
310
283
  private
311
284
 
@@ -316,13 +289,13 @@ module SimpleCov::Combine
316
289
  #
317
290
  # @return [Hash]
318
291
  #
319
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:16
292
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:16
320
293
  def combine(combiner_module, coverage_a, coverage_b); end
321
294
 
322
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:22
295
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:22
323
296
  def empty_coverage?(coverage_a, coverage_b); end
324
297
 
325
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:26
298
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:26
326
299
  def existing_coverage(coverage_a, coverage_b); end
327
300
 
328
301
  class << self
@@ -333,15 +306,13 @@ module SimpleCov::Combine
333
306
  #
334
307
  # @return [Hash]
335
308
  #
336
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:16
309
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:16
337
310
  def combine(combiner_module, coverage_a, coverage_b); end
338
311
 
339
- # @return [Boolean]
340
- #
341
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:22
312
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:22
342
313
  def empty_coverage?(coverage_a, coverage_b); end
343
314
 
344
- # source://simplecov-0.21.2/lib/simplecov/combine.rb:26
315
+ # pkg:gem/simplecov#lib/simplecov/combine.rb:26
345
316
  def existing_coverage(coverage_a, coverage_b); end
346
317
  end
347
318
  end
@@ -350,7 +321,7 @@ end
350
321
  #
351
322
  # Should be called through `SimpleCov.combine`.
352
323
  #
353
- # source://simplecov-0.21.2/lib/simplecov/combine/branches_combiner.rb:9
324
+ # pkg:gem/simplecov#lib/simplecov/combine/branches_combiner.rb:9
354
325
  module SimpleCov::Combine::BranchesCombiner
355
326
  private
356
327
 
@@ -364,7 +335,7 @@ module SimpleCov::Combine::BranchesCombiner
364
335
  #
365
336
  # @return [Hash]
366
337
  #
367
- # source://simplecov-0.21.2/lib/simplecov/combine/branches_combiner.rb:23
338
+ # pkg:gem/simplecov#lib/simplecov/combine/branches_combiner.rb:23
368
339
  def combine(coverage_a, coverage_b); end
369
340
 
370
341
  class << self
@@ -378,7 +349,7 @@ module SimpleCov::Combine::BranchesCombiner
378
349
  #
379
350
  # @return [Hash]
380
351
  #
381
- # source://simplecov-0.21.2/lib/simplecov/combine/branches_combiner.rb:23
352
+ # pkg:gem/simplecov#lib/simplecov/combine/branches_combiner.rb:23
382
353
  def combine(coverage_a, coverage_b); end
383
354
  end
384
355
  end
@@ -387,7 +358,7 @@ end
387
358
  #
388
359
  # Should be called through `SimpleCov.combine`.
389
360
  #
390
- # source://simplecov-0.21.2/lib/simplecov/combine/files_combiner.rb:9
361
+ # pkg:gem/simplecov#lib/simplecov/combine/files_combiner.rb:9
391
362
  module SimpleCov::Combine::FilesCombiner
392
363
  private
393
364
 
@@ -395,7 +366,7 @@ module SimpleCov::Combine::FilesCombiner
395
366
  #
396
367
  # @return [Hash]
397
368
  #
398
- # source://simplecov-0.21.2/lib/simplecov/combine/files_combiner.rb:17
369
+ # pkg:gem/simplecov#lib/simplecov/combine/files_combiner.rb:17
399
370
  def combine(coverage_a, coverage_b); end
400
371
 
401
372
  class << self
@@ -403,7 +374,7 @@ module SimpleCov::Combine::FilesCombiner
403
374
  #
404
375
  # @return [Hash]
405
376
  #
406
- # source://simplecov-0.21.2/lib/simplecov/combine/files_combiner.rb:17
377
+ # pkg:gem/simplecov#lib/simplecov/combine/files_combiner.rb:17
407
378
  def combine(coverage_a, coverage_b); end
408
379
  end
409
380
  end
@@ -412,45 +383,47 @@ end
412
383
  #
413
384
  # Should be called through `SimpleCov.combine`.
414
385
  #
415
- # source://simplecov-0.21.2/lib/simplecov/combine/lines_combiner.rb:9
386
+ # pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:9
416
387
  module SimpleCov::Combine::LinesCombiner
417
388
  private
418
389
 
419
- # source://simplecov-0.21.2/lib/simplecov/combine/lines_combiner.rb:12
390
+ # pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:12
420
391
  def combine(coverage_a, coverage_b); end
421
392
 
422
393
  # Return depends on coverage in a specific line
423
394
  #
395
+ # @param [Integer || nil] first_val
396
+ # @param [Integer || nil] second_val
397
+ #
424
398
  # Logic:
425
399
  #
426
400
  # => nil + 0 = nil
427
401
  # => nil + nil = nil
428
402
  # => int + int = int
429
403
  #
430
- # @param first_val [Integer || nil]
431
- # @param second_val [Integer || nil]
432
404
  # @return [Integer || nil]
433
405
  #
434
- # source://simplecov-0.21.2/lib/simplecov/combine/lines_combiner.rb:32
406
+ # pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:32
435
407
  def merge_line_coverage(first_val, second_val); end
436
408
 
437
409
  class << self
438
- # source://simplecov-0.21.2/lib/simplecov/combine/lines_combiner.rb:12
410
+ # pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:12
439
411
  def combine(coverage_a, coverage_b); end
440
412
 
441
413
  # Return depends on coverage in a specific line
442
414
  #
415
+ # @param [Integer || nil] first_val
416
+ # @param [Integer || nil] second_val
417
+ #
443
418
  # Logic:
444
419
  #
445
420
  # => nil + 0 = nil
446
421
  # => nil + nil = nil
447
422
  # => int + int = int
448
423
  #
449
- # @param first_val [Integer || nil]
450
- # @param second_val [Integer || nil]
451
424
  # @return [Integer || nil]
452
425
  #
453
- # source://simplecov-0.21.2/lib/simplecov/combine/lines_combiner.rb:32
426
+ # pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:32
454
427
  def merge_line_coverage(first_val, second_val); end
455
428
  end
456
429
  end
@@ -461,7 +434,7 @@ end
461
434
  # To unite the results on file basis, it leverages
462
435
  # the combine of lines and branches inside each file within given results.
463
436
  #
464
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:10
437
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:10
465
438
  module SimpleCov::Combine::ResultsCombiner
466
439
  private
467
440
 
@@ -473,25 +446,27 @@ module SimpleCov::Combine::ResultsCombiner
473
446
  #
474
447
  # @return [Hash]
475
448
  #
476
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:22
449
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:22
477
450
  def combine(*results); end
478
451
 
479
452
  # Combine two files coverage results
480
453
  #
481
- # @param coverage_a [Hash]
482
- # @param coverage_b [Hash]
454
+ # @param [Hash] coverage_a
455
+ # @param [Hash] coverage_b
456
+ #
483
457
  # @return [Hash]
484
458
  #
485
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:55
459
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:55
486
460
  def combine_file_coverage(coverage_a, coverage_b); end
487
461
 
488
462
  # Manage combining results on files level
489
463
  #
490
- # @param combined_results [Hash]
491
- # @param result [Hash]
464
+ # @param [Hash] combined_results
465
+ # @param [Hash] result
466
+ #
492
467
  # @return [Hash]
493
468
  #
494
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:36
469
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:36
495
470
  def combine_result_sets(combined_results, result); end
496
471
 
497
472
  class << self
@@ -503,35 +478,37 @@ module SimpleCov::Combine::ResultsCombiner
503
478
  #
504
479
  # @return [Hash]
505
480
  #
506
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:22
481
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:22
507
482
  def combine(*results); end
508
483
 
509
484
  # Combine two files coverage results
510
485
  #
511
- # @param coverage_a [Hash]
512
- # @param coverage_b [Hash]
486
+ # @param [Hash] coverage_a
487
+ # @param [Hash] coverage_b
488
+ #
513
489
  # @return [Hash]
514
490
  #
515
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:55
491
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:55
516
492
  def combine_file_coverage(coverage_a, coverage_b); end
517
493
 
518
494
  # Manage combining results on files level
519
495
  #
520
- # @param combined_results [Hash]
521
- # @param result [Hash]
496
+ # @param [Hash] combined_results
497
+ # @param [Hash] result
498
+ #
522
499
  # @return [Hash]
523
500
  #
524
- # source://simplecov-0.21.2/lib/simplecov/combine/results_combiner.rb:36
501
+ # pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:36
525
502
  def combine_result_sets(combined_results, result); end
526
503
  end
527
504
  end
528
505
 
529
506
  # Helper that tries to find out what test suite is running (for SimpleCov.command_name)
530
507
  #
531
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:7
508
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:7
532
509
  module SimpleCov::CommandGuesser
533
510
  class << self
534
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:16
511
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:16
535
512
  def guess; end
536
513
 
537
514
  # Storage for the original command line call that invoked the test suite.
@@ -540,7 +517,7 @@ module SimpleCov::CommandGuesser
540
517
  # between rails unit/functional/integration tests impossible without this cached
541
518
  # item.
542
519
  #
543
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:14
520
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:14
544
521
  def original_run_command; end
545
522
 
546
523
  # Storage for the original command line call that invoked the test suite.
@@ -549,18 +526,18 @@ module SimpleCov::CommandGuesser
549
526
  # between rails unit/functional/integration tests impossible without this cached
550
527
  # item.
551
528
  #
552
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:14
529
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:14
553
530
  def original_run_command=(_arg0); end
554
531
 
555
532
  private
556
533
 
557
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:31
534
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:31
558
535
  def from_command_line_options; end
559
536
 
560
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:46
537
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:46
561
538
  def from_defined_constants; end
562
539
 
563
- # source://simplecov-0.21.2/lib/simplecov/command_guesser.rb:22
540
+ # pkg:gem/simplecov#lib/simplecov/command_guesser.rb:22
564
541
  def from_env; end
565
542
  end
566
543
  end
@@ -569,9 +546,9 @@ end
569
546
  # defined here are usable from SimpleCov directly. Please check out
570
547
  # SimpleCov documentation for further info.
571
548
  #
572
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:13
549
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:13
573
550
  module SimpleCov::Configuration
574
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:161
551
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:161
575
552
  def adapters; end
576
553
 
577
554
  # Add a filter to the processing chain.
@@ -590,14 +567,14 @@ module SimpleCov::Configuration
590
567
  # * as an instance of a subclass of SimpleCov::Filter. See the documentation there
591
568
  # on how to define your own filter classes
592
569
  #
593
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:367
570
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:367
594
571
  def add_filter(filter_argument = T.unsafe(nil), &filter_proc); end
595
572
 
596
573
  # Define a group for files. Works similar to add_filter, only that the first
597
574
  # argument is the desired group name and files PASSING the filter end up in the group
598
575
  # (while filters exclude when the filter is applicable).
599
576
  #
600
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:376
577
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:376
601
578
  def add_group(group_name, filter_argument = T.unsafe(nil), &filter_proc); end
602
579
 
603
580
  # Gets or sets the behavior to process coverage results.
@@ -611,7 +588,7 @@ module SimpleCov::Configuration
611
588
  # SimpleCov.result.format!
612
589
  # end
613
590
  #
614
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:193
591
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:193
615
592
  def at_exit(&block); end
616
593
 
617
594
  # Gets or sets the behavior to start a new forked Process.
@@ -633,20 +610,16 @@ module SimpleCov::Configuration
633
610
  # end
634
611
  # end
635
612
  #
636
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:233
613
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:233
637
614
  def at_fork(&block); end
638
615
 
639
- # @return [Boolean]
640
- #
641
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:428
616
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:428
642
617
  def branch_coverage?; end
643
618
 
644
- # @return [Boolean]
645
- #
646
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:432
619
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:443
647
620
  def branch_coverage_supported?; end
648
621
 
649
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:424
622
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:424
650
623
  def clear_coverage_criteria; end
651
624
 
652
625
  # The name of the command (a.k.a. Test Suite) currently running. Used for result
@@ -659,7 +632,7 @@ module SimpleCov::Configuration
659
632
  # You can specify it manually with SimpleCov.command_name("test:units") - please
660
633
  # also check out the corresponding section in README.rdoc
661
634
  #
662
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:87
635
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:87
663
636
  def command_name(name = T.unsafe(nil)); end
664
637
 
665
638
  # Allows you to configure simplecov in a block instead of prepending SimpleCov to all config methods
@@ -672,10 +645,10 @@ module SimpleCov::Configuration
672
645
  # This is equivalent to SimpleCov.add_filter 'foobar' and thus makes it easier to set a bunch of configure
673
646
  # options at once.
674
647
  #
675
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:177
648
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:177
676
649
  def configure(&block); end
677
650
 
678
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:416
651
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:416
679
652
  def coverage_criteria; end
680
653
 
681
654
  # Define which coverage criterion should be evaluated.
@@ -686,97 +659,96 @@ module SimpleCov::Configuration
686
659
  #
687
660
  # If not set the default is `:line`
688
661
  #
689
- # @param criterion [Symbol]
662
+ # @param [Symbol] criterion
690
663
  #
691
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:393
664
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:393
692
665
  def coverage_criterion(criterion = T.unsafe(nil)); end
693
666
 
694
- # @return [Boolean]
695
- #
696
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:420
667
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:420
697
668
  def coverage_criterion_enabled?(criterion); end
698
669
 
699
670
  # The name of the output and cache directory. Defaults to 'coverage'
700
671
  #
701
672
  # Configure with SimpleCov.coverage_dir('cov')
702
673
  #
703
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:34
674
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:34
704
675
  def coverage_dir(dir = T.unsafe(nil)); end
705
676
 
677
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:452
678
+ def coverage_for_eval_enabled?; end
679
+
680
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:447
681
+ def coverage_for_eval_supported?; end
682
+
706
683
  # Returns the full path to the output directory using SimpleCov.root
707
684
  # and SimpleCov.coverage_dir, so you can adjust this by configuring those
708
685
  # values. Will create the directory if it's missing
709
686
  #
710
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:46
687
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:46
711
688
  def coverage_path; end
712
689
 
713
- # @return [Boolean]
714
- #
715
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:432
690
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:432
716
691
  def coverage_start_arguments_supported?; end
717
692
 
718
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:401
693
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:401
719
694
  def enable_coverage(criterion); end
720
695
 
696
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:456
697
+ def enable_coverage_for_eval; end
698
+
721
699
  # gets or sets the enabled_for_subprocess configuration
722
700
  # when true, this will inject SimpleCov code into Process.fork
723
701
  #
724
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:202
702
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:202
725
703
  def enable_for_subprocesses(value = T.unsafe(nil)); end
726
704
 
727
705
  # gets the enabled_for_subprocess configuration
728
706
  #
729
- # @return [Boolean]
730
- #
731
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:209
707
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:209
732
708
  def enabled_for_subprocesses?; end
733
709
 
734
710
  # Returns the list of configured filters. Add filters using SimpleCov.add_filter.
735
711
  #
736
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:74
712
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:74
737
713
  def filters; end
738
714
 
739
- # Sets the attribute filters
740
- #
741
- # @param value the value to set the attribute filters to.
715
+ # Returns the list of configured filters. Add filters using SimpleCov.add_filter.
742
716
  #
743
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:14
717
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:14
744
718
  def filters=(_arg0); end
745
719
 
746
720
  # Gets or sets the configured formatter.
747
721
  #
748
722
  # Configure with: SimpleCov.formatter(SimpleCov::Formatter::SimpleFormatter)
749
723
  #
750
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:98
724
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:98
751
725
  def formatter(formatter = T.unsafe(nil)); end
752
726
 
753
- # Sets the attribute formatter
727
+ # Gets or sets the configured formatter.
754
728
  #
755
- # @param value the value to set the attribute formatter to.
729
+ # Configure with: SimpleCov.formatter(SimpleCov::Formatter::SimpleFormatter)
756
730
  #
757
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:14
731
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:14
758
732
  def formatter=(_arg0); end
759
733
 
760
734
  # Gets the configured formatters.
761
735
  #
762
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:117
736
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:117
763
737
  def formatters; end
764
738
 
765
739
  # Sets the configured formatters.
766
740
  #
767
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:110
741
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:110
768
742
  def formatters=(formatters); end
769
743
 
770
744
  # Returns the configured groups. Add groups using SimpleCov.add_group
771
745
  #
772
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:150
746
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:150
773
747
  def groups; end
774
748
 
775
- # Sets the attribute groups
776
- #
777
- # @param value the value to set the attribute groups to.
749
+ # Returns the configured groups. Add groups using SimpleCov.add_group
778
750
  #
779
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:14
751
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:14
780
752
  def groups=(_arg0); end
781
753
 
782
754
  # Defines the maximum coverage drop at once allowed for the testsuite to pass.
@@ -784,7 +756,7 @@ module SimpleCov::Configuration
784
756
  #
785
757
  # Default is 100% (disabled)
786
758
  #
787
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:313
759
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:313
788
760
  def maximum_coverage_drop(coverage_drop = T.unsafe(nil)); end
789
761
 
790
762
  # Defines the maximum age (in seconds) of a resultset to still be included in merged results.
@@ -798,7 +770,7 @@ module SimpleCov::Configuration
798
770
  #
799
771
  # Configure with SimpleCov.merge_timeout(3600) # 1hr
800
772
  #
801
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:279
773
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:279
802
774
  def merge_timeout(seconds = T.unsafe(nil)); end
803
775
 
804
776
  # Defines the minimum overall coverage required for the testsuite to pass.
@@ -806,7 +778,7 @@ module SimpleCov::Configuration
806
778
  #
807
779
  # Default is 0% (disabled)
808
780
  #
809
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:290
781
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:290
810
782
  def minimum_coverage(coverage = T.unsafe(nil)); end
811
783
 
812
784
  # Defines the minimum coverage per file required for the testsuite to pass.
@@ -815,7 +787,7 @@ module SimpleCov::Configuration
815
787
  #
816
788
  # Default is 0% (disabled)
817
789
  #
818
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:330
790
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:330
819
791
  def minimum_coverage_by_file(coverage = T.unsafe(nil)); end
820
792
 
821
793
  # Certain code blocks (i.e. Ruby-implementation specific code) can be excluded from
@@ -824,43 +796,42 @@ module SimpleCov::Configuration
824
796
  #
825
797
  # Configure with SimpleCov.nocov_token('skip') or it's alias SimpleCov.skip_token('skip')
826
798
  #
827
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:140
799
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:140
828
800
  def nocov_token(nocov_token = T.unsafe(nil)); end
829
801
 
830
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:407
802
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:407
831
803
  def primary_coverage(criterion = T.unsafe(nil)); end
832
804
 
833
805
  # Whether we should print non-success status codes. This can be
834
806
  # configured with the #print_error_status= method.
835
807
  #
836
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:129
808
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:129
837
809
  def print_error_status; end
838
810
 
839
- # Sets the attribute print_error_status
840
- #
841
- # @param value the value to set the attribute print_error_status to.
811
+ # Whether we should print non-success status codes. This can be
812
+ # configured with the #print_error_status= method.
842
813
  #
843
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:14
814
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:14
844
815
  def print_error_status=(_arg0); end
845
816
 
846
817
  # Returns the hash of available profiles
847
818
  #
848
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:157
819
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:157
849
820
  def profiles; end
850
821
 
851
822
  # Returns the project name - currently assuming the last dirname in
852
823
  # the SimpleCov.root is this.
853
824
  #
854
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:251
825
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:251
855
826
  def project_name(new_name = T.unsafe(nil)); end
856
827
 
857
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:300
828
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:300
858
829
  def raise_on_invalid_coverage(coverage, coverage_setting); end
859
830
 
860
831
  # Refuses any coverage drop. That is, coverage is only allowed to increase.
861
832
  # SimpleCov will return non-zero if the coverage decreases.
862
833
  #
863
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:344
834
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:344
864
835
  def refuse_coverage_drop(*criteria); end
865
836
 
866
837
  # The root for the project. This defaults to the
@@ -868,58 +839,52 @@ module SimpleCov::Configuration
868
839
  #
869
840
  # Configure with SimpleCov.root('/my/project/path')
870
841
  #
871
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:22
842
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:22
872
843
  def root(root = T.unsafe(nil)); end
873
844
 
874
- # Certain code blocks (i.e. Ruby-implementation specific code) can be excluded from
875
- # the coverage metrics by wrapping it inside # :nocov: comment blocks. The nocov token
876
- # can be configured to be any other string using this.
877
- #
878
- # Configure with SimpleCov.nocov_token('skip') or it's alias SimpleCov.skip_token('skip')
879
- #
880
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:140
845
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:145
881
846
  def skip_token(nocov_token = T.unsafe(nil)); end
882
847
 
883
848
  # Coverage results will always include files matched by this glob, whether
884
849
  # or not they were explicitly required. Without this, un-required files
885
850
  # will not be present in the final report.
886
851
  #
887
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:59
852
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:59
888
853
  def track_files(glob); end
889
854
 
890
855
  # Returns the glob that will be used to include files that were not
891
856
  # explicitly required.
892
857
  #
893
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:67
858
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:67
894
859
  def tracked_files; end
895
860
 
896
861
  # Defines whether to use result merging so all your test suites (test:units, test:functionals, cucumber, ...)
897
862
  # are joined and combined into a single coverage report
898
863
  #
899
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:262
864
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:262
900
865
  def use_merging(use = T.unsafe(nil)); end
901
866
 
902
867
  private
903
868
 
904
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:464
869
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:483
905
870
  def minimum_possible_coverage_exceeded(coverage_option); end
906
871
 
907
872
  # The actual filter processor. Not meant for direct use
908
873
  #
909
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:471
874
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:490
910
875
  def parse_filter(filter_argument = T.unsafe(nil), &filter_proc); end
911
876
 
912
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:447
877
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:466
913
878
  def raise_if_criterion_disabled(criterion); end
914
879
 
915
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:456
880
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:475
916
881
  def raise_if_criterion_unsupported(criterion); end
917
882
  end
918
883
 
919
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:381
884
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:381
920
885
  SimpleCov::Configuration::DEFAULT_COVERAGE_CRITERION = T.let(T.unsafe(nil), Symbol)
921
886
 
922
- # source://simplecov-0.21.2/lib/simplecov/configuration.rb:380
887
+ # pkg:gem/simplecov#lib/simplecov/configuration.rb:380
923
888
  SimpleCov::Configuration::SUPPORTED_COVERAGE_CRITERIA = T.let(T.unsafe(nil), Array)
924
889
 
925
890
  # Holds the individual data of a coverage result.
@@ -932,332 +897,292 @@ SimpleCov::Configuration::SUPPORTED_COVERAGE_CRITERIA = T.let(T.unsafe(nil), Arr
932
897
  # * percent - percentage as covered/missed
933
898
  # * strength - average hits per/coverable (will not exist for one shot lines format)
934
899
  #
935
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:13
900
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:13
936
901
  class SimpleCov::CoverageStatistics
937
902
  # Requires only covered, missed and strength to be initialized.
938
903
  #
939
904
  # Other values are computed by this class.
940
905
  #
941
- # @return [CoverageStatistics] a new instance of CoverageStatistics
942
- #
943
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:34
906
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:34
944
907
  def initialize(covered:, missed:, total_strength: T.unsafe(nil)); end
945
908
 
946
- # Returns the value of attribute covered.
947
- #
948
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:14
909
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
949
910
  def covered; end
950
911
 
951
- # Returns the value of attribute missed.
952
- #
953
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:14
912
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
954
913
  def missed; end
955
914
 
956
- # Returns the value of attribute percent.
957
- #
958
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:14
915
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
959
916
  def percent; end
960
917
 
961
- # Returns the value of attribute strength.
962
- #
963
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:14
918
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
964
919
  def strength; end
965
920
 
966
- # Returns the value of attribute total.
967
- #
968
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:14
921
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
969
922
  def total; end
970
923
 
971
924
  private
972
925
 
973
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:44
926
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:44
974
927
  def compute_percent(covered, missed, total); end
975
928
 
976
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:50
929
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:50
977
930
  def compute_strength(total_strength, total); end
978
931
 
979
932
  class << self
980
- # source://simplecov-0.21.2/lib/simplecov/coverage_statistics.rb:16
933
+ # pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:16
981
934
  def from(coverage_statistics); end
982
935
  end
983
936
  end
984
937
 
985
- # source://simplecov-0.21.2/lib/simplecov/exit_codes.rb:4
938
+ # pkg:gem/simplecov#lib/simplecov/exit_codes.rb:4
986
939
  module SimpleCov::ExitCodes; end
987
940
 
988
- # source://simplecov-0.21.2/lib/simplecov/exit_codes.rb:6
941
+ # pkg:gem/simplecov#lib/simplecov/exit_codes.rb:6
989
942
  SimpleCov::ExitCodes::EXCEPTION = T.let(T.unsafe(nil), Integer)
990
943
 
991
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/exit_code_handling.rb:5
944
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:5
992
945
  module SimpleCov::ExitCodes::ExitCodeHandling
993
946
  private
994
947
 
995
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/exit_code_handling.rb:8
948
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:8
996
949
  def call(result, coverage_limits:); end
997
950
 
998
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/exit_code_handling.rb:20
951
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:20
999
952
  def coverage_checks(result, coverage_limits); end
1000
953
 
1001
954
  class << self
1002
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/exit_code_handling.rb:8
955
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:8
1003
956
  def call(result, coverage_limits:); end
1004
957
 
1005
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/exit_code_handling.rb:20
958
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:20
1006
959
  def coverage_checks(result, coverage_limits); end
1007
960
  end
1008
961
  end
1009
962
 
1010
- # source://simplecov-0.21.2/lib/simplecov/exit_codes.rb:8
963
+ # pkg:gem/simplecov#lib/simplecov/exit_codes.rb:8
1011
964
  SimpleCov::ExitCodes::MAXIMUM_COVERAGE_DROP = T.let(T.unsafe(nil), Integer)
1012
965
 
1013
- # source://simplecov-0.21.2/lib/simplecov/exit_codes.rb:7
966
+ # pkg:gem/simplecov#lib/simplecov/exit_codes.rb:7
1014
967
  SimpleCov::ExitCodes::MINIMUM_COVERAGE = T.let(T.unsafe(nil), Integer)
1015
968
 
1016
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:5
969
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:5
1017
970
  class SimpleCov::ExitCodes::MaximumCoverageDropCheck
1018
- # @return [MaximumCoverageDropCheck] a new instance of MaximumCoverageDropCheck
1019
- #
1020
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:6
971
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:6
1021
972
  def initialize(result, maximum_coverage_drop); end
1022
973
 
1023
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:28
974
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:28
1024
975
  def exit_code; end
1025
976
 
1026
- # @return [Boolean]
1027
- #
1028
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:11
977
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:11
1029
978
  def failing?; end
1030
979
 
1031
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:17
980
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:17
1032
981
  def report; end
1033
982
 
1034
983
  private
1035
984
 
1036
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:49
985
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:49
1037
986
  def compute_coverage_drop_data; end
1038
987
 
1039
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:42
988
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:42
1040
989
  def coverage_drop_violations; end
1041
990
 
1042
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:61
991
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:61
1043
992
  def drop_percent(criterion); end
1044
993
 
1045
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:73
994
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:73
1046
995
  def last_coverage(criterion); end
1047
996
 
1048
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:36
997
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:36
1049
998
  def last_run; end
1050
999
 
1051
- # Returns the value of attribute maximum_coverage_drop.
1052
- #
1053
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:34
1000
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:34
1054
1001
  def maximum_coverage_drop; end
1055
1002
 
1056
- # Returns the value of attribute result.
1057
- #
1058
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:34
1003
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:34
1059
1004
  def result; end
1060
1005
  end
1061
1006
 
1062
1007
  # if anyone says "max_coverage_drop 0.000000000000000001" I appologize. Please don't.
1063
1008
  #
1064
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:60
1009
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:60
1065
1010
  SimpleCov::ExitCodes::MaximumCoverageDropCheck::MAX_DROP_ACCURACY = T.let(T.unsafe(nil), Integer)
1066
1011
 
1067
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:5
1012
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:5
1068
1013
  class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
1069
- # @return [MinimumCoverageByFileCheck] a new instance of MinimumCoverageByFileCheck
1070
- #
1071
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:6
1014
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:6
1072
1015
  def initialize(result, minimum_coverage_by_file); end
1073
1016
 
1074
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:26
1017
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:26
1075
1018
  def exit_code; end
1076
1019
 
1077
- # @return [Boolean]
1078
- #
1079
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:11
1020
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:11
1080
1021
  def failing?; end
1081
1022
 
1082
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:15
1023
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:15
1083
1024
  def report; end
1084
1025
 
1085
1026
  private
1086
1027
 
1087
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:41
1028
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:41
1088
1029
  def compute_minimum_coverage_data; end
1089
1030
 
1090
- # Returns the value of attribute minimum_coverage_by_file.
1091
- #
1092
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:32
1031
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:32
1093
1032
  def minimum_coverage_by_file; end
1094
1033
 
1095
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:34
1034
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:34
1096
1035
  def minimum_violations; end
1097
1036
 
1098
- # Returns the value of attribute result.
1099
- #
1100
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:32
1037
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:32
1101
1038
  def result; end
1102
1039
  end
1103
1040
 
1104
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:5
1041
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:5
1105
1042
  class SimpleCov::ExitCodes::MinimumOverallCoverageCheck
1106
- # @return [MinimumOverallCoverageCheck] a new instance of MinimumOverallCoverageCheck
1107
- #
1108
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:6
1043
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:6
1109
1044
  def initialize(result, minimum_coverage); end
1110
1045
 
1111
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:26
1046
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:26
1112
1047
  def exit_code; end
1113
1048
 
1114
- # @return [Boolean]
1115
- #
1116
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:11
1049
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:11
1117
1050
  def failing?; end
1118
1051
 
1119
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:15
1052
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:15
1120
1053
  def report; end
1121
1054
 
1122
1055
  private
1123
1056
 
1124
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:38
1057
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:38
1125
1058
  def calculate_minimum_violations; end
1126
1059
 
1127
- # Returns the value of attribute minimum_coverage.
1128
- #
1129
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:32
1060
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:32
1130
1061
  def minimum_coverage; end
1131
1062
 
1132
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:34
1063
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:34
1133
1064
  def minimum_violations; end
1134
1065
 
1135
- # Returns the value of attribute result.
1136
- #
1137
- # source://simplecov-0.21.2/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:32
1066
+ # pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:32
1138
1067
  def result; end
1139
1068
  end
1140
1069
 
1141
- # source://simplecov-0.21.2/lib/simplecov/exit_codes.rb:5
1070
+ # pkg:gem/simplecov#lib/simplecov/exit_codes.rb:5
1142
1071
  SimpleCov::ExitCodes::SUCCESS = T.let(T.unsafe(nil), Integer)
1143
1072
 
1144
1073
  # An array of SimpleCov SourceFile instances with additional collection helper
1145
1074
  # methods for calculating coverage across them etc.
1146
1075
  #
1147
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:6
1076
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:6
1148
1077
  class SimpleCov::FileList
1149
1078
  include ::Enumerable
1150
1079
  extend ::Forwardable
1151
1080
 
1152
- # @return [FileList] a new instance of FileList
1153
- #
1154
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:22
1081
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:22
1155
1082
  def initialize(files); end
1156
1083
 
1157
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:101
1084
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:101
1158
1085
  def branch_covered_percent; end
1159
1086
 
1160
- # source://RUBY_ROOT/forwardable.rb:229
1087
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1161
1088
  def count(*args, **_arg1, &block); end
1162
1089
 
1163
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:26
1090
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:26
1164
1091
  def coverage_statistics; end
1165
1092
 
1166
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:30
1093
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:30
1167
1094
  def coverage_statistics_by_file; end
1168
1095
 
1169
1096
  # Return total count of covered branches
1170
1097
  #
1171
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:92
1098
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:92
1172
1099
  def covered_branches; end
1173
1100
 
1174
1101
  # Returns the count of lines that have coverage
1175
1102
  #
1176
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:35
1103
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:35
1177
1104
  def covered_lines; end
1178
1105
 
1179
1106
  # Computes the coverage based upon lines covered and lines missed
1180
- #
1181
1107
  # @return [Float]
1182
1108
  #
1183
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:76
1109
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:76
1184
1110
  def covered_percent; end
1185
1111
 
1186
1112
  # Computes the coverage based upon lines covered and lines missed for each file
1187
1113
  # Returns an array with all coverage percentages
1188
1114
  #
1189
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:60
1115
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:60
1190
1116
  def covered_percentages; end
1191
1117
 
1192
1118
  # Computes the strength (hits / line) based upon lines covered and lines missed
1193
- #
1194
1119
  # @return [Float]
1195
1120
  #
1196
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:82
1121
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:82
1197
1122
  def covered_strength; end
1198
1123
 
1199
- # source://RUBY_ROOT/forwardable.rb:229
1124
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1200
1125
  def each(*args, **_arg1, &block); end
1201
1126
 
1202
- # source://RUBY_ROOT/forwardable.rb:229
1127
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1203
1128
  def empty?(*args, **_arg1, &block); end
1204
1129
 
1205
1130
  # Finds the least covered file and returns that file's name
1206
1131
  #
1207
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:65
1132
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:65
1208
1133
  def least_covered_file; end
1209
1134
 
1210
- # source://RUBY_ROOT/forwardable.rb:229
1135
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1211
1136
  def length(*args, **_arg1, &block); end
1212
1137
 
1213
1138
  # Returns the overall amount of relevant lines of code across all files in this list
1214
1139
  #
1215
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:70
1140
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:70
1216
1141
  def lines_of_code; end
1217
1142
 
1218
- # source://RUBY_ROOT/forwardable.rb:229
1143
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1219
1144
  def map(*args, **_arg1, &block); end
1220
1145
 
1221
1146
  # Return total count of covered branches
1222
1147
  #
1223
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:97
1148
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:97
1224
1149
  def missed_branches; end
1225
1150
 
1226
1151
  # Returns the count of lines that have been missed
1227
1152
  #
1228
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:40
1153
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:40
1229
1154
  def missed_lines; end
1230
1155
 
1231
1156
  # Returns the count of lines that are not relevant for coverage
1232
1157
  #
1233
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:45
1158
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:45
1234
1159
  def never_lines; end
1235
1160
 
1236
- # source://RUBY_ROOT/forwardable.rb:229
1161
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1237
1162
  def size(*args, **_arg1, &block); end
1238
1163
 
1239
1164
  # Returns the count of skipped lines
1240
1165
  #
1241
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:52
1166
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:52
1242
1167
  def skipped_lines; end
1243
1168
 
1244
- # source://RUBY_ROOT/forwardable.rb:229
1169
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1245
1170
  def to_a(*args, **_arg1, &block); end
1246
1171
 
1247
- # source://RUBY_ROOT/forwardable.rb:229
1172
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:10
1248
1173
  def to_ary(*args, **_arg1, &block); end
1249
1174
 
1250
1175
  # Return total count of branches in all files
1251
1176
  #
1252
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:87
1177
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:87
1253
1178
  def total_branches; end
1254
1179
 
1255
1180
  private
1256
1181
 
1257
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:114
1182
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:114
1258
1183
  def compute_coverage_statistics; end
1259
1184
 
1260
- # source://simplecov-0.21.2/lib/simplecov/file_list.rb:107
1185
+ # pkg:gem/simplecov#lib/simplecov/file_list.rb:107
1261
1186
  def compute_coverage_statistics_by_file; end
1262
1187
  end
1263
1188
 
@@ -1271,84 +1196,76 @@ end
1271
1196
  # end
1272
1197
  # end
1273
1198
  #
1274
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:15
1199
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:15
1275
1200
  class SimpleCov::Filter
1276
- # @return [Filter] a new instance of Filter
1277
- #
1278
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:18
1201
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:18
1279
1202
  def initialize(filter_argument); end
1280
1203
 
1281
- # Returns the value of attribute filter_argument.
1282
- #
1283
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:16
1204
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:16
1284
1205
  def filter_argument; end
1285
1206
 
1286
- # @return [Boolean]
1287
- #
1288
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:22
1207
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:22
1289
1208
  def matches?(_source_file); end
1290
1209
 
1291
- # @return [Boolean]
1292
- #
1293
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:26
1210
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:26
1294
1211
  def passes?(source_file); end
1295
1212
 
1296
1213
  class << self
1297
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:31
1214
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:31
1298
1215
  def build_filter(filter_argument); end
1299
1216
 
1300
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:37
1217
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:37
1301
1218
  def class_for_argument(filter_argument); end
1302
1219
  end
1303
1220
  end
1304
1221
 
1305
1222
  # TODO: Documentation on how to build your own formatters
1306
1223
  #
1307
- # source://simplecov-0.21.2/lib/simplecov/formatter/multi_formatter.rb:4
1224
+ # pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:4
1308
1225
  module SimpleCov::Formatter
1309
1226
  class << self
1310
- # source://simplecov-0.21.2/lib/simplecov/default_formatter.rb:7
1227
+ # pkg:gem/simplecov#lib/simplecov/default_formatter.rb:7
1311
1228
  def from_env(env); end
1312
1229
  end
1313
1230
  end
1314
1231
 
1315
- # source://simplecov-0.21.2/lib/simplecov/formatter/multi_formatter.rb:5
1232
+ # pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:5
1316
1233
  class SimpleCov::Formatter::MultiFormatter
1317
1234
  class << self
1318
- # source://simplecov-0.21.2/lib/simplecov/formatter/multi_formatter.rb:26
1235
+ # pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:26
1319
1236
  def [](*args); end
1320
1237
 
1321
- # source://simplecov-0.21.2/lib/simplecov/formatter/multi_formatter.rb:17
1238
+ # pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:17
1322
1239
  def new(formatters = T.unsafe(nil)); end
1323
1240
  end
1324
1241
  end
1325
1242
 
1326
- # source://simplecov-0.21.2/lib/simplecov/formatter/multi_formatter.rb:6
1243
+ # pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:6
1327
1244
  module SimpleCov::Formatter::MultiFormatter::InstanceMethods
1328
- # source://simplecov-0.21.2/lib/simplecov/formatter/multi_formatter.rb:7
1245
+ # pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:7
1329
1246
  def format(result); end
1330
1247
  end
1331
1248
 
1332
1249
  # A ridiculously simple formatter for SimpleCov results.
1333
1250
  #
1334
- # source://simplecov-0.21.2/lib/simplecov/formatter/simple_formatter.rb:8
1251
+ # pkg:gem/simplecov#lib/simplecov/formatter/simple_formatter.rb:8
1335
1252
  class SimpleCov::Formatter::SimpleFormatter
1336
1253
  # Takes a SimpleCov::Result and generates a string out of it
1337
1254
  #
1338
- # source://simplecov-0.21.2/lib/simplecov/formatter/simple_formatter.rb:10
1255
+ # pkg:gem/simplecov#lib/simplecov/formatter/simple_formatter.rb:10
1339
1256
  def format(result); end
1340
1257
  end
1341
1258
 
1342
- # source://simplecov-0.21.2/lib/simplecov/last_run.rb:6
1259
+ # pkg:gem/simplecov#lib/simplecov/last_run.rb:6
1343
1260
  module SimpleCov::LastRun
1344
1261
  class << self
1345
- # source://simplecov-0.21.2/lib/simplecov/last_run.rb:8
1262
+ # pkg:gem/simplecov#lib/simplecov/last_run.rb:8
1346
1263
  def last_run_path; end
1347
1264
 
1348
- # source://simplecov-0.21.2/lib/simplecov/last_run.rb:12
1265
+ # pkg:gem/simplecov#lib/simplecov/last_run.rb:12
1349
1266
  def read; end
1350
1267
 
1351
- # source://simplecov-0.21.2/lib/simplecov/last_run.rb:21
1268
+ # pkg:gem/simplecov#lib/simplecov/last_run.rb:21
1352
1269
  def write(json); end
1353
1270
  end
1354
1271
  end
@@ -1356,37 +1273,36 @@ end
1356
1273
  # Classifies whether lines are relevant for code coverage analysis.
1357
1274
  # Comments & whitespace lines, and :nocov: token blocks, are considered not relevant.
1358
1275
  #
1359
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:7
1276
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:7
1360
1277
  class SimpleCov::LinesClassifier
1361
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:33
1278
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:33
1362
1279
  def classify(lines); end
1363
1280
 
1364
1281
  class << self
1365
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:15
1282
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:15
1366
1283
  def no_cov_line; end
1367
1284
 
1368
- # @return [Boolean]
1369
- #
1370
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:19
1285
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:19
1371
1286
  def no_cov_line?(line); end
1372
1287
 
1373
- # @return [Boolean]
1374
- #
1375
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:26
1288
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:26
1376
1289
  def whitespace_line?(line); end
1377
1290
  end
1378
1291
  end
1379
1292
 
1380
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:12
1293
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:12
1381
1294
  SimpleCov::LinesClassifier::COMMENT_LINE = T.let(T.unsafe(nil), Regexp)
1382
1295
 
1383
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:8
1296
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:9
1297
+ SimpleCov::LinesClassifier::NOT_RELEVANT = T.let(T.unsafe(nil), T.untyped)
1298
+
1299
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:8
1384
1300
  SimpleCov::LinesClassifier::RELEVANT = T.let(T.unsafe(nil), Integer)
1385
1301
 
1386
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:11
1302
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:11
1387
1303
  SimpleCov::LinesClassifier::WHITESPACE_LINE = T.let(T.unsafe(nil), Regexp)
1388
1304
 
1389
- # source://simplecov-0.21.2/lib/simplecov/lines_classifier.rb:13
1305
+ # pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:13
1390
1306
  SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Regexp)
1391
1307
 
1392
1308
  # Profiles are SimpleCov configuration procs that can be easily
@@ -1395,177 +1311,172 @@ SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Re
1395
1311
  # # SimpleCov configuration here, same as in SimpleCov.configure
1396
1312
  # end
1397
1313
  #
1398
- # source://simplecov-0.21.2/lib/simplecov/profiles.rb:17
1314
+ # pkg:gem/simplecov#lib/simplecov/profiles.rb:11
1399
1315
  class SimpleCov::Profiles < ::Hash
1400
1316
  # Define a SimpleCov profile:
1401
1317
  # SimpleCov.profiles.define 'rails' do
1402
1318
  # # Same as SimpleCov.configure do .. here
1403
1319
  # end
1404
1320
  #
1405
- # source://simplecov-0.21.2/lib/simplecov/profiles.rb:18
1321
+ # pkg:gem/simplecov#lib/simplecov/profiles.rb:18
1406
1322
  def define(name, &blk); end
1407
1323
 
1408
1324
  # Applies the profile of given name on SimpleCov.configure
1409
1325
  #
1410
- # source://simplecov-0.21.2/lib/simplecov/profiles.rb:28
1326
+ # pkg:gem/simplecov#lib/simplecov/profiles.rb:28
1411
1327
  def load(name); end
1412
1328
  end
1413
1329
 
1414
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:63
1330
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:61
1415
1331
  class SimpleCov::RegexFilter < ::SimpleCov::Filter
1416
1332
  # Returns true when the given source file's filename matches the
1417
1333
  # regex configured when initializing this Filter with RegexFilter.new(/someregex/)
1418
1334
  #
1419
- # @return [Boolean]
1420
- #
1421
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:64
1335
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:64
1422
1336
  def matches?(source_file); end
1423
1337
  end
1424
1338
 
1425
1339
  # A simplecov code coverage result, initialized from the Hash Ruby's built-in coverage
1426
1340
  # library generates (Coverage.result).
1427
1341
  #
1428
- # source://simplecov-0.21.2/lib/simplecov/result.rb:11
1342
+ # pkg:gem/simplecov#lib/simplecov/result.rb:11
1429
1343
  class SimpleCov::Result
1430
1344
  extend ::Forwardable
1431
1345
 
1432
1346
  # Initialize a new SimpleCov::Result from given Coverage.result (a Hash of filenames each containing an array of
1433
1347
  # coverage data)
1434
1348
  #
1435
- # @return [Result] a new instance of Result
1436
- #
1437
- # source://simplecov-0.21.2/lib/simplecov/result.rb:28
1349
+ # pkg:gem/simplecov#lib/simplecov/result.rb:28
1438
1350
  def initialize(original_result, command_name: T.unsafe(nil), created_at: T.unsafe(nil)); end
1439
1351
 
1352
+ # Explicitly set the command name that was used for this coverage result. Defaults to SimpleCov.command_name
1440
1353
  # The command name that launched this result.
1441
1354
  # Delegated to SimpleCov.command_name if not set manually
1442
1355
  #
1443
- # source://simplecov-0.21.2/lib/simplecov/result.rb:61
1356
+ # pkg:gem/simplecov#lib/simplecov/result.rb:61
1444
1357
  def command_name; end
1445
1358
 
1446
1359
  # Explicitly set the command name that was used for this coverage result. Defaults to SimpleCov.command_name
1360
+ # The command name that launched this result.
1361
+ # Delegated to SimpleCov.command_name if not set manually
1447
1362
  #
1448
- # source://simplecov-0.21.2/lib/simplecov/result.rb:21
1363
+ # pkg:gem/simplecov#lib/simplecov/result.rb:21
1449
1364
  def command_name=(_arg0); end
1450
1365
 
1451
- # source://RUBY_ROOT/forwardable.rb:229
1366
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1452
1367
  def coverage_statistics(*args, **_arg1, &block); end
1453
1368
 
1454
- # source://RUBY_ROOT/forwardable.rb:229
1369
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1455
1370
  def coverage_statistics_by_file(*args, **_arg1, &block); end
1456
1371
 
1457
- # source://RUBY_ROOT/forwardable.rb:229
1372
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1458
1373
  def covered_branches(*args, **_arg1, &block); end
1459
1374
 
1460
- # source://RUBY_ROOT/forwardable.rb:229
1375
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1461
1376
  def covered_lines(*args, **_arg1, &block); end
1462
1377
 
1463
- # source://RUBY_ROOT/forwardable.rb:229
1378
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1464
1379
  def covered_percent(*args, **_arg1, &block); end
1465
1380
 
1466
- # source://RUBY_ROOT/forwardable.rb:229
1381
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1467
1382
  def covered_percentages(*args, **_arg1, &block); end
1468
1383
 
1469
- # source://RUBY_ROOT/forwardable.rb:229
1384
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1470
1385
  def covered_strength(*args, **_arg1, &block); end
1471
1386
 
1387
+ # Explicitly set the Time this result has been created
1472
1388
  # Defines when this result has been created. Defaults to Time.now
1473
1389
  #
1474
- # source://simplecov-0.21.2/lib/simplecov/result.rb:55
1390
+ # pkg:gem/simplecov#lib/simplecov/result.rb:55
1475
1391
  def created_at; end
1476
1392
 
1477
1393
  # Explicitly set the Time this result has been created
1394
+ # Defines when this result has been created. Defaults to Time.now
1478
1395
  #
1479
- # source://simplecov-0.21.2/lib/simplecov/result.rb:19
1396
+ # pkg:gem/simplecov#lib/simplecov/result.rb:19
1480
1397
  def created_at=(_arg0); end
1481
1398
 
1482
1399
  # Returns all filenames for source files contained in this result
1483
1400
  #
1484
- # source://simplecov-0.21.2/lib/simplecov/result.rb:40
1401
+ # pkg:gem/simplecov#lib/simplecov/result.rb:40
1485
1402
  def filenames; end
1486
1403
 
1487
1404
  # Returns all files that are applicable to this result (sans filters!) as instances of SimpleCov::SourceFile. Aliased as :source_files
1488
1405
  #
1489
- # source://simplecov-0.21.2/lib/simplecov/result.rb:16
1406
+ # pkg:gem/simplecov#lib/simplecov/result.rb:16
1490
1407
  def files; end
1491
1408
 
1492
1409
  # Applies the configured SimpleCov.formatter on this result
1493
1410
  #
1494
- # source://simplecov-0.21.2/lib/simplecov/result.rb:50
1411
+ # pkg:gem/simplecov#lib/simplecov/result.rb:50
1495
1412
  def format!; end
1496
1413
 
1497
1414
  # Returns a Hash of groups for this result. Define groups using SimpleCov.add_group 'Models', 'app/models'
1498
1415
  #
1499
- # source://simplecov-0.21.2/lib/simplecov/result.rb:45
1416
+ # pkg:gem/simplecov#lib/simplecov/result.rb:45
1500
1417
  def groups; end
1501
1418
 
1502
- # source://RUBY_ROOT/forwardable.rb:229
1419
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1503
1420
  def least_covered_file(*args, **_arg1, &block); end
1504
1421
 
1505
- # source://RUBY_ROOT/forwardable.rb:229
1422
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1506
1423
  def missed_branches(*args, **_arg1, &block); end
1507
1424
 
1508
- # source://RUBY_ROOT/forwardable.rb:229
1425
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1509
1426
  def missed_lines(*args, **_arg1, &block); end
1510
1427
 
1511
1428
  # Returns the original Coverage.result used for this instance of SimpleCov::Result
1512
1429
  #
1513
- # source://simplecov-0.21.2/lib/simplecov/result.rb:14
1430
+ # pkg:gem/simplecov#lib/simplecov/result.rb:14
1514
1431
  def original_result; end
1515
1432
 
1516
- # Returns all files that are applicable to this result (sans filters!) as instances of SimpleCov::SourceFile. Aliased as :source_files
1517
- #
1518
- # source://simplecov-0.21.2/lib/simplecov/result.rb:16
1433
+ # pkg:gem/simplecov#lib/simplecov/result.rb:17
1519
1434
  def source_files; end
1520
1435
 
1521
1436
  # Returns a hash representation of this Result that can be used for marshalling it into JSON
1522
1437
  #
1523
- # source://simplecov-0.21.2/lib/simplecov/result.rb:66
1438
+ # pkg:gem/simplecov#lib/simplecov/result.rb:66
1524
1439
  def to_hash; end
1525
1440
 
1526
- # source://RUBY_ROOT/forwardable.rb:229
1441
+ # pkg:gem/simplecov#lib/simplecov/result.rb:23
1527
1442
  def total_branches(*args, **_arg1, &block); end
1528
1443
 
1529
- # source://RUBY_ROOT/forwardable.rb:229
1444
+ # pkg:gem/simplecov#lib/simplecov/result.rb:24
1530
1445
  def total_lines(*args, **_arg1, &block); end
1531
1446
 
1532
1447
  private
1533
1448
 
1534
- # source://simplecov-0.21.2/lib/simplecov/result.rb:84
1449
+ # pkg:gem/simplecov#lib/simplecov/result.rb:84
1535
1450
  def coverage; end
1536
1451
 
1537
1452
  # Applies all configured SimpleCov filters on this result's source files
1538
1453
  #
1539
- # source://simplecov-0.21.2/lib/simplecov/result.rb:90
1454
+ # pkg:gem/simplecov#lib/simplecov/result.rb:90
1540
1455
  def filter!; end
1541
1456
 
1542
1457
  class << self
1543
1458
  # Loads a SimpleCov::Result#to_hash dump
1544
1459
  #
1545
- # source://simplecov-0.21.2/lib/simplecov/result.rb:76
1460
+ # pkg:gem/simplecov#lib/simplecov/result.rb:76
1546
1461
  def from_hash(hash); end
1547
1462
  end
1548
1463
  end
1549
1464
 
1550
1465
  # Responsible for adapting the format of the coverage result whether it's default or with statistics
1551
1466
  #
1552
- # source://simplecov-0.21.2/lib/simplecov/result_adapter.rb:7
1467
+ # pkg:gem/simplecov#lib/simplecov/result_adapter.rb:7
1553
1468
  class SimpleCov::ResultAdapter
1554
- # @return [ResultAdapter] a new instance of ResultAdapter
1555
- #
1556
- # source://simplecov-0.21.2/lib/simplecov/result_adapter.rb:10
1469
+ # pkg:gem/simplecov#lib/simplecov/result_adapter.rb:10
1557
1470
  def initialize(result); end
1558
1471
 
1559
- # source://simplecov-0.21.2/lib/simplecov/result_adapter.rb:18
1472
+ # pkg:gem/simplecov#lib/simplecov/result_adapter.rb:18
1560
1473
  def adapt; end
1561
1474
 
1562
- # Returns the value of attribute result.
1563
- #
1564
- # source://simplecov-0.21.2/lib/simplecov/result_adapter.rb:8
1475
+ # pkg:gem/simplecov#lib/simplecov/result_adapter.rb:8
1565
1476
  def result; end
1566
1477
 
1567
1478
  class << self
1568
- # source://simplecov-0.21.2/lib/simplecov/result_adapter.rb:14
1479
+ # pkg:gem/simplecov#lib/simplecov/result_adapter.rb:14
1569
1480
  def call(*args); end
1570
1481
  end
1571
1482
  end
@@ -1574,10 +1485,10 @@ end
1574
1485
  # SimpleCov::Results into a single result for coverage analysis based
1575
1486
  # upon multiple test suites.
1576
1487
  #
1577
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:11
1488
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:11
1578
1489
  module SimpleCov::ResultMerger
1579
1490
  class << self
1580
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:187
1491
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:187
1581
1492
  def adapt_pre_simplecov_0_18_result(result); end
1582
1493
 
1583
1494
  # We changed the format of the raw result data in simplecov, as people are likely
@@ -1585,85 +1496,81 @@ module SimpleCov::ResultMerger
1585
1496
  # considered we can adapt them).
1586
1497
  # See https://github.com/simplecov-ruby/simplecov/pull/824#issuecomment-576049747
1587
1498
  #
1588
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:172
1499
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:172
1589
1500
  def adapt_result(result); end
1590
1501
 
1591
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:93
1502
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:93
1592
1503
  def create_result(command_names, coverage); end
1593
1504
 
1594
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:22
1505
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:22
1595
1506
  def merge_and_store(*file_paths, ignore_timeout: T.unsafe(nil)); end
1596
1507
 
1597
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:100
1508
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:100
1598
1509
  def merge_coverage(*results); end
1599
1510
 
1600
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:28
1511
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:28
1601
1512
  def merge_results(*file_paths, ignore_timeout: T.unsafe(nil)); end
1602
1513
 
1603
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:74
1514
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:74
1604
1515
  def merge_valid_results(results, ignore_timeout: T.unsafe(nil)); end
1605
1516
 
1606
1517
  # Gets all SimpleCov::Results stored in resultset, merges them and produces a new
1607
1518
  # SimpleCov::Result with merged coverage data and the command_name
1608
1519
  # for the result consisting of a join on all source result's names
1609
1520
  #
1610
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:117
1521
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:117
1611
1522
  def merged_result; end
1612
1523
 
1613
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:51
1524
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:51
1614
1525
  def parse_file(path); end
1615
1526
 
1616
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:65
1527
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:65
1617
1528
  def parse_json(content); end
1618
1529
 
1619
1530
  # pre 0.18 coverage data pointed from file directly to an array of line coverage
1620
1531
  #
1621
- # @return [Boolean]
1622
- #
1623
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:181
1532
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:181
1624
1533
  def pre_simplecov_0_18_result?(result); end
1625
1534
 
1626
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:56
1535
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:56
1627
1536
  def read_file(path); end
1628
1537
 
1629
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:126
1538
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:126
1630
1539
  def read_resultset; end
1631
1540
 
1632
1541
  # The path to the .resultset.json cache file
1633
1542
  #
1634
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:14
1543
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:14
1635
1544
  def resultset_path; end
1636
1545
 
1637
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:18
1546
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:18
1638
1547
  def resultset_writelock; end
1639
1548
 
1640
1549
  # Saves the given SimpleCov::Result in the resultset cache
1641
1550
  #
1642
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:136
1551
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:136
1643
1552
  def store_result(result); end
1644
1553
 
1645
1554
  # Ensure only one process is reading or writing the resultset at any
1646
1555
  # given time
1647
1556
  #
1648
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:153
1557
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:153
1649
1558
  def synchronize_resultset; end
1650
1559
 
1651
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:89
1560
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:89
1652
1561
  def time_since_result_creation(data); end
1653
1562
 
1654
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:46
1563
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:46
1655
1564
  def valid_results(file_path, ignore_timeout: T.unsafe(nil)); end
1656
1565
 
1657
- # @return [Boolean]
1658
- #
1659
- # source://simplecov-0.21.2/lib/simplecov/result_merger.rb:85
1566
+ # pkg:gem/simplecov#lib/simplecov/result_merger.rb:85
1660
1567
  def within_merge_timeout?(data); end
1661
1568
  end
1662
1569
  end
1663
1570
 
1664
1571
  # Responsible for producing file coverage metrics.
1665
1572
  #
1666
- # source://simplecov-0.21.2/lib/simplecov/simulate_coverage.rb:7
1573
+ # pkg:gem/simplecov#lib/simplecov/simulate_coverage.rb:7
1667
1574
  module SimpleCov::SimulateCoverage
1668
1575
  private
1669
1576
 
@@ -1674,7 +1581,7 @@ module SimpleCov::SimulateCoverage
1674
1581
  #
1675
1582
  # @return [Hash]
1676
1583
  #
1677
- # source://simplecov-0.21.2/lib/simplecov/simulate_coverage.rb:18
1584
+ # pkg:gem/simplecov#lib/simplecov/simulate_coverage.rb:18
1678
1585
  def call(absolute_path); end
1679
1586
 
1680
1587
  class << self
@@ -1685,7 +1592,7 @@ module SimpleCov::SimulateCoverage
1685
1592
  #
1686
1593
  # @return [Hash]
1687
1594
  #
1688
- # source://simplecov-0.21.2/lib/simplecov/simulate_coverage.rb:18
1595
+ # pkg:gem/simplecov#lib/simplecov/simulate_coverage.rb:18
1689
1596
  def call(absolute_path); end
1690
1597
  end
1691
1598
  end
@@ -1693,35 +1600,33 @@ end
1693
1600
  # Representation of a source file including it's coverage data, source code,
1694
1601
  # source lines and featuring helpers to interpret that data.
1695
1602
  #
1696
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:4
1603
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:4
1697
1604
  class SimpleCov::SourceFile
1698
- # @return [SourceFile] a new instance of SourceFile
1699
- #
1700
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:14
1605
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:14
1701
1606
  def initialize(filename, coverage_data); end
1702
1607
 
1703
1608
  # Return all the branches inside current source file
1704
1609
  #
1705
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:98
1610
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:98
1706
1611
  def branches; end
1707
1612
 
1708
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:106
1613
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:106
1709
1614
  def branches_coverage_percent; end
1710
1615
 
1711
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:142
1616
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:142
1712
1617
  def branches_for_line(line_number); end
1713
1618
 
1714
1619
  # Return hash with key of line number and branch coverage count as value
1715
1620
  #
1716
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:118
1621
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:118
1717
1622
  def branches_report; end
1718
1623
 
1719
1624
  # The array of coverage data received from the Coverage.result
1720
1625
  #
1721
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:12
1626
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:12
1722
1627
  def coverage_data; end
1723
1628
 
1724
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:32
1629
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:32
1725
1630
  def coverage_statistics; end
1726
1631
 
1727
1632
  # Select the covered branches
@@ -1730,130 +1635,121 @@ class SimpleCov::SourceFile
1730
1635
  #
1731
1636
  # @return [Array]
1732
1637
  #
1733
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:129
1638
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:129
1734
1639
  def covered_branches; end
1735
1640
 
1736
1641
  # Returns all covered lines as SimpleCov::SourceFile::Line
1737
1642
  #
1738
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:48
1643
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:48
1739
1644
  def covered_lines; end
1740
1645
 
1741
1646
  # The coverage for this file in percent. 0 if the file has no coverage lines
1742
1647
  #
1743
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:80
1648
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:80
1744
1649
  def covered_percent; end
1745
1650
 
1746
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:84
1651
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:84
1747
1652
  def covered_strength; end
1748
1653
 
1749
1654
  # The full path to this source file (e.g. /User/colszowka/projects/simplecov/lib/simplecov/source_file.rb)
1750
1655
  #
1751
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:10
1656
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:10
1752
1657
  def filename; end
1753
1658
 
1754
1659
  # Access SimpleCov::SourceFile::Line source lines by line number
1755
1660
  #
1756
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:75
1661
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:75
1757
1662
  def line(number); end
1758
1663
 
1759
1664
  # Check if any branches missing on given line number
1760
1665
  #
1761
- # @param line_number [Integer]
1666
+ # @param [Integer] line_number
1667
+ #
1762
1668
  # @return [Boolean]
1763
1669
  #
1764
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:153
1670
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:153
1765
1671
  def line_with_missed_branch?(line_number); end
1766
1672
 
1767
1673
  # Returns all source lines for this file as instances of SimpleCov::SourceFile::Line,
1768
1674
  # and thus including coverage data. Aliased as :source_lines
1769
1675
  #
1770
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:42
1676
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:42
1771
1677
  def lines; end
1772
1678
 
1773
1679
  # Returns the number of relevant lines (covered + missed)
1774
1680
  #
1775
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:70
1681
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:70
1776
1682
  def lines_of_code; end
1777
1683
 
1778
1684
  # Select the missed branches with coverage equal to zero
1779
1685
  #
1780
1686
  # @return [Array]
1781
1687
  #
1782
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:138
1688
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:138
1783
1689
  def missed_branches; end
1784
1690
 
1785
1691
  # Returns all lines that should have been, but were not covered
1786
1692
  # as instances of SimpleCov::SourceFile::Line
1787
1693
  #
1788
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:54
1694
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:54
1789
1695
  def missed_lines; end
1790
1696
 
1791
1697
  # Returns all lines that are not relevant for coverage as
1792
1698
  # SimpleCov::SourceFile::Line instances
1793
1699
  #
1794
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:60
1700
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:60
1795
1701
  def never_lines; end
1796
1702
 
1797
- # @return [Boolean]
1798
- #
1799
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:102
1703
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:102
1800
1704
  def no_branches?; end
1801
1705
 
1802
- # @return [Boolean]
1803
- #
1804
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:88
1706
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:88
1805
1707
  def no_lines?; end
1806
1708
 
1807
1709
  # The path to this source file relative to the projects directory
1808
1710
  #
1809
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:20
1711
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:20
1810
1712
  def project_filename; end
1811
1713
 
1812
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:92
1714
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:92
1813
1715
  def relevant_lines; end
1814
1716
 
1815
1717
  # Returns all lines that were skipped as SimpleCov::SourceFile::Line instances
1816
1718
  #
1817
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:65
1719
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:65
1818
1720
  def skipped_lines; end
1819
1721
 
1820
- # The source code for this file. Aliased as :source
1821
- #
1822
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:25
1722
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:30
1823
1723
  def source; end
1824
1724
 
1825
- # Returns all source lines for this file as instances of SimpleCov::SourceFile::Line,
1826
- # and thus including coverage data. Aliased as :source_lines
1827
- #
1828
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:42
1725
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:45
1829
1726
  def source_lines; end
1830
1727
 
1831
1728
  # The source code for this file. Aliased as :source
1832
1729
  #
1833
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:25
1730
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:25
1834
1731
  def src; end
1835
1732
 
1836
1733
  # Return the relevant branches to source file
1837
1734
  #
1838
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:112
1735
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:112
1839
1736
  def total_branches; end
1840
1737
 
1841
1738
  private
1842
1739
 
1843
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:340
1740
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:346
1844
1741
  def branch_coverage_statistics; end
1845
1742
 
1846
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:318
1743
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:324
1847
1744
  def build_branch(branch_data, hit_count, condition_start_line); end
1848
1745
 
1849
1746
  # Call recursive method that transform our static hash to array of objects
1850
- #
1851
1747
  # @return [Array]
1852
1748
  #
1853
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:267
1749
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:273
1854
1750
  def build_branches; end
1855
1751
 
1856
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:304
1752
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:310
1857
1753
  def build_branches_from(condition, branches); end
1858
1754
 
1859
1755
  # Build full branches report
@@ -1862,44 +1758,44 @@ class SimpleCov::SourceFile
1862
1758
  #
1863
1759
  # @return [Hash]
1864
1760
  #
1865
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:256
1761
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:262
1866
1762
  def build_branches_report; end
1867
1763
 
1868
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:223
1764
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:229
1869
1765
  def build_lines; end
1870
1766
 
1871
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:164
1767
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:164
1872
1768
  def build_no_cov_chunks; end
1873
1769
 
1874
1770
  # Warning to identify condition from Issue #56
1875
1771
  #
1876
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:245
1772
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:251
1877
1773
  def coverage_exceeding_source_warn; end
1878
1774
 
1879
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:214
1775
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:214
1880
1776
  def ensure_remove_undefs(file_lines); end
1881
1777
 
1882
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:330
1778
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:336
1883
1779
  def line_coverage_statistics; end
1884
1780
 
1885
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:240
1781
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:246
1886
1782
  def lines_strength; end
1887
1783
 
1888
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:178
1784
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:178
1889
1785
  def load_source; end
1890
1786
 
1891
1787
  # no_cov_chunks is zero indexed to work directly with the array holding the lines
1892
1788
  #
1893
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:160
1789
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:160
1894
1790
  def no_cov_chunks; end
1895
1791
 
1896
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:276
1792
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:282
1897
1793
  def process_skipped_branches(branches); end
1898
1794
 
1899
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:231
1795
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:237
1900
1796
  def process_skipped_lines(lines); end
1901
1797
 
1902
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:198
1798
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:198
1903
1799
  def read_lines(file, lines, current_line); end
1904
1800
 
1905
1801
  # Since we are dumping to and loading from JSON, and we have arrays as keys those
@@ -1910,67 +1806,55 @@ class SimpleCov::SourceFile
1910
1806
  #
1911
1807
  # See #801
1912
1808
  #
1913
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:294
1809
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:300
1914
1810
  def restore_ruby_data_structure(structure); end
1915
1811
 
1916
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:206
1812
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:206
1917
1813
  def set_encoding_based_on_magic_comment(file, line); end
1918
1814
 
1919
- # @return [Boolean]
1920
- #
1921
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:194
1815
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:194
1922
1816
  def shebang?(line); end
1923
1817
  end
1924
1818
 
1925
1819
  # Representing single branch that has been detected in coverage report.
1926
1820
  # Give us support methods that handle needed calculations.
1927
1821
  #
1928
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:8
1822
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:8
1929
1823
  class SimpleCov::SourceFile::Branch
1930
- # @return [Branch] a new instance of Branch
1931
- #
1932
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:12
1824
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:12
1933
1825
  def initialize(start_line:, end_line:, coverage:, inline:, type:); end
1934
1826
 
1935
- # Returns the value of attribute coverage.
1936
- #
1937
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:9
1827
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
1938
1828
  def coverage; end
1939
1829
 
1940
1830
  # Return true if there is relevant count defined > 0
1941
1831
  #
1942
1832
  # @return [Boolean]
1943
1833
  #
1944
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:31
1834
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:31
1945
1835
  def covered?; end
1946
1836
 
1947
- # Returns the value of attribute end_line.
1948
- #
1949
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:9
1837
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
1950
1838
  def end_line; end
1951
1839
 
1952
- # @return [Boolean]
1953
- #
1954
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:22
1840
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:22
1955
1841
  def inline?; end
1956
1842
 
1957
1843
  # Check if branche missed or not
1958
1844
  #
1959
1845
  # @return [Boolean]
1960
1846
  #
1961
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:40
1847
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:40
1962
1848
  def missed?; end
1963
1849
 
1964
- # @return [Boolean]
1965
- #
1966
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:70
1850
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:70
1967
1851
  def overlaps_with?(line_range); end
1968
1852
 
1969
1853
  # Return array with coverage count and badge
1970
1854
  #
1971
1855
  # @return [Array]
1972
1856
  #
1973
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:79
1857
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:79
1974
1858
  def report; end
1975
1859
 
1976
1860
  # The line on which we want to report the coverage
@@ -1981,29 +1865,23 @@ class SimpleCov::SourceFile::Branch
1981
1865
  # * makes it distinguishable if the first line of the branch is an inline branch
1982
1866
  # (see the nested_branches fixture)
1983
1867
  #
1984
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:52
1868
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:52
1985
1869
  def report_line; end
1986
1870
 
1987
1871
  # Flags the branch as skipped
1988
1872
  #
1989
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:61
1873
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:61
1990
1874
  def skipped!; end
1991
1875
 
1992
1876
  # Returns true if the branch was marked skipped by virtue of nocov comments.
1993
1877
  #
1994
- # @return [Boolean]
1995
- #
1996
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:66
1878
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:66
1997
1879
  def skipped?; end
1998
1880
 
1999
- # Returns the value of attribute start_line.
2000
- #
2001
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:9
1881
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
2002
1882
  def start_line; end
2003
1883
 
2004
- # Returns the value of attribute type.
2005
- #
2006
- # source://simplecov-0.21.2/lib/simplecov/source_file/branch.rb:9
1884
+ # pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
2007
1885
  def type; end
2008
1886
  end
2009
1887
 
@@ -2013,120 +1891,102 @@ end
2013
1891
  # line), 0 (line not covered) or >1 (the amount of times the line was
2014
1892
  # executed)
2015
1893
  #
2016
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:10
1894
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:10
2017
1895
  class SimpleCov::SourceFile::Line
2018
- # @raise [ArgumentError]
2019
- # @return [Line] a new instance of Line
2020
- #
2021
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:25
1896
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:25
2022
1897
  def initialize(src, line_number, coverage); end
2023
1898
 
2024
1899
  # The coverage data for this line: either nil (never), 0 (missed) or >=1 (times covered)
2025
1900
  #
2026
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:16
1901
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:16
2027
1902
  def coverage; end
2028
1903
 
2029
1904
  # Returns true if this is a line that has been covered
2030
1905
  #
2031
- # @return [Boolean]
2032
- #
2033
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:42
1906
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:42
2034
1907
  def covered?; end
2035
1908
 
2036
- # The line number in the source file. Aliased as :line, :number
2037
- #
2038
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:14
1909
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:22
2039
1910
  def line; end
2040
1911
 
2041
1912
  # The line number in the source file. Aliased as :line, :number
2042
1913
  #
2043
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:14
1914
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:14
2044
1915
  def line_number; end
2045
1916
 
2046
1917
  # Returns true if this is a line that should have been covered, but was not
2047
1918
  #
2048
- # @return [Boolean]
2049
- #
2050
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:37
1919
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:37
2051
1920
  def missed?; end
2052
1921
 
2053
1922
  # Returns true if this line is not relevant for coverage
2054
1923
  #
2055
- # @return [Boolean]
2056
- #
2057
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:47
1924
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:47
2058
1925
  def never?; end
2059
1926
 
2060
- # The line number in the source file. Aliased as :line, :number
2061
- #
2062
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:14
1927
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:23
2063
1928
  def number; end
2064
1929
 
2065
1930
  # Whether this line was skipped
2066
1931
  #
2067
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:18
1932
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:18
2068
1933
  def skipped; end
2069
1934
 
2070
1935
  # Flags this line as skipped
2071
1936
  #
2072
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:52
1937
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:52
2073
1938
  def skipped!; end
2074
1939
 
2075
1940
  # Returns true if this line was skipped, false otherwise. Lines are skipped if they are wrapped with
2076
1941
  # # :nocov: comment lines.
2077
1942
  #
2078
- # @return [Boolean]
2079
- #
2080
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:58
1943
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:58
2081
1944
  def skipped?; end
2082
1945
 
2083
- # The source code for this line. Aliased as :source
2084
1946
  # Lets grab some fancy aliases, shall we?
2085
1947
  #
2086
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:12
1948
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:21
2087
1949
  def source; end
2088
1950
 
2089
1951
  # The source code for this line. Aliased as :source
2090
1952
  #
2091
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:12
1953
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:12
2092
1954
  def src; end
2093
1955
 
2094
1956
  # The status of this line - either covered, missed, skipped or never. Useful i.e. for direct use
2095
1957
  # as a css class in report generation
2096
1958
  #
2097
- # source://simplecov-0.21.2/lib/simplecov/source_file/line.rb:64
1959
+ # pkg:gem/simplecov#lib/simplecov/source_file/line.rb:64
2098
1960
  def status; end
2099
1961
  end
2100
1962
 
2101
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:205
1963
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:205
2102
1964
  SimpleCov::SourceFile::RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = T.let(T.unsafe(nil), Regexp)
2103
1965
 
2104
- # source://simplecov-0.21.2/lib/simplecov/source_file.rb:193
1966
+ # pkg:gem/simplecov#lib/simplecov/source_file.rb:193
2105
1967
  SimpleCov::SourceFile::SHEBANG_REGEX = T.let(T.unsafe(nil), Regexp)
2106
1968
 
2107
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:55
1969
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:53
2108
1970
  class SimpleCov::StringFilter < ::SimpleCov::Filter
2109
1971
  # Returns true when the given source file's filename matches the
2110
1972
  # string configured when initializing this Filter with StringFilter.new('somestring')
2111
1973
  #
2112
- # @return [Boolean]
2113
- #
2114
- # source://simplecov-0.21.2/lib/simplecov/filter.rb:56
1974
+ # pkg:gem/simplecov#lib/simplecov/filter.rb:56
2115
1975
  def matches?(source_file); end
2116
1976
  end
2117
1977
 
2118
1978
  # Select the files that related to working scope directory of SimpleCov
2119
1979
  #
2120
- # source://simplecov-0.21.2/lib/simplecov/useless_results_remover.rb:7
1980
+ # pkg:gem/simplecov#lib/simplecov/useless_results_remover.rb:7
2121
1981
  module SimpleCov::UselessResultsRemover
2122
1982
  class << self
2123
- # source://simplecov-0.21.2/lib/simplecov/useless_results_remover.rb:8
1983
+ # pkg:gem/simplecov#lib/simplecov/useless_results_remover.rb:8
2124
1984
  def call(coverage_result); end
2125
1985
 
2126
- # source://simplecov-0.21.2/lib/simplecov/useless_results_remover.rb:14
1986
+ # pkg:gem/simplecov#lib/simplecov/useless_results_remover.rb:14
2127
1987
  def root_regx; end
2128
1988
  end
2129
1989
  end
2130
1990
 
2131
- # source://simplecov-0.21.2/lib/simplecov/version.rb:4
1991
+ # pkg:gem/simplecov#lib/simplecov/version.rb:4
2132
1992
  SimpleCov::VERSION = T.let(T.unsafe(nil), String)