simplycop 1.12.13 → 1.12.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.simplycop_rspec.yml +67 -0
- data/lib/simplycop/version.rb +1 -1
- data/simplycop.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81791402713e30674d8eb5dad084403245144a057fb20a853a6bae54de1ad0de
|
4
|
+
data.tar.gz: de02d689bf85e8688e6eff3679eccfb32cb63f3dd96186c56e4a8b223c091b18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca68ef630434db92fd3061830f2838e279e707a5174572034a439dfaf13ff93c354aacedcff663ed1c7c552a88456a115c5b86ad2ac6b8ba1896b9849f6f6f7
|
7
|
+
data.tar.gz: fcf1c9c832e18ae52609837ce4657b72ba32eb85168ef526dcaf3c497b1b9dff54153aa0b851fd1f9b3620e94e1d83b6c65ae335945f65b172f6d0b8498b87ed
|
data/.simplycop_rspec.yml
CHANGED
@@ -1,9 +1,38 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rspec
|
3
3
|
|
4
|
+
RSpec/BeEq:
|
5
|
+
Enabled: true
|
6
|
+
|
4
7
|
RSpec/BeforeAfterAll:
|
5
8
|
Enabled: false
|
6
9
|
|
10
|
+
RSpec/BeNil:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
RSpec/ChangeByZero:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
RSpec/ClassCheck:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
RSpec/Capybara:
|
20
|
+
Enabled: true
|
21
|
+
Include:
|
22
|
+
- spec/integration/*.rb
|
23
|
+
|
24
|
+
RSpec/Capybara/NegationMatcher:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
RSpec/Capybara/SpecificActions:
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
RSpec/Capybara/SpecificFinders:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
RSpec/Capybara/SpecificMatcher:
|
34
|
+
Enabled: true
|
35
|
+
|
7
36
|
RSpec/DescribeClass:
|
8
37
|
Enabled: false
|
9
38
|
|
@@ -13,15 +42,34 @@ RSpec/DescribeMethod:
|
|
13
42
|
RSpec/DescribedClass:
|
14
43
|
Enabled: false
|
15
44
|
|
45
|
+
RSpec/DuplicatedMetadata:
|
46
|
+
Enabled: true
|
47
|
+
|
16
48
|
RSpec/ExampleLength:
|
17
49
|
Enabled: false
|
18
50
|
|
51
|
+
RSpec/ExcessiveDocstringSpacing:
|
52
|
+
Enabled: true
|
53
|
+
|
19
54
|
RSpec/ExpectOutput:
|
20
55
|
Enabled: false
|
21
56
|
|
57
|
+
RSpec/FactoryBot/ConsistentParenthesesStyle:
|
58
|
+
Enabled: true
|
59
|
+
|
60
|
+
RSpec/FactoryBot/FactoryNameStyle:
|
61
|
+
Enabled: true
|
62
|
+
|
63
|
+
# Prefer explicit factorybot call
|
64
|
+
RSpec/FactoryBot/SyntaxMethods:
|
65
|
+
Enabled: false
|
66
|
+
|
22
67
|
RSpec/FilePath:
|
23
68
|
Enabled: false
|
24
69
|
|
70
|
+
RSpec/IdenticalEqualityAssertion:
|
71
|
+
Enabled: true
|
72
|
+
|
25
73
|
RSpec/InstanceVariable:
|
26
74
|
Enabled: false
|
27
75
|
|
@@ -38,6 +86,9 @@ RSpec/NestedGroups:
|
|
38
86
|
Enabled: true
|
39
87
|
Max: 4
|
40
88
|
|
89
|
+
RSpec/NoExpectationExample:
|
90
|
+
Enabled: true
|
91
|
+
|
41
92
|
RSpec/NotToNot:
|
42
93
|
Enabled: false
|
43
94
|
|
@@ -47,8 +98,24 @@ RSpec/ScatteredSetup:
|
|
47
98
|
RSpec/StubbedMock:
|
48
99
|
Enabled: false
|
49
100
|
|
101
|
+
RSpec/SortMetadata:
|
102
|
+
Enabled: true
|
103
|
+
|
104
|
+
# Bug https://github.com/rubocop/rubocop-rspec/issues/1521
|
105
|
+
RSpec/PendingWithoutReason:
|
106
|
+
Enabled: false
|
107
|
+
|
50
108
|
RSpec/SubjectDeclaration: # new in 2.5
|
51
109
|
Enabled: true
|
52
110
|
|
53
111
|
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
54
112
|
Enabled: true
|
113
|
+
|
114
|
+
RSpec/Rails/HaveHttpStatus:
|
115
|
+
Enabled: true
|
116
|
+
|
117
|
+
RSpec/Rails/InferredSpecType:
|
118
|
+
Enabled: true
|
119
|
+
|
120
|
+
RSpec/VerifiedDoubleReference:
|
121
|
+
Enabled: true
|
data/lib/simplycop/version.rb
CHANGED
data/simplycop.gemspec
CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
20
|
spec.add_dependency 'rubocop', '~> 1.42'
|
21
|
-
spec.add_dependency 'rubocop-rails', '~> 2.
|
22
|
-
spec.add_dependency 'rubocop-rspec', '~> 2.
|
21
|
+
spec.add_dependency 'rubocop-rails', '~> 2.17'
|
22
|
+
spec.add_dependency 'rubocop-rspec', '~> 2.16'
|
23
23
|
spec.add_development_dependency 'bundler', '>= 2.2.15'
|
24
24
|
spec.add_development_dependency 'rake', '>= 12.3.3'
|
25
25
|
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.12.
|
4
|
+
version: 1.12.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
33
|
+
version: '2.17'
|
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: '2.
|
40
|
+
version: '2.17'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.16'
|
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.16'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|