rubocop-discourse 3.5.0 → 3.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: e0e262563d61cc366463be45c83844f79bfd86dd8cb900d73dc1d967cd3589c3
4
- data.tar.gz: 5bfe6b2cc743ea58a180e8a47ade170ddd897eec20a922e6181197bdca09a2e7
3
+ metadata.gz: e57f05acccac952d699a535ba6d53c33e68c5e9e9872f35ade7272d9bf4c97f8
4
+ data.tar.gz: 615179ee1ea8739f9fc4f1c650006a2ea59b0d54fe6286d251149392a1739e87
5
5
  SHA512:
6
- metadata.gz: 6bc6f6abdbef09fe097091b9e1ed23971cc2e57a1096ec51bbac2719ac3a2bfaeba2206c137dece21adc9b3d085021528c4259652c8419d0e562ef14ae8b8929
7
- data.tar.gz: 10678b059983bd37f4db56caf4d6de13c39aa6808cf8b74f6f716e47f957a46cef68346a2ed1ccc3791139b05681b79f1e7dd120e31393fa6352b9d9676e600b
6
+ metadata.gz: 6c2e8ab893929e04877786425beead68633197d0b2dacde6e40ad814454dee38f54ec80646ca7b2bf9bde48fbe555fe7c3dffecd96ee5ac58a10f73c11d02c8e
7
+ data.tar.gz: d3c6717f1bab2b3c6c5f83fe19d340de4713390c87052ca8ce63394858b28dfad9a6668f0a0b5978263f052f1b383a0ba507ef08f07b60cff5bd592bc8bac5b9
data/rubocop-core.yml CHANGED
@@ -90,6 +90,7 @@ Lint/RedundantStringCoercion:
90
90
 
91
91
  Lint/BooleanSymbol:
92
92
  Enabled: true
93
+ AutoCorrect: false # it breaks the code
93
94
 
94
95
  Lint/ShadowedArgument:
95
96
  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.0"
5
+ s.version = "3.6.0"
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.0
4
+ version: 3.6.0
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-12 00:00:00.000000000 Z
11
+ date: 2023-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop