test-prof 1.5.1 → 1.5.2

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: 2dff1d8ae5206095a30da3b95a68c39df0571bcd7525f8601c2ff0b7ce0b5d06
4
- data.tar.gz: a67fe77ee1826c220e7afde7e5df026d88c61a2d376134bc858b4a2143a6b883
3
+ metadata.gz: 794f7efe13d07689e57f27d14a50a6ac0dc1e01de5b52641a94b6b8fbc6f4f8e
4
+ data.tar.gz: 5258154393ae1e875df4ff416beb1155666d350a9cdb0c2e63f37b05d4879470
5
5
  SHA512:
6
- metadata.gz: a939c453031278d52fc942f81e712aaafc6959286757a9fdc2680e514f6932488e38da8e2591b4e04aac790088cb109da49a014403f3e67156f31bf4e53b46d2
7
- data.tar.gz: 43130ba15fbb3f17cb087733c587724185ad849011477424cb2805df9e86cde41c8101d14126b7d0483999f5f08363727b09caabf471b73d85b8652eb2412fb4
6
+ metadata.gz: 1fc69db1c6064900b34fa0da7319ea48926d6d6f187059c7a63786370150e9e2b6c97f409c16afa7919f2e9e32652d6ba242624608c5b0f082e5a6b4721a2de7
7
+ data.tar.gz: cd24bd5a9fd594953a054a85cbc85ece2b2e36d0523ce9bd3f75b8840384a54cf1f92cfd6697951f84cb9d47073e7d39d6504325ee48ec7871bed00609a39167
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 1.5.2 (2026-02-03)
6
+
7
+ - Avoid using `Gem.loaded_specs` methods in RuboCop plugin version check. ([@Rylan12][])
8
+
5
9
  ## 1.5.1 (2026-01-27)
6
10
 
7
11
  - Fix RuboCop plugin. ([@palkan][])
@@ -484,3 +488,4 @@ See [changelog](https://github.com/test-prof/test-prof/blob/v0.8.0/CHANGELOG.md)
484
488
  [@john-h-k]: https://github.com/john-h-k
485
489
  [@devinburnette]: https://github.com/devinburnette
486
490
  [@elasticspoon]: https://github.com/elasticspoon
491
+ [@Rylan12]: https://github.com/Rylan12
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "test_prof/utils"
4
- supported = TestProf::Utils.verify_gem_version("rubocop", at_least: "0.51.0")
5
- unless supported
3
+ if Gem::Version.new(RuboCop::Version::STRING) < Gem::Version.new("0.51.0")
6
4
  warn "TestProf cops require RuboCop >= 0.51.0 to run."
7
5
  return
8
6
  end
data/lib/test-prof.rb CHANGED
@@ -3,8 +3,6 @@
3
3
  require "test_prof"
4
4
 
5
5
  # For RuboCop plugin
6
- if defined?(RuboCop)
7
- module RuboCop
8
- autoload :TestProf, "rubocop/test_prof"
9
- end
6
+ module RuboCop
7
+ autoload :TestProf, "rubocop/test_prof"
10
8
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestProf
4
- VERSION = "1.5.1"
4
+ VERSION = "1.5.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-27 00:00:00.000000000 Z
11
+ date: 2026-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler