rubocop-powerhome 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f600a565fdbcc14fe35a92718726d3a6ad595608ac1ef2cf1f1577ee2a86699f
4
- data.tar.gz: 0d7e2760b6bfa60936e79789bb43aaa28a1adb6ab2857c3b459d042e2dab0ff0
3
+ metadata.gz: dd64fd1998b87999ae9bb7099b5679bb6a30761b12737cd35f88e49781fc4e7c
4
+ data.tar.gz: 4396dfb22ae26ef117a7c68c90deaba21702c47621eb70c5a4685118aec74850
5
5
  SHA512:
6
- metadata.gz: a02803ca4e2ed95884ff9e90e52c6b3c155bd2b7c3759479a6cda536d34f39488ff9b42a415706190e7a74e3d3c1251e261cdc3deb36249919ebb95580a0417f
7
- data.tar.gz: dc326b826f6deb0b1704e6d720666c174dad28ba893287841cbdc11ba9b41f1cb208adbce6302d0eb9d27c77fdf38515c773c1aeca212a24c66246908a0a29ec
6
+ metadata.gz: e402c21a5d9f395620d5681c40f7738aebbd50666f94dacb14db765f66f749768bbe8f4cf030e4761449b99073264315c945b65b49229b55c91d632280d21600
7
+ data.tar.gz: 7b722eab1a5f6bdbcb4d2e3b52b5d694aca839745079263e421d6c4740216d0ca4d0148783032fa119ecc07e35f6a0fe2f2ab6a9139ee41f408c4a5ca32f984b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.1] - 2022-06-02
4
+
5
+ - Fix bug in Naming/ViewComponent when class does not inherit
6
+
3
7
  ## [0.4.0] - 2022-06-01
4
8
 
5
9
  - Adds Naming/ViewComponent cop
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-powerhome (0.4.0)
4
+ rubocop-powerhome (0.4.1)
5
5
  rubocop
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -30,7 +30,7 @@ module RuboCop
30
30
  private
31
31
 
32
32
  def view_component_class?(inheritance_klass)
33
- inheritance_klass.end_with?("::ApplicationComponent", "ViewComponent::Base")
33
+ inheritance_klass&.end_with?("::ApplicationComponent", "ViewComponent::Base")
34
34
  end
35
35
  end
36
36
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Powerhome
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-powerhome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-06-01 00:00:00.000000000 Z
12
+ date: 2022-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop