rubocop-rails 2.20.0 → 2.20.1

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: 22c95e775f271cb0f160d1e57cb8582ce3f57cabef1afd860c88a3d57fe6b248
4
- data.tar.gz: c9471d33b16523be2e193ac789bf98ad9cde3b299e496e42d26f6e15ff6b24fc
3
+ metadata.gz: c2b42b7139019411be72a5ddef55c1037712c10d65de30c86c70873ffafd845f
4
+ data.tar.gz: 10f1d00e705302bbee5f327dfb340c8618a81602e2c681cff80da1db78c450b0
5
5
  SHA512:
6
- metadata.gz: a123680bab27b5926384dcc4a245bdbb96fd8112c8a152cde44ada0bedb732ab35765665a5db8630aaa559f072060e78eda1077e82899b0ffc1808851229825f
7
- data.tar.gz: be271e0fadfd44c7dfc7c6547e1793b40da9521eed8466d4ff8ee69de9eed41f681c03e3431faf24c121bc0b979fe3939b6c948ffdc172895e6808174f126691
6
+ metadata.gz: 290449be7da9d2c0d1f1666e1d05a888ec52bda109609a9edaaa15c60a392015197066c69486404f8556a2bc316936a21cbcfc8080ca9b9a020d3fe321e66339
7
+ data.tar.gz: '0029ee6a3792e4c4e127a50ba8cbc59b0df5994820a04729968016b5eee2aa977f7550e5b3c5083aa64eee70b10807cbba727c372b799479ac7315b01ec083a9'
@@ -31,7 +31,7 @@ module RuboCop
31
31
  RESTRICT_ON_SEND = %i[validates].freeze
32
32
 
33
33
  def on_send(node)
34
- return if uniqueness_part(node).falsey_literal?
34
+ return if uniqueness_part(node)&.falsey_literal?
35
35
  return if condition_part?(node)
36
36
  return unless schema
37
37
 
@@ -4,7 +4,7 @@ module RuboCop
4
4
  module Rails
5
5
  # This module holds the RuboCop Rails version information.
6
6
  module Version
7
- STRING = '2.20.0'
7
+ STRING = '2.20.1'
8
8
 
9
9
  def self.document_version
10
10
  STRING.match('\d+\.\d+').to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.0
4
+ version: 2.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-06-18 00:00:00.000000000 Z
13
+ date: 2023-06-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport