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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/gemfiles/rails_6_0.gemfile.lock +1 -1
- data/gemfiles/rails_6_1.gemfile.lock +1 -1
- data/gemfiles/rails_7_0.gemfile.lock +1 -1
- data/lib/rubocop/cop/naming/view_component.rb +1 -1
- data/lib/rubocop/cop/style/no_helpers.rb +2 -2
- data/lib/rubocop/powerhome/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59c4bd13605f23dc289bc75af87cbdb77e8256c6e16158346c18ffb7922df034
|
4
|
+
data.tar.gz: c496dd845d71a80dc827d92c20c6e8b7333a8db51c5b3fd9431a5206a47d161a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 129d44f230f4f65712741b03b103e782c384dde77d7d5fc3d90ce0c3825ced45068836aa5897d269ef01168caac652b01fe0db15e1ea89a1e5c191b41887f9d4
|
7
|
+
data.tar.gz: 595dd5730dc69a0e686bd62e16acffe4c29a8d84be4420bddb2fef52d8e7de5871610ad5c5db7148fcacc5a191388c82df342a45752bc5fdacc4d923b1203b55
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -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::
|
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
|
14
|
+
def on_new_investigation
|
15
15
|
return if processed_source.blank?
|
16
16
|
return unless helper_path?
|
17
17
|
|
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
|
+
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:
|
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.
|
244
|
+
rubygems_version: 3.6.7
|
245
245
|
specification_version: 4
|
246
246
|
summary: Powerhome Rubocop standard rules
|
247
247
|
test_files: []
|