rubocop-dubit 1.2.1 → 2.0.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: 65a3220d6742299f9b90c70d2c1597ddeb78dc2a8e8ea629905ccc2a36061221
4
- data.tar.gz: 285b73e494e7507ad873d3f3d3ba471cbd5172b38f6ba0f525a2cc5d26a00dc4
3
+ metadata.gz: 06110e0f6aa92cc465dbafc1701b335b1b41df6e1a3596bb2480fcf4f895583f
4
+ data.tar.gz: e0df57418273b9ca113f161c120243833aedd0c3cf7410126b7c7663309d478e
5
5
  SHA512:
6
- metadata.gz: ee611006e1387b5ae00a42b92e83c0c1a3174b193788fb32db88c6658df7a7ca22f56351d2b5e81890a40ebb0e695def878c836084d150b65cbbbda2121e5310
7
- data.tar.gz: 2d94f3501e05f240b33300b77abc09216c4f359a4e9d233fa53de6cd50e90a0710f3c08b74600031a8682938bd9b47b8fc3607fb5d897cfc61e9af825e687e02
6
+ metadata.gz: ce5f6b6d6e2f015988d4953bcd7230075153afd0a5a83cfdd113bf42e6fa2fa6b98ec4225da57d3ff0833f23c2225b16241f3fd118c37766e78e069011539bdd
7
+ data.tar.gz: b8d956e4ea9591b88be2a2f4a27b991d969cea7b2cec4a55e04d863c8a1af5d43df5229a0a796f19ecea877659bc822e09658fd98e026f49bb2353bdb5012c31
@@ -1,5 +1,7 @@
1
1
  # Linting specific for the Ruby on Rails applications
2
- require: rubocop-rails
2
+ plugins:
3
+ - rubocop-rails
4
+ - rubocop-rake
3
5
 
4
6
  # Exclude files that are auto-generated
5
7
  AllCops:
@@ -1,7 +1,11 @@
1
1
  # Linting for the RSpec test suites
2
+ # rubocop-rspec 3.x extracted the FactoryBot and Capybara cops into separate gems, so they are
3
+ # loaded explicitly here alongside rubocop-rspec.
2
4
 
3
- require:
5
+ plugins:
4
6
  - rubocop-rspec
7
+ - rubocop-factory_bot
8
+ - rubocop-capybara
5
9
 
6
10
  # You pass blocks to describe and context methods, that grow with the number of specs inside them. It's valid
7
11
  # to have many specs in a single describe or context definition.
@@ -1,21 +1,16 @@
1
1
  # Linting for the Ruby language
2
2
 
3
- require:
3
+ plugins:
4
4
  - rubocop-performance
5
5
 
6
+ AllCops:
7
+ # Opt in to cops added in new RuboCop releases rather than silently leaving them pending.
8
+ NewCops: enable
9
+
6
10
  # Raise linting errors for code lines longer than 120 characters (about half the width of a modern laptop screen)
7
11
  Layout/LineLength:
8
12
  Max: 120
9
13
 
10
- Layout/SpaceAroundMethodCallOperator: # Added in (0.82)
11
- Enabled: true
12
-
13
- Lint/RaiseException: # Added in (0.81)
14
- Enabled: true
15
-
16
- Lint/StructNewOverride: # Added in (0.81)
17
- Enabled: true
18
-
19
14
  # The cop measures complexity of methods (nesting, branches, etc)
20
15
  # @see http://wiki.c2.com/?AbcMetric%20and%20https://en.wikipedia.org/wiki/ABC_Software_Metric
21
16
  Metrics/AbcSize:
@@ -39,17 +34,5 @@ Metrics/MethodLength:
39
34
  Naming/RescuedExceptionsVariableName:
40
35
  PreferredName: 'error'
41
36
 
42
- Style/ExponentialNotation: # Added in (0.82)
43
- Enabled: true
44
-
45
- Style/HashEachMethods: # Added in (0.80)
46
- Enabled: true
47
-
48
37
  Style/HashSyntax:
49
38
  EnforcedShorthandSyntax: never
50
-
51
- Style/HashTransformKeys: # Added in (0.80)
52
- Enabled: true
53
-
54
- Style/HashTransformValues: # Added in (0.80)
55
- Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-dubit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dubit Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-13 00:00:00.000000000 Z
11
+ date: 2026-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,70 +30,112 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.51.0
33
+ version: 0.74.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.51.0
40
+ version: 0.74.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.58.0
47
+ version: 1.88.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.58.0
54
+ version: 1.88.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-capybara
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 3.0.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 3.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-factory_bot
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.28.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.28.0
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: rubocop-performance
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
87
  - - "~>"
60
88
  - !ruby/object:Gem::Version
61
- version: 1.19.1
89
+ version: 1.26.1
62
90
  type: :runtime
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
94
  - - "~>"
67
95
  - !ruby/object:Gem::Version
68
- version: 1.19.1
96
+ version: 1.26.1
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: rubocop-rails
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: 2.22.2
103
+ version: 2.35.5
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.35.5
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.7.1
76
118
  type: :runtime
77
119
  prerelease: false
78
120
  version_requirements: !ruby/object:Gem::Requirement
79
121
  requirements:
80
122
  - - "~>"
81
123
  - !ruby/object:Gem::Version
82
- version: 2.22.2
124
+ version: 0.7.1
83
125
  - !ruby/object:Gem::Dependency
84
126
  name: rubocop-rspec
85
127
  requirement: !ruby/object:Gem::Requirement
86
128
  requirements:
87
129
  - - "~>"
88
130
  - !ruby/object:Gem::Version
89
- version: 2.25.0
131
+ version: 3.10.2
90
132
  type: :runtime
91
133
  prerelease: false
92
134
  version_requirements: !ruby/object:Gem::Requirement
93
135
  requirements:
94
136
  - - "~>"
95
137
  - !ruby/object:Gem::Version
96
- version: 2.25.0
138
+ version: 3.10.2
97
139
  description: Shared RuboCop rules for Ruby projects at Dubit
98
140
  email:
99
141
  - ops@dubitlimited.com
@@ -118,14 +160,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
160
  requirements:
119
161
  - - ">="
120
162
  - !ruby/object:Gem::Version
121
- version: '2.6'
163
+ version: '3.3'
122
164
  required_rubygems_version: !ruby/object:Gem::Requirement
123
165
  requirements:
124
166
  - - ">="
125
167
  - !ruby/object:Gem::Version
126
168
  version: '0'
127
169
  requirements: []
128
- rubygems_version: 3.2.33
170
+ rubygems_version: 3.5.22
129
171
  signing_key:
130
172
  specification_version: 4
131
173
  summary: RuboCop Dubit