simplycop 1.14.18 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.simplycop_lint.yml +6 -0
- data/.simplycop_rspec.yml +6 -0
- data/.simplycop_style.yml +6 -0
- data/lib/simplycop/version.rb +1 -1
- data/simplycop.gemspec +4 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea6b1e05c041c805deb154a2793e3229c2a96841a2165c11deaacde6a18b340f
|
4
|
+
data.tar.gz: db240812b45b454513f24f63e1e991282a972002f0f60a5df8ac6eb29f10eb4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 033a001c4e60eba90c8e106f8c5741caf787940dbc21ff36dd0fbc5bd2c8b1ebdd7df5663e891ce2468a20d77230e1d2166cb09d8dfd0a6aa1bdf5429efc4447
|
7
|
+
data.tar.gz: 85ec6c2196872be7d46a27e56a8ee41af7f131445fe8f84033f914b333177cc5dadf047be999f89ad7a453eb5d7dad9412a5fe0537a2938d0c43c37d6dba3c74
|
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
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
|
|
data/lib/simplycop/version.rb
CHANGED
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.
|
21
|
-
spec.add_dependency 'rubocop-performance', '1.
|
22
|
-
spec.add_dependency 'rubocop-rails', '2.
|
23
|
-
spec.add_dependency 'rubocop-rspec', '2.
|
20
|
+
spec.add_dependency 'rubocop', '1.60.2'
|
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.
|
4
|
+
version: 1.15.1
|
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-
|
11
|
+
date: 2024-01-25 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.
|
19
|
+
version: 1.60.2
|
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.
|
26
|
+
version: 1.60.2
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
68
|
+
version: 2.26.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|