rubocop-powerhome 0.5.4 → 0.5.5

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: 3f21282f501d91786726b60702292b8e6f545923ff239783f11d787d8e009e22
4
- data.tar.gz: 8f0ad1426816b8af0f752bbada9be7e3ede407485ae884dfa6cbe1669b85031f
3
+ metadata.gz: 59c4bd13605f23dc289bc75af87cbdb77e8256c6e16158346c18ffb7922df034
4
+ data.tar.gz: c496dd845d71a80dc827d92c20c6e8b7333a8db51c5b3fd9431a5206a47d161a
5
5
  SHA512:
6
- metadata.gz: abe4c2908c7e74483c178788c57a8a12878c0a9b5edaac758f06974e7a35c0e4049a925aa5c2b6ba6999f3e97629abced0a8649a0d7eeb911b123f8c0cfc54a8
7
- data.tar.gz: cf46d8b4ef7fa3c10c4b96aeeb699ba15103bdeecea21dfb64ce84d91252497c75bc57845308a6a91d369b7e567fe4343a47a6fdc2452c93e994b575859e59e6
6
+ metadata.gz: 129d44f230f4f65712741b03b103e782c384dde77d7d5fc3d90ce0c3825ced45068836aa5897d269ef01168caac652b01fe0db15e1ea89a1e5c191b41887f9d4
7
+ data.tar.gz: 595dd5730dc69a0e686bd62e16acffe4c29a8d84be4420bddb2fef52d8e7de5871610ad5c5db7148fcacc5a191388c82df342a45752bc5fdacc4d923b1203b55
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.5.5] - 2025-04-22
4
+
5
+ - Fix Rubocop base class inheritance [#323](https://github.com/powerhome/power-tools/pull/323)
6
+
1
7
  ## [0.5.4] - 2025-03-18
2
8
 
3
9
  - Bump Rubocop version to bring in bugfixes.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-powerhome (0.5.4)
4
+ rubocop-powerhome (0.5.5)
5
5
  rubocop (= 1.74.0)
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- rubocop-powerhome (0.5.4)
4
+ rubocop-powerhome (0.5.5)
5
5
  rubocop (= 1.74.0)
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- rubocop-powerhome (0.5.4)
4
+ rubocop-powerhome (0.5.5)
5
5
  rubocop (= 1.74.0)
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- rubocop-powerhome (0.5.4)
4
+ rubocop-powerhome (0.5.5)
5
5
  rubocop (= 1.74.0)
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -16,7 +16,7 @@ module RuboCop
16
16
  # # ...
17
17
  # end
18
18
  #
19
- class ViewComponent < RuboCop::Cop::Cop
19
+ class ViewComponent < RuboCop::Cop::Base
20
20
  def on_class(node)
21
21
  inheritance_klass = node.node_parts[1]&.source
22
22
  return unless view_component_class?(inheritance_klass)
@@ -7,11 +7,11 @@ module RuboCop
7
7
  # specifically ViewComponent, create better Object Oriented design.
8
8
  # Global helper methods tightly couple templates.
9
9
  #
10
- class NoHelpers < RuboCop::Cop::Cop
10
+ class NoHelpers < RuboCop::Cop::Base
11
11
  MSG = "Helpers create global view methods. Instead, use view objects to " \
12
12
  "encapsulate your display logic."
13
13
 
14
- def investigate(processed_source)
14
+ def on_new_investigation
15
15
  return if processed_source.blank?
16
16
  return unless helper_path?
17
17
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Powerhome
5
- VERSION = "0.5.4"
5
+ VERSION = "0.5.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-powerhome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares
8
8
  - Garett Arrowood
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-19 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0'
243
243
  requirements: []
244
- rubygems_version: 3.6.2
244
+ rubygems_version: 3.6.7
245
245
  specification_version: 4
246
246
  summary: Powerhome Rubocop standard rules
247
247
  test_files: []