netsoft-rubocop 1.1.8 → 1.1.9

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: 6c7abd8532a60251c8b7e284add09679ca54b6c6e1005b57d6ca6fd1844388bb
4
- data.tar.gz: 7c51054e4c9c09f76ca819c406520ca0154487f3ad3fef9da17fb122aabff945
3
+ metadata.gz: 6a0d1ee92ce41dac210aff7575ff6c36ce179b24d27c186797918b70402a7a26
4
+ data.tar.gz: 85727b896a601190f4a636b19e208618c851533850face137b7dc71354088351
5
5
  SHA512:
6
- metadata.gz: 75a84526711ff8368a1507b438bb1b8bc14aab96e6eae5c5538e3c47ee73da65c1ffaacebd49ad3982a93fa167921e4a0673bd3ebdc3a4e7d2962c1bec247b7d
7
- data.tar.gz: 4b8b15ab4b57bd4851ae03f866be09047089bc24770837b4b5022ff18e5f51101cc16b9b0079653b6011aec2c9c964fd2d684e53701f832b8f89bd3a0297d798
6
+ metadata.gz: 21521b53f90fb9ee1982b5a82b12256189d86a53afdcb4a2ed95438faa6ae9704c874105934815ec205f5eca6e0c6b54d03571ab7f8f0d1e904a9f89de486c1d
7
+ data.tar.gz: ce205d3d13f12131fc597ac9265ef3d8d0d63898c7b1d15581cfdd193ea834d67d5d4e016b1f0517e7556aa19d74bfba8f4c4cab29a097eb889e06c81fe0879d
data/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Changed
11
11
  ### Fixed
12
12
 
13
+ ## [1.1.9] - 2024-06-17
14
+ ### Changed
15
+ - update rubocop, and rubocop-[everything] to latest possible versions that support Ruby 2
16
+ - add new rules according to new cops emerged
17
+
13
18
  ## [1.1.8] - 2023-12-12
14
19
  ### Fixed
15
20
  - fix dependency on gems that are only necessary for CI
data/config/default.yml CHANGED
@@ -5,6 +5,7 @@ require:
5
5
  - rubocop-rspec
6
6
  - rubocop-rake
7
7
  - rubocop-capybara
8
+ - rubocop-rspec_rails
8
9
  - rubocop-factory_bot
9
10
  - rubocop-graphql
10
11
 
@@ -251,9 +252,25 @@ RSpec/SortMetadata:
251
252
  Enabled: false
252
253
 
253
254
  # Same as for Rails/HttpStatus
254
- RSpec/Rails/HttpStatus:
255
+ RSpecRails/HttpStatus:
255
256
  EnforcedStyle: numeric
256
257
 
258
+ # Limits an amount of items created by `create_list`. This should be a human decision on review, not
259
+ # mechanical limitation.
260
+ FactoryBot/ExcessiveCreateList:
261
+ Enabled: false
262
+
263
+ # Prohibits literals like numbers in the descriptions; which might sometimes be useful, and also conflicts
264
+ # with `its_call(number)` (which it understands like a description).
265
+ RSpec/UndescriptiveLiteralsDescription:
266
+ Enabled: false
267
+
268
+ # Enforces either `to have_no_selector` (the default) or `to_not have_selector` (a setting).
269
+ # We use the latter in our codebase, but there is no reason to strictly prohibit the former (it
270
+ # might be used in chains), so no biggie.
271
+ Capybara/NegationMatcher:
272
+ Enabled: false
273
+
257
274
  # endregion
258
275
 
259
276
  # region Style
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Netsoft
4
4
  module Rubocop
5
- VERSION = '1.1.8'
5
+ VERSION = '1.1.9'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsoft-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Yarotsky
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-12-19 00:00:00.000000000 Z
12
+ date: 2024-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 1.57.0
20
+ version: 1.64.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 1.57.0
27
+ version: 1.64.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubocop-graphql
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -45,28 +45,28 @@ dependencies:
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 1.19.1
48
+ version: 1.21.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 1.19.1
55
+ version: 1.21.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rubocop-rails
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 2.21.2
62
+ version: 2.25.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 2.21.2
69
+ version: 2.25.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rubocop-rake
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -87,14 +87,56 @@ dependencies:
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 2.24.1
90
+ version: 3.0.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 2.24.1
97
+ version: 3.0.1
98
+ - !ruby/object:Gem::Dependency
99
+ name: rubocop-capybara
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '='
103
+ - !ruby/object:Gem::Version
104
+ version: 2.21.0
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '='
110
+ - !ruby/object:Gem::Version
111
+ version: 2.21.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: rubocop-factory_bot
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '='
117
+ - !ruby/object:Gem::Version
118
+ version: 2.26.1
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 2.26.1
126
+ - !ruby/object:Gem::Dependency
127
+ name: rubocop-rspec_rails
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '='
131
+ - !ruby/object:Gem::Version
132
+ version: 2.30.0
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '='
138
+ - !ruby/object:Gem::Version
139
+ version: 2.30.0
98
140
  description:
99
141
  email:
100
142
  - alex.yarotsky@hubstaff.com
@@ -132,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
174
  - !ruby/object:Gem::Version
133
175
  version: '0'
134
176
  requirements: []
135
- rubygems_version: 3.4.10
177
+ rubygems_version: 3.4.19
136
178
  signing_key:
137
179
  specification_version: 4
138
180
  summary: Hubstaff style guides and shared style configs.