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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10fe695e4b1601a1f25433d44c4cf4a41d34fe8e87343677c1ef0461f43e0ba3
4
- data.tar.gz: 497a5c04edbbf771d97b2bd00c4b879dca0c28859e1dae83f8f5fdbb952c214f
3
+ metadata.gz: 285efa5f31067670d7cfc692297501b03a6fdcd20dc3a66e30e6822a30eefa35
4
+ data.tar.gz: 86a8de88694be50ba7b881ef93e806a61bec5cbd73deeeebf1eb7cd488734eaa
5
5
  SHA512:
6
- metadata.gz: 73825a8781331af40e666618a44c6e00c41a5f77ed00ffb36c54b070ec9c37f318f3c652d82874c68da25204cfbac93e8db1395e4987a91ab646d605513a069a
7
- data.tar.gz: c55572742f8305c16944c3f800526580fcad5aac6bf633201dffad5a9c751d2f1594cf65934287c3e765b568aa9e7854ec895a3352e2ed9c8b76f70f8beb1da9
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.1', require: false
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.1
82
+ ## New in v1.2.2
83
83
 
84
- This hotfix release resolves CI/CD pipeline issues and establishes Ruby 3.3+ support:
84
+ This patch release improves CI/CD compatibility and dependency management:
85
85
 
86
- - **Fixed RuboCop 1.80+ compatibility** - Resolved Rails cop validation errors
87
- - **Added missing gem entry point** - Proper gem loading with `require 'rubocop-hk'`
88
- - **Updated Ruby version requirement** - Now requires Ruby >= 3.3.0
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
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "rubocop/hk/command"
5
+
6
+ Rubocop::Hk::Command.start(ARGV)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$"\n\t"
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -3,6 +3,6 @@
3
3
  module Rubocop
4
4
  # RuboCop HK - Modern RuboCop configuration
5
5
  module Hk
6
- VERSION = "1.2.1" unless defined?(VERSION)
6
+ VERSION = "1.2.2" unless defined?(VERSION)
7
7
  end
8
8
  end
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.1
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.80.0
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.80.0
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