simplecov-review 0.3.0 → 0.4.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.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +2 -2
- data/.rubocop.yml +8 -3
- data/CHANGELOG.md +7 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +36 -31
- data/example/example.rb +29 -0
- data/lib/simplecov-review/version.rb +1 -1
- data/simplecov-review.gemspec +3 -2
- metadata +8 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7ac4a6a9350a749fbf84e5959ec147176f386add2b6b03b3452befdcffba2b9
|
|
4
|
+
data.tar.gz: 5daf6be306f23fa13aa4e1f68c3983351e0072c86c52d32dc866acae343920df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f980f0ccfba3d100627995c15e5834f632812f57703c0bee8b43c3e4208c3c2c9b22e48125ca35e0dbbaae334e2f711431c751a672586c994f18bee9135830a3
|
|
7
|
+
data.tar.gz: e78809e1ca828e65587d2c7a9da580a0fe8f571094a4a52e897ad9677accd5c1fabed5d85940d777a46fff9c9d0267fd6a7081462a9e2eecddf6269e17f17cb6
|
data/.github/workflows/main.yml
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
plugins:
|
|
2
2
|
- rubocop-rspec
|
|
3
3
|
|
|
4
4
|
AllCops:
|
|
5
|
-
TargetRubyVersion:
|
|
5
|
+
TargetRubyVersion: 3.3
|
|
6
6
|
NewCops: enable
|
|
7
|
+
SuggestExtensions: false
|
|
7
8
|
|
|
8
9
|
Naming/FileName:
|
|
9
10
|
Exclude:
|
|
10
11
|
- "lib/simplecov-review.rb"
|
|
11
12
|
- "spec/simplecov-review_spec.rb"
|
|
12
13
|
|
|
14
|
+
Style/Documentation:
|
|
15
|
+
Exclude:
|
|
16
|
+
- "example/**/*"
|
|
17
|
+
|
|
13
18
|
RSpec/NamedSubject:
|
|
14
19
|
Enabled: false
|
|
15
20
|
|
|
16
|
-
RSpec/
|
|
21
|
+
RSpec/SpecFilePathFormat:
|
|
17
22
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [0.4.0] - 2026-10-05
|
|
2
|
+
|
|
3
|
+
- require simplecov >= 1.0 and ruby >= 3.3
|
|
4
|
+
- move coverage fixture out of `spec/` so SimpleCov 1.x default skips do not hide it
|
|
5
|
+
- simplify CI to a single Gemfile on ruby 3.3, 3.4, and 4.0
|
|
6
|
+
- bump actions/checkout to v7
|
|
7
|
+
|
|
1
8
|
## [0.3.0] - 2024-09-22
|
|
2
9
|
|
|
3
10
|
- allow simplecov 0.22 as dependency
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
simplecov-review (0.
|
|
5
|
-
simplecov (>=
|
|
4
|
+
simplecov-review (0.4.0)
|
|
5
|
+
simplecov (>= 1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
ast (2.4.
|
|
10
|
+
ast (2.4.3)
|
|
11
11
|
diff-lcs (1.4.4)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
json (3.0.2)
|
|
13
|
+
language_server-protocol (3.17.0.6)
|
|
14
|
+
lint_roller (1.1.0)
|
|
15
|
+
parallel (2.3.0)
|
|
16
|
+
parser (3.3.12.0)
|
|
15
17
|
ast (~> 2.4.1)
|
|
16
18
|
racc
|
|
19
|
+
prism (1.9.0)
|
|
17
20
|
racc (1.8.1)
|
|
18
|
-
rainbow (3.
|
|
21
|
+
rainbow (3.1.1)
|
|
19
22
|
rake (13.0.6)
|
|
20
|
-
regexp_parser (2.
|
|
21
|
-
rexml (3.2.5)
|
|
23
|
+
regexp_parser (2.13.1)
|
|
22
24
|
rspec (3.10.0)
|
|
23
25
|
rspec-core (~> 3.10.0)
|
|
24
26
|
rspec-expectations (~> 3.10.0)
|
|
@@ -32,40 +34,43 @@ GEM
|
|
|
32
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
33
35
|
rspec-support (~> 3.10.0)
|
|
34
36
|
rspec-support (3.10.2)
|
|
35
|
-
rubocop (1.
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
rubocop (1.91.0)
|
|
38
|
+
json (>= 2.3)
|
|
39
|
+
language_server-protocol (~> 3.17.0.2)
|
|
40
|
+
lint_roller (~> 1.1.0)
|
|
41
|
+
parallel (>= 1.10)
|
|
42
|
+
parser (>= 3.3.0.2)
|
|
38
43
|
rainbow (>= 2.2.2, < 4.0)
|
|
39
|
-
regexp_parser (>=
|
|
40
|
-
|
|
41
|
-
rubocop-ast (>= 1.12.0, < 2.0)
|
|
44
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
45
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
42
46
|
ruby-progressbar (~> 1.7)
|
|
43
|
-
unicode-display_width (>=
|
|
44
|
-
rubocop-ast (1.
|
|
45
|
-
parser (>= 3.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
unicode-
|
|
47
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
48
|
+
rubocop-ast (1.50.0)
|
|
49
|
+
parser (>= 3.3.7.2)
|
|
50
|
+
prism (~> 1.7)
|
|
51
|
+
rubocop-rspec (3.10.2)
|
|
52
|
+
lint_roller (~> 1.1)
|
|
53
|
+
regexp_parser (>= 2.0)
|
|
54
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
55
|
+
ruby-progressbar (1.13.0)
|
|
56
|
+
simplecov (1.3.2)
|
|
57
|
+
unicode-display_width (3.3.0)
|
|
58
|
+
unicode-emoji (~> 4.3)
|
|
59
|
+
unicode-emoji (4.3.0)
|
|
56
60
|
|
|
57
61
|
PLATFORMS
|
|
58
62
|
arm64-darwin-21
|
|
59
63
|
arm64-darwin-23
|
|
64
|
+
arm64-darwin-25
|
|
60
65
|
x86_64-darwin-18
|
|
61
66
|
x86_64-linux
|
|
62
67
|
|
|
63
68
|
DEPENDENCIES
|
|
64
69
|
rake (~> 13.0)
|
|
65
70
|
rspec (~> 3.0)
|
|
66
|
-
rubocop (~> 1.
|
|
67
|
-
rubocop-rspec (~>
|
|
71
|
+
rubocop (~> 1.75)
|
|
72
|
+
rubocop-rspec (~> 3.0)
|
|
68
73
|
simplecov-review!
|
|
69
74
|
|
|
70
75
|
BUNDLED WITH
|
|
71
|
-
2.
|
|
76
|
+
2.5.23
|
data/example/example.rb
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
class Example
|
|
4
|
+
def abc
|
|
5
|
+
a = 2 + 2
|
|
6
|
+
|
|
7
|
+
a * 2
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def bcd(arg)
|
|
11
|
+
return 1 if arg == 1
|
|
12
|
+
|
|
13
|
+
arg**2
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# :nocov:
|
|
17
|
+
def another
|
|
18
|
+
'hi!'
|
|
19
|
+
end
|
|
20
|
+
# :nocov:
|
|
21
|
+
|
|
22
|
+
def cde
|
|
23
|
+
'hello'
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def xyz
|
|
27
|
+
'not covered'
|
|
28
|
+
end
|
|
29
|
+
end
|
data/simplecov-review.gemspec
CHANGED
|
@@ -10,10 +10,11 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = 'SimpleCov formatter to generate missing lines errors for reporting tools like reviewdog'
|
|
12
12
|
spec.homepage = 'https://github.com/kukicola/simplecov-review'
|
|
13
|
-
spec.required_ruby_version = '>=
|
|
13
|
+
spec.required_ruby_version = '>= 3.3.0'
|
|
14
14
|
|
|
15
15
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
16
16
|
spec.metadata['source_code_uri'] = spec.homepage
|
|
17
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
17
18
|
|
|
18
19
|
# Specify which files should be added to the gem when it is released.
|
|
19
20
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -22,5 +23,5 @@ Gem::Specification.new do |spec|
|
|
|
22
23
|
end
|
|
23
24
|
spec.require_paths = ['lib']
|
|
24
25
|
|
|
25
|
-
spec.add_dependency 'simplecov', '>=
|
|
26
|
+
spec.add_dependency 'simplecov', '>= 1.0'
|
|
26
27
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simplecov-review
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karol Bąk
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: simplecov
|
|
@@ -16,21 +15,14 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0
|
|
20
|
-
- - "<"
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '0.23'
|
|
18
|
+
version: '1.0'
|
|
23
19
|
type: :runtime
|
|
24
20
|
prerelease: false
|
|
25
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
22
|
requirements:
|
|
27
23
|
- - ">="
|
|
28
24
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0
|
|
30
|
-
- - "<"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0.23'
|
|
33
|
-
description:
|
|
25
|
+
version: '1.0'
|
|
34
26
|
email:
|
|
35
27
|
- kukicola@gmail.com
|
|
36
28
|
executables: []
|
|
@@ -47,6 +39,7 @@ files:
|
|
|
47
39
|
- LICENSE
|
|
48
40
|
- README.md
|
|
49
41
|
- Rakefile
|
|
42
|
+
- example/example.rb
|
|
50
43
|
- lib/simplecov-review.rb
|
|
51
44
|
- lib/simplecov-review/version.rb
|
|
52
45
|
- simplecov-review.gemspec
|
|
@@ -55,7 +48,7 @@ licenses: []
|
|
|
55
48
|
metadata:
|
|
56
49
|
homepage_uri: https://github.com/kukicola/simplecov-review
|
|
57
50
|
source_code_uri: https://github.com/kukicola/simplecov-review
|
|
58
|
-
|
|
51
|
+
rubygems_mfa_required: 'true'
|
|
59
52
|
rdoc_options: []
|
|
60
53
|
require_paths:
|
|
61
54
|
- lib
|
|
@@ -63,15 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
63
56
|
requirements:
|
|
64
57
|
- - ">="
|
|
65
58
|
- !ruby/object:Gem::Version
|
|
66
|
-
version:
|
|
59
|
+
version: 3.3.0
|
|
67
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
61
|
requirements:
|
|
69
62
|
- - ">="
|
|
70
63
|
- !ruby/object:Gem::Version
|
|
71
64
|
version: '0'
|
|
72
65
|
requirements: []
|
|
73
|
-
rubygems_version:
|
|
74
|
-
signing_key:
|
|
66
|
+
rubygems_version: 4.0.6
|
|
75
67
|
specification_version: 4
|
|
76
68
|
summary: SimpleCov formatter to generate missing lines errors for reporting tools
|
|
77
69
|
like reviewdog
|