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 +4 -4
- data/README.md +9 -10
- data/config/rubocop-layout.yml +1 -1
- data/lib/rubocop/hk/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b41ae589169646cf5cfda6c5cb5111e2399f3430e438ad0fec29d1f44c2fe7da
|
|
4
|
+
data.tar.gz: 55a2dcc5f3aa9edb85caa672227f8134db3412ab615e5a1eb0e5d34b85d8fe62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
79
|
+
- RuboCop >= 1.86.0
|
|
80
80
|
- Rails >= 7.1.0 (if using Rails cops)
|
|
81
81
|
|
|
82
|
-
## New in v1.
|
|
82
|
+
## New in v1.4.0
|
|
83
83
|
|
|
84
|
-
This
|
|
84
|
+
This release tracks the latest stable RuboCop toolchain:
|
|
85
85
|
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
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
|
|
92
|
+
See [CHANGELOG.md](CHANGELOG.md) for complete release notes.
|
|
94
93
|
|
|
95
94
|
## Contributing
|
|
96
95
|
|
data/config/rubocop-layout.yml
CHANGED
|
@@ -118,7 +118,7 @@ Layout/LineLength:
|
|
|
118
118
|
URISchemes:
|
|
119
119
|
- http
|
|
120
120
|
- https
|
|
121
|
-
|
|
121
|
+
AllowCopDirectives: true
|
|
122
122
|
|
|
123
123
|
Layout/MultilineMethodCallIndentation:
|
|
124
124
|
Description: Checks indentation of method calls with the dot operator that span more
|
data/lib/rubocop/hk/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
19
|
+
version: 1.86.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
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.
|
|
29
|
+
version: 1.86.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
74
|
+
version: '3.9'
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: thor
|
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|