rubocop-bridgetown 0.5.0 → 0.6.0

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: 55ea7b4b8b72d1401042de211382cae15ca378f6bcc70cd0d285de5a04db69e9
4
- data.tar.gz: ba2a83d81067a2bf70c1c5b9477471b0127858ff44d1748be926149ed1dd98a6
3
+ metadata.gz: 77d5770855e6106a4b722873f8e11e505997617642aa247f5e3629a9e55a66a5
4
+ data.tar.gz: 006da9d177a2812008ddaf7f50cd39beb42d21b301f98e9da11452e1bd575685
5
5
  SHA512:
6
- metadata.gz: cd922c7f02e8f8f4ef9ef46d5ae1252c62dbf69df305638856870dc17aba727c0bcbcfc24bf6995c0e1f1a98ace36cf1ccfadeb4c4dd11f5e76b7c7b356c564f
7
- data.tar.gz: 96beab10089b0ab81d2381e75080ab4e650eca57b86486aa61be69bfb839bb454da7bce1b2d3b77be47321ca3d5386a84062f94c88bd19d40f9e829189878fed
6
+ metadata.gz: 9e9ce63f05136e486de72593361f48479e450ea3894608e2104b2f98d1092ee7c0927a8512034010d8f720ea07c735e0ada0eea7021767a6b254277144ac0656
7
+ data.tar.gz: 690b96fa2e93606e1c9b3ea9a7a2d0d17e79046782397f5947595909df80e6d3a5e447659a3dd2464a9a67cd14e0a196ee0a44b82a89bada119f984ae87317fa
data/.rubocop.yml CHANGED
@@ -75,6 +75,8 @@ Style/Lambda:
75
75
  EnforcedStyle: literal
76
76
  Style/LambdaCall:
77
77
  Enabled: false
78
+ Style/MixinGrouping:
79
+ Enabled: false
78
80
  Style/ModuleFunction:
79
81
  Enabled: false
80
82
  Style/MultilineBlockChain:
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  module Cop
5
5
  module Bridgetown
6
- class InsecureHeredoc < Cop
6
+ class InsecureHeredoc < Base
7
7
  include Heredoc
8
8
 
9
9
  MSG = "Insecure heredoc detected. Use `html`, `html_map`, `html_attributes`, `text`, " \
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  module Cop
5
5
  module Bridgetown
6
- class NoPAllowed < Cop
6
+ class NoPAllowed < Base
7
7
  MSG = "Avoid using `p` to print things. Use `Bridgetown.logger` instead."
8
8
 
9
9
  def_node_search :p_called?, "(send _ :p _)"
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  module Cop
5
5
  module Bridgetown
6
- class NoPutsAllowed < Cop
6
+ class NoPutsAllowed < Base
7
7
  MSG = "Avoid using `puts` to print things. Use `Bridgetown.logger` instead."
8
8
 
9
9
  def_node_search :puts_called?, "(send nil? :puts _)"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-bridgetown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-11 00:00:00.000000000 Z
11
+ date: 2024-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop