talkable-style 1.2023.0615 → 1.2024.0110

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: ac08dcd444ae8c847771fe60a203ed9c77a7f76667df623a430d464dfead0225
4
- data.tar.gz: 4ed72c2015b51007f3ae135d669e7c4a44e762cd8f4f6571c636e4952d29aaeb
3
+ metadata.gz: 6fdc8e520159ca5b90973e2d3bee75ac94bf05b05b5541f4e26c174493d48775
4
+ data.tar.gz: 827a67fac29c940a6c91b3a1da5ee5cbae4b02e5f644a8f572154a7e464db19a
5
5
  SHA512:
6
- metadata.gz: 69e34ddc41bb8a7dad4638d22de037abf42549570b655bab0b40e5f425d384b516b887d8af3a95cda5c40136f65c68a3e5bf86af478498aa441da46a77c14ba9
7
- data.tar.gz: ce459aeed9f103422d54ef77afad85c4a37510c4791b46c45b997ef3d6b75c38c62e1f8aeb26a1fc42b1dc22c45dba0d18cee8189dafdc65b7e77d517982bf52
6
+ metadata.gz: 52539701e5707bacd4956b97c70174b852fa7c1e8ff917f8da1a9d7bff751e28c61554b2a521187615a17aabedb37597598a47bf66009dad35dbfdeb2cfc0a1d
7
+ data.tar.gz: bfc7c5acbe356114d88479a13ce5ddcde83be3ccf83246fdd8b596699dce086d4f7731ec62ea838cf55a708ee9f00c1225dbc788ac33287174d43bbed33073a5
data/config/bundler.yml CHANGED
@@ -1,4 +1,6 @@
1
1
  Bundler/DuplicatedGem:
2
2
  Enabled: true
3
+ Bundler/DuplicatedGroup:
4
+ Enabled: true
3
5
  Bundler/InsecureProtocolSource:
4
6
  Enabled: true
data/config/capybara.yml CHANGED
@@ -1,11 +1,19 @@
1
1
  require: rubocop-capybara
2
2
 
3
+ Capybara/ClickLinkOrButtonStyle:
4
+ Enabled: true
3
5
  Capybara/CurrentPathExpectation:
4
6
  Enabled: true
5
7
  Capybara/MatchStyle:
6
8
  Enabled: true
7
9
  Capybara/NegationMatcher:
8
10
  Enabled: true
11
+ Capybara/RSpec/HaveSelector:
12
+ Enabled: true
13
+ Capybara/RSpec/PredicateMatcher:
14
+ Enabled: true
15
+ Capybara/RedundantWithinFind:
16
+ Enabled: true
9
17
  Capybara/SpecificActions:
10
18
  Enabled: true
11
19
  Capybara/SpecificFinders:
@@ -6,9 +6,15 @@ FactoryBot/ConsistentParenthesesStyle:
6
6
  Enabled: true
7
7
  FactoryBot/CreateList:
8
8
  Enabled: true
9
+ FactoryBot/ExcessiveCreateList:
10
+ Enabled: true
9
11
  FactoryBot/FactoryClassName:
10
12
  Enabled: true
11
13
  FactoryBot/FactoryNameStyle:
12
14
  Enabled: true
15
+ FactoryBot/IdSequence:
16
+ Enabled: true
17
+ FactoryBot/RedundantFactoryOption:
18
+ Enabled: true
13
19
  FactoryBot/SyntaxMethods:
14
20
  Enabled: true
data/config/lint.yml CHANGED
@@ -97,8 +97,12 @@ Lint/IneffectiveAccessModifier:
97
97
  Lint/InheritException:
98
98
  Enabled: true
99
99
  EnforcedStyle: standard_error
100
+ Lint/ItWithoutArgumentsInBlock:
101
+ Enabled: true
100
102
  Lint/LiteralAsCondition:
101
103
  Enabled: true
104
+ Lint/LiteralAssignmentInCondition:
105
+ Enabled: true
102
106
  Lint/LiteralInInterpolation:
103
107
  Enabled: true
104
108
  Lint/Loop:
@@ -107,6 +111,8 @@ Lint/MissingCopEnableDirective:
107
111
  Enabled: true
108
112
  Lint/MissingSuper:
109
113
  Enabled: true
114
+ Lint/MixedCaseRange:
115
+ Enabled: true
110
116
  Lint/MixedRegexpCaptureTypes:
111
117
  Enabled: true
112
118
  Lint/MultipleComparison:
@@ -143,6 +149,8 @@ Lint/RedundantCopEnableDirective:
143
149
  Enabled: true
144
150
  Lint/RedundantDirGlobSort:
145
151
  Enabled: true
152
+ Lint/RedundantRegexpQuantifiers:
153
+ Enabled: true
146
154
  Lint/RedundantRequireStatement:
147
155
  Enabled: true
148
156
  Lint/RedundantSafeNavigation:
@@ -42,6 +42,8 @@ Performance/IoReadlines:
42
42
  Enabled: true
43
43
  Performance/MapCompact:
44
44
  Enabled: true
45
+ Performance/MapMethodChain:
46
+ Enabled: true
45
47
  Performance/RangeInclude:
46
48
  Enabled: true
47
49
  Performance/RedundantBlockCall:
data/config/rails.yml CHANGED
@@ -43,6 +43,8 @@ Rails/BulkChangeTable:
43
43
  Enabled: true
44
44
  Rails/CreateTableWithTimestamps:
45
45
  Enabled: true
46
+ Rails/DangerousColumnNames:
47
+ Enabled: true
46
48
  Rails/Date:
47
49
  Enabled: true
48
50
  Rails/DelegateAllowBlank:
@@ -63,6 +65,8 @@ Rails/EnumHash:
63
65
  Enabled: true
64
66
  Rails/EnumUniqueness:
65
67
  Enabled: true
68
+ Rails/EnvLocal:
69
+ Enabled: true
66
70
  Rails/EnvironmentComparison:
67
71
  Enabled: true
68
72
  Rails/Exit:
@@ -128,6 +132,8 @@ Rails/RakeEnvironment:
128
132
  Enabled: true
129
133
  Rails/ReadWriteAttribute:
130
134
  Enabled: true
135
+ Rails/RedundantActiveRecordAllMethod:
136
+ Enabled: true
131
137
  Rails/RedundantAllowNil:
132
138
  Enabled: true
133
139
  Rails/RedundantPresenceValidationOnBelongsTo:
@@ -176,6 +182,8 @@ Rails/SaveBang:
176
182
  - spec/**/*
177
183
  Rails/ScopeArgs:
178
184
  Enabled: true
185
+ Rails/SelectMap:
186
+ Enabled: true
179
187
  Rails/ShortI18n:
180
188
  Enabled: true
181
189
  Rails/SkipsModelValidations:
@@ -201,6 +209,11 @@ Rails/TopLevelHashWithIndifferentAccess:
201
209
  Enabled: true
202
210
  Rails/TransactionExitStatement:
203
211
  Enabled: true
212
+ TransactionMethods:
213
+ - primary_transactional
214
+ - sharded_transactional
215
+ - transactional_rescued
216
+ - uniqueness_transaction
204
217
  Rails/UniqBeforePluck:
205
218
  Enabled: true
206
219
  Rails/UniqueValidationWithoutIndex:
@@ -214,6 +227,8 @@ Rails/UnknownEnv:
214
227
  - test
215
228
  Rails/UnusedIgnoredColumns:
216
229
  Enabled: true
230
+ Rails/UnusedRenderContent:
231
+ Enabled: true
217
232
  Rails/Validation:
218
233
  Enabled: true
219
234
  Rails/WhereEquals:
data/config/rspec.yml CHANGED
@@ -58,6 +58,10 @@ RSpec/EmptyLineAfterExample:
58
58
  Enabled: true
59
59
  RSpec/EmptyLineAfterExampleGroup:
60
60
  Enabled: true
61
+ RSpec/EmptyMetadata:
62
+ Enabled: true
63
+ RSpec/Eq:
64
+ Enabled: true
61
65
  RSpec/ExampleWithoutDescription:
62
66
  Enabled: true
63
67
  RSpec/ExampleWording:
@@ -68,11 +72,6 @@ RSpec/ExpectInHook:
68
72
  Enabled: true
69
73
  RSpec/ExpectOutput:
70
74
  Enabled: true
71
- RSpec/FilePath:
72
- Enabled: true
73
- IgnoreMethods: true
74
- Exclude:
75
- - spec/requests/api_v2/**/*
76
75
  RSpec/Focus:
77
76
  Enabled: true
78
77
  RSpec/HooksBeforeExamples:
@@ -100,6 +99,8 @@ RSpec/LetSetup:
100
99
  Enabled: true
101
100
  RSpec/MatchArray:
102
101
  Enabled: true
102
+ RSpec/MetadataStyle:
103
+ Enabled: true
103
104
  RSpec/MultipleDescribes:
104
105
  Enabled: true
105
106
  RSpec/MultipleSubjects:
@@ -118,14 +119,23 @@ RSpec/Rails/InferredSpecType:
118
119
  Enabled: true
119
120
  RSpec/Rails/MinitestAssertions:
120
121
  Enabled: true
122
+ RSpec/Rails/NegationBeValid:
123
+ Enabled: true
124
+ EnforcedStyle: be_invalid
121
125
  RSpec/Rails/TravelAround:
122
126
  Enabled: true
123
127
  RSpec/ReceiveCounts:
124
128
  Enabled: true
129
+ RSpec/ReceiveMessages:
130
+ Enabled: true
125
131
  RSpec/ReceiveNever:
126
132
  Enabled: true
127
133
  RSpec/RedundantAround:
128
134
  Enabled: true
135
+ RSpec/RedundantPredicateMatcher:
136
+ Enabled: true
137
+ RSpec/RemoveConst:
138
+ Enabled: true
129
139
  RSpec/RepeatedDescription:
130
140
  Enabled: true
131
141
  RSpec/RepeatedExample:
@@ -148,6 +158,13 @@ RSpec/SkipBlockInsideExample:
148
158
  Enabled: true
149
159
  RSpec/SortMetadata:
150
160
  Enabled: true
161
+ RSpec/SpecFilePathFormat:
162
+ Enabled: true
163
+ IgnoreMethods: true
164
+ Exclude:
165
+ - spec/requests/api_v2/**/*
166
+ RSpec/SpecFilePathSuffix:
167
+ Enabled: true
151
168
  RSpec/StubbedMock:
152
169
  Enabled: true
153
170
  RSpec/SubjectDeclaration:
data/config/style.yml CHANGED
@@ -269,6 +269,8 @@ Style/RedundantConditional:
269
269
  Enabled: true
270
270
  Style/RedundantConstantBase:
271
271
  Enabled: true
272
+ Style/RedundantCurrentDirectoryInPath:
273
+ Enabled: true
272
274
  Style/RedundantDoubleSplatHashBraces:
273
275
  Enabled: true
274
276
  Style/RedundantEach:
@@ -295,6 +297,8 @@ Style/RedundantParentheses:
295
297
  Enabled: true
296
298
  Style/RedundantPercentQ:
297
299
  Enabled: true
300
+ Style/RedundantRegexpArgument:
301
+ Enabled: true
298
302
  Style/RedundantRegexpCharacterClass:
299
303
  Enabled: true
300
304
  Style/RedundantRegexpConstructor:
@@ -321,6 +325,8 @@ Style/RescueStandardError:
321
325
  Enabled: true
322
326
  Style/ReturnNil:
323
327
  Enabled: true
328
+ Style/ReturnNilInPredicateMethodDefinition:
329
+ Enabled: true
324
330
  Style/SafeNavigation:
325
331
  Enabled: true
326
332
  Style/Sample:
@@ -333,6 +339,8 @@ Style/SignalException:
333
339
  Enabled: true
334
340
  Style/SingleArgumentDig:
335
341
  Enabled: true
342
+ Style/SingleLineDoEndBlock:
343
+ Enabled: true
336
344
  Style/SlicingWithRange:
337
345
  Enabled: true
338
346
  Style/SoleNestedConditional:
@@ -379,6 +387,8 @@ Style/VariableInterpolation:
379
387
  Enabled: true
380
388
  Style/WhileUntilDo:
381
389
  Enabled: true
390
+ Style/YAMLFileRead:
391
+ Enabled: true
382
392
  Style/YodaCondition:
383
393
  Enabled: true
384
394
  Style/ZeroLengthPredicate:
data/default.yml CHANGED
@@ -6,7 +6,7 @@ AllCops:
6
6
  DisplayCopNames: false
7
7
  DisabledByDefault: true
8
8
  TargetRubyVersion: 3.2
9
- TargetRailsVersion: 7.0
9
+ TargetRailsVersion: 7.1
10
10
  ActiveSupportExtensionsEnabled: true
11
11
 
12
12
  inherit_from:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Talkable
4
4
  module Style
5
- VERSION = "1.2023.0615"
5
+ VERSION = "1.2024.0110"
6
6
  end
7
7
  end
@@ -55,6 +55,7 @@ arrowup
55
55
  ascii
56
56
  asymp
57
57
  async
58
+ athena
58
59
  atlassian
59
60
  attentivemobile
60
61
  attrs
@@ -171,12 +172,14 @@ decrypts
171
172
  dehtiar
172
173
  demandware
173
174
  describedby
175
+ deserialize
174
176
  destructuring
175
177
  detalization
176
178
  detalized
177
179
  devtool
178
180
  devtools
179
181
  diffy
182
+ dmarc
180
183
  dmitriy
181
184
  doesn
182
185
  domainkey
@@ -185,6 +188,7 @@ dragleave
185
188
  dropdown
186
189
  dropzone
187
190
  dualstack
191
+ dzhulii
188
192
  ecmascript
189
193
  ecommerce
190
194
  elaine
@@ -329,6 +333,7 @@ khtml
329
333
  kibana
330
334
  kickbox
331
335
  klaviyo
336
+ knapsackpro
332
337
  komar
333
338
  komiko
334
339
  kryvoruchko
@@ -370,6 +375,7 @@ mailchimp
370
375
  mailgun
371
376
  mailto
372
377
  makara
378
+ maksym
373
379
  masiuk
374
380
  maskedinput
375
381
  mastercard
@@ -518,6 +524,7 @@ redis
518
524
  refetch
519
525
  regex
520
526
  remarketing
527
+ reoon
521
528
  retval
522
529
  rewhere
523
530
  rhinoshield
@@ -555,6 +562,7 @@ severability
555
562
  severities
556
563
  sharded
557
564
  sharding
565
+ sheerid
558
566
  shoejoy
559
567
  shoryuken
560
568
  shouldn
@@ -616,6 +624,7 @@ touchstart
616
624
  trackjs
617
625
  transactional
618
626
  transitionend
627
+ trino
619
628
  tristate
620
629
  truetype
621
630
  truthy
@@ -630,6 +639,9 @@ ukhova
630
639
  uncached
631
640
  uncomment
632
641
  unencrypted
642
+ unescape
643
+ unflatten
644
+ unflattening
633
645
  unicode
634
646
  unionpay
635
647
  unmapped
@@ -642,7 +654,9 @@ unprefixed
642
654
  unredeem
643
655
  unrefunded
644
656
  unscope
657
+ unscoped
645
658
  unselected
659
+ unserialize
646
660
  unsharded
647
661
  unstub
648
662
  unsubscribe
@@ -708,6 +722,7 @@ zencart
708
722
  zendesk
709
723
  zerocase
710
724
  zhuravel
725
+ zipcode
711
726
  zrange
712
727
  zrangebyscore
713
728
  zrank
@@ -25,13 +25,14 @@ 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.52.1"
29
- spec.add_dependency "rubocop-capybara", "~> 2.18.0"
30
- spec.add_dependency "rubocop-discourse", "~> 3.2.0"
28
+ spec.add_dependency "rubocop", "~> 1.59.0"
29
+ spec.add_dependency "rubocop-capybara", "~> 2.20.0"
30
+ spec.add_dependency "rubocop-discourse", "~> 3.6.0"
31
+ spec.add_dependency "rubocop-factory_bot", "~> 2.25.1"
31
32
  spec.add_dependency "rubocop-gitlab-security", "~> 0.1.1"
32
- spec.add_dependency "rubocop-graphql", "~> 1.3.0"
33
- spec.add_dependency "rubocop-performance", "~> 1.18.0"
34
- spec.add_dependency "rubocop-rails", "~> 2.19.1"
33
+ spec.add_dependency "rubocop-graphql", "~> 1.5.0"
34
+ spec.add_dependency "rubocop-performance", "~> 1.20.2"
35
+ spec.add_dependency "rubocop-rails", "~> 2.23.1"
35
36
  spec.add_dependency "rubocop-rake", "~> 0.6.0"
36
- spec.add_dependency "rubocop-rspec", "~> 2.22.0"
37
+ spec.add_dependency "rubocop-rspec", "~> 2.26.1"
37
38
  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.2023.0615
4
+ version: 1.2024.0110
5
5
  platform: ruby
6
6
  authors:
7
7
  - Talkable
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.52.1
19
+ version: 1.59.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.52.1
26
+ version: 1.59.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-capybara
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.18.0
33
+ version: 2.20.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: 2.18.0
40
+ version: 2.20.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-discourse
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 3.2.0
47
+ version: 3.6.0
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: 3.2.0
54
+ version: 3.6.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-factory_bot
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.25.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.25.1
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop-gitlab-security
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +86,42 @@ dependencies:
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 1.3.0
89
+ version: 1.5.0
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 1.3.0
96
+ version: 1.5.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rubocop-performance
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: 1.18.0
103
+ version: 1.20.2
90
104
  type: :runtime
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: 1.18.0
110
+ version: 1.20.2
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubocop-rails
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 2.19.1
117
+ version: 2.23.1
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: 2.19.1
124
+ version: 2.23.1
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rubocop-rake
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +142,14 @@ dependencies:
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: 2.22.0
145
+ version: 2.26.1
132
146
  type: :runtime
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: 2.22.0
152
+ version: 2.26.1
139
153
  description:
140
154
  email:
141
155
  - dev@talkable.com
@@ -194,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
208
  - !ruby/object:Gem::Version
195
209
  version: '0'
196
210
  requirements: []
197
- rubygems_version: 3.4.14
211
+ rubygems_version: 3.5.4
198
212
  signing_key:
199
213
  specification_version: 4
200
214
  summary: Talkable style guides and shared style configs.