simple_cov-formatter-terminal 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.runger-config.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +4 -3
- data/Gemfile.lock +160 -60
- data/README.md +4 -0
- data/lib/simple_cov/formatter/terminal/color_printing.rb +0 -2
- data/lib/simple_cov/formatter/terminal/result_printer.rb +3 -3
- data/lib/simple_cov/formatter/terminal/version.rb +1 -1
- data/lib/simple_cov/formatter/terminal.rb +1 -1
- data/simple_cov-formatter-terminal.gemspec +5 -5
- metadata +5 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937028f9dff47048a0270872868b5d450adb9d2c3d59b5b8804f113943e68a5f
|
4
|
+
data.tar.gz: f80a16c1a213906bb40789b8927ed7e205bb17851b8eabd5aeb62425dffdea95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8061a5e8a7bc3d484a838310317b98b90af8be8329c126374d57f347b7f0981d2624b937d454edab0fb00f199a6f1b415eeb59ed5063f8c87d2b04e249b31749
|
7
|
+
data.tar.gz: 6d228251a453b86e3ace2440a9a4c5c59343a40e09c16f630a81a065005e50f13f15b6a2ca61c03a3495d800c98cb44a2b82b9d809913492d6a6a0246acd667c
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.4.2
|
data/.runger-config.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
expected-num-github-checks: 3
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## v1.7.1 (2025-02-17)
|
2
|
+
- Respect `SIMPLECOV_TARGET_FILE` env var for otherwise unmappable spec files.
|
3
|
+
|
4
|
+
## v1.7.0 (2024-11-08)
|
5
|
+
- Remove upper bounds on versions for all dependencies
|
6
|
+
|
1
7
|
## v1.6.0 (2024-07-30)
|
2
8
|
- Make terminal hyperlink pattern an ENV var (`SIMPLECOV_TERMINAL_HYPERLINK_PATTERN`) rather than a Ruby setting
|
3
9
|
|
data/Gemfile
CHANGED
@@ -11,8 +11,9 @@ gemspec
|
|
11
11
|
|
12
12
|
group :development, :test do
|
13
13
|
gem 'bundler', require: false
|
14
|
-
gem 'pry'
|
15
|
-
|
14
|
+
gem 'pry'
|
15
|
+
# Go back to upstream if/when https://github.com/deivid-rodriguez/pry-byebug/pull/ 428 is merged.
|
16
|
+
gem 'pry-byebug', github: 'davidrunger/pry-byebug'
|
16
17
|
gem 'rubocop', require: false
|
17
18
|
gem 'rubocop-performance', require: false
|
18
19
|
gem 'rubocop-rspec', require: false
|
@@ -20,7 +21,7 @@ group :development, :test do
|
|
20
21
|
end
|
21
22
|
|
22
23
|
group :test do
|
23
|
-
gem 'climate_control'
|
24
|
+
gem 'climate_control'
|
24
25
|
gem 'rspec', require: false
|
25
26
|
gem 'simplecov', require: false
|
26
27
|
gem 'simplecov-cobertura', require: false
|
data/Gemfile.lock
CHANGED
@@ -1,106 +1,136 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/davidrunger/pry-byebug
|
3
|
+
revision: 3ac27ef70a1b16a461db9f7572d3fe1a205effd4
|
4
|
+
specs:
|
5
|
+
pry-byebug (3.10.1)
|
6
|
+
pry (>= 0.13)
|
7
|
+
runger_byebug (>= 11.0)
|
8
|
+
|
1
9
|
PATH
|
2
10
|
remote: .
|
3
11
|
specs:
|
4
|
-
simple_cov-formatter-terminal (1.
|
5
|
-
activesupport (>= 7.0.4
|
6
|
-
memo_wise (>= 1.7.0
|
7
|
-
rouge (>= 4.0.0
|
8
|
-
rspec-core (>= 3.11.0
|
12
|
+
simple_cov-formatter-terminal (1.7.1)
|
13
|
+
activesupport (>= 7.0.4)
|
14
|
+
memo_wise (>= 1.7.0)
|
15
|
+
rouge (>= 4.0.0)
|
16
|
+
rspec-core (>= 3.11.0)
|
9
17
|
runger_config (>= 3.0.0)
|
10
|
-
simplecov (>= 0.21.2
|
18
|
+
simplecov (>= 0.21.2)
|
11
19
|
|
12
20
|
GEM
|
13
21
|
remote: https://rubygems.org/
|
14
22
|
specs:
|
15
|
-
activesupport (
|
23
|
+
activesupport (8.0.1)
|
16
24
|
base64
|
25
|
+
benchmark (>= 0.3)
|
17
26
|
bigdecimal
|
18
|
-
concurrent-ruby (~> 1.0, >= 1.
|
27
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
19
28
|
connection_pool (>= 2.2.5)
|
20
29
|
drb
|
21
30
|
i18n (>= 1.6, < 2)
|
31
|
+
logger (>= 1.4.2)
|
22
32
|
minitest (>= 5.1)
|
23
|
-
|
24
|
-
tzinfo (~> 2.0)
|
33
|
+
securerandom (>= 0.3)
|
34
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
35
|
+
uri (>= 0.13.1)
|
25
36
|
ast (2.4.2)
|
26
37
|
base64 (0.2.0)
|
27
|
-
|
28
|
-
|
38
|
+
benchmark (0.4.0)
|
39
|
+
bigdecimal (3.1.9)
|
29
40
|
climate_control (1.2.0)
|
30
41
|
coderay (1.1.3)
|
31
|
-
concurrent-ruby (1.3.
|
32
|
-
connection_pool (2.
|
33
|
-
|
42
|
+
concurrent-ruby (1.3.5)
|
43
|
+
connection_pool (2.5.0)
|
44
|
+
date (3.4.1)
|
45
|
+
diff-lcs (1.6.0)
|
34
46
|
docile (1.4.1)
|
35
47
|
drb (2.2.1)
|
36
|
-
i18n (1.14.
|
48
|
+
i18n (1.14.7)
|
37
49
|
concurrent-ruby (~> 1.0)
|
38
|
-
|
39
|
-
|
40
|
-
|
50
|
+
io-console (0.8.0)
|
51
|
+
irb (1.15.1)
|
52
|
+
pp (>= 0.6.0)
|
53
|
+
rdoc (>= 4.0.0)
|
54
|
+
reline (>= 0.4.2)
|
55
|
+
json (2.10.1)
|
56
|
+
language_server-protocol (3.17.0.4)
|
57
|
+
lint_roller (1.1.0)
|
58
|
+
logger (1.6.6)
|
59
|
+
memo_wise (1.10.0)
|
41
60
|
method_source (1.1.0)
|
42
|
-
minitest (5.
|
43
|
-
|
44
|
-
|
45
|
-
parser (3.3.4.0)
|
61
|
+
minitest (5.25.4)
|
62
|
+
parallel (1.26.3)
|
63
|
+
parser (3.3.7.1)
|
46
64
|
ast (~> 2.4.1)
|
47
65
|
racc
|
48
|
-
|
49
|
-
|
66
|
+
pp (0.6.2)
|
67
|
+
prettyprint
|
68
|
+
prettyprint (0.2.0)
|
69
|
+
prism (1.3.0)
|
70
|
+
pry (0.15.2)
|
50
71
|
coderay (~> 1.1)
|
51
72
|
method_source (~> 1.0)
|
52
|
-
|
53
|
-
|
54
|
-
|
73
|
+
psych (5.2.3)
|
74
|
+
date
|
75
|
+
stringio
|
55
76
|
racc (1.8.1)
|
56
77
|
rainbow (3.1.1)
|
57
78
|
rake (13.2.1)
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
79
|
+
rdoc (6.12.0)
|
80
|
+
psych (>= 4.0.0)
|
81
|
+
regexp_parser (2.10.0)
|
82
|
+
reline (0.6.0)
|
83
|
+
io-console (~> 0.5)
|
84
|
+
rexml (3.4.1)
|
85
|
+
rouge (4.5.1)
|
62
86
|
rspec (3.13.0)
|
63
87
|
rspec-core (~> 3.13.0)
|
64
88
|
rspec-expectations (~> 3.13.0)
|
65
89
|
rspec-mocks (~> 3.13.0)
|
66
|
-
rspec-core (3.13.
|
90
|
+
rspec-core (3.13.3)
|
67
91
|
rspec-support (~> 3.13.0)
|
68
|
-
rspec-expectations (3.13.
|
92
|
+
rspec-expectations (3.13.3)
|
69
93
|
diff-lcs (>= 1.2.0, < 2.0)
|
70
94
|
rspec-support (~> 3.13.0)
|
71
|
-
rspec-mocks (3.13.
|
95
|
+
rspec-mocks (3.13.2)
|
72
96
|
diff-lcs (>= 1.2.0, < 2.0)
|
73
97
|
rspec-support (~> 3.13.0)
|
74
|
-
rspec-support (3.13.
|
75
|
-
rubocop (1.
|
98
|
+
rspec-support (3.13.2)
|
99
|
+
rubocop (1.72.1)
|
76
100
|
json (~> 2.3)
|
77
|
-
language_server-protocol (
|
101
|
+
language_server-protocol (~> 3.17.0.2)
|
102
|
+
lint_roller (~> 1.1.0)
|
78
103
|
parallel (~> 1.10)
|
79
104
|
parser (>= 3.3.0.2)
|
80
105
|
rainbow (>= 2.2.2, < 4.0)
|
81
|
-
regexp_parser (>= 2.
|
82
|
-
|
83
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
106
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
107
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
84
108
|
ruby-progressbar (~> 1.7)
|
85
|
-
unicode-display_width (>= 2.4.0, <
|
86
|
-
rubocop-ast (1.
|
109
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
110
|
+
rubocop-ast (1.38.0)
|
87
111
|
parser (>= 3.3.1.0)
|
88
|
-
rubocop-performance (1.
|
89
|
-
|
90
|
-
rubocop
|
91
|
-
|
92
|
-
|
112
|
+
rubocop-performance (1.24.0)
|
113
|
+
lint_roller (~> 1.1)
|
114
|
+
rubocop (>= 1.72.1, < 2.0)
|
115
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
116
|
+
rubocop-rspec (3.5.0)
|
117
|
+
lint_roller (~> 1.1)
|
118
|
+
rubocop (~> 1.72, >= 1.72.1)
|
93
119
|
ruby-progressbar (1.13.0)
|
120
|
+
runger_byebug (11.4.0)
|
121
|
+
irb
|
122
|
+
reline
|
94
123
|
runger_config (5.2.0)
|
95
124
|
activesupport (>= 7.1.2)
|
96
|
-
runger_release_assistant (0.
|
97
|
-
activesupport (>= 6
|
98
|
-
memo_wise (>= 1.7
|
99
|
-
rainbow (>= 3.0
|
125
|
+
runger_release_assistant (2.0.0)
|
126
|
+
activesupport (>= 6)
|
127
|
+
memo_wise (>= 1.7)
|
128
|
+
rainbow (>= 3.0)
|
100
129
|
slop (~> 4.8)
|
101
|
-
runger_style (
|
130
|
+
runger_style (5.3.1)
|
102
131
|
prism (>= 0.24.0)
|
103
|
-
rubocop (>= 1.
|
132
|
+
rubocop (>= 1.72.0)
|
133
|
+
securerandom (0.4.1)
|
104
134
|
simplecov (0.22.0)
|
105
135
|
docile (~> 1.1)
|
106
136
|
simplecov-html (~> 0.11)
|
@@ -108,13 +138,16 @@ GEM
|
|
108
138
|
simplecov-cobertura (2.1.0)
|
109
139
|
rexml
|
110
140
|
simplecov (~> 0.19)
|
111
|
-
simplecov-html (0.
|
141
|
+
simplecov-html (0.13.1)
|
112
142
|
simplecov_json_formatter (0.1.4)
|
113
143
|
slop (4.10.1)
|
114
|
-
|
144
|
+
stringio (3.1.3)
|
115
145
|
tzinfo (2.0.6)
|
116
146
|
concurrent-ruby (~> 1.0)
|
117
|
-
unicode-display_width (
|
147
|
+
unicode-display_width (3.1.4)
|
148
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
149
|
+
unicode-emoji (4.0.4)
|
150
|
+
uri (1.0.2)
|
118
151
|
|
119
152
|
PLATFORMS
|
120
153
|
ruby
|
@@ -123,7 +156,7 @@ DEPENDENCIES
|
|
123
156
|
bundler
|
124
157
|
climate_control
|
125
158
|
pry
|
126
|
-
pry-byebug
|
159
|
+
pry-byebug!
|
127
160
|
rake
|
128
161
|
rspec
|
129
162
|
rubocop
|
@@ -135,8 +168,75 @@ DEPENDENCIES
|
|
135
168
|
simplecov
|
136
169
|
simplecov-cobertura
|
137
170
|
|
171
|
+
CHECKSUMS
|
172
|
+
activesupport (8.0.1) sha256=fd5bc74641c24ac3541055c2879789198ff42adee3e39c2933289ba008912e37
|
173
|
+
ast (2.4.2) sha256=1e280232e6a33754cde542bc5ef85520b74db2aac73ec14acef453784447cc12
|
174
|
+
base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
|
175
|
+
benchmark (0.4.0) sha256=0f12f8c495545e3710c3e4f0480f63f06b4c842cc94cec7f33a956f5180e874a
|
176
|
+
bigdecimal (3.1.9) sha256=2ffc742031521ad69c2dfc815a98e426a230a3d22aeac1995826a75dabfad8cc
|
177
|
+
climate_control (1.2.0) sha256=36b21896193fa8c8536fa1cd843a07cf8ddbd03aaba43665e26c53ec1bd70aa5
|
178
|
+
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
179
|
+
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
|
180
|
+
connection_pool (2.5.0) sha256=233b92f8d38e038c1349ccea65dd3772727d669d6d2e71f9897c8bf5cd53ebfc
|
181
|
+
date (3.4.1) sha256=bf268e14ef7158009bfeaec40b5fa3c7271906e88b196d958a89d4b408abe64f
|
182
|
+
diff-lcs (1.6.0) sha256=a1e7f7b272962f8fc769358ad00001b87cdcf32ba349d6c70c6b544613d2da2e
|
183
|
+
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
|
184
|
+
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
|
185
|
+
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
186
|
+
io-console (0.8.0) sha256=cd6a9facbc69871d69b2cb8b926fc6ea7ef06f06e505e81a64f14a470fddefa2
|
187
|
+
irb (1.15.1) sha256=d9bca745ac4207a8b728a52b98b766ca909b86ff1a504bcde3d6f8c84faae890
|
188
|
+
json (2.10.1) sha256=ddc88ad91a1baf3f0038c174f253af3b086d30dc74db17ca4259bbde982f94dc
|
189
|
+
language_server-protocol (3.17.0.4) sha256=c484626478664fd13482d8180947c50a8590484b1258b99b7aedb3b69df89669
|
190
|
+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
191
|
+
logger (1.6.6) sha256=dd618d24e637715472732e7eed02e33cfbdf56deaad225edd0f1f89d38024017
|
192
|
+
memo_wise (1.10.0) sha256=ae40ff8e7799697ff5d59d739b8766f76be22eba69c7c8468edb42ab83c94c3f
|
193
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
194
|
+
minitest (5.25.4) sha256=9cf2cae25ac4dfc90c988ebc3b917f53c054978b673273da1bd20bcb0778f947
|
195
|
+
parallel (1.26.3) sha256=d86babb7a2b814be9f4b81587bf0b6ce2da7d45969fab24d8ae4bf2bb4d4c7ef
|
196
|
+
parser (3.3.7.1) sha256=7dbe61618025519024ac72402a6677ead02099587a5538e84371b76659e6aca1
|
197
|
+
pp (0.6.2) sha256=947ec3120c6f92195f8ee8aa25a7b2c5297bb106d83b41baa02983686577b6ff
|
198
|
+
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
|
199
|
+
prism (1.3.0) sha256=b11620829831b1cb7e6c9b46c81ff8a6e36ccb3f888f164485eb7351f386273a
|
200
|
+
pry (0.15.2) sha256=12d54b8640d3fa29c9211dd4ffb08f3fd8bf7a4fd9b5a73ce5b59c8709385b6b
|
201
|
+
pry-byebug (3.10.1)
|
202
|
+
psych (5.2.3) sha256=84a54bb952d14604fea22d99938348814678782f58b12648fcdfa4d2fce859ee
|
203
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
204
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
205
|
+
rake (13.2.1) sha256=46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d
|
206
|
+
rdoc (6.12.0) sha256=7d6f706e070bffa5d18a448f24076cbfb34923a99c1eab842aa18e6ca69f56e0
|
207
|
+
regexp_parser (2.10.0) sha256=cb6f0ddde88772cd64bff1dbbf68df66d376043fe2e66a9ef77fcb1b0c548c61
|
208
|
+
reline (0.6.0) sha256=57620375dcbe56ec09bac7192bfb7460c716bbf0054dc94345ecaa5438e539d2
|
209
|
+
rexml (3.4.1) sha256=c74527a9a0a04b4ec31dbe0dc4ed6004b960af943d8db42e539edde3a871abca
|
210
|
+
rouge (4.5.1) sha256=2ac81c6dee7019bbc6600d4c2d641d730d65c165941400ebd924259067e690dd
|
211
|
+
rspec (3.13.0) sha256=d490914ac1d5a5a64a0e1400c1d54ddd2a501324d703b8cfe83f458337bab993
|
212
|
+
rspec-core (3.13.3) sha256=25136507f4f9cf2e8977a2851e64e438b4331646054e345998714108745cdfe4
|
213
|
+
rspec-expectations (3.13.3) sha256=0e6b5af59b900147698ea0ff80456c4f2e69cac4394fbd392fbd1ca561f66c58
|
214
|
+
rspec-mocks (3.13.2) sha256=2327335def0e1665325a9b617e3af9ae20272741d80ac550336309a7c59abdef
|
215
|
+
rspec-support (3.13.2) sha256=cea3a2463fd9b84b9dcc9685efd80ea701aa8f7b3decb3b3ce795ed67737dbec
|
216
|
+
rubocop (1.72.1) sha256=4306ae64c6e7e1026d2a90ed755a113c7b9bf0ac21037b8046fbc826a87daaa5
|
217
|
+
rubocop-ast (1.38.0) sha256=4fdf6792fe443a9a18acb12dbc8225d0d64cd1654e41fedb30e79c18edbb26ae
|
218
|
+
rubocop-performance (1.24.0) sha256=e5bd39ff3e368395b9af886927cc37f5892f43db4bd6c8526594352d5b4440b5
|
219
|
+
rubocop-rspec (3.5.0) sha256=710c942fe1af884ba8eea75cbb8bdbb051929a2208880a6fc2e2dce1eed5304c
|
220
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
221
|
+
runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
|
222
|
+
runger_config (5.2.0) sha256=9b76d767a2daa63f6f8f2c52a8183f3f09a877cd35bcaee692d25377f4dd4558
|
223
|
+
runger_release_assistant (2.0.0) sha256=f4f5708291eaeef1b881208f87a494877fe768739d6e96b7293fc335b28a3865
|
224
|
+
runger_style (5.3.1) sha256=418a1e1f8e840a95c0c955f500cd623df1a0353330fdaad07396139b65fdd311
|
225
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
226
|
+
simple_cov-formatter-terminal (1.7.1)
|
227
|
+
simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
|
228
|
+
simplecov-cobertura (2.1.0) sha256=2c6532e34df2e38a379d72cef9a05c3b16c64ce90566beebc6887801c4ad3f02
|
229
|
+
simplecov-html (0.13.1) sha256=5dab0b7ee612e60e9887ad57693832fdf4695b4c0c859eaea5f95c18791ef10b
|
230
|
+
simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
|
231
|
+
slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
|
232
|
+
stringio (3.1.3) sha256=1eedb8369ee99a9a0edfdacea95c72d647feb8ce844427c150bd641e1797abc8
|
233
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
234
|
+
unicode-display_width (3.1.4) sha256=8caf2af1c0f2f07ec89ef9e18c7d88c2790e217c482bfc78aaa65eadd5415ac1
|
235
|
+
unicode-emoji (4.0.4) sha256=2c2c4ef7f353e5809497126285a50b23056cc6e61b64433764a35eff6c36532a
|
236
|
+
uri (1.0.2) sha256=b303504ceb7e5905771fa7fa14b649652fa949df18b5880d69cfb12494791e27
|
237
|
+
|
138
238
|
RUBY VERSION
|
139
|
-
ruby 3.
|
239
|
+
ruby 3.4.2p28
|
140
240
|
|
141
241
|
BUNDLED WITH
|
142
|
-
2.
|
242
|
+
2.6.3
|
data/README.md
CHANGED
@@ -104,6 +104,10 @@ SimpleCov::Formatter::Terminal.config.spec_to_app_file_map = {
|
|
104
104
|
}
|
105
105
|
```
|
106
106
|
|
107
|
+
### Manually specifying file for which to show coverage
|
108
|
+
|
109
|
+
An alternative to using the `spec_to_app_file_map` configuration is to set a `SIMPLECOV_TARGET_FILE` environment variable.
|
110
|
+
|
107
111
|
## Branch coverage
|
108
112
|
|
109
113
|
If you enable branch coverage for SimpleCov (via `enable_coverage(:branch)` within your
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module SimpleCov::Formatter::Terminal::ColorPrinting
|
4
|
-
# rubocop:disable Metrics/CyclomaticComplexity
|
5
4
|
def color(message, color)
|
6
5
|
case color
|
7
6
|
when :white then "\e[0;37;49m#{message}\e[0m"
|
@@ -14,5 +13,4 @@ module SimpleCov::Formatter::Terminal::ColorPrinting
|
|
14
13
|
else raise("Unknown color format '#{color}'.")
|
15
14
|
end
|
16
15
|
end
|
17
|
-
# rubocop:enable Metrics/CyclomaticComplexity
|
18
16
|
end
|
@@ -32,7 +32,7 @@ class SimpleCov::Formatter::Terminal::ResultPrinter
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def print_coverage_summary(sourcefile, log_addendum = nil)
|
35
|
-
summary =
|
35
|
+
summary = "-- Coverage for #{targeted_application_file} --\n"
|
36
36
|
summary << "Line coverage: #{colorized_coverage(sourcefile.covered_percent)}"
|
37
37
|
if SimpleCov.branch_coverage?
|
38
38
|
summary << ' '
|
@@ -161,7 +161,7 @@ class SimpleCov::Formatter::Terminal::ResultPrinter
|
|
161
161
|
@sourcefile ||= @result.files.find { _1.filename.end_with?(targeted_application_file) }
|
162
162
|
end
|
163
163
|
|
164
|
-
# rubocop:disable Metrics/
|
164
|
+
# rubocop:disable Metrics/PerceivedComplexity
|
165
165
|
memo_wise \
|
166
166
|
def line_numbers_to_print
|
167
167
|
max_line_number = sourcefile.lines.map(&:line_number).max
|
@@ -197,7 +197,7 @@ class SimpleCov::Formatter::Terminal::ResultPrinter
|
|
197
197
|
end
|
198
198
|
end.to_set
|
199
199
|
end
|
200
|
-
# rubocop:enable Metrics/
|
200
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
201
201
|
|
202
202
|
memo_wise \
|
203
203
|
def line_printer
|
@@ -48,7 +48,7 @@ class SimpleCov::Formatter::Terminal
|
|
48
48
|
def format(result)
|
49
49
|
if executed_spec_files.nil?
|
50
50
|
print_info_for_no_executed_specs
|
51
|
-
elsif unmappable_spec_file?
|
51
|
+
elsif unmappable_spec_file? && targeted_application_file.nil?
|
52
52
|
print_info_for_undeterminable_application_target
|
53
53
|
elsif targeted_application_file.nil?
|
54
54
|
print_info_for_undetermined_application_target
|
@@ -33,12 +33,12 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.require_paths = ['lib']
|
34
34
|
|
35
35
|
# Uncomment to register a new dependency of your gem
|
36
|
-
spec.add_dependency('activesupport', '>= 7.0.4'
|
37
|
-
spec.add_dependency('memo_wise', '>= 1.7.0'
|
38
|
-
spec.add_dependency('rouge', '>= 4.0.0'
|
39
|
-
spec.add_dependency('rspec-core', '>= 3.11.0'
|
36
|
+
spec.add_dependency('activesupport', '>= 7.0.4')
|
37
|
+
spec.add_dependency('memo_wise', '>= 1.7.0')
|
38
|
+
spec.add_dependency('rouge', '>= 4.0.0')
|
39
|
+
spec.add_dependency('rspec-core', '>= 3.11.0')
|
40
40
|
spec.add_dependency('runger_config', '>= 3.0.0')
|
41
|
-
spec.add_dependency('simplecov', '>= 0.21.2'
|
41
|
+
spec.add_dependency('simplecov', '>= 0.21.2')
|
42
42
|
|
43
43
|
# For more information and examples about making a new gem, check out our
|
44
44
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_cov-formatter-terminal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -17,9 +16,6 @@ dependencies:
|
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: 7.0.4
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '8'
|
23
19
|
type: :runtime
|
24
20
|
prerelease: false
|
25
21
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +23,6 @@ dependencies:
|
|
27
23
|
- - ">="
|
28
24
|
- !ruby/object:Gem::Version
|
29
25
|
version: 7.0.4
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '8'
|
33
26
|
- !ruby/object:Gem::Dependency
|
34
27
|
name: memo_wise
|
35
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -37,9 +30,6 @@ dependencies:
|
|
37
30
|
- - ">="
|
38
31
|
- !ruby/object:Gem::Version
|
39
32
|
version: 1.7.0
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '2'
|
43
33
|
type: :runtime
|
44
34
|
prerelease: false
|
45
35
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -47,9 +37,6 @@ dependencies:
|
|
47
37
|
- - ">="
|
48
38
|
- !ruby/object:Gem::Version
|
49
39
|
version: 1.7.0
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '2'
|
53
40
|
- !ruby/object:Gem::Dependency
|
54
41
|
name: rouge
|
55
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,9 +44,6 @@ dependencies:
|
|
57
44
|
- - ">="
|
58
45
|
- !ruby/object:Gem::Version
|
59
46
|
version: 4.0.0
|
60
|
-
- - "<"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '5'
|
63
47
|
type: :runtime
|
64
48
|
prerelease: false
|
65
49
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -67,9 +51,6 @@ dependencies:
|
|
67
51
|
- - ">="
|
68
52
|
- !ruby/object:Gem::Version
|
69
53
|
version: 4.0.0
|
70
|
-
- - "<"
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '5'
|
73
54
|
- !ruby/object:Gem::Dependency
|
74
55
|
name: rspec-core
|
75
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,9 +58,6 @@ dependencies:
|
|
77
58
|
- - ">="
|
78
59
|
- !ruby/object:Gem::Version
|
79
60
|
version: 3.11.0
|
80
|
-
- - "<"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '4'
|
83
61
|
type: :runtime
|
84
62
|
prerelease: false
|
85
63
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -87,9 +65,6 @@ dependencies:
|
|
87
65
|
- - ">="
|
88
66
|
- !ruby/object:Gem::Version
|
89
67
|
version: 3.11.0
|
90
|
-
- - "<"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '4'
|
93
68
|
- !ruby/object:Gem::Dependency
|
94
69
|
name: runger_config
|
95
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,9 +86,6 @@ dependencies:
|
|
111
86
|
- - ">="
|
112
87
|
- !ruby/object:Gem::Version
|
113
88
|
version: 0.21.2
|
114
|
-
- - "<"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '1'
|
117
89
|
type: :runtime
|
118
90
|
prerelease: false
|
119
91
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -121,9 +93,6 @@ dependencies:
|
|
121
93
|
- - ">="
|
122
94
|
- !ruby/object:Gem::Version
|
123
95
|
version: 0.21.2
|
124
|
-
- - "<"
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '1'
|
127
96
|
description: Print detailed code coverage info to the terminal
|
128
97
|
email:
|
129
98
|
- davidjrunger@gmail.com
|
@@ -135,6 +104,7 @@ files:
|
|
135
104
|
- ".rspec"
|
136
105
|
- ".rubocop.yml"
|
137
106
|
- ".ruby-version"
|
107
|
+
- ".runger-config.yml"
|
138
108
|
- CHANGELOG.md
|
139
109
|
- Gemfile
|
140
110
|
- Gemfile.lock
|
@@ -161,7 +131,6 @@ metadata:
|
|
161
131
|
source_code_uri: https://github.com/davidrunger/simple_cov-formatter-terminal
|
162
132
|
changelog_uri: https://github.com/davidrunger/simple_cov-formatter-terminal/blob/main/CHANGELOG.md
|
163
133
|
rubygems_mfa_required: 'true'
|
164
|
-
post_install_message:
|
165
134
|
rdoc_options: []
|
166
135
|
require_paths:
|
167
136
|
- lib
|
@@ -169,15 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
169
138
|
requirements:
|
170
139
|
- - ">="
|
171
140
|
- !ruby/object:Gem::Version
|
172
|
-
version: 3.
|
141
|
+
version: 3.4.0
|
173
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
143
|
requirements:
|
175
144
|
- - ">="
|
176
145
|
- !ruby/object:Gem::Version
|
177
146
|
version: '0'
|
178
147
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
180
|
-
signing_key:
|
148
|
+
rubygems_version: 3.6.3
|
181
149
|
specification_version: 4
|
182
150
|
summary: Print detailed code coverage info to the terminal
|
183
151
|
test_files: []
|