rubocop-discourse 3.5.1 → 3.6.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: e2b049b290bf937da8f8b3a95203f25954bf2e85b16e003d0a200e4cf90aa52d
4
- data.tar.gz: fbd835949b73e4de70aef27895cd7ba7210b4c4a8b911c7048f00112a6334f6f
3
+ metadata.gz: 7e9fb235d758a713e2af0dda30c4985b71f05cb86f1660c4c386e10ca53bd5ce
4
+ data.tar.gz: 84304eb1c797ded1fa2af6d4fc57e8de585ae584b631db88f4eeccad84c48728
5
5
  SHA512:
6
- metadata.gz: 58db04806e8ab6cf509a5953cba0bc3d1e24476459a783314a8d39d86dd89d5d89a5f95bd9e5d74b4935a70ce475e6af974031d8724cad54fded6e1a5b0ec9eb
7
- data.tar.gz: 8c45b4576541ade60ca9186359985c0b6d5ffd14a94d5c45ebd465d6bd10c997e1f86150815ed6348dacd11569c753d072524323e8c9c797eb1c722b6ca27aca
6
+ metadata.gz: 1c851bc6c2e619647677b52e51d3df9cbe38e413a6bc050532a76db80722c451407a27c045511e52f652c30c128110358e0663ae719b83878d672941d7e1fd6e
7
+ data.tar.gz: e4f3f2227473855ad627d347777eeb2ca964cca0918e9d76986f2cf3593c7d26a9bcbe442a3e1c810424f86df2da3ba85e4a84f33faf48ed5df5b5d3068c3f78
data/rubocop-core.yml CHANGED
@@ -136,6 +136,7 @@ Lint/RedundantSafeNavigation:
136
136
 
137
137
  Lint/EmptyConditionalBody:
138
138
  Enabled: true
139
+ AutoCorrect: false # it can break the code
139
140
 
140
141
  Lint/SafeNavigationConsistency:
141
142
  Enabled: true
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubocop-discourse"
5
- s.version = "3.5.1"
5
+ s.version = "3.6.1"
6
6
  s.summary = "Custom rubocop cops used by Discourse"
7
7
  s.authors = ["Discourse Team"]
8
8
  s.license = "MIT"
data/rubocop-layout.yml CHANGED
@@ -10,6 +10,10 @@ Layout/CommentIndentation:
10
10
  Layout/EmptyLines:
11
11
  Enabled: true
12
12
 
13
+ # Use empty lines between definitions.
14
+ Layout/EmptyLineBetweenDefs:
15
+ Enabled: true
16
+
13
17
  # Two spaces, no tabs (for indentation).
14
18
  Layout/IndentationWidth:
15
19
  Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-discourse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Discourse Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-15 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop