simplycop 1.14.18 → 1.15.0

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: 4c4f3cf1e5a8d1af59705accabb65136954b8237c6257164695d289df0281f2d
4
- data.tar.gz: f0ff5eebbc578b9151b8e9472048cc7ad102a955741039c39d5a7076eb1a2f98
3
+ metadata.gz: 2f580e0cc96d18132ee3c19a764a1331cf21e4891cb3c0efe00437865e26cc3d
4
+ data.tar.gz: a5eae4231a52ad7d2c867c8fb3a621458fd39f86c2f834c0b2c37d7e3b60a150
5
5
  SHA512:
6
- metadata.gz: dbe334ffbbacc9d1834d56a6be73ca0b263eda328166222edb5ec71e87c2455929103c1ae0b543e1c54b89d3f9442dac19b718e51a537058fcb21b537e91679f
7
- data.tar.gz: 6610320caef88186376105c8d8f158cd0b20d9e05b44f61c8b81822e599cb6e9aa43890d176eefc5ac4ed5208b1d32bd0b606b16d46cbb00958ae204753eeaa4
6
+ metadata.gz: 8c23e873a8ccc8c747262ac7cbeac245d8d86d2d40d922c189b45d5d86f7a331659e65d22d1e4c950b7632e0a15be97d6fc8829e93bc419e224f39a6c1c1059f
7
+ data.tar.gz: 4fbd5b4a0006e62c5a69ebc9026eb62f768537745b8f96cef4dec0ea4d5cd8c74b58d17e4ac104903d3cdb06942de5720e0bafbbbd4f39a0c8363d4b19e6838b
data/.simplycop_lint.yml CHANGED
@@ -166,12 +166,18 @@ Lint/InheritException:
166
166
  Lint/InterpolationCheck:
167
167
  Enabled: true
168
168
 
169
+ Lint/ItWithoutArgumentsInBlock:
170
+ Enabled: true
171
+
169
172
  Lint/LambdaWithoutLiteralBlock:
170
173
  Enabled: true
171
174
 
172
175
  Lint/LiteralAsCondition:
173
176
  Enabled: true
174
177
 
178
+ Lint/LiteralAssignmentInCondition:
179
+ Enabled: true
180
+
175
181
  Lint/LiteralInInterpolation:
176
182
  Enabled: true
177
183
 
data/.simplycop_rspec.yml CHANGED
@@ -244,6 +244,12 @@ RSpec/ReceiveNever:
244
244
  RSpec/RedundantAround:
245
245
  Enabled: true
246
246
 
247
+ RSpec/RedundantPredicateMatcher:
248
+ Enabled: true
249
+
250
+ RSpec/RemoveConst:
251
+ Enabled: true
252
+
247
253
  RSpec/RepeatedDescription:
248
254
  Enabled: true
249
255
 
data/.simplycop_style.yml CHANGED
@@ -686,6 +686,9 @@ Style/SingleArgumentDig:
686
686
  Style/SingleLineBlockParams:
687
687
  Enabled: false
688
688
 
689
+ Style/SingleLineDoEndBlock:
690
+ Enabled: true
691
+
689
692
  Style/SingleLineMethods:
690
693
  Enabled: true
691
694
 
@@ -734,6 +737,9 @@ Style/Strip:
734
737
  Style/StructInheritance:
735
738
  Enabled: true
736
739
 
740
+ Style/SuperWithArgsParentheses:
741
+ Enabled: true
742
+
737
743
  Style/SwapValues:
738
744
  Enabled: true
739
745
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.14.18'
10
+ VERSION = '1.15.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'rubocop', '1.57.2'
21
- spec.add_dependency 'rubocop-performance', '1.19.1'
22
- spec.add_dependency 'rubocop-rails', '2.22.2'
23
- spec.add_dependency 'rubocop-rspec', '2.25.0'
20
+ spec.add_dependency 'rubocop', '1.60.1'
21
+ spec.add_dependency 'rubocop-performance', '1.20.2'
22
+ spec.add_dependency 'rubocop-rails', '2.23.1'
23
+ spec.add_dependency 'rubocop-rspec', '2.26.1'
24
24
  spec.add_development_dependency 'bundler', '>= 2.2.15'
25
25
  spec.add_development_dependency 'rake', '>= 12.3.3'
26
26
  spec.add_development_dependency 'rspec', '~> 3.10'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.18
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.57.2
19
+ version: 1.60.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.57.2
26
+ version: 1.60.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.19.1
33
+ version: 1.20.2
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: 1.19.1
40
+ version: 1.20.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.22.2
47
+ version: 2.23.1
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: 2.22.2
54
+ version: 2.23.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.25.0
61
+ version: 2.26.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.25.0
68
+ version: 2.26.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement