ezcater_rubocop 6.0.1 → 6.0.2

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: c5f12d0a1d9d61fff795e000706b9ef2d02b0d78c65e58a5563c3f11d8870148
4
- data.tar.gz: 33e6a6d1dc61072834735eb38b1e894007c87d478c8f52175158943117c76136
3
+ metadata.gz: 74dad3c36b4474ebb1ed730e204ed1256715708736a388dc809ae106256b3b08
4
+ data.tar.gz: 34751bbd4b890ba18a534bc5f47860cc6e00121d43ce3b398ddcb921c56afbb0
5
5
  SHA512:
6
- metadata.gz: bf0a35365a2fa3d1b59683b589a6fbe9718920a0c971cf49ada9b2b75b99d1289d8c667424d29cd4153e81e6990e24f7f552de8d6d1351eae77b480a0166bc1a
7
- data.tar.gz: 5cf74d0d428af4489ff699de87603f139c96df12ef07ee4c913554b31218f464d732724667e933bf16eebc6ab71b7ac85052ef36adef5f331ee2d18903daf184
6
+ metadata.gz: c9762748a349377a1f673572a21e5fd71ad80f4a5213f4fb1b95670c65b6cb7093e77b7d01168d0cd8e2bc6947321ebcf8d888f6f9fe945e9d70daee1ad019b1
7
+ data.tar.gz: e8da642c516edf9dd7a916ae664261aab3db90873fd68247012a017b22d5affac97f806bc4dbd3a5a2721ab3ebf64d97ade3bf75bc6a872e59b34d01bcfa9d5e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ This gem is moving onto its own [Semantic Versioning](https://semver.org/) schem
6
6
 
7
7
  Prior to v1.0.0 this gem was versioned based on the `MAJOR`.`MINOR` version of RuboCop. The first release of the ezcater_rubocop gem was `v0.49.0`.
8
8
 
9
+ ## 6.0.2
10
+ - Upgrade rubocop-rspec to v2.22.0 to use the new FactoryBot namespaces.
11
+ - Fix the following wrong namespaces related to `FactoryBot`: `RSpec/FactoryBot/AttributeDefinedStatically`, `RSpec/FactoryBot/CreateList` and `RSpec/FactoryBot/FactoryClassName`.
12
+
9
13
  ## 6.0.1
10
14
  - Fix a bug in the `FeatureFlagNameValid` cop where the titlecase regex matcher was incorrectly finding offenses.
11
15
 
@@ -13,7 +17,7 @@ Prior to v1.0.0 this gem was versioned based on the `MAJOR`.`MINOR` version of R
13
17
  - Add `FeatureFlagNameValid` cop to validate correct feature flag name format, [adopted from the cop](https://github.com/ezcater/ez-rails/blob/2d9272eb3d2c71dc5ebc2aa01a849cf9cfae3df2/cops/rubocop/cops/feature_flags_flag_name.rb_) in `ez-rails`.
14
18
 
15
19
  ## 5.2.1
16
- - Fix the has the wrong namespace for `RSpec/Capybara/CurrentPathExpectation` and `RSpec/Capybara/VisibilityMatcher` cops, since [they've been extracted](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md#2180-2023-01-16) into a separate repo [rubocop-capybara](https://github.com/rubocop/rubocop-capybara).
20
+ - Fix the wrong namespace for `RSpec/Capybara/CurrentPathExpectation` and `RSpec/Capybara/VisibilityMatcher` cops, since [they've been extracted](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md#2180-2023-01-16) into a separate repo [rubocop-capybara](https://github.com/rubocop/rubocop-capybara).
17
21
 
18
22
  ## 5.2.0
19
23
 
data/conf/rubocop.yml CHANGED
@@ -245,13 +245,13 @@ RSpec/Capybara/FeatureMethods:
245
245
  RSpec/EmptyHook:
246
246
  Enabled: true
247
247
 
248
- RSpec/FactoryBot/AttributeDefinedStatically:
248
+ FactoryBot/AttributeDefinedStatically:
249
249
  Enabled: true
250
250
 
251
- RSpec/FactoryBot/CreateList:
251
+ FactoryBot/CreateList:
252
252
  Enabled: true
253
253
 
254
- RSpec/FactoryBot/FactoryClassName:
254
+ FactoryBot/FactoryClassName:
255
255
  Enabled: true
256
256
 
257
257
  RSpec/MultipleMemoizedHelpers:
@@ -55,5 +55,5 @@ Gem::Specification.new do |spec|
55
55
  spec.add_runtime_dependency "rubocop", ">= 1.16.0", "< 2.0"
56
56
  spec.add_runtime_dependency "rubocop-graphql", ">= 0.14.0", "< 1.0"
57
57
  spec.add_runtime_dependency "rubocop-rails", ">= 2.10.1", "< 3.0"
58
- spec.add_runtime_dependency "rubocop-rspec", ">= 2.3.0", "< 3.0"
58
+ spec.add_runtime_dependency "rubocop-rspec", ">= 2.22.0", "< 3.0"
59
59
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EzcaterRubocop
4
- VERSION = "6.0.1"
4
+ VERSION = "6.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezcater_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ezCater, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-02 00:00:00.000000000 Z
11
+ date: 2023-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -174,7 +174,7 @@ dependencies:
174
174
  requirements:
175
175
  - - ">="
176
176
  - !ruby/object:Gem::Version
177
- version: 2.3.0
177
+ version: 2.22.0
178
178
  - - "<"
179
179
  - !ruby/object:Gem::Version
180
180
  version: '3.0'
@@ -184,7 +184,7 @@ dependencies:
184
184
  requirements:
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: 2.3.0
187
+ version: 2.22.0
188
188
  - - "<"
189
189
  - !ruby/object:Gem::Version
190
190
  version: '3.0'