simplecov-review 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d469f2a7fbc2c8e9c341dda51f13d9a244d8ab65c1aabcded34f72436acd12d6
4
- data.tar.gz: e13abeee2ba7cf814bb0f835c162a519f58bbf2d73aa521c068c7f52b60011c4
3
+ metadata.gz: c7ac4a6a9350a749fbf84e5959ec147176f386add2b6b03b3452befdcffba2b9
4
+ data.tar.gz: 5daf6be306f23fa13aa4e1f68c3983351e0072c86c52d32dc866acae343920df
5
5
  SHA512:
6
- metadata.gz: 84e3ec8f6708a71c063064fa764f79ef5197d606c76e4a1e8c18fda483ea114e0ca6155a7ab5b5cbebd2be2e20231aeb72a7cb17dc78af3103de994c6c7fdbe4
7
- data.tar.gz: c58bb7d3cdf6f0aa98f1c5f4b551abfb2c51bb7e15f03f0bb806c9c4c97ae867737d072de0be71541503144ff000f5d45a508cbe5b026679baef8011794baf9b
6
+ metadata.gz: f980f0ccfba3d100627995c15e5834f632812f57703c0bee8b43c3e4208c3c2c9b22e48125ca35e0dbbaae334e2f711431c751a672586c994f18bee9135830a3
7
+ data.tar.gz: e78809e1ca828e65587d2c7a9da580a0fe8f571094a4a52e897ad9677accd5c1fabed5d85940d777a46fff9c9d0267fd6a7081462a9e2eecddf6269e17f17cb6
@@ -8,9 +8,9 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby: [2.5, 2.6, 2.7, 3.0]
11
+ ruby: [3.3, 3.4, 4.0]
12
12
  steps:
13
- - uses: actions/checkout@v2
13
+ - uses: actions/checkout@v7
14
14
  - name: Set up Ruby
15
15
  uses: ruby/setup-ruby@v1
16
16
  with:
data/.rubocop.yml CHANGED
@@ -1,17 +1,22 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-rspec
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.5
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/FilePath:
21
+ RSpec/SpecFilePathFormat:
17
22
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,4 +1,19 @@
1
- ## [Unreleased]
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
+
8
+ ## [0.3.0] - 2024-09-22
9
+
10
+ - allow simplecov 0.22 as dependency
11
+ - include ruby 3.x in test suite
12
+
13
+ ## [0.2.0] - 2022-07-11
14
+
15
+ - improve lines grouping
16
+ - add support for `:nocov:`
2
17
 
3
18
  ## [0.1.0] - 2021-10-19
4
19
 
data/Gemfile CHANGED
@@ -7,5 +7,5 @@ gemspec
7
7
 
8
8
  gem 'rake', '~> 13.0'
9
9
  gem 'rspec', '~> 3.0'
10
- gem 'rubocop', '~> 1.7'
11
- gem 'rubocop-rspec', '~> 2.5'
10
+ gem 'rubocop', '~> 1.75'
11
+ gem 'rubocop-rspec', '~> 3.0'
data/Gemfile.lock CHANGED
@@ -1,22 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simplecov-review (0.1.0)
5
- simplecov (~> 0.21.2)
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.2)
10
+ ast (2.4.3)
11
11
  diff-lcs (1.4.4)
12
- docile (1.3.5)
13
- parallel (1.21.0)
14
- parser (3.0.2.0)
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
- rainbow (3.0.0)
18
+ racc
19
+ prism (1.9.0)
20
+ racc (1.8.1)
21
+ rainbow (3.1.1)
17
22
  rake (13.0.6)
18
- regexp_parser (2.1.1)
19
- rexml (3.2.5)
23
+ regexp_parser (2.13.1)
20
24
  rspec (3.10.0)
21
25
  rspec-core (~> 3.10.0)
22
26
  rspec-expectations (~> 3.10.0)
@@ -30,39 +34,43 @@ GEM
30
34
  diff-lcs (>= 1.2.0, < 2.0)
31
35
  rspec-support (~> 3.10.0)
32
36
  rspec-support (3.10.2)
33
- rubocop (1.22.1)
34
- parallel (~> 1.10)
35
- parser (>= 3.0.0.0)
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)
36
43
  rainbow (>= 2.2.2, < 4.0)
37
- regexp_parser (>= 1.8, < 3.0)
38
- rexml
39
- rubocop-ast (>= 1.12.0, < 2.0)
44
+ regexp_parser (>= 2.9.3, < 3.0)
45
+ rubocop-ast (>= 1.49.0, < 2.0)
40
46
  ruby-progressbar (~> 1.7)
41
- unicode-display_width (>= 1.4.0, < 3.0)
42
- rubocop-ast (1.12.0)
43
- parser (>= 3.0.1.1)
44
- rubocop-rspec (2.5.0)
45
- rubocop (~> 1.19)
46
- ruby-progressbar (1.11.0)
47
- simplecov (0.21.2)
48
- docile (~> 1.1)
49
- simplecov-html (~> 0.11)
50
- simplecov_json_formatter (~> 0.1)
51
- simplecov-html (0.12.3)
52
- simplecov_json_formatter (0.1.2)
53
- unicode-display_width (2.1.0)
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)
54
60
 
55
61
  PLATFORMS
56
62
  arm64-darwin-21
63
+ arm64-darwin-23
64
+ arm64-darwin-25
57
65
  x86_64-darwin-18
58
66
  x86_64-linux
59
67
 
60
68
  DEPENDENCIES
61
69
  rake (~> 13.0)
62
70
  rspec (~> 3.0)
63
- rubocop (~> 1.7)
64
- rubocop-rspec (~> 2.5)
71
+ rubocop (~> 1.75)
72
+ rubocop-rspec (~> 3.0)
65
73
  simplecov-review!
66
74
 
67
75
  BUNDLED WITH
68
- 2.2.22
76
+ 2.5.23
@@ -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
@@ -3,7 +3,7 @@
3
3
  module SimpleCov
4
4
  module Formatter
5
5
  class ReviewFormatter
6
- VERSION = '0.2.0'
6
+ VERSION = '0.4.0'
7
7
  end
8
8
  end
9
9
  end
@@ -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 = '>= 2.5.0'
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', '~> 0.21.2'
26
+ spec.add_dependency 'simplecov', '>= 1.0'
26
27
  end
metadata CHANGED
@@ -1,30 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-review
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.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: 2022-07-11 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: simplecov
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.21.2
18
+ version: '1.0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - "~>"
23
+ - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: 0.21.2
27
- description:
25
+ version: '1.0'
28
26
  email:
29
27
  - kukicola@gmail.com
30
28
  executables: []
@@ -41,6 +39,7 @@ files:
41
39
  - LICENSE
42
40
  - README.md
43
41
  - Rakefile
42
+ - example/example.rb
44
43
  - lib/simplecov-review.rb
45
44
  - lib/simplecov-review/version.rb
46
45
  - simplecov-review.gemspec
@@ -49,7 +48,7 @@ licenses: []
49
48
  metadata:
50
49
  homepage_uri: https://github.com/kukicola/simplecov-review
51
50
  source_code_uri: https://github.com/kukicola/simplecov-review
52
- post_install_message:
51
+ rubygems_mfa_required: 'true'
53
52
  rdoc_options: []
54
53
  require_paths:
55
54
  - lib
@@ -57,15 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
56
  requirements:
58
57
  - - ">="
59
58
  - !ruby/object:Gem::Version
60
- version: 2.5.0
59
+ version: 3.3.0
61
60
  required_rubygems_version: !ruby/object:Gem::Requirement
62
61
  requirements:
63
62
  - - ">="
64
63
  - !ruby/object:Gem::Version
65
64
  version: '0'
66
65
  requirements: []
67
- rubygems_version: 3.3.7
68
- signing_key:
66
+ rubygems_version: 4.0.6
69
67
  specification_version: 4
70
68
  summary: SimpleCov formatter to generate missing lines errors for reporting tools
71
69
  like reviewdog