ergomentum_rubocop 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e373f1b82eb69d6522db12d3c4343d224800939a58a20bff5ac432d1cdd9243a
4
- data.tar.gz: bcb69147bbee75af5781e3e25e0bfef5245bba68dadef427fba26f7116c2642a
3
+ metadata.gz: e2f1c3a9b6c35bd7d9b10fcb76356dd875c01a02cb97d27804ff5323e5d4bbf3
4
+ data.tar.gz: ec981f1ae3404e2c7d5fdd4c91fb2c5c673536acb6b8b011371b82e03828f388
5
5
  SHA512:
6
- metadata.gz: 960280fcf6500efbab10707fadb1cdc1af3e05d7558fca296601ae30a534b97c755f3e91f1eccb08178098d19d3168df850c053e3a893e96223a717a3b27fad0
7
- data.tar.gz: 2c31e24fc7891ea7b02410ce1d08244f0e54372c40c14cdcbfaac7a65b695c5293bc5a47234f9383b4ac1392ebb2b072851f460a71e626c925d87db5d87728d4
6
+ metadata.gz: c8ba3ba0a687911d6dae68cb6895d2c67ecb4064defe039a9e860df8125500abc68fa67bcb739ad8140178374b279596b2cce80f365e2e15baa55e55e6cb5add
7
+ data.tar.gz: fcc04fe30083156cfac6f2cb540a24a5d27e3ee414ba93c3deaa2a715d1e50020cfaa8eb48ed5ed1143ce1bbf3d44298cbf911cf72fd53e905177e80dfad95d1
@@ -1,2 +1,4 @@
1
1
  inherit_from: default_shared.yml
2
2
 
3
+ Gemspec/DeprecatedAttributeAssignment: # new in 1.10
4
+ Enabled: true
@@ -4,14 +4,26 @@ require:
4
4
 
5
5
  Rails/ActiveRecordCallbacksOrder:
6
6
  Enabled: true
7
+ Rails/ActionControllerTestCase: # new in 2.14
8
+ Enabled: true
7
9
  Rails/AddColumnIndex: # (new in 2.11)
8
10
  Enabled: true
9
11
  Rails/AfterCommitOverride:
10
12
  Enabled: true
11
13
  Rails/AttributeDefaultBlockValue: # (new in 2.9)
12
14
  Enabled: true
15
+ Rails/CompactBlank: # new in 2.13
16
+ Enabled: true
13
17
  Rails/Delegate:
14
18
  Enabled: false
19
+ Rails/DeprecatedActiveModelErrorsMethods: # new in 2.14
20
+ Enabled: true
21
+ Rails/DuplicateAssociation: # new in 2.14
22
+ Enabled: true
23
+ Rails/DuplicateScope: # new in 2.14
24
+ Enabled: true
25
+ Rails/DurationArithmetic: # new in 2.13
26
+ Enabled: true
15
27
  Rails/EagerEvaluationLogMessage: # (new in 2.11)
16
28
  Enabled: true
17
29
  Rails/EnvironmentVariableAccess: # (new in 2.10)
@@ -22,30 +34,44 @@ Rails/FilePath:
22
34
  EnforcedStyle: arguments
23
35
  Rails/FindById:
24
36
  Enabled: true
37
+ Rails/I18nLazyLookup: # new in 2.14
38
+ Enabled: true
25
39
  Rails/I18nLocaleAssignment: # (new in 2.11)
26
40
  Enabled: true
41
+ Rails/I18nLocaleTexts: # new in 2.14
42
+ Enabled: true
27
43
  Rails/Inquiry:
28
44
  Enabled: true
29
45
  Rails/MailerName:
30
46
  Enabled: true
31
47
  Rails/MatchRoute:
32
48
  Enabled: true
49
+ Rails/MigrationClassName: # new in 2.14
50
+ Enabled: true
33
51
  Rails/NegateInclude:
34
52
  Enabled: true
35
53
  Rails/Pluck:
36
54
  Enabled: true
37
55
  Rails/PluckInWhere:
38
56
  Enabled: true
57
+ Rails/RedundantPresenceValidationOnBelongsTo: # new in 2.13
58
+ Enabled: true
59
+ Rails/RedundantTravelBack: # new in 2.12
60
+ Enabled: true
39
61
  Rails/RenderInline:
40
62
  Enabled: true
41
63
  Rails/RenderPlainText:
42
64
  Enabled: true
65
+ Rails/RootJoinChain: # new in 2.13
66
+ Enabled: true
43
67
  Rails/ShortI18n:
44
68
  Enabled: true
45
69
  Rails/SquishedSQLHeredocs:
46
70
  Enabled: true
47
71
  Rails/TimeZoneAssignment: # (new in 2.10)
48
72
  Enabled: true
73
+ Rails/TransactionExitStatement: # new in 2.14
74
+ Enabled: true
49
75
  Rails/UnusedIgnoredColumns: # (new in 2.11)
50
76
  Enabled: true
51
77
  Rails/WhereEquals: # (new in 2.9)
@@ -59,6 +59,8 @@ Lint/EmptyInPattern: # (new in 1.16)
59
59
  Enabled: true
60
60
  Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
61
61
  Enabled: true
62
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
63
+ Enabled: true
62
64
  Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
63
65
  Enabled: true
64
66
  Lint/MixedCaseRange: # new in 1.53
@@ -73,6 +75,8 @@ Lint/UselessRescue: # new in 1.43
73
75
  Enabled: true
74
76
  Layout/LineEndStringConcatenationIndentation: # (new in 1.18)
75
77
  Enabled: true
78
+ Lint/LiteralAssignmentInCondition: # new in 1.58
79
+ Enabled: true
76
80
  Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
77
81
  Enabled: true
78
82
  Lint/NumberedParameterAssignment: # (new in 1.9)
@@ -313,6 +317,8 @@ Style/StringLiteralsInInterpolation:
313
317
  SupportedStyles:
314
318
  - single_quotes
315
319
  - double_quotes
320
+ Style/SuperWithArgsParentheses: # new in 1.58
321
+ Enabled: true
316
322
  Style/SwapValues: # (new in 1.1)
317
323
  Enabled: true
318
324
  Style/TrailingCommaInArguments:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ErgomentumRubocop
4
- VERSION = "0.11.0"
4
+ VERSION = "0.12.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ergomentum_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ERGOMENTUM
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-17 00:00:00.000000000 Z
11
+ date: 2023-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop