rubocop-hk 1.2.2 → 1.3.0

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: 285efa5f31067670d7cfc692297501b03a6fdcd20dc3a66e30e6822a30eefa35
4
- data.tar.gz: 86a8de88694be50ba7b881ef93e806a61bec5cbd73deeeebf1eb7cd488734eaa
3
+ metadata.gz: b9f1dc1498a194ae06980b6872988457b32e5c8ddca4e7e65026c93cf3203513
4
+ data.tar.gz: 707276b37ca1e772b66d512f133da403fcfd2be25fcc12e11689610ff32af9d8
5
5
  SHA512:
6
- metadata.gz: 13da1a372c3155765ec7dc0f53e8a8ff8a703ccad27c4bcad132c6e81b5b86e25992502865641d7397920ede97c8d8ca295f7c637dedb6f287434e562a70e08a
7
- data.tar.gz: f32df1ff1848d2611970b99e44f378750afb85fa0dff064d860c1626481ede610f947bf25e74b7d9702d0fd3b9a4e770d228023c42d9d76fb26e5c3ff24e9b43
6
+ metadata.gz: 55ce666f8e31b3bb13e40f05e3a9867830ecf46cd6bc531fef101e5824ed714ffb8ce4673e426498ca502914d1c51e08281ccd024bec7a4799b492da15c46c35
7
+ data.tar.gz: c0f8cd0782949676b558c10d1603933ad218873b31ec76ce66b891b3410124d198b4969a21629a648ad37829d45b0bd3c082d61c6b9d24b4d0ce7f9c8d67c21c
data/bin/rubocop-hk CHANGED
File without changes
@@ -2,6 +2,10 @@
2
2
  # Configuration for rubocop-performance plugin
3
3
  # Focused on Ruby performance patterns for Rails 6.0+ applications
4
4
 
5
+ # Load the rubocop-performance plugin
6
+ plugins:
7
+ - rubocop-performance
8
+
5
9
  # Note: Performance cops are now provided by the rubocop-performance gem
6
10
  # This configuration file provides sensible defaults for performance-oriented development
7
11
 
@@ -1,6 +1,10 @@
1
1
  # Rails 6-8.x Configuration - Modern Best Practices for 2025
2
2
  # Optimized for Rails 6.0-8.0+ applications with backward compatibility
3
3
 
4
+ # Load the rubocop-rails plugin
5
+ plugins:
6
+ - rubocop-rails
7
+
4
8
  # ==========================================
5
9
  # Core Rails Cops - Compatible with Rails 6-8.x
6
10
  # ==========================================
@@ -227,10 +231,6 @@ Rails/ReversibleMigration:
227
231
  Description: Ensure migrations are reversible
228
232
  Enabled: true
229
233
 
230
- Rails/SafeNavigation:
231
- Description: Use safe navigation instead of try!
232
- Enabled: true
233
-
234
234
  Rails/SafeNavigationWithBlank:
235
235
  Description: Avoid safe navigation with blank?
236
236
  Enabled: true
@@ -1,3 +1,7 @@
1
+ # Load the rubocop-rspec plugin
2
+ plugins:
3
+ - rubocop-rspec
4
+
1
5
  RSpec/AnyInstance:
2
6
  Description: Check that instances are not being stubbed globally.
3
7
  Prefer instance doubles over stubbing any instance of a class
@@ -3,6 +3,6 @@
3
3
  module Rubocop
4
4
  # RuboCop HK - Modern RuboCop configuration
5
5
  module Hk
6
- VERSION = "1.2.2" unless defined?(VERSION)
6
+ VERSION = "1.3.0" 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.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hammad Khan