rubocop-discourse 3.13.1 → 3.13.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ffcb5276856f6c15832300acaf965786b437576b4bc841cb82c47a12ae65f35
4
- data.tar.gz: 9b0cce0992b4e050b43c78f1b97c580db150d03dc0227e161df5e2ad9b181e6c
3
+ metadata.gz: 9dd760fae002d89a13b998aaf4077f886c31d8ea3afd66000b4921760e8e6768
4
+ data.tar.gz: 31c6b0d5198304e37ee23126d89ed1f0c739557f9e00dd64f7701e7b6797b267
5
5
  SHA512:
6
- metadata.gz: ce03e8212d7e5299d725a2d1deab17bbabf24aa1ba05a10104de7de2114897718f6092455ebd94e22b0772fc149bdf8faa7f334d0719465122c6fbf053b771ba
7
- data.tar.gz: e0aecfb3582fc2ec21d17b7c30e4ca0b195904cc5b31643fc67f993968ab72c148decac62d3f8ae2303e954021f00c7eb3dd8f9c0fc4ff2d9b6dd0823dc56093
6
+ metadata.gz: 9bbb4b4dc1209b4408043fad8e6e2ba010c845da3f2b4c7029faa4b0fb0b4c4a9093624945ab08723646c49757d92e80a538c63ed688800c24ec49b1f10786f5
7
+ data.tar.gz: e03b63f14b554756ed2e39f5c1a8464f4caa6d358b0b009bb547133a56cc622a8b8785d5a1273305b212b16e0b79bc88374110724d803a1ca6fad802c60ae0d1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Discourse
5
- VERSION = "3.13.1"
5
+ VERSION = "3.13.3"
6
6
  end
7
7
  end
data/rubocop-rails.yml CHANGED
@@ -58,6 +58,7 @@ Rails/Presence:
58
58
 
59
59
  Rails/Present:
60
60
  Enabled: true
61
+ NotNilAndNotEmpty: false # this one is based on an incorrect premise that empty? and blank? are equivalent
61
62
  Exclude:
62
63
  - "bin/*"
63
64
 
@@ -95,8 +96,9 @@ Rails/Validation:
95
96
  Rails/UnusedRenderContent:
96
97
  Enabled: true
97
98
 
99
+ # NOTE: This is unsafe due to a Rails bug (https://github.com/rails/rails/issues/55130)
98
100
  Rails/WhereMissing:
99
- Enabled: true
101
+ Enabled: false
100
102
 
101
103
  # NOTE: This is unsafe as the autofix breaks mini_sql code (that only looks like AR code)
102
104
  Rails/WhereNot:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-discourse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.1
4
+ version: 3.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Discourse Team