rubocop-hk 1.3.2 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44903a6a76af129709842b5eba8942b72110fa5d30ad17ca56cb963ab5369463
4
- data.tar.gz: 0ce0dd0634813ea27f829646793692080f150c848a7e135e955b84486dfcb77c
3
+ metadata.gz: b41ae589169646cf5cfda6c5cb5111e2399f3430e438ad0fec29d1f44c2fe7da
4
+ data.tar.gz: 55a2dcc5f3aa9edb85caa672227f8134db3412ab615e5a1eb0e5d34b85d8fe62
5
5
  SHA512:
6
- metadata.gz: dda7fd7338092ac8d2400413d04be8ccda4f190bf318f97a63132d46ecd5e6001e509ddb827e9605c68c86e6c0e37837022d306edae5243a3e8f47659c074d8d
7
- data.tar.gz: eb5667f6b091a56bda491a56a27fc2aef10d6b0553e9f82c2a7295bf3757917fc73b1b66d262a6c14bfde03c0ddbcc5166e806471dd1fc1da35ec9de763ea2b4
6
+ metadata.gz: 3e58697fa55d8844041fdc09e7ece06512733002bd5d91619dc7b2d659e4b17418a65ffdefc85ef4ddc994e21fa53b4d587423ecd5f5d3fcae362cc6c96cbf0d
7
+ data.tar.gz: a8fd74b56ec1f0e023a94a6a0c55b1a1a73fd9b78825f5a101836cf6de36736a2f843ad386ee9addaa85d9b6768618adc16793456c00663cb860feaf374411ea
data/README.md CHANGED
@@ -21,7 +21,7 @@ A comprehensive RuboCop configuration for modern Ruby 3.3+ and Rails 7.1+ applic
21
21
  Add this line to your application's Gemfile:
22
22
 
23
23
  ```ruby
24
- gem 'rubocop-hk', '~> 1.3.0', require: false
24
+ gem 'rubocop-hk', '~> 1.4.0', require: false
25
25
  ```
26
26
 
27
27
  And then execute:
@@ -76,21 +76,20 @@ See [CUSTOMIZATION.md](CUSTOMIZATION.md) for detailed configuration options.
76
76
  ## Requirements
77
77
 
78
78
  - Ruby >= 3.3.0
79
- - RuboCop >= 1.78.0
79
+ - RuboCop >= 1.86.0
80
80
  - Rails >= 7.1.0 (if using Rails cops)
81
81
 
82
- ## New in v1.3.0
82
+ ## New in v1.4.0
83
83
 
84
- This maintenance release focuses on cross-platform reliability and security:
84
+ This release tracks the latest stable RuboCop toolchain:
85
85
 
86
- - **✅ All CI/CD checks passing** - Ruby 3.3 & 3.4 on Ubuntu, macOS, and Windows
87
- - **🔒 Security updates** - Updated rack, rexml, and uri to fix 7 CVEs
88
- - **🔧 Fixed Windows compatibility** - Enhanced test suite for Windows platforms
89
- - **⚡ Improved plugin loading** - Updated to modern `plugins:` directive
90
- - **🎯 RuboCop 1.78-1.81 compatible** - Verified compatibility across versions
86
+ - **⬆️ RuboCop 1.86 line** - Widened the constraint to `>= 1.86.0, < 2.0` so you always get the current 1.x release
87
+ - **🔌 Updated plugins** - rubocop-performance `~> 1.26`, rubocop-rails `~> 2.35`, rubocop-rspec `~> 3.9`
88
+ - **🛠️ Config compatibility** - Renamed the obsolete `Layout/LineLength` parameter `IgnoreCopDirectives` to `AllowCopDirectives`
89
+ - **🎯 Ruby 3.3 / 3.4 & Rails 7.1–8.1** - Verified across the supported matrix
91
90
  - **📦 45+ warning-only modern rules** - Gradual adoption without breaking builds
92
91
 
93
- See [CHANGELOG.md](CHANGELOG.md) for complete release notes and security details.
92
+ See [CHANGELOG.md](CHANGELOG.md) for complete release notes.
94
93
 
95
94
  ## Contributing
96
95
 
@@ -118,7 +118,7 @@ Layout/LineLength:
118
118
  URISchemes:
119
119
  - http
120
120
  - https
121
- IgnoreCopDirectives: true
121
+ AllowCopDirectives: true
122
122
 
123
123
  Layout/MultilineMethodCallIndentation:
124
124
  Description: Checks indentation of method calls with the dot operator that span more
@@ -3,6 +3,6 @@
3
3
  module Rubocop
4
4
  # RuboCop HK - Modern RuboCop configuration
5
5
  module Hk
6
- VERSION = "1.3.2" unless defined?(VERSION)
6
+ VERSION = "1.4.1" unless defined?(VERSION)
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-hk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hammad Khan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-08 00:00:00.000000000 Z
11
+ date: 2026-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,62 +16,62 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.78.0
19
+ version: 1.86.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.82.0
22
+ version: '2.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 1.78.0
29
+ version: 1.86.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.82.0
32
+ version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubocop-performance
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 1.25.0
39
+ version: '1.26'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 1.25.0
46
+ version: '1.26'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rubocop-rails
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 2.33.0
53
+ version: '2.35'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 2.33.0
60
+ version: '2.35'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rubocop-rspec
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 3.6.0
67
+ version: '3.9'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 3.6.0
74
+ version: '3.9'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: thor
77
77
  requirement: !ruby/object:Gem::Requirement