simplycop 2.1.4 → 2.3.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: fa705ed6773c32cf41b95c828a9fab90a693d8e0e38b1bdaed09b9717c057b2d
4
- data.tar.gz: 3ba00f4809171bc220c22b8fe8976959b9c646d00c039c408b2aee13514de07b
3
+ metadata.gz: 11f07c30c919f2e76d1dcdfba709ceb68965f2863bfa5867e8e7a8917239b966
4
+ data.tar.gz: 99c91237a8cf84d3fc44ac1899034cff04ad383cf455c554ba1c40f6f01013c4
5
5
  SHA512:
6
- metadata.gz: '0915a19b5a1443187de46e03b5d135059794da01c281ea0baa931f11a80e74003d028b41081ee6e320215aae9d94d30ae97ad81237e44ee0f59ad7e11626ad82'
7
- data.tar.gz: 9492e2abb85535b58b5cba31e8f764f4c5447e7c90e80f85e56ec999e8a926ff75089da6dac17e89de726cefb500f4631875bfd0b408bc558dd43c5e1cf4f01b
6
+ metadata.gz: '090a9a29dc669c80b6e45a913167bb5dc196ce2fcb3a9f913a99c5a8c124f4f652923c97de4364539a23238d4924dc3ec5f1771456793fa6651799197d3d90b6'
7
+ data.tar.gz: '09846e0ae9a094819b29a1aaf0890c64bc6f3e29b61842ac849d9f335b2042efc1e9d673f1e56dbec9616367b34805d4dc671a6e2eb3f6447d6a1be3769898fb'
data/.simplycop_lint.yml CHANGED
@@ -404,6 +404,9 @@ Lint/UselessElseWithoutRescue:
404
404
  Lint/UselessMethodDefinition:
405
405
  Enabled: true
406
406
 
407
+ Lint/UselessNumericOperation:
408
+ Enabled: true
409
+
407
410
  # TODO: Single fail on Chopin
408
411
  Lint/UselessRescue:
409
412
  Enabled: true
data/.simplycop_rails.yml CHANGED
@@ -123,6 +123,9 @@ Rails/EnumHash:
123
123
  Rails/EnumUniqueness:
124
124
  Enabled: true
125
125
 
126
+ Rails/EnumSyntax:
127
+ Enabled: true
128
+
126
129
  Rails/EnvironmentComparison:
127
130
  Enabled: true
128
131
 
data/.simplycop_style.yml CHANGED
@@ -593,6 +593,9 @@ Style/RedundantInitialize:
593
593
  Style/RedundantInterpolation:
594
594
  Enabled: false
595
595
 
596
+ Style/RedundantInterpolationUnfreeze:
597
+ Enabled: true
598
+
596
599
  Style/RedundantLineContinuation:
597
600
  Enabled: true
598
601
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '2.1.4'
10
+ VERSION = '2.3.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,12 +17,12 @@ 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.65.1'
21
- spec.add_dependency 'rubocop-ast', '1.32.0'
20
+ spec.add_dependency 'rubocop', '1.66.0'
21
+ spec.add_dependency 'rubocop-ast', '1.32.2'
22
22
  spec.add_dependency 'rubocop-capybara', '2.21.0'
23
23
  spec.add_dependency 'rubocop-factory_bot', '2.26.1'
24
24
  spec.add_dependency 'rubocop-performance', '1.21.1'
25
- spec.add_dependency 'rubocop-rails', '2.25.1'
25
+ spec.add_dependency 'rubocop-rails', '2.26.0'
26
26
  spec.add_dependency 'rubocop-rspec', '3.0.4'
27
27
  spec.add_dependency 'rubocop-rspec_rails', '2.30.0'
28
28
  spec.add_development_dependency 'bundler', '>= 2.2.15'
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: 2.1.4
4
+ version: 2.3.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-08-06 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.65.1
19
+ version: 1.66.0
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.65.1
26
+ version: 1.66.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-ast
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.32.0
33
+ version: 1.32.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.32.0
40
+ version: 1.32.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-capybara
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 2.25.1
89
+ version: 2.26.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 2.25.1
96
+ version: 2.26.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-rspec
99
99
  requirement: !ruby/object:Gem::Requirement