carwow_rubocop 5.0.0 → 6.2.0

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: e23461bfdf3292ee603d6094aaa3b6b5d6e0e9d5475e3db9bf7345674b57076d
4
- data.tar.gz: ced30bc35295b82176b390599e33f9bb6b54a150be76c3c5e04bd2329a775855
3
+ metadata.gz: e108ea65b97764a10101747cb8437be862669af21b4dec667b6a925f5e03ef79
4
+ data.tar.gz: ac93721daa53bdf58b8b2ea8edfa42c6d5391a8b3e4193e538a610dd7fc87889
5
5
  SHA512:
6
- metadata.gz: 9faf779b59d6ba0bf8cd5c5076869eb29b90874f0d845e3a95ba058d55bca36811476962c94b76ece7bd4f89a4b45517414d05a9021fe84f3297e2e9ad8f0892
7
- data.tar.gz: b7dc05cf6539f33a19f17aa572f29985963c757288592782ffeb0298d4b400b4831af5ccbaec183856dec7cc9ac105802cd0e86b23ec46695a823bdf7bc1b67c
6
+ metadata.gz: b11d2d7b14a9b6f547a086cc78cd8990fb1ab6058f1ee0ee17b24ceca9d5e56d8c93a3c288a90ec287f403d8774d2d7da82f7b43a0f7611ac2488c44d39aa06e
7
+ data.tar.gz: 61020f74e65d0c98dffd598c9d3af20ce0aab7d352a17a950075b126a56b3188006f09a5626afede70a27987b5784ba1ad0c1763f30f6363d5309990141ad775
data/.circleci/config.yml CHANGED
@@ -1,16 +1,28 @@
1
1
  version: 2.1
2
2
 
3
3
  orbs:
4
- buildevents: honeycombio/buildevents@0.2
5
- carwow: carwow/carwow-orb@0.3
4
+ buildevents: honeycombio/buildevents@0.5
5
+ carwow: carwow/carwow-orb@0.6.0
6
6
 
7
+ executors:
8
+ ruby:
9
+ parameters:
10
+ ruby:
11
+ type: string
12
+ default: '3.2'
13
+ docker:
14
+ - &ruby
15
+ image: carwow/ruby-ci:<< parameters.ruby >>
16
+ auth: &docker_auth
17
+ username: $DOCKER_USERNAME
18
+ password: $DOCKER_TOKEN
7
19
 
8
20
  ##
9
21
  # JOBs definitions
10
22
  ##
11
23
  jobs:
12
24
  tests:
13
- executor: carwow/ruby
25
+ executor: ruby
14
26
  steps:
15
27
  - buildevents/with_job_span:
16
28
  steps:
@@ -26,7 +38,7 @@ jobs:
26
38
 
27
39
 
28
40
  lint_ruby:
29
- executor: carwow/ruby
41
+ executor: ruby
30
42
  steps:
31
43
  - buildevents/with_job_span:
32
44
  steps:
@@ -37,7 +49,7 @@ jobs:
37
49
 
38
50
 
39
51
  publish_gem:
40
- executor: carwow/ruby
52
+ executor: ruby
41
53
  steps:
42
54
  - buildevents/with_job_span:
43
55
  steps:
data/Gemfile.lock CHANGED
@@ -1,64 +1,74 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carwow_rubocop (5.0.0)
4
+ carwow_rubocop (6.2.0)
5
5
  rubocop (>= 1.44)
6
+ rubocop-factory_bot
6
7
  rubocop-performance
7
- rubocop-rspec
8
+ rubocop-rspec (>= 3.2, < 3.6)
8
9
 
9
10
  GEM
10
11
  remote: https://rubygems.org/
11
12
  specs:
12
- ast (2.4.2)
13
+ ast (2.4.3)
13
14
  coderay (1.1.3)
14
- diff-lcs (1.5.0)
15
- json (2.6.3)
16
- method_source (1.0.0)
17
- parallel (1.22.1)
18
- parser (3.2.2.0)
15
+ diff-lcs (1.5.1)
16
+ json (2.10.2)
17
+ language_server-protocol (3.17.0.4)
18
+ lint_roller (1.1.0)
19
+ method_source (1.1.0)
20
+ parallel (1.26.3)
21
+ parser (3.3.7.4)
19
22
  ast (~> 2.4.1)
20
- pry (0.14.2)
23
+ racc
24
+ prism (1.4.0)
25
+ pry (0.15.0)
21
26
  coderay (~> 1.1)
22
27
  method_source (~> 1.0)
28
+ racc (1.8.1)
23
29
  rainbow (3.1.1)
24
- rake (13.0.6)
25
- regexp_parser (2.7.0)
26
- rexml (3.2.5)
27
- rspec (3.12.0)
28
- rspec-core (~> 3.12.0)
29
- rspec-expectations (~> 3.12.0)
30
- rspec-mocks (~> 3.12.0)
31
- rspec-core (3.12.0)
32
- rspec-support (~> 3.12.0)
33
- rspec-expectations (3.12.2)
30
+ rake (13.2.1)
31
+ regexp_parser (2.10.0)
32
+ rspec (3.13.0)
33
+ rspec-core (~> 3.13.0)
34
+ rspec-expectations (~> 3.13.0)
35
+ rspec-mocks (~> 3.13.0)
36
+ rspec-core (3.13.0)
37
+ rspec-support (~> 3.13.0)
38
+ rspec-expectations (3.13.0)
34
39
  diff-lcs (>= 1.2.0, < 2.0)
35
- rspec-support (~> 3.12.0)
36
- rspec-mocks (3.12.3)
40
+ rspec-support (~> 3.13.0)
41
+ rspec-mocks (3.13.1)
37
42
  diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.12.0)
39
- rspec-support (3.12.0)
40
- rubocop (1.50.1)
43
+ rspec-support (~> 3.13.0)
44
+ rspec-support (3.13.1)
45
+ rubocop (1.75.2)
41
46
  json (~> 2.3)
47
+ language_server-protocol (~> 3.17.0.2)
48
+ lint_roller (~> 1.1.0)
42
49
  parallel (~> 1.10)
43
- parser (>= 3.2.0.0)
50
+ parser (>= 3.3.0.2)
44
51
  rainbow (>= 2.2.2, < 4.0)
45
- regexp_parser (>= 1.8, < 3.0)
46
- rexml (>= 3.2.5, < 4.0)
47
- rubocop-ast (>= 1.28.0, < 2.0)
52
+ regexp_parser (>= 2.9.3, < 3.0)
53
+ rubocop-ast (>= 1.44.0, < 2.0)
48
54
  ruby-progressbar (~> 1.7)
49
- unicode-display_width (>= 2.4.0, < 3.0)
50
- rubocop-ast (1.28.0)
51
- parser (>= 3.2.1.0)
52
- rubocop-capybara (2.17.1)
53
- rubocop (~> 1.41)
54
- rubocop-performance (1.17.1)
55
- rubocop (>= 1.7.0, < 2.0)
56
- rubocop-ast (>= 0.4.0)
57
- rubocop-rspec (2.19.0)
58
- rubocop (~> 1.33)
59
- rubocop-capybara (~> 2.17)
55
+ unicode-display_width (>= 2.4.0, < 4.0)
56
+ rubocop-ast (1.44.0)
57
+ parser (>= 3.3.7.2)
58
+ prism (~> 1.4)
59
+ rubocop-factory_bot (2.26.1)
60
+ rubocop (~> 1.61)
61
+ rubocop-performance (1.24.0)
62
+ lint_roller (~> 1.1)
63
+ rubocop (>= 1.72.1, < 2.0)
64
+ rubocop-ast (>= 1.38.0, < 2.0)
65
+ rubocop-rspec (3.5.0)
66
+ lint_roller (~> 1.1)
67
+ rubocop (~> 1.72, >= 1.72.1)
60
68
  ruby-progressbar (1.13.0)
61
- unicode-display_width (2.4.2)
69
+ unicode-display_width (3.1.4)
70
+ unicode-emoji (~> 4.0, >= 4.0.4)
71
+ unicode-emoji (4.0.4)
62
72
 
63
73
  PLATFORMS
64
74
  ruby
@@ -71,4 +81,4 @@ DEPENDENCIES
71
81
  rspec
72
82
 
73
83
  BUNDLED WITH
74
- 2.4.4
84
+ 2.4.17
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
6
6
  spec.name = 'carwow_rubocop'
7
7
  spec.version = RuboCop::Carwow::VERSION
8
8
  spec.platform = Gem::Platform::RUBY
9
- spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
9
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.2')
10
10
  spec.authors = ['carwow Developers']
11
11
  spec.email = ['developers@carwow.co.uk']
12
12
  spec.summary = "carwow's rubocop configuration"
@@ -35,7 +35,8 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  spec.add_dependency 'rubocop', '>= 1.44'
37
37
  spec.add_dependency 'rubocop-performance'
38
- spec.add_dependency 'rubocop-rspec'
38
+ spec.add_dependency 'rubocop-rspec', '>= 3.2', '< 3.6'
39
+ spec.add_dependency 'rubocop-factory_bot'
39
40
  spec.metadata = {
40
41
  'rubygems_mfa_required' => 'true'
41
42
  }
data/config/default.yml CHANGED
@@ -32,3 +32,4 @@ inherit_from:
32
32
  - './rubocop-rspec.yml'
33
33
  - './rubocop-security.yml'
34
34
  - './rubocop-style.yml'
35
+ - './rubocop-factory_bot.yml'
@@ -0,0 +1,8 @@
1
+ require:
2
+ - rubocop-factory_bot
3
+
4
+ FactoryBot:
5
+ Include:
6
+ - spec/factories/**/*.rb
7
+ - features/support/factories/**/*.rb
8
+
@@ -5,10 +5,6 @@ RSpec:
5
5
  Include:
6
6
  - _spec.rb
7
7
  - "(?:^|/)spec/"
8
- RSpec/FactoryBot:
9
- Include:
10
- - spec/factories/**/*.rb
11
- - features/support/factories/**/*.rb
12
8
 
13
9
  RSpec/ContextWording:
14
10
  Enabled: False
@@ -12,3 +12,6 @@ Style/FrozenStringLiteralComment:
12
12
 
13
13
  Style/OpenStructUse:
14
14
  Enabled: false
15
+
16
+ Style/TopLevelMethodDefinition:
17
+ Enabled: true
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Carwow
3
- VERSION = '5.0.0'.freeze
3
+ VERSION = '6.2.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carwow_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - carwow Developers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-25 00:00:00.000000000 Z
11
+ date: 2025-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -96,6 +96,26 @@ dependencies:
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '3.2'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '3.6'
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '3.2'
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: '3.6'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rubocop-factory_bot
99
119
  requirement: !ruby/object:Gem::Requirement
100
120
  requirements:
101
121
  - - ">="
@@ -130,6 +150,7 @@ files:
130
150
  - config/default.yml
131
151
  - config/rubocop-bundler.yml
132
152
  - config/rubocop-carwow.yml
153
+ - config/rubocop-factory_bot.yml
133
154
  - config/rubocop-gemspec.yml
134
155
  - config/rubocop-layout.yml
135
156
  - config/rubocop-lint.yml
@@ -162,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
183
  requirements:
163
184
  - - ">="
164
185
  - !ruby/object:Gem::Version
165
- version: 2.7.0
186
+ version: '3.2'
166
187
  required_rubygems_version: !ruby/object:Gem::Requirement
167
188
  requirements:
168
189
  - - ">="
169
190
  - !ruby/object:Gem::Version
170
191
  version: '0'
171
192
  requirements: []
172
- rubygems_version: 3.1.6
193
+ rubygems_version: 3.5.23
173
194
  signing_key:
174
195
  specification_version: 4
175
196
  summary: carwow's rubocop configuration