rubocop-hk 1.2.1 → 1.2.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 +4 -4
- data/README.md +7 -6
- data/bin/console +15 -0
- data/bin/rubocop-hk +6 -0
- data/bin/setup +8 -0
- data/lib/rubocop/hk/version.rb +1 -1
- metadata +16 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 285efa5f31067670d7cfc692297501b03a6fdcd20dc3a66e30e6822a30eefa35
|
|
4
|
+
data.tar.gz: 86a8de88694be50ba7b881ef93e806a61bec5cbd73deeeebf1eb7cd488734eaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13da1a372c3155765ec7dc0f53e8a8ff8a703ccad27c4bcad132c6e81b5b86e25992502865641d7397920ede97c8d8ca295f7c637dedb6f287434e562a70e08a
|
|
7
|
+
data.tar.gz: f32df1ff1848d2611970b99e44f378750afb85fa0dff064d860c1626481ede610f947bf25e74b7d9702d0fd3b9a4e770d228023c42d9d76fb26e5c3ff24e9b43
|
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.2.
|
|
24
|
+
gem 'rubocop-hk', '~> 1.2.2', require: false
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then execute:
|
|
@@ -79,13 +79,14 @@ See [CUSTOMIZATION.md](CUSTOMIZATION.md) for detailed configuration options.
|
|
|
79
79
|
- RuboCop >= 1.78.0
|
|
80
80
|
- Rails >= 7.1.0 (if using Rails cops)
|
|
81
81
|
|
|
82
|
-
## New in v1.2.
|
|
82
|
+
## New in v1.2.2
|
|
83
83
|
|
|
84
|
-
This
|
|
84
|
+
This patch release improves CI/CD compatibility and dependency management:
|
|
85
85
|
|
|
86
|
-
- **
|
|
87
|
-
- **
|
|
88
|
-
- **
|
|
86
|
+
- **Enhanced RuboCop compatibility** - Support for RuboCop 1.78-1.81+ with flexible version constraints
|
|
87
|
+
- **Fixed CI/CD pipeline issues** - Resolved Docker Ruby version compatibility and test failures
|
|
88
|
+
- **Improved dependency management** - Better version ranges for more reliable installations
|
|
89
|
+
- **Maintained Ruby 3.3+ support** - Continues to target modern Ruby versions
|
|
89
90
|
- **45+ warning-only modern rules** - Gradual adoption without breaking builds
|
|
90
91
|
|
|
91
92
|
See [CHANGELOG.md](CHANGELOG.md) for complete release notes.
|
data/bin/console
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require "bundler/setup"
|
|
5
|
+
require "rubocop/hk"
|
|
6
|
+
|
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
+
|
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
+
# require "pry"
|
|
12
|
+
# Pry.start
|
|
13
|
+
|
|
14
|
+
require "irb"
|
|
15
|
+
IRB.start(__FILE__)
|
data/bin/rubocop-hk
ADDED
data/bin/setup
ADDED
data/lib/rubocop/hk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-hk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hammad Khan
|
|
@@ -13,16 +13,22 @@ dependencies:
|
|
|
13
13
|
name: rubocop
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
|
-
- - "
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 1.78.0
|
|
19
|
+
- - "<"
|
|
17
20
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.
|
|
21
|
+
version: 1.82.0
|
|
19
22
|
type: :runtime
|
|
20
23
|
prerelease: false
|
|
21
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
25
|
requirements:
|
|
23
|
-
- - "
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: 1.78.0
|
|
29
|
+
- - "<"
|
|
24
30
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.
|
|
31
|
+
version: 1.82.0
|
|
26
32
|
- !ruby/object:Gem::Dependency
|
|
27
33
|
name: rubocop-performance
|
|
28
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -82,12 +88,16 @@ dependencies:
|
|
|
82
88
|
description: Modern RuboCop configuration for Ruby and Rails applications
|
|
83
89
|
email:
|
|
84
90
|
- hammadkhanxcm@gmail.com
|
|
85
|
-
executables:
|
|
91
|
+
executables:
|
|
92
|
+
- rubocop-hk
|
|
86
93
|
extensions: []
|
|
87
94
|
extra_rdoc_files: []
|
|
88
95
|
files:
|
|
89
96
|
- README.md
|
|
90
97
|
- STYLEGUIDE.md
|
|
98
|
+
- bin/console
|
|
99
|
+
- bin/rubocop-hk
|
|
100
|
+
- bin/setup
|
|
91
101
|
- config/default.yml
|
|
92
102
|
- config/rubocop-layout.yml
|
|
93
103
|
- config/rubocop-lint.yml
|