talkable-style 1.2022.0901 → 1.2022.1220
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/lint.yml +2 -0
- data/config/rails.yml +16 -0
- data/config/rspec.yml +22 -0
- data/config/style.yml +16 -0
- data/lib/talkable/style/version.rb +1 -1
- data/shared/.pronto_spell.pws +1 -0
- data/talkable-style.gemspec +6 -6
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a9c2b67e6cda4482c3fbf103fb7a86e2a526fd11da3c5a1052339a083a32d13
|
4
|
+
data.tar.gz: 2e1304f248f485205f789bb047c76183ea3118b9ba3236034dbdecce38d0fbb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 415252823d2634b0f72ea81489428a69ad10358b66401d65b9784329eab924f53730de9e61d0fde46145cfd4ad23bfe162b0fc34226231d5ead24732c6f5b0fd
|
7
|
+
data.tar.gz: d70df57964ce7f8e1a156613a4a94f262d2053da3ff54df66ef8cb535a11d018da22aad19ddbf3672301551f791ef2e3a7043bb090ce1cde8789ef09521cc013
|
data/config/lint.yml
CHANGED
data/config/rails.yml
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require: rubocop-rails
|
2
2
|
|
3
|
+
Rails/ActionControllerFlashBeforeRender:
|
4
|
+
Enabled: true
|
3
5
|
Rails/ActionControllerTestCase:
|
4
6
|
Enabled: true
|
5
7
|
Rails/ActionFilter:
|
@@ -12,6 +14,8 @@ Rails/ActiveRecordOverride:
|
|
12
14
|
Enabled: true
|
13
15
|
Rails/ActiveSupportAliases:
|
14
16
|
Enabled: true
|
17
|
+
Rails/ActiveSupportOnLoad:
|
18
|
+
Enabled: true
|
15
19
|
Rails/AddColumnIndex:
|
16
20
|
Enabled: true
|
17
21
|
Rails/AfterCommitOverride:
|
@@ -71,6 +75,8 @@ Rails/FindById:
|
|
71
75
|
Enabled: true
|
72
76
|
Rails/FindEach:
|
73
77
|
Enabled: true
|
78
|
+
Rails/FreezeTime:
|
79
|
+
Enabled: true
|
74
80
|
Rails/HasAndBelongsToMany:
|
75
81
|
Enabled: true
|
76
82
|
Rails/HelperInstanceVariable:
|
@@ -79,6 +85,8 @@ Rails/HttpPositionalArguments:
|
|
79
85
|
Enabled: true
|
80
86
|
Rails/HttpStatus:
|
81
87
|
Enabled: true
|
88
|
+
Rails/IgnoredColumnsAssignment:
|
89
|
+
Enabled: true
|
82
90
|
Rails/IgnoredSkipActionFilterOption:
|
83
91
|
Enabled: true
|
84
92
|
Rails/IndexBy:
|
@@ -152,6 +160,8 @@ Rails/ReversibleMigrationMethodDefinition:
|
|
152
160
|
- db/sharded_migrate/*.rb
|
153
161
|
Rails/RootJoinChain:
|
154
162
|
Enabled: true
|
163
|
+
Rails/RootPathnameMethods:
|
164
|
+
Enabled: true
|
155
165
|
Rails/RootPublicPath:
|
156
166
|
Enabled: true
|
157
167
|
Rails/SafeNavigation:
|
@@ -181,6 +191,10 @@ Rails/TimeZoneAssignment:
|
|
181
191
|
Enabled: true
|
182
192
|
Rails/ToFormattedS:
|
183
193
|
Enabled: true
|
194
|
+
Rails/ToSWithArgument:
|
195
|
+
Enabled: true
|
196
|
+
Rails/TopLevelHashWithIndifferentAccess:
|
197
|
+
Enabled: true
|
184
198
|
Rails/TransactionExitStatement:
|
185
199
|
Enabled: true
|
186
200
|
Rails/UniqBeforePluck:
|
@@ -202,5 +216,7 @@ Rails/WhereEquals:
|
|
202
216
|
Enabled: true
|
203
217
|
Rails/WhereExists:
|
204
218
|
Enabled: true
|
219
|
+
Rails/WhereMissing:
|
220
|
+
Enabled: true
|
205
221
|
Rails/WhereNot:
|
206
222
|
Enabled: true
|
data/config/rspec.yml
CHANGED
@@ -2,6 +2,9 @@ require: rubocop-rspec
|
|
2
2
|
|
3
3
|
RSpec:
|
4
4
|
Language:
|
5
|
+
Expectations:
|
6
|
+
- will
|
7
|
+
- will_not
|
5
8
|
Includes:
|
6
9
|
Examples:
|
7
10
|
- it_has_behavior
|
@@ -22,12 +25,20 @@ RSpec/Capybara/CurrentPathExpectation:
|
|
22
25
|
Enabled: true
|
23
26
|
RSpec/Capybara/FeatureMethods:
|
24
27
|
Enabled: true
|
28
|
+
RSpec/Capybara/NegationMatcher:
|
29
|
+
Enabled: true
|
30
|
+
RSpec/Capybara/SpecificActions:
|
31
|
+
Enabled: true
|
32
|
+
RSpec/Capybara/SpecificFinders:
|
33
|
+
Enabled: true
|
25
34
|
RSpec/Capybara/SpecificMatcher:
|
26
35
|
Enabled: true
|
27
36
|
RSpec/Capybara/VisibilityMatcher:
|
28
37
|
Enabled: true
|
29
38
|
RSpec/ChangeByZero:
|
30
39
|
Enabled: true
|
40
|
+
RSpec/ClassCheck:
|
41
|
+
Enabled: true
|
31
42
|
RSpec/ContextMethod:
|
32
43
|
Enabled: true
|
33
44
|
RSpec/DescribeClass:
|
@@ -65,6 +76,8 @@ RSpec/ExpectOutput:
|
|
65
76
|
Enabled: true
|
66
77
|
RSpec/FactoryBot/AttributeDefinedStatically:
|
67
78
|
Enabled: true
|
79
|
+
RSpec/FactoryBot/ConsistentParenthesesStyle:
|
80
|
+
Enabled: true
|
68
81
|
RSpec/FactoryBot/CreateList:
|
69
82
|
Enabled: true
|
70
83
|
RSpec/FactoryBot/FactoryClassName:
|
@@ -82,6 +95,9 @@ RSpec/HooksBeforeExamples:
|
|
82
95
|
Enabled: true
|
83
96
|
RSpec/IdenticalEqualityAssertion:
|
84
97
|
Enabled: true
|
98
|
+
RSpec/ImplicitSubject:
|
99
|
+
Enabled: true
|
100
|
+
EnforcedStyle: single_statement_only
|
85
101
|
RSpec/InstanceSpy:
|
86
102
|
Enabled: true
|
87
103
|
RSpec/InstanceVariable:
|
@@ -100,6 +116,8 @@ RSpec/MultipleDescribes:
|
|
100
116
|
Enabled: true
|
101
117
|
RSpec/MultipleSubjects:
|
102
118
|
Enabled: true
|
119
|
+
RSpec/NoExpectationExample:
|
120
|
+
Enabled: true
|
103
121
|
RSpec/OverwritingSetup:
|
104
122
|
Enabled: true
|
105
123
|
RSpec/Rails/AvoidSetupHook:
|
@@ -108,6 +126,8 @@ RSpec/Rails/HaveHttpStatus:
|
|
108
126
|
Enabled: true
|
109
127
|
RSpec/Rails/HttpStatus:
|
110
128
|
Enabled: true
|
129
|
+
RSpec/Rails/InferredSpecType:
|
130
|
+
Enabled: true
|
111
131
|
RSpec/ReceiveCounts:
|
112
132
|
Enabled: true
|
113
133
|
RSpec/ReceiveNever:
|
@@ -130,6 +150,8 @@ RSpec/SharedExamples:
|
|
130
150
|
Enabled: true
|
131
151
|
RSpec/SingleArgumentMessageChain:
|
132
152
|
Enabled: true
|
153
|
+
RSpec/SortMetadata:
|
154
|
+
Enabled: true
|
133
155
|
RSpec/StubbedMock:
|
134
156
|
Enabled: true
|
135
157
|
RSpec/SubjectDeclaration:
|
data/config/style.yml
CHANGED
@@ -9,6 +9,8 @@ Style/ArgumentsForwarding:
|
|
9
9
|
Enabled: true
|
10
10
|
Style/ArrayCoercion:
|
11
11
|
Enabled: true
|
12
|
+
Style/ArrayIntersect:
|
13
|
+
Enabled: true
|
12
14
|
Style/ArrayJoin:
|
13
15
|
Enabled: true
|
14
16
|
Style/Attr:
|
@@ -56,6 +58,8 @@ Style/CombinableLoops:
|
|
56
58
|
Enabled: true
|
57
59
|
Style/CommentAnnotation:
|
58
60
|
Enabled: true
|
61
|
+
Style/ConcatArrayLiterals:
|
62
|
+
Enabled: true
|
59
63
|
Style/ConditionalAssignment:
|
60
64
|
Enabled: true
|
61
65
|
Style/DateTime:
|
@@ -215,6 +219,8 @@ Style/OneLineConditional:
|
|
215
219
|
Enabled: true
|
216
220
|
Style/OpenStructUse:
|
217
221
|
Enabled: true
|
222
|
+
Style/OperatorMethodCall:
|
223
|
+
Enabled: true
|
218
224
|
Style/OptionalArguments:
|
219
225
|
Enabled: true
|
220
226
|
Style/OptionalBooleanParameter:
|
@@ -243,6 +249,12 @@ Style/RedundantCondition:
|
|
243
249
|
Enabled: true
|
244
250
|
Style/RedundantConditional:
|
245
251
|
Enabled: true
|
252
|
+
Style/RedundantConstantBase:
|
253
|
+
Enabled: true
|
254
|
+
Style/RedundantDoubleSplatHashBraces:
|
255
|
+
Enabled: true
|
256
|
+
Style/RedundantEach:
|
257
|
+
Enabled: true
|
246
258
|
Style/RedundantException:
|
247
259
|
Enabled: true
|
248
260
|
Style/RedundantFetchBlock:
|
@@ -275,6 +287,10 @@ Style/RedundantSort:
|
|
275
287
|
Enabled: true
|
276
288
|
Style/RedundantSortBy:
|
277
289
|
Enabled: true
|
290
|
+
Style/RedundantStringEscape:
|
291
|
+
Enabled: true
|
292
|
+
Style/RequireOrder:
|
293
|
+
Enabled: true
|
278
294
|
Style/RescueStandardError:
|
279
295
|
Enabled: true
|
280
296
|
Style/ReturnNil:
|
data/shared/.pronto_spell.pws
CHANGED
data/talkable-style.gemspec
CHANGED
@@ -25,12 +25,12 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
|
-
spec.add_dependency "rubocop", "~> 1.
|
29
|
-
spec.add_dependency "rubocop-discourse", "~>
|
28
|
+
spec.add_dependency "rubocop", "~> 1.41.0"
|
29
|
+
spec.add_dependency "rubocop-discourse", "~> 3.0"
|
30
30
|
spec.add_dependency "rubocop-gitlab-security", "~> 0.1.1"
|
31
|
-
spec.add_dependency "rubocop-graphql", "~> 0.
|
32
|
-
spec.add_dependency "rubocop-performance", "~> 1.
|
33
|
-
spec.add_dependency "rubocop-rails", "~> 2.
|
31
|
+
spec.add_dependency "rubocop-graphql", "~> 0.18.0"
|
32
|
+
spec.add_dependency "rubocop-performance", "~> 1.15.1"
|
33
|
+
spec.add_dependency "rubocop-rails", "~> 2.17.3"
|
34
34
|
spec.add_dependency "rubocop-rake", "~> 0.6.0"
|
35
|
-
spec.add_dependency "rubocop-rspec", "~> 2.
|
35
|
+
spec.add_dependency "rubocop-rspec", "~> 2.16.0"
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talkable-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2022.
|
4
|
+
version: 1.2022.1220
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Talkable
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-20 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.
|
19
|
+
version: 1.41.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.
|
26
|
+
version: 1.41.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-discourse
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '3.0'
|
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:
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-gitlab-security
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,42 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.18.0
|
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: 0.
|
68
|
+
version: 0.18.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-performance
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.15.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.15.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.
|
89
|
+
version: 2.17.3
|
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.
|
96
|
+
version: 2.17.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.16.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.16.0
|
125
125
|
description:
|
126
126
|
email:
|
127
127
|
- dev@talkable.com
|
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
|
-
rubygems_version: 3.3.
|
181
|
+
rubygems_version: 3.3.26
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Talkable style guides and shared style configs.
|