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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb6c8e8592e2f0fb601195fa692b8ac08b3a814ace01fc430246b59fa74604af
4
- data.tar.gz: 2e5f935c4df6a3e7c22a3e3f876b5506c5ee949565a1f803f390a5445fdf1bdc
3
+ metadata.gz: c7ac4a6a9350a749fbf84e5959ec147176f386add2b6b03b3452befdcffba2b9
4
+ data.tar.gz: 5daf6be306f23fa13aa4e1f68c3983351e0072c86c52d32dc866acae343920df
5
5
  SHA512:
6
- metadata.gz: 30ca89e277e54957aff346c3268d6c4b676c5c9513b332fac73a34f9e25cdac675e65da136618ed799476af61ffabfc09b6b8b8ddb64504705dbb346bdaa9c40
7
- data.tar.gz: 0a3badc1ce1dfa575bc8c47811e97f495fc3bcf0653c05e000e62e05164bbdf1679c83300a170459ae2ca70f3ddc8ecb84124a0ca0fa6deae444e58add717911
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.5, 3.1, 3.2, 3.3]
11
+ ruby: [3.3, 3.4, 4.0]
12
12
  steps:
13
- - uses: actions/checkout@v4
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,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
@@ -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,24 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simplecov-review (0.3.0)
5
- simplecov (>= 0.21.2, < 0.23)
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.4.1)
13
- parallel (1.21.0)
14
- parser (3.3.5.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
18
  racc
19
+ prism (1.9.0)
17
20
  racc (1.8.1)
18
- rainbow (3.0.0)
21
+ rainbow (3.1.1)
19
22
  rake (13.0.6)
20
- regexp_parser (2.1.1)
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.22.1)
36
- parallel (~> 1.10)
37
- 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)
38
43
  rainbow (>= 2.2.2, < 4.0)
39
- regexp_parser (>= 1.8, < 3.0)
40
- rexml
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 (>= 1.4.0, < 3.0)
44
- rubocop-ast (1.12.0)
45
- parser (>= 3.0.1.1)
46
- rubocop-rspec (2.5.0)
47
- rubocop (~> 1.19)
48
- ruby-progressbar (1.11.0)
49
- simplecov (0.22.0)
50
- docile (~> 1.1)
51
- simplecov-html (~> 0.11)
52
- simplecov_json_formatter (~> 0.1)
53
- simplecov-html (0.13.1)
54
- simplecov_json_formatter (0.1.4)
55
- 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)
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.7)
67
- rubocop-rspec (~> 2.5)
71
+ rubocop (~> 1.75)
72
+ rubocop-rspec (~> 3.0)
68
73
  simplecov-review!
69
74
 
70
75
  BUNDLED WITH
71
- 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.3.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', '< 0.23'
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.3.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: 2024-09-22 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
@@ -16,21 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.21.2
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.21.2
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
- post_install_message:
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: 2.5.0
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: 3.3.7
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